Forum Discussion
Altera_Forum
Honored Contributor
21 years agoNios-II SOPC UART delivers wrong bytes
We use the UART in our Nios-II design that comes with Quartus 5.0SP1 and Nios-II 5.0 We face the problem that sometimes the Uart reports wrong RX Bytes from correct RX streams. The serial str...
Altera_Forum
Honored Contributor
20 years agoHave you checked the UART status register to see if there was some sort of receive error such as receive overflow or parity bit error...
Also you should check out the FIFOed UART in the projects section. I was having similar problems and found it was due to the processor not serviceing the UART fast enough. At low speeds a 16 byte fifo will solve your problem I think. You might try a deeper one though especially since you are running an OS.