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
21 years agoIt certainly sounds like a hw problem, but to prove that it is not SW/timing related, you should use the simplest possible single-threaded test code. Just take the hello_world example and modify it to echo back everything it receives. Open the uart twice, once for read and once for write. Use a Y cable so a PC (not a scope) can be used to independantly monitor what is really going into the uart. For multi-tasking apps in particular, you should increase the default 64 char buffer size in altera_avalon_uart.h