I would like to synchronize the two PWM modules, PWM0 and PWM1, in ADSP21584. The desired behavior is that both PWM modules would run based on their own internal PWMTMR0 respectively and I would like to use TIMER0_TMR0_MST (a trigger master) to synchronize both PWMTMR0 in PWM0 and PWMTMR0 in PWM1.
However, I can't seem to find a trigger slave to synchronize the PWM modules. The TRU has trigger slaves to trip the PWM modules (e.g. PWM0_TRIP_TRIG0), but it does not have trigger slaves to synchronize the PWM modules.
Am I missing something?
Hi Jinhui,An SR has been logged through private support for this issue, and will continue to be dealt with through that channel. We will post the outcome here, if appropriate.Regards,Lalitha.S
I am facing exacetly the same issue like Jinjui but with a ADSP-SC589 and its 3 PWM units.
Do you have any interesting updates concerning the topic?
Hi Erwin,As you can see, trigger slaves are only for tripping off PWM modules. Can you consider using a master trigger and any of the TRU Interrupt Request as slave(For this you can refer TRU_MulcoreSync_Timer_Interrupt.zip example code in the FAQ ez.analog.com/.../faq-how-to-synchronize-multicores-with-tru-or-interrupt). The PWM can be enabled separately inside the TRU Slave handler on each of the cores. Since the timer will interrupt the slaves simultaneously, the interrupt handler for both the slaves will be executed at the same time. This causes both the PWM modules to be synchronized.Regards,Anand Selvaraj.