This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

UARTE EasyDMA RAM

If ENDRX_STARTRX is enabled and is not closed at all times.

After the second RXD.PTR buffer overflows, that is, when RXD.MAXCNT is reached, no configuration is done, uart senders continue to send data, what happens?

Will lose the data or will the second Rx.PTR buffer as a new buffer, resulting in overwrite?

Parents Reply
  • Hi,Sigurd.

    Thank you for your answer.

    My project needs to use double buffers, so I need ENDRX_STARTRX to prevent any bytes from being missed. The uart driver provided by the demo will have a problem, that is, when the expected bytes are not received, it will wait forever.

    Now I think of a seemingly viable way is to combine the GPIOE, PPI, TIMER to monitor the RX pin to determine the end of the reception. If there is a relevant demo, it would be great.

    According to your answer, it seems that I have to disable ENDRX_STARTRX in some key places.

Children
No Data
Related