Other Parts Discussed in Thread: C2000WARE
Hi Team,
When external pullup resistors are added to the ePWM output pins ePWMxA and ePWMxB, both the ePWM outputs are staying low for small amount of time when I initialize GPIO mux for ePWM before the ePWM configurations.
Based on the post : https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/713586/tms320f28379d-pwm-pins-default-state
I changed the sequence to configure ePWM before setting GPIO mux for ePWM.
This worked.
However, I see that SFO() is not giving a proper output when GPIO is configured after the function is called.
SFO() -> GPIO for ePWM -> wrong result
GPIO for ePWM -> SFO() -> correct value.
I have two questions.
1. How is SFO() dependent on ePWM GPIO configuration?
2. What should be the correct sequence of setting GPIO mux for ePWM?
Kind regards,
Irene