RM0440 Rev 4 39/2126
RM0440 Contents
48
38.4.1 LPUART block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1684
38.4.2 LPUART signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1685
38.4.3 LPUART character description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1685
38.4.4 LPUART FIFOs and thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1686
38.4.5 LPUART transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1687
38.4.6 LPUART receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1690
38.4.7 LPUART baud rate generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1694
38.4.8 Tolerance of the LPUART receiver to clock deviation . . . . . . . . . . . . 1695
38.4.9 LPUART multiprocessor communication . . . . . . . . . . . . . . . . . . . . . . 1696
38.4.10 LPUART parity control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1698
38.4.11 LPUART single-wire Half-duplex communication . . . . . . . . . . . . . . . 1699
38.4.12 Continuous communication using DMA and LPUART . . . . . . . . . . . . 1699
38.4.13 RS232 Hardware flow control and RS485 Driver Enable . . . . . . . . . 1702
38.4.14 LPUART low-power management . . . . . . . . . . . . . . . . . . . . . . . . . . . 1704
38.5 LPUART interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1707
38.6 LPUART registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1709
38.6.1 LPUART control register 1 [alternate] (LPUART_CR1) . . . . . . . . . . . 1709
38.6.2 LPUART control register 1 [alternate] (LPUART_CR1) . . . . . . . . . . . 1712
38.6.3 LPUART control register 2 (LPUART_CR2) . . . . . . . . . . . . . . . . . . . 1715
38.6.4 LPUART control register 3 (LPUART_CR3) . . . . . . . . . . . . . . . . . . . 1717
38.6.5 LPUART baud rate register (LPUART_BRR) . . . . . . . . . . . . . . . . . . 1720
38.6.6 LPUART request register (LPUART_RQR) . . . . . . . . . . . . . . . . . . . . 1721
38.6.7 LPUART interrupt and status register [alternate] (LPUART_ISR) . . . 1721
38.6.8 LPUART interrupt and status register [alternate] (LPUART_ISR) . . . 1726
38.6.9 LPUART interrupt flag clear register (LPUART_ICR) . . . . . . . . . . . . 1729
38.6.10 LPUART receive data register (LPUART_RDR) . . . . . . . . . . . . . . . . 1730
38.6.11 LPUART transmit data register (LPUART_TDR) . . . . . . . . . . . . . . . . 1730
38.6.12 LPUART prescaler register (LPUART_PRESC) . . . . . . . . . . . . . . . . 1731
38.6.13 LPUART register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1732
39 Serial peripheral interface / integrated interchip sound (SPI/I2S) . 1734
39.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1734
39.2 SPI main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1734
39.3 I2S main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1735
39.4 SPI/I2S implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1735
39.5 SPI functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1736