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.
Hi,
I am working on EPWM driver in TMS320F28075 controller. I am configuring two PWM modules i.e. EPWM1 and EPWM2. The TBCLK is set to 60MHz and the Fpwm is 20KHz.
I am making the EPWM1 as master by keeping the PHSEN = 0 and generating sync pulse at CTR = ZERO. And EPWM2 as slave by making PHSEN =1 and TBPHS= 0x0000 with sync pulse generated by the syncIN through EPWM1.
Although I am configuring both the PWM modules as per the reference guide, The PWMs are not exactly synced. There is a lag in slave from master of about 30nS.
Please let me know if there is anything I am missing here. I need both PWMs to be synced properly.
Thanks,
Shalini