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