Part Number: TMS320F28379D
Hello,
I am using SFO_v8_fpu_lib_build_c28.lib and based on the TRM and the code examples I declare which ePWM modules are going to use HRPWM in an array like so:
volatile struct EPWM_REGS *ePWM[] = {0, &EPwm1Regs, &EPwm2Regs, &EPwm3Regs, &EPwm4Regs};
However no matter what I put in the ePWM array the SFO() function seems to never access the contents of the ePWM array.
Furthermore I can see from the disassembly window that a global variable called SFO_CAL is used to index the ePWM array and as far as I can telle that variable is never written by SFO() so the calibration routine cannot read anything else than the first element of the array which is zero.
So my question is: why do I need to define the ePWM array and is it really necessary?
Cheers,
Pierre