Forum Discussion
Altera_Forum
Honored Contributor
12 years agoISR driven UART is missing characters (even at 9600bps... same prob at 230400)
Any ideas on what I'm missing here that is causing me to miss characters? I'm interfacing to a device that shoots out RS232 packets (up to 200 per second if the bps can handle itI can select t...
Altera_Forum
Honored Contributor
12 years agoCan you feed the IRQ line itself out?
Or use signaltap to trace the information inside the fpga? It might be that something is disabling interrupts - although the long latencies at only 960 baud do look 'iffy'. I'd suggest using a hardware receive fifo instead of a software ring buffer - especially if you want to run at high baud rates. Depending on what else the nios cpu is doing you may not even need to take a rx interrupt - just look at the fifo status where the code currently looks if anything has been written to the ring buffer.