Forum Discussion
Altera_Forum
Honored Contributor
10 years agooperate UART w/ NIOS wo/ HAL
The following code should make a loopback between UART RX and TX (echo). However, it seems that first N typed chars (from PC towards the board) are not successfully absorbed. After N characters ...
Altera_Forum
Honored Contributor
10 years agoHi,
try to check if transmit is ready before you write in your txdata, and clear the status register in the begining of your while.