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.

TMS320F280049C: Using high resolution (HRPWM) duty cycle in addition of deadband module

Part Number: TMS320F280049C
Other Parts Discussed in Thread: TMDSHSECDOCK

Hello,

I'm using the F280049 controlCARD Installed on TMDSHSECDOCK with Code Composer Studio Version: 9.1.0.00010 .

I made some tests with the ePWM peripheral. I'm using the up&down mode and the CMPA to generate PWMA. This signal is used to generate PWMA&PWMB with the deadband module. The deadband module is running at half cycle. 

So I generated a PWM and his complement with the deadband module. I could easily modify the duty cycle (CMPA register) and the deadtime (DBRED/DBFED registers). The duty cycle has 10ns resolution and the deadband 5ns.

Then I tried to use the High Resolution capabilities of the ePWM. Without using the deadband module, I could generate a HRPWM and modify the duty cycle easily. But I didn't succeed to generate a HRPWM with the deadband module. It seems that the deadband module keep the 5ns resolution. I used the deadband in High Resolution  with a deadband of 100ns so DBREDHR & DBFEDHR registers are set to 0.

A workaround has been:

  • to generate PWMA with CMPA and PWMB with CMPB
  • to compute by software the deadband and modify the CMPA:CMPAHR register and CMPB:CMPBHR register

However, I missed something and I would like to understand what I missed.

Could you confirm to me that it's possible to use High resolution capabilities on duty cycle with the deadband module? If yes, is there some specific configurations, tricks, ... to know? is there an example available using HRPWM for duty cycle with the deadband module?

Thanks for your next answers