Part Number: TMS320F28379D
I have implemented code for high resolution duty cycle and dead band control. I have some questions about the limitations described in the documentation related to HRPWM.
1. The duty cycle limitation (chapter 15.14.1.5.3 in the technical manual) is that when using HRPWM, the minumum duty should be 3 cycles. For smaller values the HRPWM should be disabled. A quote from the manual:
"When high-resolution period control is disabled, regular PWM duty control is fully operational down to 0% duty cycle despite the unavailability of HRPWM features in the first three cycles."
My question is that is it enough to set the high resolution registers to 0 (CMPAHR and CMPBHR) to disable the HRPWM features in this case? Or do I have to re-initialize the module with the HRPWM features completely disabled?
2. My other question is related to the same limitation in the HR dead band feature. In HR dead band documentation (15.14.1.6) there is a note which says:
"Just like the duty cycle restrictions when using HRPWM, the DBRED and DBFED values must be greater than 3 to use hi-res deadband."
However, in chapter 15.14.1.5.3, a bullet point says:
"When using DBREDHR or DBFEDHR, DBRED and/or DBFED (the register corresponding to the edge with hi-resolution displacement) must be greater than or equal to 7."
So, is it 3 or 7, or have I understood something wrong?
I have also done some tests on my own, and it seems like the HR dead band adjustment works for all DBRED/DBFED values. I can adjust the dead band value upwards from 0 nanoseconds in HR steps without any issues. I am sure there is a good reason for the 3 cycle limitation, but in practice I have not been able to find any issues with HR dead band operation below 3 cycles. Can you elaborate what might make the HR dead band have undefined behavior when operating below 3 cycles?
Thank you.