Other Parts Discussed in Thread: HALCOGEN,
There seems to be a bug in the following routines for TMS570LS1114 in HalCoGen 4.06.01:
etpwm2GetConfigValue() and
etpwm5GetConfigValue()
When reading the current configuration, the register TBCTL is read from etpwmREG1 instead of etpwmREG2 or etpwmREG5.
... config_reg->CONFIG_TBCTL = etpwmREG1->TBCTL; ...
All other registers are read from the correct etpwmREG2/5.