This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART randomly not working !

Hi,

I facing some problem on P89LPC936 UART portion. After some debugging, I realized the UART is randomly not working.

Steps I did :
1. Using UART generated code from Code Architect (To narrow the scope of the problem)
2. Under WinXP, testing send/receive byte using Hyper Terminal program (I did some modifications to loopback a byte when received for testing purpose, ensuring UART Tx and Rx are working)
3. Occasionally when MCU power up, UART is not working at all...(The only way to recover is to power down and power up the MCU again)
4. Tried on multiple MCU and different desktop systems (To isolate it's not hardware problem)
5. I have tried using both Timer 2 as baud rate generator as well as 936 internal baud rate generator.

If firmware did not configure the UART properly, I believed I should consistently seeing the problem. However, the problem now is that it's intermittment and I'm confused whether it's hardware design problem or firmware issue.

Any ideas what went wrong ?

Thanks alot :)

0