LPC2378 datasheet says that if UART receives framing error, it cannot expect to receive next character correctly. However I wonder if I can somehow restart/reset the UART (after framing error detection), so it can start searching for next character without the burden of previous error ?
Can I simply turn the UART's power off and then on (eg. PCUART0 bit in PCONP register) and then reinitialize UART (baud rate, start/stop bits, ...) ? Although it seems that PCONP does not turn UART on and off, but rather gates on and off its clock signal.
Thanks
Hi,
You could take a look at the following links, as UART-based ISP implementation may provide some guidelines regarding UART usage:
[1] UART ISP implementation on the LPC1768 using the mbed platform
http://mbed.org/cookbook/lpc-bootloader
[2] UART ISP for the LPC1100/LPC1300/LPC1700/LPC2000
http://sourceforge.net/projects/lpc21isp/
[3] UART ISP for the Linux platform
http://code.google.com/p/lpcflash/
[4] UART ISP written in Python
http://sourceforge.net/projects/nxpprog/
[5] UART ISP written in Python for the LPC2000 series
http://sourceforge.net/projects/pylpctools/
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------