Part Number: TMS320C6678
Tool/software: Code Composer Studio
Hello,
I studied 3 example projects of SRIO:
example a) SRIO_LpbkDioIsr_evmc6678_C66BiosExampleProject
example b) SRIO_Loopback_evmc6678_C66BiosTestProject
example c) SRIO_TputBenchmarking_evmc6678_C66TestProject
I designed an application using example c which operates in polling mode. In my application, I use only one core of c6678 and I send packets and receive them on same core.
I can send DIO packets (such as NWRITE and NREAD) as well as message passing on polling mode.
Now, I want to send some NWRITE/NREAD packets using SOCKET_A and receive them using SOCKET_B (in same core). After that, for showing end of transmission, I want to send doorbell packets and receive them in interrupt mode.
My questions are:
1- Can I send/receive DIO packets (such as NWRITE and NREAD) in polled mode while send/receive doorbell packets in interrupt mode?
2- In DIO packets, when I want use polled mode (or interrupt mode), should both send and receive operates in polled mode ( or interrupt mode)? Is it possible both send and receive operates in different modes?
3- If I want send doorbell packets and receive them in interrupt mode, should I program the accumulator? or accumulator is used only to receive message passing packets?
4- I want to send doorbell packet on SOCKET_A and receive it on SOCKET_B in interrupt mode (while SOCKET_A and SOCKET_B are in same core) . Is it possible? If yes, what should I do to setup doorbell interrupts? Is there any example code for doorbell interrupts?
Best Regards,
Mohammad