We are using S12ZVCM Chip and we use the onboard UART module for communication with PC which interactively controls the device.
Very often the communication between the PC terminal application and the device gets corrupted. Despite restarting the PC application which is a simple Serial terminal application the data flowing in from the device continues to be corrupt. Corrupt here does not mean complete junk, but rather strange things like a single line is broken into 2 lines.
Unless the device is restarted this problem does not solve itself even if the communication is broken and restarted by restarting the application or by disconnecting the wire and reconnecting.
We want to be able to 'reset' the UART without restarting the MCU so that we can restore the communication to it's valid state.