Serial Peripheral Interface (Spi)/Inter-Integrated Sound Interfaces (I 2 S); Table 11. Stm32F042X Spi/I2S Implementation - STMicroelectronics STM32F042G4 Manual

Arm-based 32-bit mcu, up to 32 kb flash, crystal-less usb fs 2.0, can, 8 timers, adc & comm. interfaces, 2.0 - 3.6 v
Hide thumbs Also See for STM32F042G4:
Table of Contents

Advertisement

Functional overview
LIN mode
Dual clock domain and wakeup from Stop mode
Receiver timeout interrupt
Modbus communication
Auto baud rate detection
Driver Enable
1. X = supported.
2. USART1_CK is not available on 20/28 pin packages. Another source of clock (for example timer output
programmed to the desired clock frequency) is needed to clock the card.
3.16
Serial peripheral interface (SPI)/Inter-integrated sound
interfaces (I
Up to two SPIs are able to communicate up to 18 Mbits/s in slave and master modes in full-
duplex and half-duplex communication modes. The 3-bit prescaler gives 8 master mode
frequencies and the frame size is configurable from 4 bits to 16 bits.
One standard I
can operate as master or slave at half-duplex communication mode. It can be configured to
transfer 16 and 24 or 32 bits with 16-bit or 32-bit data resolution and synchronized by a
specific signal. Audio sampling frequency from 8 kHz up to 192 kHz can be set by an 8-bit
programmable linear prescaler. When operating in master mode, it can output a clock for an
external audio component at 256 times the sampling frequency.
Refer to
Hardware CRC calculation
Rx/Tx FIFO
NSS pulse mode
I2S mode
TI mode
1. X = supported.
26/117
Table 10. STM32F042x USART implementation (continued)
USART modes/features
2
S)
2
S interface (multiplexed with SPI1) supporting four different audio standards
Table 11
for the differences between SPI1 and SPI2.

Table 11. STM32F042x SPI/I2S implementation

SPI features
(1)
(1)
DocID025832 Rev 2
STM32F042xx
USART1
USART2
X
X
X
X
X
X
SPI1
SPI2
X
X
X
X
X
X
X
X
X
X

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents