EasyManuals Logo

STMicroelectronics STM32F405 User Manual

STMicroelectronics STM32F405
1731 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 #871 background imageLoading...
Page #871 background image
DocID018909 Rev 11 871/1731
RM0090 Serial peripheral interface (SPI)
918
Figure 248. Data clock timing diagram
1. These timings are shown with the LSBFIRST bit reset in the SPI_CR1 register.
Data frame format
Data can be shifted out either MSB-first or LSB-first depending on the value of the
LSBFIRST bit in the SPI_CR1 Register.
Each data frame is 8 or 16 bits long depending on the size of the data programmed using
the DFF bit in the SPI_CR1 register. The selected data frame format is applicable for
transmission and/or reception.
28.3.2 Configuring the SPI in slave mode
In the slave configuration, the serial clock is received on the SCK pin from the master
device. The value set in the BR[2:0] bits in the SPI_CR1 register, does not affect the data
transfer rate.
Note: It is recommended to enable the SPI slave before the master sends the clock. If not,
undesired data transmission might occur. The data register of the slave needs to be ready
before the first edge of the communication clock or before the end of the ongoing
communication. It is mandatory to have the polarity of the communication clock set to the
steady state value before the slave and the master are enabled.
Follow the procedure below to configure the SPI in slave mode:
#0/,
#0/,
-3"IT
,3"IT
-3"IT
,3"IT
-)3/
-/3)
.33
TOSLAVE
#APTURESTROBE
#0(!
#0/,
#0/,
-3"IT
,3"IT
-3"IT
,3"IT
-)3/
-/3)
.33
TOSLAVE
#APTURESTROBE
#0(!
ORBITSDEPENDINGONTHE$ATAFRAMEFORMATBITSEE$&&IN30)?#2
ORBITSDEPENDINGONTHE$ATAFRAMEFORMATBITSEE$&&IN30)?#2
AIB

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

STMicroelectronics STM32F405 Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32F405
CategoryController
LanguageEnglish

Related product manuals