On Sat, Apr 22, 2017 at 10:49 AM, Rob Landley <rob@xxxxxxxxxxx> wrote: > > > On 04/21/2017 02:26 AM, Geert Uytterhoeven wrote: >> According to the SH7751R datasheet, SCFCR does have the RTRG1 and RTRG0 bits. >> I assume the problem goes away if you comment out the call to scif_set_rtrg()? > > The current code has been further complicated by two more commits > (039403765 and 90afa5255) doing who knows what, but deleting the > "scif_set_rtrg(port, s->rx_trigger);" from sci_reset() does appear to > fix the problem. Most(?) SCIFs have a feature that is always enabled and that asserts DR even if the FIFO threshold has not been reached if no data is received for 1.5 frames. Exceptions known to me are SCIFA/Bs, which require special handling for it to work, and SH7705's SCIF, which does not seem to have this at all. According to its datasheet, the SH7751R's SCIF has the timeout feature, so I would have expected it to work... CU Uli