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 Interrupt triggered upon boot, in error???

I have a boot program which is single-threaded.

I am not printing anything or sending anything via the uart as far as I know.

I clear the UARTICR (interrupt clear) bits to clear it up, just in case. I also empty the RX FIFO. I then initialize the uart by writing to the control register; and attach and unmask the interrupts.

As soon as I do that, the MIS and RIS (masked and raw interrupt status) registers say 0x0280 which are framing and break errors. I know this because an interrupt occurred and the registers are printed. I also printed the UARTDR which says 0x0500. These bits say break, framing error, and nothing else. Nothing in the data bits.

WHY? WHAT'S GOING ON? Why does my uart have an error? please help......

btw my uart is DDI 0183D, ARM 9. GCC