Hi Folks - Another question for you.
I'm trying to configure a McBSP RRDY interrupt using the DSP on a Beagleboard XM.
I have the McBSP configured correctly - I can read the DRR in a software loop and it correctly pulls in samples from an ADC.
I have part of the interrupt configured correctly. I can set bit 7 in the ISR register and see that my ISR is called (it is mapped to INT7).
However, I haven't been able to get the McBSP to generate the interrupt on it's own.
McBSP1 IRQENABLE.RRDYEN is set to 1 to enable the RRDY McBSP Interrupt.
McBSP1 SPCR1.RINTM is set to 0 for RRDY Interrupt .
To configure the interrupt itself, I am using:
HWI_eventMap( C64_INT7, 62 ); // Map McBSP1 RX (62) to INT7
C64_plug( C64_INT7, (Fxn)_MCBSP1_ISR, -1 ); // Map the ISR
C64_enableIER( C64_EINT7 ); // Enable INT7
Am I missing anything? I'm not convinced that the HWI_eventMap call is doing what it is supposed to as that is what should connect the McBSP to the interrupt.
Suggestions?
Thanks much,
Joe.