STMicroelectronics STM32F05 series Reference Manual page 19

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0091
25.5.10 LIN (local interconnection network) mode . . . . . . . . . . . . . . . . . . . . . . 592
25.5.11 USART synchronous mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
25.5.12 Single-wire half-duplex communication . . . . . . . . . . . . . . . . . . . . . . . . 596
25.5.13 Smartcard mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
25.5.14 IrDA SIR ENDEC block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601
25.5.15 Continuous communication using DMA . . . . . . . . . . . . . . . . . . . . . . . . 604
25.5.16 Hardware flow control and RS485 Driver Enable . . . . . . . . . . . . . . . . 606
25.5.17 Wakeup from Stop mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
25.6
USART interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609
25.7
USART registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611
25.7.1
25.7.2
25.7.3
25.7.4
25.7.5
25.7.6
25.7.7
25.7.8
25.7.9
25.7.10 Receive data register (USART_RDR) . . . . . . . . . . . . . . . . . . . . . . . . . 631
25.7.11 Transmit data register (USART_TDR) . . . . . . . . . . . . . . . . . . . . . . . . . 632
25.7.12 USART register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633
26
26.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
26.1.1
26.1.2
26.1.3
26.2
SPI/I2S implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
26.3
SPI functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
26.3.1
26.3.2
26.3.3
26.3.4
26.3.5
26.3.6
26.3.7
Control register 1 (USART_CR1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611
Control register 2 (USART_CR2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614
Control register 3 (USART_CR3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618
Baud rate register (USART_BRR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621
Guard time and prescaler register (USART_GTPR) . . . . . . . . . . . . . . 622
Receiver timeout register (USART_RTOR) . . . . . . . . . . . . . . . . . . . . . 623
Request register (USART_RQR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Interrupt & status register (USART_ISR) . . . . . . . . . . . . . . . . . . . . . . . 625
Interrupt flag clear register (USART_ICR) . . . . . . . . . . . . . . . . . . . . . . 629
SPI main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
SPI extended features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
I²S features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
Standard multi-slave communication . . . . . . . . . . . . . . . . . . . . . . . . . . 638
Slave select (NSS) pin management . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Communication formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
Initialize SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642
Data transmission and reception procedures . . . . . . . . . . . . . . . . . . . 643
Doc ID 018940 Rev 1
Contents
19/742

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents