Download Print this page

ST STM32L4+ Series Reference Manual page 523

Hide thumbs Also See for STM32L4+ Series:

Advertisement

RM0432
Bit number
6
5:4
3:2
1
0
Bit number
31:30
29:28
27:24
23:20
19:16
15:8
7:4
3:0
WAIT management in asynchronous accesses
If the asynchronous memory asserts the WAIT signal to indicate that it is not yet ready to
accept or to provide data, the ASYNCWAIT bit has to be set in FMC_BCRx register.
If the WAIT signal is active (high or low depending on the WAITPOL bit), the second access
phase (Data setup phase), programmed by the DATAST bits, is extended until WAIT
becomes inactive. Unlike the data setup phase, the first access phases (Address setup and
Address hold phases), programmed by the ADDSET and ADDHLD bits, are not WAIT
sensitive and so they are not prolonged.
The data setup phase must be programmed so that WAIT can be detected 4 HCLK cycles
before the end of the memory transaction. The following cases must be considered:
Table 107. FMC_BCRx bitfields (Muxed mode) (continued)
Bit name
FACCEN
0x1
MWID
As needed
MTYP
0x2 (NOR Flash memory) or 0x1(PSRAM)
MUXEN
0x1
MBKEN
0x1
Table 108. FMC_BTRx bitfields (Muxed mode)
Bit name
Duration of the data hold phase (DATAHLD HCLK cycles for read
DATAHLD
accesses, DATAHLD+1 HCLK cycles for write accesses).
ACCMOD
0x0
DATLAT
Don't care
CLKDIV
Don't care
BUSTURN
Time between NEx high to NEx low (BUSTURN HCLK).
DATAST
Duration of the second access phase (DATAST HCLK cycles).
ADDHLD
Duration of the middle phase of the access (ADDHLD HCLK cycles).
Duration of the first access phase (ADDSET HCLK cycles). Minimum
ADDSET
value for ADDSET is 1.
RM0432 Rev 6
Flexible static memory controller (FSMC)
Value to set
Value to set
523/2301
554

Advertisement

loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel