Hello,
I use the IDK AM437x and modified the sdk sys/bios motor_control example to generate the additional EHRPWM0A and EHRPWM0B signals at J16 header. I followed some example codes presented at e2e to init basic square wave. In foc_pwm.c there is a function PowerPWM(); that powers and clocks all the PWMSS instances. The waveform generation was based on code provided for EHRPWM3 - EHRPWM5 but finally no desired signal is present at am4379 pins. I should probably provide appropriate pinmux configuration {CHIPDB_MOD_ID_PWMSS, 0, 0} to Board_pinMuxConfig function to configure all pins of PWMSS instance 0. But I don't know if those pins (EHRPWM0A and EHRPWM0B) are defined in appropriate pinmux.c file such as am43xx_idkevm_pinmux_data.c. The module generally works because its interrupts are generated but no output signal is present, so I suppose it lacks the appropriate pinmux configuration. Could you please suggest some solution for this?
Thanks!
JJ