Hi,
we are using HRPWM with SFO (SFO_TI_Build_V6b.lib) on a Piccolo 28035 and have the following question(s) that does not seem to be clear from documentation:
When using SFO, we need to add some variables (*ePWM[PWM_CH], MEP_ScaleFactor) amd adapt the define PWM_CH.
- What exactly is the value the define PWM_CH has to be set to? Number of PWM channels on used Piccolo device? Number of used HRPWM channels?
This is quite inconsistent throughout the examples.
- How has the *ePWM[PWM_CH] array to be initialized? With all PWM modules on used Piccolo device? With all PWM Modules used as HRPWM PWM in the application? Only with PWMModule1 - since the fine step increment for all PWM is set by the HRMSTEP of EPwm1?
Please clarify.
Thanks, Stephan