DSPRelated.com
Forums

McBSP interrupts on Texas 2812

Started by Torgeir Jakobsen December 2, 2004
I have problems with the receive and transmit interrupts on this DSP. I have
set the McBSP to generate interrupts on RRDY and XRDY, and I can see that
these bits are set when I emulate the program on my hardware (using XDS510PP
Plus and CCS). This should also have activated the corresponding interrupt
flags in the PIEIFR6 regsiter (bit 5 and 6), but this does not happen.
I can see that my ISRs are working if I set the interrupt flags in PIEIFR6
manually, so the problem is the connection between the McBSP and the PIEIFR6
register. What do I have to do to make the McBSP RRDY and XRDY activate the
flags in PIEIFR6 ?
I use the internal sample rate generator, and I can see the frame and clock
signals with my oscilloscope.

Thank you in advance.
--
Best regards
Torgeir Jakobsen
Development Engineer, Technology Department
Aanderaa Instruments AS
e-mail: torgeir.jakobsen@aanderaa.no
Phone: +47 55109977
Fax: +47 55109910


I am now using the McBSP FIFO interrupts instead and this works fine. I have
asked Texas to explain why the other method did not work, but this is not a
problem anymore. It is probably better to use the FIFO anyway.


"Torgeir Jakobsen" <torgeir.jakobsen@aanderaa.no> wrote in message
news:41af2a6c$1@news.wineasy.se...
> I have problems with the receive and transmit interrupts on this DSP. I
have
> set the McBSP to generate interrupts on RRDY and XRDY, and I can see that > these bits are set when I emulate the program on my hardware (using
XDS510PP
> Plus and CCS). This should also have activated the corresponding interrupt > flags in the PIEIFR6 regsiter (bit 5 and 6), but this does not happen. > I can see that my ISRs are working if I set the interrupt flags in PIEIFR6 > manually, so the problem is the connection between the McBSP and the
PIEIFR6
> register. What do I have to do to make the McBSP RRDY and XRDY activate
the
> flags in PIEIFR6 ? > I use the internal sample rate generator, and I can see the frame and
clock
> signals with my oscilloscope. > > Thank you in advance. > -- > Best regards > Torgeir Jakobsen > Development Engineer, Technology Department > Aanderaa Instruments AS > e-mail: torgeir.jakobsen@aanderaa.no > Phone: +47 55109977 > Fax: +47 55109910 > >