2025-08-22 10:06 PM
Hello,
I want to use the Timer1 CH1 and CH1N of the STM32H563ZI with dead time generator and break input functionality. It should behave in that way that when the break input (BKIN) is triggered it should goes to a predigined idle state (for CH1 low and for CH1N goes high). After setting the configuration to PWM mode 1 in that way and run the program on oscilloscope I can observe that eg. when the CH1 is low, CH1N is high and the BKIN triggers, the CH1 keep being low, but the CH1N change it state to low for dead time period and again goes high as a predefined idle state. Is it normal behaviour of the timer that even when the output should be high when BKIN occure it is pulling down for dead time and after dead time it is enabling the idle states?
2025-08-25 12:34 AM
Yellow - TIM1_CH1, Blue - TIM1_CH1N, Purple - TIM1_BKIN input
2025-08-25 1:58 AM
Hey @CKN,
When you see CH1N go low right after BKIN triggers and then go back high during dead time, that’s totally normal for the STM32H563ZI Timer1. It’s just the dead time doing its job,
There has to be a safe gap between switching signals to avoid any short circuits.
After that dead time, the output settles back to the idle state you set up, which also depends on the OSSI bit settings.
You can check: STM32 timers break feature unit
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-08-25 2:16 AM
Ok, thank you. Actually it is not proper behaviour for me. Are there any options to avoid this behaviour that when the BKIN triggers all timers outputs will hold they values if they are the same as defined in idle state or if they are different change it's value to idle state without this strange transition?