Flash Interface Registers; Flash Access Control Register (Flash_Acr); For Stm32F405Xx/07Xx And Stm32F415Xx/17Xx - STMicroelectronics STM32F405 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Embedded Flash memory interface
3.9

Flash interface registers

3.9.1

Flash access control register (FLASH_ACR)

for STM32F405xx/07xx and STM32F415xx/17xx

The Flash access control register is used to enable/disable the acceleration features and
control the Flash memory access time according to CPU frequency.
Address offset: 0x00
Reset value: 0x0000 0000
Access: no wait state, word, half-word and byte access
31
30
29
28
15
14
13
12
DCRST ICRST
Reserved
rw
Bits 31:13 Reserved, must be kept cleared.
Bit 12 DCRST: Data cache reset
This bit can be written only when the D cache is disabled.
Bit 11 ICRST: Instruction cache reset
This bit can be written only when the I cache is disabled.
Bit 10 DCEN: Data cache enable
Bit 9 ICEN: Instruction cache enable
Bit 8 PRFTEN: Prefetch enable
Bits 7:3 Reserved, must be kept cleared.
Bits 2:0 LATENCY[2:0]: Latency
98/1731
27
26
25
11
10
9
DCEN
ICEN
w
rw
rw
0: Data cache is not reset
1: Data cache is reset
0: Instruction cache is not reset
1: Instruction cache is reset
0: Data cache is disabled
1: Data cache is enabled
0: Instruction cache is disabled
1: Instruction cache is enabled
0: Prefetch is disabled
1: Prefetch is enabled
These bits represent the ratio of the CPU clock period to the Flash memory access time.
000: Zero wait state
001: One wait state
010: Two wait states
011: Three wait states
100: Four wait states
101: Five wait states
110: Six wait states
111: Seven wait states
DocID018909 Rev 11
24
23
22
Reserved
8
7
6
PRFTEN
Reserved
rw
21
20
19
18
5
4
3
2
rw
RM0090
17
16
1
0
LATENCY[2:0]
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF