Part Number: CODECOMPOSER
Hi,
I am trying to use the HRPWM module on my F2837xD. I use the CLA to compute a new control output and pass this back to the CPU to modulate the HRPWM register.
In all the examples for HRPWM, the float32_t type is used for fine case control. The issue is, that my input to the CLA is a set of three ADC measurements. Therefore, they are of int32_t type.
What is the methodology for converting a int32_t variable into a float32_t? Should I do this in the CPU, or in the CLA?
Regards,
Joel