Hey all
I am making a BLDC driver board using stm32f4 discovery
I need to introduce dead time in PWM channels... Can some one tell me how to do it??
Dead time for TIM1
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Dead time for TIM1
Hi,
You have to correctly program the field of the PWM configuration structure, this field is only enabled when STM32_PWM_USE_ADVANCED is enabled in mcuconf.h.
About *how* to use that field, I don't have an example so you have to read the documentation of the TIM1/TIM8 BDTR register in the STM32 Reference Manual, also read the section 13.3.11.
Giovanni
You have to correctly program the field of the PWM configuration structure, this field is only enabled when STM32_PWM_USE_ADVANCED is enabled in mcuconf.h.
About *how* to use that field, I don't have an example so you have to read the documentation of the TIM1/TIM8 BDTR register in the STM32 Reference Manual, also read the section 13.3.11.
Giovanni