2024-07-02 06:34 AM
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,