Table 3. Number Of Wait States According To Cortex ® -M3 Clock Frequency - ST STM32F207 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F207 Series:
Table of Contents

Advertisement

Memory and bus architecture
Table 3. Number of wait states according to Cortex
Wait states (WS)
(LATENCY)
0 WS (1 CPU cycle)
1 WS (2 CPU cycles)
2 WS (3 CPU cycles)
3 WS (4 CPU cycles) 90 < HCLK ≤ 120
4 WS (5 CPU cycles)
5 WS (6 CPU cycles)
6 WS (7 CPU cycles)
7 WS (8 CPU cycles)
1. If IRROFF is set to VDD on STM32F20xx devices, this value can be lowered to 1.65 V when the device
operates in a reduced temperature range.
After reset, the CPU clock frequency is 16 MHz and 0 wait state (WS) is configured in the
FLASH_ACR register.
It is highly recommended to use the following software sequences to tune the number of
wait states needed to access the Flash memory with the CPU frequency.
Increasing the CPU frequency
Program the new number of wait states to the LATENCY bits in the FLASH_ACR
register
Check that the new number of wait states is used to access the Flash memory by
reading the FLASH_ACR register
Modify the CPU clock source by writing the SW bits in the
register (RCC_CFGR)
If needed, modify the CPU clock prescaler by writing the HPRE bits in RCC_CFGR
Check that the new CPU clock source or/and the new CPU clock prescaler value is/are
taken into account by reading the clock source status (SWS bits) or/and the AHB
prescaler value (HPRE bits), respectively, in the RCC_CFGR register
Decreasing the CPU frequency
Modify the CPU clock source by writing the SW bits in the RCC_CFGR register
If needed, modify the CPU clock prescaler by writing the HPRE bits in RCC_CFGR
Check that the new CPU clock source or/and the new CPU clock prescaler value is/are
taken into account by reading the clock source status (SWS bits) or/and the AHB
prescaler value (HPRE bits), respectively, in the RCC_CFGR register
Program the new number of wait states to the LATENCY bits in FLASH_ACR
Check that the new number of wait states is used to access the Flash memory by
reading the FLASH_ACR register
Note:
A change in CPU clock configuration or wait state (WS) configuration may not be effective
straight away. To make sure that the current CPU clock frequency is the one you have
56/1381
HCLK - Cortex
Voltage range
Voltage range
2.7 to 3.6 V
2.4 to 2.7 V
0 < HCLK ≤ 30
0 < HCLK ≤ 24
30 <HCLK ≤ 60
24 < HCLK≤ 48
60 < HCLK ≤ 90
48 < HCLK ≤ 72
72 < HCLK ≤ 96
96 < HCLK ≤ 120
RM0033 Rev 9
®
-M3 clock frequency
®
-M3 clock frequency (MHz)
Voltage range
2.1 to 2.4 V
0 < HCLK ≤ 18
18 < HCLK ≤ 36
36 < HCLK ≤ 54
54 < HCLK ≤ 72
72 < HCLK ≤ 90
90 < HCLK ≤ 108
108 < HCLK ≤ 120 96 < HCLK ≤ 112
RCC clock configuration
RM0033
Voltage range
(1)
1.8
to 2.1 V
0 < HCLK ≤ 16
16 < HCLK ≤ 32
32 < HCLK ≤ 48
48 < HCLK ≤ 64
64 < HCLK ≤ 80
80 < HCLK ≤ 96
112 < HCLK ≤ 120

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F207 Series and is the answer not in the manual?

Questions and answers

Table of Contents