AnsweredAssumed Answered

How to distinguish SPORT interrupts from different channels?

Question asked by rkm on Aug 10, 2009
Latest reply on Aug 11, 2009 by jeyanthi.jegadeesan

I am using SPORT dma with chaining on the ADSP-21369 processor. For example, I have channels

SPORT1A and SPORT1B both configured as transmitters. DMA chaining is enabled for both

channels, so that they toggle back and forth between dma transmit buffers. However, since there

is only one SPORT1 interrupt and not separate interrupts for the SPORT1A and SPORT1B

channels, when I get a SPORT1 interrupt how can I tell which channel caused the interrupt? Are

there bits in a register I can check to find out which channel caused the interrupt? Also, is

there a bit I need to clear once an interrupt occurs, in order to keep the interrupt from recurring

and to enable the next interrupt? Thanks very much for any help ... Richard

Outcomes