Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUart data ready
Hi all, I am periodically sending data from LabView to my cycloneIII development kit (bemicro) and I want to check if there is data available to be read in NIOS II. Unfortunately, I have not be...
Altera_Forum
Honored Contributor
15 years agoTo test if there is data ready to be read I use the following code.
status = IORD_ALTERA_AVALON_UART_STATUS(UART_BASE); if (status & ALTERA_AVALON_UART_CONTROL_RRDY_MSK) { } However, it seems that the if statement is false even when there is data available. Can anyone help?