Skip to main content
bram_labs
Associate II
Dec 1, 2016 4:00 AM UTC
Solved

Dead Time Configuration in STM32F4 Discovery

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.
    bram_labs
    bram_labsBest answer
    Associate II
    Dec 1, 2016 2:35 PM UTC
    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
    Dec 1, 2016 2:35 PM UTC
    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