Hi there,
I have a custom board with nRF52840 and i am transferring fairly large amounts of data via uarte.
I am also using my own driver. For some reason the attached device decided to go crazy and the result is that RXD.MAXCNT is full to the max. RXD.AMOUNT == RXD.MAXCNT and ERRORSRC value is 0x05 or 0x0D All this is not a big problem except that when this situation happens the EVENTS_ENDRX is not generated after TASKS_STOPRX = 1
NRF_UARTE1->TASKS_STOPRX = 1;
NRF_LOG_INFO("WAIT ENDRX\n");
while(!NRF_UARTE1->EVENTS_ENDRX); //stoprx generates endrx always ?!?!
i.e. I am waiting forever after -> NRF_LOG_INFO("WAIT ENDRX\n");
I guess that this is related to the ERRORSRC somehow but can't figure out how to proceed.