Download Print this page

Quadspi Status Register (Quadspi_Sr) - ST STM32F413 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

Quad-SPI interface (QUADSPI)
12.5.3

QUADSPI status register (QUADSPI_SR)

Address offset: 0x0008
Reset value: 0x0000 0000
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
Res.
Res.
r
r
Bits 31:14 Reserved, must be kept at reset value.
Bits 13:8 FLEVEL[5:0]: FIFO level
Bits 7:6 Reserved, must be kept at reset value.
Bit 5 BUSY: Busy
Bit 4 TOF: Timeout flag
Bit 3 SMF: Status match flag
Bit 2 FTF: FIFO threshold flag
Bit 1 TCF: Transfer complete flag
Bit 0 TEF: Transfer error flag
324/1284
27
26
25
24
Res.
Res.
Res.
Res.
11
10
9
8
FLEVEL[5:0]
r
r
r
r
This field gives the number of valid bytes which are being held in the FIFO. FLEVEL = 0
when the FIFO is empty, and 32 when it is full. In memory-mapped mode and in
automatic status polling mode, FLEVEL is zero.
This bit is set when an operation is on going. This bit clears automatically when the
operation with the Flash memory is finished and the FIFO is empty.
This bit is set when timeout occurs. It is cleared by writing 1 to CTOF.
This bit is set in automatic polling mode when the unmasked received data matches the
corresponding bits in the match register (QUADSPI_PSMAR). It is cleared by writing 1
to CSMF.
In indirect mode, this bit is set when the FIFO threshold has been reached, or if there is
any data left in the FIFO after reads from the Flash memory are complete. It is cleared
automatically as soon as threshold condition is no longer true.
In automatic polling mode this bit is set every time the status register is read, and the bit
is cleared when the data register is read.
This bit is set in indirect mode when the programmed number of data has been
transferred or in any mode when the transfer has been aborted.It is cleared by writing 1
to CTCF.
This bit is set in indirect mode when an invalid address is being accessed in indirect
mode. It is cleared by writing 1 to CTEF.
DocID029473 Rev 3
23
22
21
20
Res.
Res.
Res.
Res.
7
6
5
4
Res.
Res.
BUSY
TOF
r
r
RM0430
19
18
17
Res.
Res.
Res.
Res.
3
2
1
SMF
FTF
TCF
TEF
r
r
r
16
0
r

Advertisement

loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f423