Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAccess serial port for data sent from Nios II's uart for real time plotting graph in
Hi all, I am able to read data from FPGA to Nios processor, then transmit this data to Uart component created in Qsys using direct register method (IORD_ALTERA_AVALON_UART_STATUS (UART_BASE)...
Altera_Forum
Honored Contributor
11 years agoHow are you UART? are you polling or using interrupts?
I recommend using interrupts: look at the following thread - the code provided in this thread works well... http://www.alteraforum.com/forum/showthread.php?t=17224 I've used this code to communicate with a visual c++ program on the pc. I think the matlab code for accessing the serial port is correct, so the problem is probably on the FPGA side.