Part Number: TMDXIDDK379D
Tool/software:
Hello Experts,
Could you kindly give us clarity on the below:
Looking at the tmdxiddk FOC project located at :

there is a function "configurePWM()" which configures the 3 PWM channels.
In this function the PWM channels are configured in shadow load mode using the EPWM_setCounterCompareShadowLoadMode() function(CMPCTL [SHDWAMODE] = 0)

Later down the main function, the FCL library function "FCL_initPWM()" sets the PWM channels to immediade load mode(CMPCTL [SHDWAMODE] = 1), Could you please explain why is this done ?
Isnt shadow loading prefered over immediate loading as the PWM CMPA/B is loaded as perticular events only?

