Other Parts Discussed in Thread: SYSCONFIG
Inside tidm_02012 example we have three different values for EPWM deadband as follows
1- value is 10 for both delays, inside sys config which reflects inside EPWM_init function, so this is the value used during initialization
2- value is 245 for rising edge delay and 225 for falling edge delay inside function HAL_initPWMCounts which is also called during initialization after the first one, so the first configuration will be useless
3- using hardcoded deadband value to calculate the minCMPValue inside function HAL_setTriggerPrams, which is 24 (0.2*120)
I need to understand why there are different values because according to my understanding, they are all the same parameter, and what is the hardcoded value (33) that is used to calculate the minCMPValue, in this line
pPWMData->minCMPValue = deadband + noiseWindow + 33U;