Part Number: TMS320F28388D
Tool/software:
I am trying to build a code for bidirectional data transmission between CM and CPU1 based on the example files ipc_ex1_basic_c28x1 and ipc_ex1_basic_cm.c. However, I am facing several issues.
Firstly, I am unsure about the functions that replace Interrupt_initModule() and Interrupt_initVectorTable() in the CM file. What I mean is that to transmit data from CM to CPU1, I need to write the existing code from CPU1 to CM, but I am having a lot of trouble configuring it according to the header files in CM.
Secondly, I am not sure how to set the flags. I believe the flags for transmission and reception should be set differently, but I need confirmation on this.
Lastly, the example files are set up for a one-time transmission and reception. Is there any way to continuously transmit and receive data other than putting it in a while loop? However, since I ultimately need to integrate it with the EtherCAT communication code, I cannot create an infinite loop just for IPC. Therefore, I want to configure it to control and transmit/receive IPC data in sync with DCsync0, but I cannot think of a way to make IPC transmission and reception possible in sync with DCsync0.
Thank you.