Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi,
I'm using the AM2434 EVM Board, I'm trying to synchronize the cores. I found that I can use the IpcNotify_syncAll, sendSync, and waitSync.
But there's a phase shift between cores. My use case is that I'm toggling two LEDs, one on each core. There's a delay every toggle that is different in each core, e.g. 1 second and 100 ms.
I used IpcNotify_syncAll to make the quick one wait for the slow one. And actually it does that.
The problem is there's a phase shift between the rising edges of the LEDs or the falling edges. That phase shift is not constant. It changes in every single edge.
The phase shift may vary between 15 micro-seconds up to 1 milli-second.
My questions are as following:
- I need to understand why there's a phase shift like that.
- How to eliminate that phase shift?
- How does the sendSync and waitSync work? how do they exchange messages?
Thank you in advance.