EasyManua.ls Logo

ST STM32F410 User Manual

ST STM32F410
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #698 background imageLoading...
Page #698 background image
Serial peripheral interface/ inter-IC sound (SPI/I2S) RM0401
698/771 RM0401 Rev 3
Figure 250. Reception using DMA
25.3.12 SPI status flags
Three status flags are provided for the application to completely monitor the state of the SPI
bus.
Tx buffer empty flag (TXE)
When it is set, the TXE flag indicates that the Tx buffer is empty and that the next data to be
transmitted can be loaded into the buffer. The TXE flag is cleared by writing to the SPI_DR
register.
Rx buffer not empty (RXNE)
When set, the RXNE flag indicates that there are valid received data in the Rx buffer. It is
cleared by reading from the SPI_DR register.
Busy flag (BSY)
The BSY flag is set and cleared by hardware (writing to this flag has no effect).
When BSY is set, it indicates that a data transfer is in progress on the SPI (the SPI bus is
busy). There is one exception in master bidirectional receive mode (MSTR=1 and BDM=1
and BDOE=0) where the BSY flag is kept low during reception.
The BSY flag can be used in certain modes to detect the end of a transfer, thus preventing
corruption of the last transfer when the SPI peripheral clock is disabled before entering a
low-power mode or an NSS pulse end is handled by software.
The BSY flag is also useful for preventing write collisions in a multimaster system.
0,62026,LQ
'$7$ [$
VRIWZDUHFRQILJXUHVWKH
'0$63,5[FKDQQHO
WRUHFHLYHGDWDLWHPV
DQGHQDEOHVWKH63,
6&.
'$7$ [$
'$7$ [$
([DPSOHZLWK&32/ &3+$ 
5;1(IODJ
5[EXIIHU
VHWE\KDUGZDUH
UHDGIURP63,B'5
[$
[$ [$
'0$UHTXHVW
'0$UHDGV
'$7$IURP
63,B'5
IODJ'0$7&,)
VHWE\KDUGZDUH
FOHDU
E\VRIWZDUH
'0$UHDGIURP63,B'5
7KH'0$WUDQVIHULV
FRPSOHWH7&,) LQ
'0$B,65
'0$UHDGV
'$7$IURP
63,B'5
'0$UHDGV
'$7$IURP
63,B'5
'0$WUDQVIHUFRPSOHWH
E E E E E E E E E E E E E E E E E E E E E E E E
FOHDUE\'0$UHDG
DL

Table of Contents

Question and Answer IconNeed help?

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

ST STM32F410 Specifications

General IconGeneral
SeriesSTM32F4
CoreARM Cortex-M4
Max Clock Speed100 MHz
Maximum CPU frequency100 MHz
Program memory sizeUp to 128 KB
Program memory typeFlash
SRAM32 KB
RAM size32 KB
GPIO PinsUp to 50
Number of I/OsUp to 50
ADC ChannelsUp to 10
ADC12-bit
DAC Channels1
Timers6
Communication InterfacesI2C, SPI, USART, USB
Operating voltage1.7 V to 3.6 V
Operating Temperature-40°C to 85°C
PackageLQFP64

Related product manuals