We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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