AnsweredAssumed Answered

SPORT0 not generating Interrupt

Question asked by Meikel on May 21, 2010
Latest reply on May 28, 2010 by Meikel

Hello,

 

I tried to rewrite the BlockBased TalkThru from C to ASM. Therefore I used the Analog In-Out example and I'm working in VisualDSP++ and own a ADSP-21364 EZ-Kit Lite.

 

I setup the SPORT0 to receive in DMA Chaining mode and I'm able to see the 2 rx_buffers getting filled with data from the ADC.

I want to generate an interrupt when a buffer is full so the data can be processed. So I configured it as follows:

 

// Enable the SPORT0 ISR
LIRPTL = SP0I | SP0IMSK;
// Enable interrupts (globally)
BIT SET MODE1 IRPTEN;

 

The interrupt will only be generated once, even when de rx_buffers are still getting filled and contain -each time I check- different data.

Is there anything I need to reactivate before leaving the ISR?

 

Anny help will be appriciated.

Outcomes