Skip to main content
wang zheng
Visitor II
March 7, 2017
Question

stm32f429igt6 Enable the Over-drive to extend the clock frequency to 180 Mhz

  • March 7, 2017
  • 2 replies
  • 745 views
Posted on March 07, 2017 at 10:23

/* Enable the Over-drive to extend the clock frequency to 180 Mhz */

PWR->CR |= PWR_CR_ODEN;

while((PWR->CSR & PWR_CSR_ODRDY) == 0)

{

}

PWR->CR |= PWR_CR_ODSWEN;

while((PWR->CSR & PWR_CSR_ODSWRDY) == 0)

{

}

/* Configure Flash prefetch, Instruction cache, Data cache and wait state */

FLASH->ACR = FLASH_ACR_PRFTEN | FLASH_ACR_ICEN |FLASH_ACR_DCEN |FLASH_ACR_LATENCY_5WS;
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    March 7, 2017
    Posted on March 07, 2017 at 14:28

    Ok, and was there a question?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Nesrine M_O
    Associate
    March 7, 2017
    Posted on March 07, 2017 at 14:33

    Hi

    wzawz.wzawz

    ,

    You are not able to

    reach

    the 180MHz as system clock frequencywhen you activate the Over Drive feature ?

    Try to refer to this example :STM32Cube_FW_F4_V1.0\Projects\STM32F429I-Discovery\Examples\RCC\RCC_ClockConfig

    -Nesrine-