cancel
Showing results for 
Search instead for 
Did you mean: 

Dead Band issue with HRTIM module.

PMoreno
Associate

Dear team,

I am using a STM32G474 in my application. I've generated a PWM in the HRTIM TIMER E that is active low (necessary for the requirements of the modulation). I want to insert a dead band between this signal and its complementary (Output 2). The problem when using this functions

LL_HRTIM_DT_SetRisingValue(HRTIM1, LL_HRTIM_TIMER_F, value_to_set_hv);
LL_HRTIM_DT_SetFallingValue(HRTIM1, LL_HRTIM_TIMER_A, value_to_set_hv);

is that the dead band increase the duty of the signal, so no dead band is inserted, in fact, during this time, the 2 pwm are active (view image). What can i do to solve this problem? I know that one solution is to change the actual pwm output 2 to output 1 and set it to active high, but i rather prefer to avoid this. And i want to only control output 1, i do not want independent signals.

Thanks,

Captura.PNG

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks for the reply, but i solved this issue. ST has an option to define negative dead bands, this solved my issue.

Best regards.

View solution in original post

2 REPLIES 2

Hello, 

I understand that you want to apply to deadtime on both edges of Timer E output (active low). Functions below are not applied on the same Timer Unit? is it what you intend?

LL_HRTIM_DT_SetRisingValue(HRTIM1, LL_HRTIM_TIMER_F, value_to_set_hv);
LL_HRTIM_DT_SetFallingValue(HRTIM1, LL_HRTIM_TIMER_A, value_to_set_hv);

Could you please put signal names on waveformes above to help understanding your situation,

Best regards.

Thanks for the reply, but i solved this issue. ST has an option to define negative dead bands, this solved my issue.

Best regards.