This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: DBCTL and AQCSFRC shadow mode

Part Number: TMS320F28379D

Tool/software:

Hello,

I am trying to use the Global PWM Load Control Register (GLDCTL) to do the shadow-to-active transfer of the AQCSFRC and DBCTL registers (among other ones) when getting the EPWMxSYNCI sync pulse. This is basically what I'm doing:

GLDCFG[AQCSFRC] = 1;
GLDCFG[DBCTL] = 1;
GLDCTL[GLDMODE] = 3; // Load on SYNCEVT
GLDCTL[GLD] = 1;

However, when testing, I realized they are not loaded when I expected. The DBCTL register seems to be reloaded, not when receiving the sync pulse, but it seems the shadow-to-active transfer happens immediately. Also, I noticed that the local reload configuration register DBCTL2[LOADDBCTLMODE] does not have an option to load when having a sync event (similarly in the case of AQSFRC[RLDCSF]). So, I wonder if it is actually possible to set the global load mode to Load on SYNCEVT for DBCTL and AQCSFRC. I didn't find anything on the TRM or errata what would suggest it's not possible, but I cannot explain this behavior otherwise.

Thank you