cancel
Showing results for 
Search instead for 
Did you mean: 

Dead Time Configuration in STM32F4 Discovery

bram_labs
Associate II
Posted on December 01, 2016 at 05:00

Hello Sir, i want to ask how to add 390ns or 0.39us for dead time ?

My systemclock = 64 MHz

My AHB Prescaler = 4

so my HCLK = 16 MHz

and because of APB1 Prescaler = 1

then my APB1 peripheral clocks = 16 MHz

So, what number i should put in the dead time configuration ?

Thanks a lot !
1 ACCEPTED SOLUTION

Accepted Solutions
bram_labs
Associate II
Posted on December 01, 2016 at 15:35

Problem solved.

Deadtime = the value that you want (in my case 390ns) * systemcoreclock

(Keep in mind that systemcoreclock is HCLK, not systemclock)

So my deadtime would be = 390ns * 16 MHz = 6.24 = 6 or 7

View solution in original post

1 REPLY 1
bram_labs
Associate II
Posted on December 01, 2016 at 15:35

Problem solved.

Deadtime = the value that you want (in my case 390ns) * systemcoreclock

(Keep in mind that systemcoreclock is HCLK, not systemclock)

So my deadtime would be = 390ns * 16 MHz = 6.24 = 6 or 7