Flexible memory controller (FMC)
and synchronous accesses depending on the CCKEN bit configuration in the FMC_BCR1
register:
•
If the CCLKEN bit is reset, the FMC generates the clock (CLK) only during
synchronous accesses (Read/write transactions).
•
If the CCLKEN bit is set, the FMC generates a continuous clock during asynchronous
and synchronous accesses. To generate the FMC_CLK continuous clock, Bank 1 must
be configured in synchronous mode (see
registers). Since the same clock is used for all synchronous memories, when a
continuous output clock is generated and synchronous accesses are performed, the
AHB data size has to be the same as the memory data width (MWID) otherwise the
FMC_CLK frequency will be changed depending on AHB data transaction (refer to
Section 37.5.5: Synchronous transactions
The size of each bank is fixed and equal to 64 Mbyte. Each bank is configured through
dedicated registers (see
The programmable memory parameters include access times (see
for wait management (for PSRAM and NOR Flash accessed in burst mode).
Parameter
Address
setup
Address hold
Data setup
Bust turn
Clock divide
ratio
Data latency
37.5.1
External memory interface signals
Table
259,
NOR Flash memory, SRAM and PSRAM.
Note:
The prefix "N" identifies the signals which are active low.
1600/1731
Section 37.5.6: NOR/PSRAM controller
Table 258. Programmable NOR/PSRAM access parameters
Function
Duration of the address
setup phase
Duration of the address hold
phase
Duration of the data setup
phase
Duration of the bus
turnaround phase
Number of AHB clock cycles
(HCLK) to build one memory
clock cycle (CLK)
Number of clock cycles to
issue to the memory before
the first data of the burst
Table 260
and
Table 261
DocID018909 Rev 11
Section 37.5.6: NOR/PSRAM controller
for FMC_CLK divider ratio formula).
Access mode
Asynchronous
Asynchronous,
muxed I/Os
Asynchronous
Asynchronous and
synchronous
read/write
Synchronous
Synchronous
list the signals that are typically used to interface with
registers).
Table
258) and support
Unit
Min.
AHB clock cycle
0
(HCLK)
AHB clock cycle
1
(HCLK)
AHB clock cycle
1
(HCLK)
AHB clock cycle
0
(HCLK)
AHB clock cycle
2
(HCLK)
Memory clock
2
cycle (CLK)
RM0090
Max.
15
15
256
15
16
17
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?
Questions and answers