I am using MPC5675k for a particular application. There are counter tests to validate the UART ports. Meaning we send data from 0-255 over UART from a PC and echo-back.
Now this works well for a while, but for some reason, the Controller stops to transmit 0x11 and 0x13. The port works completely well otherwise.
If the flash is programmed again, the counter test works for some time before eventually what is said above happens.
any help is appreciated.
0x11 and 0x13 are characters used for Xon/Xoff software flow control. This flow control is obviously enabled on PC side, so you need to disable it.
no, the microcontroller does not support flow control. But it can be implemented by software if needed. I used software version of Xon/Xoff flow control in AN5319:
But be aware that even if you use Xon/Xoff in your software, you still can't send and receive data equal to 0x11 and 0x13 characters. This flow control is supposed to be used only when ASCII characters are transmitted. If you need to send and receive raw binary data, you would have to ensure that these characters are not present.