This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: Multicore syncing

Part Number: AM2634
Other Parts Discussed in Thread: LP-AM263, SYSCONFIG

Hi TI Expert,

I am running two different PWM modules on two different cores and would like them to be perfectly in sync. However, I see some offset between them in microseconds and every time I power cycle it shows a different offset.
Could you please let me know how to sync the cores?

Currently, I am using "IpcNotify_syncAll" API to sync the cores along with a multicore global bitmask variable (example code below) and I start the PWM on both cores right after running the sync code given below.

IpcNotify_syncAll(SystemP_WAIT_FOREVER);                     /* Wait for all cores to start */
SyncAllCores = (SyncAllCores | (1U << CSL_CORE_ID_R5FSS0_0));
while (SyncAllCores != 0x0F);

Thanks in advance!