Quad-SPI interface (QUADSPI)
nCS
SCLK
When the FIFO stays full in a read operation or if the FIFO stays empty in a write operation,
the operation stalls and CLK stays low until firmware services the FIFO. If an abort occurs
when an operation is stalled, nCS rises just after the abort is requested and then CLK rises
one half of a CLK cycle later, as shown in
nCS
SCLK
Abort
When not in dual-flash mode (DFM = 0) and FSEL = 0 (default value), only FLASH 1 is
accessed and thus BK2_nCS stays high, if FSEL = 1, only FLASH 2 is accessed and
BK1_nCS stays high. In dual-flash mode, BK2_nCS behaves exactly the same as
BK1_nCS. Thus, if there is a FLASH 2 and if the application is dual-flash mode only, then
BK1_nCS signal can be used for FLASH 2 as well, and the pin devoted to BK2_nCS can be
used for other functions.
12.4
QUADSPI interrupts
An interrupt can be produced on the following events:
•
Timeout
•
Status match
•
FIFO threshold
•
Transfer complete
•
Transfer error
Separate interrupt enable bits are available for flexibility.
302/1163
Figure 57. nCS when CKMODE = 1 in DDR mode (T = CLK period)
T
Figure 58. nCS when CKMODE = 1 with an abort (T = CLK period)
T
Figure
58.
RM0402 Rev 6
RM0402
T
T/2
MS35321V1
Clock stalled
T/2
MS35322V1
Need help?
Do you have a question about the STM32F412 and is the answer not in the manual?
Questions and answers