AnsweredAssumed Answered

MKE02Z64VQH4 UART Buffer Overrun Problem

Question asked by Ad van Gorp on Nov 30, 2018
Latest reply on Dec 4, 2018 by Ad van Gorp

Hello I am developping software for the above mentioned processor.

 I use Processor Expert with the Serial_LDD component.

I am lost with the following problem.

Upon receive sometimes the AS1_OnError fires. If I then examine the error I get the

AsyncErrorCodes.errName.OverRun error. But there are no characters in the buffer (AS1_GetCharsInRxBuf() will yield 0).

I tried several buffer sizes but the spurious errors persist.

I examined the serial data quality with an oscilloscope and found it to be clean;

 

Can someone please advise?

Thanks, kind regards Ad

Outcomes