Other Parts Discussed in Thread: CONTROLSUITE
Hi,
The issue that I'm seeing is that when the CMPAHR register gets a value of 0xFFxx, the PWM shuts off.
Any value below FF works.
I'm wondering if this is a limitation for the HRPWM or if my configuration is missing something.
This is some info on my system:
I'm switching the PWM at 220Khz with a Sys Clock of 90Mhz.
Thus my period is 409.
The output of my compensator is a floating point.
I multiply that output * 409 * 65279 and load it into the EPwm1Regs.CMPA.all register.