VCham
Occasional Contributor
5 years agoUART Core with NIOS issue
I have added the standard UART Core to my Cyclone V Quartus project and have connected it to NIOS. The other end of the UART interface is connected to my computer and I use PuTTY.
I am able to transmit and receive, however on receive it takes around 30 seconds of sending data via PuTTY for the FPGA to actually "catch up" and consistently receive the data.
both PuTTY and my UART module are set to 115200 baud, odd parity, and 1 stop bit.
Here is the test code I'm using.
while(1) {
if((IORD(UART_ICT_BASE,0x2) & 0x0080) == 0x0080) {
printf("\nreceived data: %4X\n", IORD(UART_ICT_BASE,0x0));
}
}