Hi all,
I am a student and a beginner in DSP programming. This is my first post there.
I am working on the DSK 6455 board in loop back mode (without mezzanine) using CCS 3.2 version.
I am trying to generate an interrupt at the end of an SRIO transfer.
I read a lot of topics in different forum about SRIO and I also read a
lot of data sheets (TMS320C6455, SRIO User's guide, Chip Support
Library).
Even all of this, I am a little lost. I think I should use doorbell but I didn't really understand how it works.
For the moment SRIO transfer is working, and I am trying to
generate an interrupt with this kind of code, at the end of the TI
srio_write function:
***************************************************
volatile Uint32 *RIO_DOORBELL0_ICSR;
...
RIO_DOORBELL0_ICSR = (Uint32 *)0x02D00200;
*RIO_DOORBELL0_ICSR = 0x1;
**************************************************
I am not sure if it is the best way to generate an interrupt, and in fact, I don't know if it is really working...
I also saw in one topic that maybe I should use "vector.asm"
file to be able to call the interrupt service routine for the selected
interrupt line.
In fact my final objective will be to use this
interrupt to "chain" SRIO transfers and send a lot of data (beyond the
4kB SRIO payload), and measure the transfer rate.
Can you try to help me?
All help is welcome ;-)
Thanks a lot!
Best regards,
Gautier.
PS: I am not an English people so I am sorry if my language is not excellent. I do my best!