Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello,
I need help ...
My application uses 2 cores.
When CPU1 send a message to CPU2, I set an IPC (SET register thanks to IPC_setFlagLtoR function) Flag which generates an interrupt for CPU2. In the ISR, I acknowldge this Flag in its STS Register by setting the corresponding bit in the ACK Register (IPC_ackFlagRtoL function). The CPU1 waits for this acknowledgment polling its FLAG Register (IPC_waitForAck function)
I have 2 communications.
For the first one:
---------------------
CPU1 --> CPU2: Flag IPC0
CPU2 --> CPU1: Flag IPC1
For the second one:
--------------------------
CPU1 --> CPU2: Flag IPC2
CPU2 --> CPU1: Flag IPC3
Down here the SysConfig file:


Everything works well for the first communication, but for the second one, although the CPU1 ask for a ACK in its ISR, the Flag of CPU2 is never reset:
CPU2:

CPU1:

I checked with the debugger:
- the code runs into the ISR IPC_3
- the code runs into the function IPC_ackFlagRtoL(IPC_CPU1_L_CPU2_R, IPC_3)
- The code never goes out from the function IPC_waitForAck(IPC_CPU2_L_CPU1_R,CPU2_to_CPU1_IPC_FLAG3);
Please note that I ask for the Flag to be set each 300ms (each time I receive a CAN frame)
Has anybody any ideau that can help me ?
Thnank you.



