Hello Alice,
Thank you for your response. I checked the terminal, and it displays only "FlexPWM driver example". I also followed the instructions in the readme.txt and probed the pins using an oscilloscope as suggested.
Here’s what I observed:
- The PWM signal is present at the pins corresponding to submodule 0.
- No signal is observed at the pins assigned to submodule 1.
Additionally, I tried modifying the code by changing the clock setting for submodule 1. Specifically, I replaced:
"pwmConfig.clockSource = kPWM_Submodule0Clock;"
with
"pwmConfig.clockSource = kPWM_BusClock;"
After making this change, I observed that a pulse was generated on the submodule 1 pin as well.
Could you clarify:
- Why submodule 1 does not output a signal when kPWM_Submodule0Clock is used as the clock source?