Other Parts Discussed in Thread: CONTROLSUITE
The function of the F2837xD IPC (Inter-Processor Communication) Device Driver library is transmit the massage between the two CPUs,for example
“IPCLtoRDataWrite(&g_sIpcController1, pulMsgRam[0],(uint32_t)usWWord16,IPC_LENGTH_16_BITS, ENABLE_BLOCKING,NO_FLAG) ” This function will allow the local CPU system to write a 16/32-bit word via the ulData variable to an address on the remote CPU system.
IPCLtoRBlockWrite(&g_sIpcController2, pulMsgRam[2], (uint32_t)pusCPU01BufferPt, 256,IPC_LENGTH_16_BITS,ENABLE_BLOCKING) This function will allow the local CPU system to write a block of data to the remote CPU system starting from the location specified by the ulAdress parameter. In the cpu2‘s ISR of ipc , wite cpu1 data to cpu2‘ RAM through cpu2.
In the application of motor control this transmission‘s efficiency is too low. In the cpu2‘s ISR of ipc , can i wite cpu1 data to cpu2‘ RAM through DMA?
Regards
shook