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 transmitting uart from the fpga? Are you polling or using interrupts?
Here is a thread about using UART with interrupts: http://www.alteraforum.com/forum/showthread.php?t=17224 The code bluegem1 provides (uart interrupt handler) works very well. I've used it to communicate with nios and a Visual c++ program on the pc. Make sure your baud rates match up (i use 115200). The matlab code looks correct.