Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Hello,
I am having problems with the ipc example with message queues. I'am using C2000Ware_5_04_00_00
I am trying to send a message from cpu1 to cm with IPC_sendMessageToQueue. The rx irq on cm is generated correctly but after calling IPC_readMessageFromQueue RxMsg data is empty.
I have checked the messageQueue addresses on both processors and on CM is OK (located in shared RAM 0x2000E198) but in cpu1 the messageQueue is located in 0xA5A6 not located in shared RAM.
I have defined in the CPU1 the following variables
IPC_MessageQueue_t messageQueue;
IPC_Message_t TxMsg, RxMsg;
outside the main funcion as global variables. The same way that IPC_MessageQueue_t messageQueue is defined in CM as global.
Why is it?. Should a pragma to force messageQueue in shared RAM be included ?
Regards,
Aitor