Hello,
I tried a Starerware example of EHPWM and started doing it manually step by step. The EPWMAppInit function does all the job in module's registers what is pretty clear. But before that, I assume the PRCMModuleEnable function should be launched to enable its power and clocking. After the EPWMAppInit, pinmux config should be done by PINMUXModuleConfig to enable and configure the input/output pins. Is there anything more that I should keep in mind? I do not know if there is anything more 'hidden' somewhere in dispersed files.
Could you tell me if the instruction PINMUXModuleConfig(CHIPDB_MOD_ID_PWMSS,0,0) turns on the entire module declared in am43xx_gpevm_pinmux_data.c or the third argument should be set to direct value such as PINMUX_SS_PWMSS_EHRPWM0?
Thanks!
JJ