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

XMC2go UART slipped multiple characters problem.

$
0
0
I applied it to flush TxFIFO in Dave, and I also tried to flush TxFIFO&RxFIFO in the computer GUI (MFC) with the function called PurgeComm(m_hComm, PURGE_ABORT|PURGE_RXCLEAR),
but the problem still happens..
In debug mode of Dave, everything are fine Rx&Tx, but in MFC debug mode, I found a pattern before the problem showed up.
Before the problem happened, when wByte (sending buffer from GUI) sent "012345", for example, then rByte (receiving buffer from Kit) received "" (empty string),
and then the slipped character problem showed up again.

Could you give me any other advice? The way you gave me was helpful, but I still couldn't solve the problem...

Regards
Sean

Viewing all articles
Browse latest Browse all 9892

Trending Articles



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