Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

XMC2go UART slipped multiple characters problem.

$
0
0
Regarding your question, the flush sequences should be working fine.

You can check this easily from a debugger view, e.g.:
- receive n data
- suspend the execution and check that the RXFIFO buffer level (TRBSR.RBFLVL bit field) indicates that the data are in the buffer.
In my code above, I simply place a breakpoint before the RXFIFO read and I see that RBFLVL = 32.
Attachment 1977
- Flush the RXFIFO now and you will be able to see that RBFLVL is cleared to 0.

Regards,
Min Wei

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>