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
Moderators: RoccoMarco, barthess
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
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
Who is online
Users browsing this forum: Google [Bot] and 26 guests