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 agoThe JTAG debugger uses interrupts, NFI how often or how long they'll run with interrupts disabled.
The nios cpu itself is capabable of almost zero interrupt latency (use a separate register bank for the ISR). The Altera HAL interrupt entry/exit code is another matter entirely! There could be a lot of instructions between the cpu taking the interrupt and your ISR actually running. OTOH 2-3ms does seem an awful lot.