Flexible static memory controller (FSMC)
If NWAIT is sensed active (low level when WAITPOL = 0, high level when WAITPOL = 1),
wait states are inserted until NWAIT is sensed inactive (high level when WAITPOL = 0, low
level when WAITPOL = 1).
When NWAIT is inactive, the data is considered valid either immediately (bit WAITCFG = 1)
or on the next clock edge (bit WAITCFG = 0).
During wait-state insertion via the NWAIT signal, the controller continues to send clock
pulses to the memory, keeping the chip select and output enable signals valid, and does not
consider the data valid.
There are two timing configurations for the NOR Flash NWAIT signal in burst mode:
•
Flash memory asserts the NWAIT signal one data cycle before the wait state (default
after reset)
•
Flash memory asserts the NWAIT signal during the wait state
These two NOR Flash wait state configurations are supported by the FSMC, individually for
each chip select, thanks to the WAITCFG bit in the FSMC_BCRx registers (x = 0..3).
A[25:16]
NWAIT
(WAITCFG = 0)
NWAIT
(WAITCFG = 1)
A/D[15:0]
1572/1749
Figure 451. Wait configurations
HCLK
CLK
addr[25:16]
NADV
aaddr[15:0]
Memory transaction = burst of 4 half words
data
data
RM0090 Rev 18
inserted wait state
data
RM0090
ai15798b
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?
Questions and answers