Hi,
I am having issues getting SWFSYNC to work correctly for PWM module while XINT2 (INPUT5) has a pin assigned.
From the datasheet my understanding is that the PWM sync can be triggered from the INPUT5 pulse. However having INPUT 5 pulled high or low (no transition after set-up) should have no effect.
Also it looks like the INPUT5 is always connected to EXTSYNCIN1 and EPWM1 sync source and cannot be disconnected:
The issue I am having is PWM counters not syncing correctly when INPUT 5 has a pin assigned.
If the assigned pin is always pulled high, the sync works fine.
If the assigned pin is always pulled low, the sync does not work (the counters are slightly out of sync).
My questions are:
1. Is it possible to disconnect INPUT 5 from EXTSYNCIN1? If it is to be used as XINT2.
2. Is it possible to disconnect EXTSYNCIN1 altogether from all PWMs? If external sync is not to be used.
3. Is there any reason why software triggered PWM sync would not work properly when INPUT 5 pin is pulled low?