Universal synchronous/asynchronous receiver transmitters (USART). STMicroelectronics STM32F412RG, STM32F412RE, STM32F412CG, STM32F412ZE, STM32F412VG, STM32F412CE, STM32F412ZG, STM32F412VE
Advertisement
Advertisement
STM32F412xE/G Functional overview
(USART)
The devices embed four universal synchronous/asynchronous receiver transmitters
(USART1, USART2, USART3 and USART6).
These four interfaces provide asynchronous communication, IrDA SIR ENDEC support, multiprocessor communication mode, single-wire half-duplex communication mode and have LIN Master/Slave capability. USART1 and USART6 interfaces are able to communicate at speeds of up to 12.5 Mbit/s. USART2 and USART3 interfaces communicate at up to 6.25 bit/s.
All USART interfaces provide hardware management of the CTS and RTS signals, Smart
Card mode (ISO 7816 compliant) and SPI-like communication capability. All interfaces can be served by the DMA controller.
USART name
Standard features
Modem
(RTS/CTS)
Table 7. USART feature comparison
LIN
SPI master irDA
Smartcard
(ISO 7816)
Max. baud rate in Mbit/s
(oversampling by 16)
Max. baud rate in Mbit/s
(oversampling by 8)
APB mapping
USART1
USART2
USART3
(1)
USART6
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
6.25
3.12
3.12
6.25
12.5
6.25
6.25
12.5
APB2
(max.
100 MHz)
APB1
(max.
50 MHz)
APB1
(max.
50 MHz)
APB2
(max.
100 MHz)
1. The RX is not available for the UFQFPN48 package.
3.26 Serial peripheral interface (SPI)
The devices feature five SPIs in slave and master modes in full-duplex and simplex communication modes. SPI1, SPI4 and SPI5 can communicate at up to 50 Mbit/s, SPI2 and
SPI3 can communicate at up to 25 Mbit/s. The 3-bit prescaler gives 8 master mode frequencies and the frame is configurable to 8 bits or 16 bits. The hardware CRC generation/verification supports basic SD Card/MMC modes. All SPIs can be served by the
DMA controller.
The SPI interfaces can be configured to operate in TI mode for communications in master mode and slave mode.
DocID028087 Rev 7
42
Download
Advertisement