EasyManuals Logo
Home>ST>Microcontrollers>STM32G474

ST STM32G474 User Manual

ST STM32G474
2126 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 #1765 background imageLoading...
Page #1765 background image
RM0440 Rev 4 1765/2126
RM0440 Serial peripheral interface / integrated interchip sound (SPI/I2S)
1791
For transmission, each time an MSB is written to SPIx_DR, the TXE flag is set and its
interrupt, if allowed, is generated to load the SPIx_DR register with the new value to send.
This takes place even if 0x0000 have not yet been sent because it is done by hardware.
For reception, the RXNE flag is set and its interrupt, if allowed, is generated when the first
16 MSB half-word is received.
In this way, more time is provided between two write or read operations, which prevents
underrun or overrun conditions (depending on the direction of the data transfer).
MSB justified standard
For this standard, the WS signal is generated at the same time as the first data bit, which is
the MSBit.
Figure 594. MSB Justified 16-bit or 32-bit full-accuracy length
Data are latched on the falling edge of CK (for transmitter) and are read on the rising edge
(for the receiver).
Figure 595. MSB justified 24-bit frame length
MS30100 V1
CK
WS
SD
Transmission
Reception
16- or 32 bit data
MSB
LSB
Channel left
Channel right
MSB
MS30101V1
CK
WS
SD
Transmission
Reception
24 bit data
MSB
LSB
Channel left 32-bit
Channel right
8-bit remaining
0 forced

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32G474 Specifications

General IconGeneral
BrandST
ModelSTM32G474
CategoryMicrocontrollers
LanguageEnglish

Related product manuals