Excelent! I try for a long time just reading the RM but I never look at the Flash control register. Once I located the access control register it works like a charm! Thank you!!
Be careful! Because the AHB Prescaler has no 32 division factor, so from 2 to 16 the prescaler is log2(AHBPrescale) + 7; and from 64 to 512, log2(AHBPrescale) + 6.
Im using a STM32F439ZIT6 mounted on a NUCLEO-F439ZI and CubeMX in parmeters and settings for the RCC configurations especifies 5WS(6 CPU cycle) for the Flash Latency(WS)
But if you change the PLL prameters changing so the System Clk, you'll have to change the Flash Latency an the PWR VOS. So they must be also imput parameters of the function you are building.
Why is that frequency measurement floating on logic analyzer? Something to do with trigger or it's pushing the frequency bandwidth of an oscilloscope/logic analyzer?
I'm using STM32f103c8t6, how can I write this code properly with my microcontroler: . FLASH -> ACR |= FLASH_ACR_ICEN | FLASH_ACR_PRFTEN | FLASH_ACR_DCEN |FLASH_ACR_LATENCY_3WS;. Please help me, thank you very much!!!!!!