Forum Discussion
Altera_Forum
Honored Contributor
14 years agointerrupt handling
Hello There, using below peace of code i am trying to read external 8 bit data from DATA_IN bus.during edge_capture interrupt arrive, though it read almost all data but it miss 2-3 data during ...
Altera_Forum
Honored Contributor
14 years agoOne possibility is that your input signal is changing too fast for the CPU. Handling an interrupt takes many cycles. If you want to be sure not to miss any data you should create a handshake mechanism, or provide your data through an Avalon Stream interface and read it with a DMA.