AnsweredAssumed Answered

MQX 3.8.1 Interrupt based Serial Driver and TWR-K60F120M

Question asked by Regis George on Aug 13, 2012
Latest reply on Aug 16, 2012 by David E Seymour

I've been having issues with the serial port.  I'm using MQX 3.8.1 on the TWR-K60F120M.  I've seen a number of issues, but this small sample seems to capture the basic issue.

 

I've enabled UART3 "ITTYD", but not "TTYD".  I've also changed the default baud rate to "19200".

 

 

Using the  code in the attached file:

 - it blocks on the first fgetc

 - send one character to the serial port

 - it receives a non-stop stream of the incoming character sent

 - over time, the value read changes

 

In other examples, I've seen lots of other weird behavior.

 

Is there a known issue with this?

 

Thanks

 

Outcomes