2017-03-07 01:23 AM
/* 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;2017-03-07 05:28 AM
Ok, and was there a question?
2017-03-07 05:33 AM
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-