Skip to main content
bram_labs
Associate II
December 1, 2016
Solved

Dead Time Configuration in STM32F4 Discovery

  • December 1, 2016
  • 1 reply
  • 804 views
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 !
    This topic has been closed for replies.
    Best answer by bram_labs
    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

    1 reply

    bram_labs
    bram_labsAuthorBest answer
    Associate II
    December 1, 2016
    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