| 41.4 | TIM1 low-power modes ..... | 1714 |
| 41.5 | TIM1 interrupts ..... | 1714 |
| 41.6 | TIM1 registers ..... | 1715 |
| 41.6.1 | TIM1 control register 1 (TIM1_CR1) ..... | 1715 |
| 41.6.2 | TIM1 control register 2 (TIM1_CR2) ..... | 1716 |
| 41.6.3 | TIM1 slave mode control register (TIM1_SMCR) ..... | 1720 |
| 41.6.4 | TIM1 DMA/interrupt enable register (TIM1_DIER) ..... | 1724 |
| 41.6.5 | TIM1 status register (TIM1_SR) ..... | 1725 |
| 41.6.6 | TIM1 event generation register (TIM1_EGR) ..... | 1728 |
| 41.6.7 | TIM1 capture/compare mode register 1 (TIM1_CCMR1) ..... | 1729 |
| 41.6.8 | TIM1 capture/compare mode register 1 [alternate] (TIM1_CCMR1) ..... | 1731 |
| 41.6.9 | TIM1 capture/compare mode register 2 (TIM1_CCMR2) ..... | 1734 |
| 41.6.10 | TIM1 capture/compare mode register 2 [alternate] (TIM1_CCMR2) ..... | 1735 |
| 41.6.11 | TIM1 capture/compare enable register (TIM1_CCER) ..... | 1738 |
| 41.6.12 | TIM1 counter (TIM1_CNT) ..... | 1742 |
| 41.6.13 | TIM1 prescaler (TIM1_PSC) ..... | 1742 |
| 41.6.14 | TIM1 autoreload register (TIM1_ARR) ..... | 1743 |
| 41.6.15 | TIM1 repetition counter register (TIM1_RCR) ..... | 1743 |
| 41.6.16 | TIM1 capture/compare register 1 (TIM1_CCR1) ..... | 1744 |
| 41.6.17 | TIM1 capture/compare register 2 (TIM1_CCR2) ..... | 1744 |
| 41.6.18 | TIM1 capture/compare register 3 (TIM1_CCR3) ..... | 1745 |
| 41.6.19 | TIM1 capture/compare register 4 (TIM1_CCR4) ..... | 1746 |
| 41.6.20 | TIM1 break and dead-time register (TIM1_BDTR) ..... | 1747 |
| 41.6.21 | TIM1 capture/compare register 5 (TIM1_CCR5) ..... | 1751 |
| 41.6.22 | TIM1 capture/compare register 6 (TIM1_CCR6) ..... | 1752 |
| 41.6.23 | TIM1 capture/compare mode register 3 (TIM1_CCMR3) ..... | 1753 |
| 41.6.24 | TIM1 timer deadtime register 2 (TIM1_DTR2) ..... | 1754 |
| 41.6.25 | TIM1 timer encoder control register (TIM1_ECR) ..... | 1755 |
| 41.6.26 | TIM1 timer input selection register (TIM1_TISEL) ..... | 1756 |
| 41.6.27 | TIM1 alternate function option register 1 (TIM1_AF1) ..... | 1757 |
| 41.6.28 | TIM1 alternate function register 2 (TIM1_AF2) ..... | 1760 |
| 41.6.29 | TIM1 DMA control register (TIM1_DCR) ..... | 1762 |
| 41.6.30 | TIM1 DMA address for full transfer (TIM1_DMAR) ..... | 1764 |
| 41.6.31 | TIM1 register map ..... | 1764 |
| 42 | General-purpose timers (TIM2/TIM3/TIM4/TIM5) . . . . . | 1767 |
| 42.1 | TIM2/TIM3/TIM4/TIM5 introduction . . . . . | 1767 |
| 42.2 | TIM2/TIM3/TIM4/TIM5 main features . . . . . | 1767 |
| 42.3 | TIM2/TIM3/TIM4/TIM5 implementation . . . . . | 1768 |
| 42.4 | TIM2/TIM3/TIM4/TIM5 functional description . . . . . | 1769 |
| 42.4.1 | Block diagram . . . . . | 1769 |
| 42.4.2 | TIM2/TIM3/TIM4/TIM5 pins and internal signals . . . . . | 1770 |
| 42.4.3 | Time-base unit . . . . . | 1773 |
| 42.4.4 | Counter modes . . . . . | 1775 |
| 42.4.5 | Clock selection . . . . . | 1787 |
| 42.4.6 | Capture/compare channels . . . . . | 1791 |
| 42.4.7 | Input capture mode . . . . . | 1793 |
| 42.4.8 | PWM input mode . . . . . | 1794 |
| 42.4.9 | Forced output mode . . . . . | 1795 |
| 42.4.10 | Output compare mode . . . . . | 1795 |
| 42.4.11 | PWM mode . . . . . | 1797 |
| 42.4.12 | Asymmetric PWM mode . . . . . | 1805 |
| 42.4.13 | Combined PWM mode . . . . . | 1806 |
| 42.4.14 | Clearing the tim_ocxref signal on an external event . . . . . | 1807 |
| 42.4.15 | One-pulse mode . . . . . | 1809 |
| 42.4.16 | Retriggerable one-pulse mode . . . . . | 1810 |
| 42.4.17 | Pulse on compare mode . . . . . | 1811 |
| 42.4.18 | Encoder interface mode . . . . . | 1813 |
| 42.4.19 | Direction bit output . . . . . | 1831 |
| 42.4.20 | UIF bit remapping . . . . . | 1832 |
| 42.4.21 | Timer input XOR function . . . . . | 1832 |
| 42.4.22 | Timers and external trigger synchronization . . . . . | 1832 |
| 42.4.23 | Timer synchronization . . . . . | 1836 |
| 42.4.24 | ADC triggers . . . . . | 1841 |
| 42.4.25 | DMA burst mode . . . . . | 1842 |
| 42.4.26 | TIM2/TIM3/TIM4/TIM5 DMA requests . . . . . | 1843 |
| 42.4.27 | Debug mode . . . . . | 1843 |
| 42.4.28 | TIM2/TIM3/TIM4/TIM5 low-power modes . . . . . | 1843 |
| 42.4.29 | TIM2/TIM3/TIM4/TIM5 interrupts . . . . . | 1844 |
| 42.5 | TIM2/TIM3/TIM4/TIM5 registers . . . . . | 1845 |
| 42.5.1 | TIMx control register 1 (TIMx_CR1)(x = 2 to 5) . . . . . | 1845 |
| 42.5.2 | TIMx control register 2 (TIMx_CR2)(x = 2 to 5) . . . . . | 1846 |
| 42.5.3 | TIMx slave mode control register (TIMx_SMCR)(x = 2 to 5) . . . . . | 1848 |
| 42.5.4 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 2 to 5) . . . . . | 1852 |
| 42.5.5 | TIMx status register (TIMx_SR)(x = 2 to 5) . . . . . | 1853 |
| 42.5.6 | TIMx event generation register (TIMx_EGR)(x = 2 to 5) . . . . . | 1855 |
| 42.5.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 2 to 5) . | 1856 |
| 42.5.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 2 to 5) . . . . . | 1858 |
| 42.5.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2)(x = 2 to 5) . | 1860 |
| 42.5.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 2 to 5) . . . . . | 1861 |
| 42.5.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 2 to 5) . . . | 1864 |
| 42.5.12 | TIMx counter (TIMx_CNT)(x = 2 to 5) . . . . . | 1866 |
| 42.5.13 | TIMx prescaler (TIMx_PSC)(x = 2 to 5) . . . . . | 1866 |
| 42.5.14 | TIMx autoreload register (TIMx_ARR)(x = 2 to 5) . . . . . | 1867 |
| 42.5.15 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 2 to 5) . . . . . | 1867 |
| 42.5.16 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 2 to 5) . . . . . | 1868 |
| 42.5.17 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 2 to 5) . . . . . | 1869 |
| 42.5.18 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 2 to 5) . . . . . | 1870 |
| 42.5.19 | TIMx timer encoder control register (TIMx_ECR)(x = 2 to 5) . . . . . | 1871 |
| 42.5.20 | TIMx timer input selection register (TIMx_TISEL)(x = 2 to 5) . . . . . | 1872 |
| 42.5.21 | TIMx alternate function register 1 (TIMx_AF1)(x = 2 to 5) . . . . . | 1873 |
| 42.5.22 | TIMx alternate function register 2 (TIMx_AF2)(x = 2 to 5) . . . . . | 1874 |
| 42.5.23 | TIMx DMA control register (TIMx_DCR)(x = 2 to 5) . . . . . | 1875 |
| 42.5.24 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 2 to 5) . . . . . | 1876 |
| 42.5.25 | TIMx register map . . . . . | 1877 |
| 43 | Basic timers (TIM6/TIM7) . . . . . | 1880 |
| 43.1 | TIM6/TIM7 introduction . . . . . | 1880 |
| 43.2 | TIM6/TIM7 main features . . . . . | 1880 |
| 43.3 | TIM6/TIM7 functional description . . . . . | 1880 |
| 43.3.1 | TIM6/TIM7 block diagram . . . . . | 1880 |
| 43.3.2 | TIM6/TIM7 internal signals . . . . . | 1881 |
| 43.3.3 | TIM6/TIM7 clocks . . . . . | 1881 |
| 43.3.4 | Time-base unit . . . . . | 1882 |
| 43.3.5 | Counting mode . . . . . | 1884 |
| 43.3.6 | UIF bit remapping . . . . . | 1890 |
| 43.3.7 | ADC triggers | 1891 |
| 43.3.8 | TIM6/TIM7 DMA requests | 1891 |
| 43.3.9 | Debug mode | 1891 |
| 43.3.10 | TIM6/TIM7 low-power modes | 1891 |
| 43.3.11 | TIM6/TIM7 interrupts | 1891 |
| 43.4 | TIM6/TIM7 registers | 1892 |
| 43.4.1 | TIMx control register 1 (TIMx_CR1)(x = 6 to 7) | 1892 |
| 43.4.2 | TIMx control register 2 (TIMx_CR2)(x = 6 to 7) | 1894 |
| 43.4.3 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 6 to 7) | 1894 |
| 43.4.4 | TIMx status register (TIMx_SR)(x = 6 to 7) | 1895 |
| 43.4.5 | TIMx event generation register (TIMx_EGR)(x = 6 to 7) | 1895 |
| 43.4.6 | TIMx counter (TIMx_CNT)(x = 6 to 7) | 1895 |
| 43.4.7 | TIMx prescaler (TIMx_PSC)(x = 6 to 7) | 1896 |
| 43.4.8 | TIMx autoreload register (TIMx_ARR)(x = 6 to 7) | 1896 |
| 43.4.9 | TIMx register map | 1897 |
| 44 | General-purpose timers (TIM9/TIM12/TIM13/TIM14) | 1898 |
| 44.1 | TIM9/TIM12/TIM13/TIM14 introduction | 1898 |
| 44.2 | TIM9/TIM12 main features | 1898 |
| 44.3 | TIM13/TIM14 main features | 1899 |
| 44.4 | TIM9/TIM12/TIM13/TIM14 functional description | 1900 |
| 44.4.1 | Block diagram | 1900 |
| 44.4.2 | TIM9/TIM12/TIM13/TIM14 pins and internal signals | 1901 |
| 44.4.3 | Time-base unit | 1903 |
| 44.4.4 | Counter modes | 1905 |
| 44.4.5 | Clock selection | 1908 |
| 44.4.6 | Capture/compare channels | 1910 |
| 44.4.7 | Input capture mode | 1912 |
| 44.4.8 | PWM input mode (TIM9/TIM12 only) | 1913 |
| 44.4.9 | Forced output mode | 1914 |
| 44.4.10 | Output compare mode | 1915 |
| 44.4.11 | PWM mode | 1916 |
| 44.4.12 | Combined PWM mode (TIM9/TIM12 only) | 1921 |
| 44.4.13 | One-pulse mode | 1922 |
| 44.4.14 | Retriggerable one pulse mode (TIM9/TIM12 only) | 1924 |
| 44.4.15 | UIF bit remapping | 1925 |
| 44.4.16 | Timer input XOR function | 1925 |
| 44.4.17 | TIM9/TIM12 external trigger synchronization | 1925 |
| 44.4.18 | Slave mode – combined reset + trigger mode | 1928 |
| 44.4.19 | Slave mode – combined reset + gated mode | 1928 |
| 44.4.20 | Timer synchronization (TIM9/TIM12 only) | 1928 |
| 44.4.21 | Using timer output as trigger for other timers (TIM13/TIM14 only) | 1928 |
| 44.4.22 | ADC triggers (TIM9/TIM12 only) | 1928 |
| 44.4.23 | Debug mode | 1928 |
| 44.5 | TIM9/TIM12/TIM13/TIM14 low-power modes | 1929 |
| 44.6 | TIM9/TIM12/TIM13/TIM14 interrupts | 1929 |
| 44.7 | TIM9/TIM12 registers | 1929 |
| 44.7.1 | TIMx control register 1 (TIMx_CR1)(x = 9, 12) | 1929 |
| 44.7.2 | TIM12 control register 2 (TIMx_CR2)(x = 9, 12) | 1931 |
| 44.7.3 | TIMx slave mode control register (TIMx_SMCR)(x = 9, 12) | 1931 |
| 44.7.4 | TIMx interrupt enable register (TIMx_DIER)(x = 9, 12) | 1933 |
| 44.7.5 | TIMx status register (TIMx_SR)(x = 9, 12) | 1934 |
| 44.7.6 | TIMx event generation register (TIMx_EGR)(x = 9, 12) | 1935 |
| 44.7.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 9, 12) | 1936 |
| 44.7.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 9, 12) | 1937 |
| 44.7.9 | TIMx capture/compare enable register (TIMx_CCER)(x = 9, 12) | 1940 |
| 44.7.10 | TIMx counter (TIMx_CNT)(x = 9, 12) | 1941 |
| 44.7.11 | TIMx prescaler (TIMx_PSC)(x = 9, 12) | 1942 |
| 44.7.12 | TIMx autoreload register (TIMx_ARR)(x = 9, 12) | 1942 |
| 44.7.13 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 9, 12) | 1943 |
| 44.7.14 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 9, 12) | 1943 |
| 44.7.15 | TIMx timer input selection register (TIMx_TISEL)(x = 9, 12) | 1944 |
| 44.7.16 | TIM9/TIM12 register map | 1945 |
| 44.8 | TIM13/TIM14 registers | 1947 |
| 44.8.1 | TIMx control register 1 (TIMx_CR1)(x = 13, 14) | 1947 |
| 44.8.2 | TIMx interrupt enable register (TIMx_DIER)(x = 13, 14) | 1948 |
| 44.8.3 | TIMx status register (TIMx_SR)(x = 13, 14) | 1948 |
| 44.8.4 | TIMx event generation register (TIMx_EGR)(x = 13, 14) | 1949 |
| 44.8.5 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 13, 14) | 1950 |
| 44.8.6 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 13, 14) | 1951 |
| 44.8.7 | TIMx capture/compare enable register (TIMx_CCER)(x = 13, 14) ..... | 1953 |
| 44.8.8 | TIMx counter (TIMx_CNT)(x = 13, 14) ..... | 1954 |
| 44.8.9 | TIMx prescaler (TIMx_PSC)(x = 13, 14) ..... | 1955 |
| 44.8.10 | TIMx autoreload register (TIMx_ARR)(x = 13, 14) ..... | 1955 |
| 44.8.11 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 13, 14) ..... | 1956 |
| 44.8.12 | TIMx timer input selection register (TIMx_TISEL)(x = 13, 14) ..... | 1956 |
| 44.8.13 | TIM13/TIM14 register map ..... | 1957 |
| 45 | General purpose timers (TIM15/TIM16/TIM17) ..... | 1959 |
| 45.1 | TIM15/TIM16/TIM17 introduction ..... | 1959 |
| 45.2 | TIM15 main features ..... | 1959 |
| 45.3 | TIM16/TIM17 main features ..... | 1960 |
| 45.4 | TIM15/TIM16/TIM17 functional description ..... | 1961 |
| 45.4.1 | Block diagram ..... | 1961 |
| 45.4.2 | TIM15/TIM16/TIM17 pins and internal signals ..... | 1962 |
| 45.4.3 | Time-base unit ..... | 1965 |
| 45.4.4 | Counter modes ..... | 1967 |
| 45.4.5 | Repetition counter ..... | 1971 |
| 45.4.6 | Clock selection ..... | 1972 |
| 45.4.7 | Capture/compare channels ..... | 1974 |
| 45.4.8 | Input capture mode ..... | 1976 |
| 45.4.9 | PWM input mode (only for TIM15) ..... | 1978 |
| 45.4.10 | Forced output mode ..... | 1979 |
| 45.4.11 | Output compare mode ..... | 1979 |
| 45.4.12 | PWM mode ..... | 1981 |
| 45.4.13 | Combined PWM mode (TIM15 only) ..... | 1986 |
| 45.4.14 | Complementary outputs and dead-time insertion ..... | 1987 |
| 45.4.15 | Using the break function ..... | 1990 |
| 45.4.16 | Bidirectional break input ..... | 1994 |
| 45.4.17 | Clearing the tim_ocxref signal on an external event ..... | 1995 |
| 45.4.18 | 6-step PWM generation ..... | 1996 |
| 45.4.19 | One-pulse mode ..... | 1998 |
| 45.4.20 | Retriggerable one pulse mode (TIM15 only) ..... | 1999 |
| 45.4.21 | UIF bit remapping ..... | 2000 |
| 45.4.22 | Timer input XOR function (TIM15 only) ..... | 2000 |
| 45.4.23 | External trigger synchronization (TIM15 only) ..... | 2000 |
| 45.4.24 | Slave mode – combined reset + trigger mode (TIM15 only) . . . . . | 2003 |
| 45.4.25 | Slave mode – combined reset + gated mode (TIM15 only) . . . . . | 2003 |
| 45.4.26 | Timer synchronization (TIM15 only) . . . . . | 2004 |
| 45.4.27 | Using timer output as trigger for other timers (TIM16/TIM17 only) . . . | 2004 |
| 45.4.28 | ADC triggers (TIM15 only) . . . . . | 2004 |
| 45.4.29 | DMA burst mode . . . . . | 2004 |
| 45.4.30 | TIM15/TIM16/TIM17 DMA requests . . . . . | 2005 |
| 45.4.31 | Debug mode . . . . . | 2006 |
| 45.5 | TIM15/TIM16/TIM17 low-power modes . . . . . | 2006 |
| 45.6 | TIM15/TIM16/TIM17 interrupts . . . . . | 2006 |
| 45.7 | TIM15 registers . . . . . | 2006 |
| 45.7.1 | TIM15 control register 1 (TIM15_CR1) . . . . . | 2007 |
| 45.7.2 | TIM15 control register 2 (TIM15_CR2) . . . . . | 2008 |
| 45.7.3 | TIM15 slave mode control register (TIM15_SMCR) . . . . . | 2010 |
| 45.7.4 | TIM15 DMA/interrupt enable register (TIM15_DIER) . . . . . | 2012 |
| 45.7.5 | TIM15 status register (TIM15_SR) . . . . . | 2013 |
| 45.7.6 | TIM15 event generation register (TIM15_EGR) . . . . . | 2015 |
| 45.7.7 | TIM15 capture/compare mode register 1 (TIM15_CCMR1) . . . . . | 2016 |
| 45.7.8 | TIM15 capture/compare mode register 1 [alternate] (TIM15_CCMR1) . . . . . | 2018 |
| 45.7.9 | TIM15 capture/compare enable register (TIM15_CCER) . . . . . | 2020 |
| 45.7.10 | TIM15 counter (TIM15_CNT) . . . . . | 2023 |
| 45.7.11 | TIM15 prescaler (TIM15_PSC) . . . . . | 2023 |
| 45.7.12 | TIM15 autoreload register (TIM15_ARR) . . . . . | 2024 |
| 45.7.13 | TIM15 repetition counter register (TIM15_RCR) . . . . . | 2024 |
| 45.7.14 | TIM15 capture/compare register 1 (TIM15_CCR1) . . . . . | 2025 |
| 45.7.15 | TIM15 capture/compare register 2 (TIM15_CCR2) . . . . . | 2026 |
| 45.7.16 | TIM15 break and dead-time register (TIM15_BDTR) . . . . . | 2026 |
| 45.7.17 | TIM15 timer deadtime register 2 (TIM15_DTR2) . . . . . | 2029 |
| 45.7.18 | TIM15 input selection register (TIM15_TISEL) . . . . . | 2030 |
| 45.7.19 | TIM15 alternate function register 1 (TIM15_AF1) . . . . . | 2031 |
| 45.7.20 | TIM15 alternate function register 2 (TIM15_AF2) . . . . . | 2033 |
| 45.7.21 | TIM15 DMA control register (TIM15_DCR) . . . . . | 2034 |
| 45.7.22 | TIM15 DMA address for full transfer (TIM15_DMAR) . . . . . | 2035 |
| 45.7.23 | TIM15 register map . . . . . | 2035 |
| 45.8 | TIM16/TIM17 registers . . . . . | 2038 |
| 45.8.1 | TIMx control register 1 (TIMx_CR1)(x = 16 to 17) . . . . . | 2038 |
| 45.8.2 | TIMx control register 2 (TIMx_CR2)(x = 16 to 17) . . . . . | 2039 |
| 45.8.3 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 16 to 17) . . . . . | 2040 |
| 45.8.4 | TIMx status register (TIMx_SR)(x = 16 to 17) . . . . . | 2041 |
| 45.8.5 | TIMx event generation register (TIMx_EGR)(x = 16 to 17) . . . . . | 2042 |
| 45.8.6 | TIMx capture/compare mode register 1 (TIMx_CCMR1) (x = 16 to 17) . . . . . | 2043 |
| 45.8.7 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 16 to 17) . . . . . | 2044 |
| 45.8.8 | TIMx capture/compare enable register (TIMx_CCER)(x = 16 to 17) . . . . . | 2046 |
| 45.8.9 | TIMx counter (TIMx_CNT)(x = 16 to 17) . . . . . | 2049 |
| 45.8.10 | TIMx prescaler (TIMx_PSC)(x = 16 to 17) . . . . . | 2049 |
| 45.8.11 | TIMx auto-reautoreload register (TIMx_ARR)(x = 16 to 17) . . . . . | 2050 |
| 45.8.12 | TIMx repetition counter register (TIMx_RCR)(x = 16 to 17) . . . . . | 2050 |
| 45.8.13 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 16 to 17) . . . . . | 2051 |
| 45.8.14 | TIMx break and dead-time register (TIMx_BDTR)(x = 16 to 17) . . . . . | 2052 |
| 45.8.15 | TIMx timer deadtime register 2 (TIMx_DTR2)(x = 16 to 17) . . . . . | 2055 |
| 45.8.16 | TIMx input selection register (TIMx_TISEL)(x = 16 to 17) . . . . . | 2056 |
| 45.8.17 | TIMx alternate function register 1 (TIMx_AF1)(x = 16 to 17) . . . . . | 2056 |
| 45.8.18 | TIMx alternate function register 2 (TIMx_AF2)(x = 16 to 17) . . . . . | 2059 |
| 45.8.19 | TIMx DMA control register (TIMx_DCR)(x = 16 to 17) . . . . . | 2060 |
| 45.8.20 | TIM16/TIM17 DMA address for full transfer (TIMx_DMAR) (x = 16 to 17) . . . . . | 2061 |
| 45.8.21 | TIM16/TIM17 register map . . . . . | 2062 |
| 46 | Low-power timer (LPTIM) . . . . . | 2064 |
| 46.1 | LPTIM introduction . . . . . | 2064 |
| 46.2 | LPTIM main features . . . . . | 2064 |
| 46.3 | LPTIM implementation . . . . . | 2065 |
| 46.4 | LPTIM functional description . . . . . | 2066 |
| 46.4.1 | LPTIM block diagram . . . . . | 2066 |
| 46.4.2 | LPTIM pins and internal signals . . . . . | 2067 |
| 46.4.3 | LPTIM input and trigger mapping . . . . . | 2069 |
| 46.4.4 | LPTIM reset and clocks . . . . . | 2070 |
| 46.4.5 | Glitch filter . . . . . | 2071 |
| 46.4.6 | Prescaler . . . . . | 2072 |
| 46.4.7 | Trigger multiplexer . . . . . | 2072 |
| 46.4.8 | Operating mode . . . . . | 2073 |
| 46.4.9 | Timeout function . . . . . | 2075 |
| 46.4.10 | Waveform generation ..... | 2075 |
| 46.4.11 | Register update ..... | 2076 |
| 46.4.12 | Counter mode ..... | 2077 |
| 46.4.13 | Timer enable ..... | 2077 |
| 46.4.14 | Timer counter reset ..... | 2078 |
| 46.4.15 | Encoder mode ..... | 2078 |
| 46.4.16 | Repetition counter ..... | 2080 |
| 46.4.17 | Capture/compare channels ..... | 2081 |
| 46.4.18 | Input capture mode ..... | 2082 |
| 46.4.19 | PWM mode ..... | 2084 |
| 46.4.20 | DMA requests ..... | 2086 |
| 46.4.21 | Debug mode ..... | 2087 |
| 46.5 | LPTIM low-power modes ..... | 2087 |
| 46.6 | LPTIM interrupts ..... | 2087 |
| 46.7 | LPTIM registers ..... | 2088 |
| 46.7.1 | LPTIMx interrupt and status register (LPTIMx_ISR)(x = 4 to 5) ..... | 2089 |
| 46.7.2 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 3) ..... | 2090 |
| 46.7.3 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 3) ..... | 2092 |
| 46.7.4 | LPTIMx interrupt clear register (LPTIMx_ICR)(x = 4 to 5) ..... | 2094 |
| 46.7.5 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 3) ..... | 2095 |
| 46.7.6 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 3) ..... | 2096 |
| 46.7.7 | LPTIMx interrupt enable register (LPTIMx_DIER)(x = 4 to 5) ..... | 2097 |
| 46.7.8 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 3) ..... | 2099 |
| 46.7.9 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 3) ..... | 2100 |
| 46.7.10 | LPTIM configuration register (LPTIM_CFGR) ..... | 2102 |
| 46.7.11 | LPTIM control register (LPTIM_CR) ..... | 2105 |
| 46.7.12 | LPTIM compare register 1 (LPTIM_CCR1) ..... | 2106 |
| 46.7.13 | LPTIM autoreload register (LPTIM_ARR) ..... | 2107 |
| 46.7.14 | LPTIM counter register (LPTIM_CNT) ..... | 2107 |
| 46.7.15 | LPTIM configuration register 2 (LPTIM_CFGR2) ..... | 2108 |
| 46.7.16 | LPTIM repetition register (LPTIM_RCR) ..... | 2109 |
| 46.7.17 | LPTIM capture/compare mode register 1 (LPTIM_CCMR1) ..... | 2109 |
| 46.7.18 | LPTIM compare register 2 (LPTIM_CCR2) ..... | 2112 |
| 46.7.19 | LPTIM register map ..... | 2112 |
| 47 | System window watchdog (WWDG) ..... | 2115 |
| 47.1 | WWDG introduction ..... | 2115 |
| 47.2 | WWDG main features ..... | 2115 |
| 47.3 | WWDG implementation ..... | 2115 |
| 47.4 | WWDG functional description ..... | 2116 |
| 47.4.1 | WWDG block diagram ..... | 2116 |
| 47.4.2 | WWDG internal signals ..... | 2116 |
| 47.4.3 | Enabling the watchdog ..... | 2117 |
| 47.4.4 | Controlling the down-counter ..... | 2117 |
| 47.4.5 | How to program the watchdog timeout ..... | 2117 |
| 47.4.6 | Debug mode ..... | 2118 |
| 47.5 | WWDG interrupts ..... | 2119 |
| 47.6 | WWDG registers ..... | 2119 |
| 47.6.1 | WWDG control register (WWDG_CR) ..... | 2119 |
| 47.6.2 | WWDG configuration register (WWDG_CFR) ..... | 2120 |
| 47.6.3 | WWDG status register (WWDG_SR) ..... | 2120 |
| 47.6.4 | WWDG register map ..... | 2121 |
| 48 | Independent watchdog (IWDG) ..... | 2122 |
| 48.1 | IWDG introduction ..... | 2122 |
| 48.2 | IWDG main features ..... | 2122 |
| 48.3 | IWDG implementation ..... | 2122 |
| 48.4 | IWDG functional description ..... | 2123 |
| 48.4.1 | IWDG block diagram ..... | 2123 |
| 48.4.2 | IWDG internal signals ..... | 2124 |
| 48.4.3 | Software and hardware watchdog modes ..... | 2124 |
| 48.4.4 | Window option ..... | 2125 |
| 48.4.5 | Debug ..... | 2128 |
| 48.4.6 | Register access protection ..... | 2128 |
| 48.5 | IWDG low power modes ..... | 2129 |
| 48.6 | IWDG interrupts ..... | 2129 |
| 48.7 | IWDG registers ..... | 2131 |
| 48.7.1 | IWDG key register (IWDG_KR) ..... | 2132 |
| 48.7.2 | IWDG prescaler register (IWDG_PR) ..... | 2132 |
| 48.7.3 | IWDG reload register (IWDG_RLR) ..... | 2133 |
| 48.7.4 | IWDG status register (IWDG_SR) ..... | 2133 |
| 48.7.5 | IWDG window register (IWDG_WINR) ..... | 2135 |
| 48.7.6 | IWDG early wake-up interrupt register (IWDG_EWCR) ..... | 2135 |
| 48.7.7 | IWDG register map ..... | 2136 |
| 49 | Real-time clock (RTC) ..... | 2137 |
| 49.1 | RTC introduction ..... | 2137 |
| 49.2 | RTC main features ..... | 2137 |
| 49.3 | RTC functional description ..... | 2137 |
| 49.3.1 | RTC block diagram ..... | 2137 |
| 49.3.2 | RTC pins and internal signals ..... | 2139 |
| 49.3.3 | GPIOs controlled by the RTC and TAMP ..... | 2140 |
| 49.3.4 | RTC privilege protection modes ..... | 2143 |
| 49.3.5 | Clock and prescalers ..... | 2144 |
| 49.3.6 | Real-time clock and calendar ..... | 2145 |
| 49.3.7 | Calendar ultra-low power mode ..... | 2146 |
| 49.3.8 | Programmable alarms ..... | 2146 |
| 49.3.9 | Periodic auto-wake-up ..... | 2146 |
| 49.3.10 | RTC initialization and configuration ..... | 2147 |
| 49.3.11 | Reading the calendar ..... | 2150 |
| 49.3.12 | Resetting the RTC ..... | 2151 |
| 49.3.13 | RTC synchronization ..... | 2152 |
| 49.3.14 | RTC reference clock detection ..... | 2152 |
| 49.3.15 | RTC smooth digital calibration ..... | 2153 |
| 49.3.16 | Timestamp function ..... | 2155 |
| 49.3.17 | Calibration clock output ..... | 2156 |
| 49.3.18 | Tamper and alarm output ..... | 2156 |
| 49.4 | RTC low-power modes ..... | 2157 |
| 49.5 | RTC interrupts ..... | 2157 |
| 49.6 | RTC registers ..... | 2158 |
| 49.6.1 | RTC time register (RTC_TR) ..... | 2158 |
| 49.6.2 | RTC date register (RTC_DR) ..... | 2159 |
| 49.6.3 | RTC subsecond register (RTC_SSR) ..... | 2160 |
| 49.6.4 | RTC initialization control and status register (RTC_ICSR) ..... | 2161 |
| 49.6.5 | RTC prescaler register (RTC_PRER) ..... | 2163 |
| 49.6.6 | RTC wake-up timer register (RTC_WUTR) ..... | 2163 |
| 49.6.7 | RTC control register (RTC_CR) ..... | 2164 |
| 49.6.8 | RTC privilege mode control register (RTC_PRIVCFGR) ..... | 2168 |
| 49.6.9 | RTC write protection register (RTC_WPR) ..... | 2169 |
| 49.6.10 | RTC calibration register (RTC_CALR) ..... | 2170 |
| 49.6.11 | RTC shift control register (RTC_SHIFTR) ..... | 2171 |
| 49.6.12 | RTC timestamp time register (RTC_TSTR) ..... | 2172 |
| 49.6.13 | RTC timestamp date register (RTC_TSDR) ..... | 2173 |
| 49.6.14 | RTC timestamp subsecond register (RTC_TSSSR) ..... | 2174 |
| 49.6.15 | RTC alarm A register (RTC_ALRMAR) ..... | 2174 |
| 49.6.16 | RTC alarm A subsecond register (RTC_ALRMASSR) ..... | 2175 |
| 49.6.17 | RTC alarm B register (RTC_ALRMBR) ..... | 2176 |
| 49.6.18 | RTC alarm B subsecond register (RTC_ALRMBSSR) ..... | 2177 |
| 49.6.19 | RTC status register (RTC_SR) ..... | 2178 |
| 49.6.20 | RTC masked interrupt status register (RTC_MISR) ..... | 2180 |
| 49.6.21 | RTC status clear register (RTC_SCR) ..... | 2181 |
| 49.6.22 | RTC alarm A binary mode register (RTC_ALRABINR) ..... | 2182 |
| 49.6.23 | RTC alarm B binary mode register (RTC_ALRBBINR) ..... | 2182 |
| 49.6.24 | RTC register map ..... | 2184 |
| 50 | Tamper and backup registers (TAMP) ..... | 2186 |
| 50.1 | TAMP introduction ..... | 2186 |
| 50.2 | TAMP main features ..... | 2186 |
| 50.3 | TAMP functional description ..... | 2187 |
| 50.3.1 | TAMP block diagram ..... | 2187 |
| 50.3.2 | TAMP pins and internal signals ..... | 2188 |
| 50.3.3 | GPIOs controlled by the RTC and TAMP ..... | 2190 |
| 50.3.4 | TAMP register write protection ..... | 2191 |
| 50.3.5 | Backup registers protection zones ..... | 2191 |
| 50.3.6 | TAMP privilege protection modes ..... | 2191 |
| 50.3.7 | Boot hardware key (BHK) ..... | 2192 |
| 50.3.8 | Tamper detection ..... | 2192 |
| 50.3.9 | TAMP backup registers and other device secrets erase ..... | 2193 |
| 50.3.10 | Tamper detection configuration and initialization ..... | 2194 |
| 50.4 | TAMP low-power modes ..... | 2200 |
| 50.5 | TAMP interrupts ..... | 2201 |
| 50.6 | TAMP registers ..... | 2201 |
| 50.6.1 | TAMP control register 1 (TAMP_CR1) ..... | 2201 |
| 50.6.2 | TAMP control register 2 (TAMP_CR2) ..... | 2203 |
| 50.6.3 | TAMP control register 3 (TAMP_CR3) ..... | 2206 |
| 50.6.4 | TAMP filter control register (TAMP_FLTCR) ..... | 2207 |
| 50.6.5 | TAMP active tamper control register 1 (TAMP_ATCR1) ..... | 2208 |
| 50.6.6 | TAMP active tamper seed register (TAMP_ATSEEDR) ..... | 2211 |
| 50.6.7 | TAMP active tamper output register (TAMP_ATOMR) ..... | 2211 |
| 50.6.8 | TAMP active tamper control register 2 (TAMP_ATCR2) ..... | 2212 |
| 50.6.9 | TAMP configuration register (TAMP_CFGR) ..... | 2215 |
| 50.6.10 | TAMP privilege configuration register (TAMP_PRIVCFGR) ..... | 2216 |
| 50.6.11 | TAMP interrupt enable register (TAMP_IER) ..... | 2217 |
| 50.6.12 | TAMP status register (TAMP_SR) ..... | 2219 |
| 50.6.13 | TAMP masked interrupt status register (TAMP_MISR) ..... | 2221 |
| 50.6.14 | TAMP status clear register (TAMP_SCR) ..... | 2223 |
| 50.6.15 | TAMP monotonic counter 1 register (TAMP_COUNT1R) ..... | 2225 |
| 50.6.16 | TAMP resources protection configuration register (TAMP_RPCFGR) ..... | 2225 |
| 50.6.17 | TAMP backup x register (TAMP_BKPxR) ..... | 2226 |
| 50.6.18 | TAMP register map ..... | 2227 |
| 51 | Inter-integrated circuit interface (I2C) ..... | 2229 |
| 51.1 | I2C introduction ..... | 2229 |
| 51.2 | I2C main features ..... | 2229 |
| 51.3 | I2C implementation ..... | 2230 |
| 51.4 | I2C functional description ..... | 2230 |
| 51.4.1 | I2C block diagram ..... | 2231 |
| 51.4.2 | I2C pins and internal signals ..... | 2231 |
| 51.4.3 | I2C clock requirements ..... | 2232 |
| 51.4.4 | I2C mode selection ..... | 2232 |
| 51.4.5 | I2C initialization ..... | 2233 |
| 51.4.6 | I2C reset ..... | 2237 |
| 51.4.7 | I2C data transfer ..... | 2238 |
| 51.4.8 | I2C target mode ..... | 2240 |
| 51.4.9 | I2C controller mode ..... | 2249 |
| 51.4.10 | I2C_TIMINGR register configuration examples ..... | 2260 |
| 51.4.11 | SMBus specific features ..... | 2262 |
| 51.4.12 | SMBus initialization ..... | 2264 |
| 51.4.13 | SMBus I2C_TIMEOUTR register configuration examples | 2266 |
| 51.4.14 | SMBus target mode | 2267 |
| 51.4.15 | SMBus controller mode | 2270 |
| 51.4.16 | Wake-up from Stop mode on address match | 2273 |
| 51.4.17 | Error conditions | 2274 |
| 51.5 | I2C in low-power modes | 2276 |
| 51.6 | I2C interrupts | 2276 |
| 51.7 | I2C DMA requests | 2277 |
| 51.7.1 | Transmission using DMA | 2277 |
| 51.7.2 | Reception using DMA | 2277 |
| 51.8 | I2C debug modes | 2277 |
| 51.9 | I2C registers | 2278 |
| 51.9.1 | I2C control register 1 (I2C_CR1) | 2278 |
| 51.9.2 | I2C control register 2 (I2C_CR2) | 2281 |
| 51.9.3 | I2C own address 1 register (I2C_OAR1) | 2283 |
| 51.9.4 | I2C own address 2 register (I2C_OAR2) | 2283 |
| 51.9.5 | I2C timing register (I2C_TIMINGR) | 2284 |
| 51.9.6 | I2C timeout register (I2C_TIMEOUTR) | 2285 |
| 51.9.7 | I2C interrupt and status register (I2C_ISR) | 2286 |
| 51.9.8 | I2C interrupt clear register (I2C_ICR) | 2289 |
| 51.9.9 | I2C PEC register (I2C_PECR) | 2290 |
| 51.9.10 | I2C receive data register (I2C_RXDR) | 2290 |
| 51.9.11 | I2C transmit data register (I2C_TXDR) | 2291 |
| 51.9.12 | I2C register map | 2292 |
| 52 | Improved inter-integrated circuit (I3C) | 2293 |
| 52.1 | I3C introduction | 2293 |
| 52.2 | I3C main features | 2293 |
| 52.3 | I3C implementation | 2295 |
| 52.3.1 | I3C instantiation | 2295 |
| 52.3.2 | I3C wake-up from low-power mode(s) | 2295 |
| 52.3.3 | I3C FIFOs | 2295 |
| 52.3.4 | I3C triggers | 2295 |
| 52.3.5 | I3C interrupt(s) | 2295 |
| 52.3.6 | I3C MIPI® support | 2296 |
| 52.4 | I3C block diagram | 2297 |
| 52.5 | I3C pins and internal signals ..... | 2297 |
| 52.6 | I3C reset and clocks ..... | 2298 |
| 52.6.1 | I3C reset ..... | 2298 |
| 52.6.2 | I3C clocks and requirements ..... | 2298 |
| 52.7 | I3C peripheral state and programming ..... | 2300 |
| 52.7.1 | I3C peripheral state ..... | 2300 |
| 52.7.2 | I3C controller state and programming sequence ..... | 2301 |
| 52.7.3 | I3C target state and programming sequence ..... | 2305 |
| 52.8 | I3C registers and programming ..... | 2309 |
| 52.8.1 | I3C register set, as controller/target ..... | 2309 |
| 52.8.2 | I3C registers and fields use versus peripheral state, as controller .. | 2310 |
| 52.8.3 | I3C registers and fields usage versus peripheral state, as target .. | 2313 |
| 52.9 | I3C bus transfers and programming ..... | 2315 |
| 52.9.1 | I3C command set (CCCs), as controller/target ..... | 2315 |
| 52.9.2 | I3C broadcast/direct CCC transfer (except ENTDA, RSTACT), as controller ..... | 2319 |
| 52.9.3 | I3C broadcast ENTDA CCC transfer, as controller ..... | 2321 |
| 52.9.4 | I3C broadcast/direct RSTACT CCC transfer, as controller ..... | 2321 |
| 52.9.5 | I3C broadcast/direct CCC transfer (except ENTDA, DEFTGTS, DEFGRPA), as target ..... | 2323 |
| 52.9.6 | I3C broadcast ENTDA CCC transfer, as target ..... | 2325 |
| 52.9.7 | I3C broadcast DEFTGTS CCC transfer, as target ..... | 2326 |
| 52.9.8 | I3C broadcast DEFGRPA CCC transfer, as target ..... | 2327 |
| 52.9.9 | I3C direct GETSTATUS CCC response, as target ..... | 2328 |
| 52.9.10 | I3C private read/write transfer, as controller ..... | 2329 |
| 52.9.11 | I3C private read/write transfer, as target ..... | 2330 |
| 52.9.12 | Legacy I2C read/write transfer, as controller ..... | 2331 |
| 52.9.13 | I3C IBI transfer, as controller/target ..... | 2332 |
| 52.9.14 | I3C hot-join request transfer, as controller/target ..... | 2333 |
| 52.9.15 | I3C controller-role request transfer, as controller/target ..... | 2334 |
| 52.10 | I3C FIFOs management, as controller ..... | 2335 |
| 52.10.1 | C-FIFO management, as controller ..... | 2335 |
| 52.10.2 | TX-FIFO management, as controller ..... | 2336 |
| 52.10.3 | RX-FIFO management, as controller ..... | 2339 |
| 52.10.4 | S-FIFO management, as controller ..... | 2341 |
| 52.11 | I3C FIFOs management, as target ..... | 2343 |
| 52.11.1 | RX-FIFO management, as target ..... | 2343 |
| 52.11.2 | TX-FIFO management, as target ..... | 2344 |
| 52.12 | I3C error management ..... | 2347 |
| 52.12.1 | Controller error management ..... | 2347 |
| 52.12.2 | Target error management ..... | 2349 |
| 52.13 | I3C wake-up from low-power mode(s) ..... | 2350 |
| 52.13.1 | Wake-up from Stop ..... | 2350 |
| 52.14 | I3C in low-power modes ..... | 2353 |
| 52.15 | I3C interrupts ..... | 2354 |
| 52.16 | I3C registers ..... | 2355 |
| 52.16.1 | I3C message control register (I3C_CR) ..... | 2355 |
| 52.16.2 | I3C message control register [alternate] (I3C_CR) ..... | 2357 |
| 52.16.3 | I3C configuration register (I3C_CFGR) ..... | 2359 |
| 52.16.4 | I3C receive data byte register (I3C_RDR) ..... | 2364 |
| 52.16.5 | I3C receive data word register (I3C_RDWR) ..... | 2364 |
| 52.16.6 | I3C transmit data byte register (I3C_TDR) ..... | 2365 |
| 52.16.7 | I3C transmit data word register (I3C_TDWR) ..... | 2366 |
| 52.16.8 | I3C IBI payload data register (I3C_IBIDR) ..... | 2368 |
| 52.16.9 | I3C target transmit configuration register (I3C_TGTTDR) ..... | 2369 |
| 52.16.10 | I3C status register (I3C_SR) ..... | 2370 |
| 52.16.11 | I3C status error register (I3C_SER) ..... | 2371 |
| 52.16.12 | I3C received message register (I3C_RMR) ..... | 2373 |
| 52.16.13 | I3C event register (I3C_EVR) ..... | 2374 |
| 52.16.14 | I3C interrupt enable register (I3C_IER) ..... | 2378 |
| 52.16.15 | I3C clear event register (I3C_CEV) ..... | 2380 |
| 52.16.16 | I3C own device characteristics register (I3C_DEVR0) ..... | 2382 |
| 52.16.17 | I3C device x characteristics register (I3C_DEVRx) ..... | 2384 |
| 52.16.18 | I3C maximum read length register (I3C_MAXRLR) ..... | 2386 |
| 52.16.19 | I3C maximum write length register (I3C_MAXWLR) ..... | 2387 |
| 52.16.20 | I3C timing register 0 (I3C_TIMINGR0) ..... | 2388 |
| 52.16.21 | I3C timing register 1 (I3C_TIMINGR1) ..... | 2389 |
| 52.16.22 | I3C timing register 2 (I3C_TIMINGR2) ..... | 2391 |
| 52.16.23 | I3C bus characteristics register (I3C_BCR) ..... | 2392 |
| 52.16.24 | I3C device characteristics register (I3C_DCR) ..... | 2393 |
| 52.16.25 | I3C get capability register (I3C_GETCAPR) ..... | 2394 |
| 52.16.26 | I3C controller-role capability register (I3C_CRCAPR) ..... | 2395 |
| 52.16.27 | I3C get max data speed register (I3C_GETMXDSR) ..... | 2396 |
| 52.16.28 | I3C extended provisioned ID register (I3C_EPIDR) ..... | 2398 |
| 52.16.29 | I3C register map ..... | 2399 |
| 53 | Universal synchronous/asynchronous receiver transmitter (USART/UART) ..... | 2402 |
| 53.1 | USART introduction ..... | 2402 |
| 53.2 | USART main features ..... | 2402 |
| 53.3 | USART extended features ..... | 2403 |
| 53.4 | USART implementation ..... | 2403 |
| 53.5 | USART functional description ..... | 2405 |
| 53.5.1 | USART block diagram ..... | 2405 |
| 53.5.2 | USART pins and internal signals ..... | 2405 |
| 53.5.3 | USART clocks ..... | 2407 |
| 53.5.4 | USART character description ..... | 2407 |
| 53.5.5 | USART FIFOs and thresholds ..... | 2410 |
| 53.5.6 | USART transmitter ..... | 2410 |
| 53.5.7 | USART receiver ..... | 2413 |
| 53.5.8 | USART baud rate generation ..... | 2420 |
| 53.5.9 | Tolerance of the USART receiver to clock deviation ..... | 2422 |
| 53.5.10 | USART auto baud rate detection ..... | 2423 |
| 53.5.11 | USART multiprocessor communication ..... | 2425 |
| 53.5.12 | USART Modbus communication ..... | 2427 |
| 53.5.13 | USART parity control ..... | 2428 |
| 53.5.14 | USART LIN (local interconnection network) mode ..... | 2429 |
| 53.5.15 | USART synchronous mode ..... | 2431 |
| 53.5.16 | USART single-wire half-duplex communication ..... | 2435 |
| 53.5.17 | USART receiver timeout ..... | 2435 |
| 53.5.18 | USART smartcard mode ..... | 2436 |
| 53.5.19 | USART IrDA SIR ENDEC block ..... | 2440 |
| 53.5.20 | Continuous communication using USART and DMA ..... | 2443 |
| 53.5.21 | RS232 hardware flow control and RS485 driver enable ..... | 2445 |
| 53.5.22 | USART low-power management ..... | 2448 |
| 53.6 | USART in low-power modes ..... | 2451 |
| 53.7 | USART interrupts ..... | 2451 |
| 53.8 | USART registers ..... | 2454 |
| 53.8.1 | USART control register 1 (USART_CR1) ..... | 2454 |
| 53.8.2 | USART control register 1 [alternate] (USART_CR1) ..... | 2458 |
| 53.8.3 | USART control register 2 (USART_CR2) ..... | 2461 |
| 53.8.4 | USART control register 3 (USART_CR3) ..... | 2465 |
| 53.8.5 | USART control register 3 [alternate] (USART_CR3) ..... | 2469 |
| 53.8.6 | USART baud rate register (USART_BRR) ..... | 2472 |
| 53.8.7 | USART guard time and prescaler register (USART_GTPR) ..... | 2473 |
| 53.8.8 | USART receiver timeout register (USART_RTOR) ..... | 2474 |
| 53.8.9 | USART request register (USART_RQR) ..... | 2475 |
| 53.8.10 | USART interrupt and status register (USART_ISR) ..... | 2476 |
| 53.8.11 | USART interrupt and status register [alternate] (USART_ISR) ..... | 2482 |
| 53.8.12 | USART interrupt flag clear register (USART_ICR) ..... | 2487 |
| 53.8.13 | USART receive data register (USART_RDR) ..... | 2488 |
| 53.8.14 | USART transmit data register (USART_TDR) ..... | 2489 |
| 53.8.15 | USART prescaler register (USART_PRESC) ..... | 2489 |
| 53.8.16 | USART register map ..... | 2490 |
| 54 | Low-power universal asynchronous receiver transmitter (LPUART) ..... | 2492 |
| 54.1 | LPUART introduction ..... | 2492 |
| 54.2 | LPUART main features ..... | 2492 |
| 54.3 | LPUART implementation ..... | 2493 |
| 54.4 | LPUART functional description ..... | 2495 |
| 54.4.1 | LPUART block diagram ..... | 2495 |
| 54.4.2 | LPUART pins and internal signals ..... | 2496 |
| 54.4.3 | LPUART clocks ..... | 2497 |
| 54.4.4 | LPUART character description ..... | 2497 |
| 54.4.5 | LPUART FIFOs and thresholds ..... | 2499 |
| 54.4.6 | LPUART transmitter ..... | 2499 |
| 54.4.7 | LPUART receiver ..... | 2503 |
| 54.4.8 | LPUART baud rate generation ..... | 2507 |
| 54.4.9 | Tolerance of the LPUART receiver to clock deviation ..... | 2508 |
| 54.4.10 | LPUART multiprocessor communication ..... | 2509 |
| 54.4.11 | LPUART parity control ..... | 2511 |
| 54.4.12 | LPUART single-wire half-duplex communication ..... | 2512 |
| 54.4.13 | Continuous communication using DMA and LPUART ..... | 2512 |
| 54.4.14 | RS232 hardware flow control and RS485 driver enable ..... | 2515 |
| 54.4.15 | LPUART low-power management ..... | 2517 |
| 54.5 | LPUART in low-power modes | 2520 |
| 54.6 | LPUART interrupts | 2521 |
| 54.7 | LPUART registers | 2522 |
| 54.7.1 | LPUART control register 1 (LPUART_CR1) | 2522 |
| 54.7.2 | LPUART control register 1 [alternate] (LPUART_CR1) | 2525 |
| 54.7.3 | LPUART control register 2 (LPUART_CR2) | 2528 |
| 54.7.4 | LPUART control register 3 (LPUART_CR3) | 2530 |
| 54.7.5 | LPUART control register 3 [alternate] (LPUART_CR3) | 2533 |
| 54.7.6 | LPUART baud rate register (LPUART_BRR) | 2535 |
| 54.7.7 | LPUART request register (LPUART_RQR) | 2535 |
| 54.7.8 | LPUART interrupt and status register (LPUART_ISR) | 2536 |
| 54.7.9 | LPUART interrupt and status register [alternate] (LPUART_ISR) | 2541 |
| 54.7.10 | LPUART interrupt flag clear register (LPUART_ICR) | 2544 |
| 54.7.11 | LPUART receive data register (LPUART_RDR) | 2545 |
| 54.7.12 | LPUART transmit data register (LPUART_TDR) | 2545 |
| 54.7.13 | LPUART prescaler register (LPUART_PRESC) | 2546 |
| 54.7.14 | LPUART register map | 2547 |
| 55 | Serial peripheral interface (SPI) | 2549 |
| 55.1 | SPI introduction | 2549 |
| 55.2 | SPI main features | 2549 |
| 55.3 | SPI implementation | 2550 |
| 55.4 | SPI functional description | 2551 |
| 55.4.1 | SPI block diagram | 2551 |
| 55.4.2 | SPI pins and internal signals | 2552 |
| 55.4.3 | SPI communication general aspects | 2553 |
| 55.4.4 | Communications between one master and one slave | 2553 |
| 55.4.5 | Standard multislave communication | 2556 |
| 55.4.6 | Multimaster communication | 2559 |
| 55.4.7 | Slave select (NSS pin) management | 2560 |
| 55.4.8 | Ready pin (RDY) management | 2564 |
| 55.4.9 | Communication formats | 2564 |
| 55.4.10 | Configuring the SPI | 2566 |
| 55.4.11 | Enabling the SPI | 2567 |
| 55.4.12 | SPI data transmission and reception procedures | 2568 |
| 55.4.13 | Disabling the SPI | 2572 |
| 55.4.14 | Communication using DMA (direct memory addressing) . . . . . | 2573 |
| 55.5 | SPI specific modes and control . . . . . | 2575 |
| 55.5.1 | TI mode . . . . . | 2575 |
| 55.5.2 | SPI error flags . . . . . | 2575 |
| 55.5.3 | CRC computation . . . . . | 2579 |
| 55.6 | SPI in low-power modes . . . . . | 2580 |
| 55.7 | SPI interrupts . . . . . | 2580 |
| 55.8 | I2S main features . . . . . | 2582 |
| 55.9 | I2S functional description . . . . . | 2582 |
| 55.9.1 | I2S general description . . . . . | 2582 |
| 55.9.2 | Pin sharing with SPI function . . . . . | 2583 |
| 55.9.3 | Bitfields usable in I2S/PCM mode . . . . . | 2583 |
| 55.9.4 | Slave and master modes . . . . . | 2584 |
| 55.9.5 | Supported audio protocols . . . . . | 2584 |
| 55.9.6 | Additional serial interface flexibility . . . . . | 2590 |
| 55.9.7 | Startup sequence . . . . . | 2592 |
| 55.9.8 | Stop sequence . . . . . | 2594 |
| 55.9.9 | Clock generator . . . . . | 2595 |
| 55.9.10 | Internal FIFOs . . . . . | 2597 |
| 55.9.11 | FIFO status flags . . . . . | 2598 |
| 55.9.12 | Handling of underrun situation . . . . . | 2598 |
| 55.9.13 | Handling of overrun situation . . . . . | 2599 |
| 55.9.14 | Frame error detection . . . . . | 2600 |
| 55.9.15 | DMA interface . . . . . | 2602 |
| 55.9.16 | Programing examples . . . . . | 2602 |
| 55.10 | I2S interrupts . . . . . | 2605 |
| 55.11 | SPI/I2S registers . . . . . | 2605 |
| 55.11.1 | SPI/I2S control register 1 (SPI_CR1) . . . . . | 2605 |
| 55.11.2 | SPI/I2S control register 2 (SPI_CR2) . . . . . | 2607 |
| 55.11.3 | SPI/I2S configuration register 1 (SPI_CFG1) . . . . . | 2608 |
| 55.11.4 | SPI/I2S configuration register 2 (SPI_CFG2) . . . . . | 2611 |
| 55.11.5 | SPI/I2S interrupt enable register (SPI_IER) . . . . . | 2613 |
| 55.11.6 | SPI/I2S status register (SPI_SR) . . . . . | 2614 |
| 55.11.7 | SPI/I2S interrupt/status flags clear register (SPI_IFCR) . . . . . | 2617 |
| 55.11.8 | SPI/I2S transmit data register (SPI_TXDR) . . . . . | 2618 |
| 55.11.9 | SPI/I2S receive data register (SPI_RXDR) . . . . . | 2618 |
| 55.11.10 | SPI/I2S polynomial register (SPI_CRCPOLY) . . . . . | 2619 |
| 55.11.11 | SPI/I2S transmitter CRC register (SPI_TXCRC) . . . . . | 2619 |
| 55.11.12 | SPI/I2S receiver CRC register (SPI_RXCRC) . . . . . | 2620 |
| 55.11.13 | SPI/I2S underrun data register (SPI_UDRDR) . . . . . | 2621 |
| 55.11.14 | SPI/I2S configuration register (SPI_I2SCFGR) . . . . . | 2621 |
| 55.11.15 | SPI/I2S register map . . . . . | 2623 |
| 56 | Serial audio interface (SAI) . . . . . | 2625 |
| 56.1 | SAI introduction . . . . . | 2625 |
| 56.2 | SAI main features . . . . . | 2625 |
| 56.3 | SAI implementation . . . . . | 2626 |
| 56.4 | SAI functional description . . . . . | 2626 |
| 56.4.1 | SAI block diagram . . . . . | 2626 |
| 56.4.2 | SAI pins and internal signals . . . . . | 2628 |
| 56.4.3 | Main SAI modes . . . . . | 2629 |
| 56.4.4 | SAI synchronization mode . . . . . | 2630 |
| 56.4.5 | Audio data size . . . . . | 2631 |
| 56.4.6 | Frame synchronization . . . . . | 2631 |
| 56.4.7 | Slot configuration . . . . . | 2634 |
| 56.4.8 | SAI clock generator . . . . . | 2636 |
| 56.4.9 | Internal FIFOs . . . . . | 2639 |
| 56.4.10 | PDM interface . . . . . | 2641 |
| 56.4.11 | AC'97 link controller . . . . . | 2649 |
| 56.4.12 | SPDIF output . . . . . | 2651 |
| 56.4.13 | Specific features . . . . . | 2654 |
| 56.4.14 | Error flags . . . . . | 2658 |
| 56.4.15 | Disabling the SAI . . . . . | 2661 |
| 56.4.16 | SAI DMA interface . . . . . | 2661 |
| 56.5 | SAI interrupts . . . . . | 2662 |
| 56.6 | SAI registers . . . . . | 2664 |
| 56.6.1 | SAI global configuration register (SAI_GCR) . . . . . | 2664 |
| 56.6.2 | SAI configuration register 1 (SAI_ACR1) . . . . . | 2664 |
| 56.6.3 | SAI configuration register 2 (SAI_ACR2) . . . . . | 2667 |
| 56.6.4 | SAI frame configuration register (SAI_AFRCR) . . . . . | 2669 |
| 56.6.5 | SAI slot register (SAI_ASLOTR) . . . . . | 2670 |
| 56.6.6 | SAI interrupt mask register (SAI_AIM) . . . . . | 2671 |
| 56.6.7 | SAI status register (SAI_ASR) ..... | 2673 |
| 56.6.8 | SAI clear flag register (SAI_ACLRFR) ..... | 2675 |
| 56.6.9 | SAI data register (SAI_ADR) ..... | 2676 |
| 56.6.10 | SAI configuration register 1 (SAI_BCR1) ..... | 2676 |
| 56.6.11 | SAI configuration register 2 (SAI_BCR2) ..... | 2679 |
| 56.6.12 | SAI frame configuration register (SAI_BFRCR) ..... | 2681 |
| 56.6.13 | SAI slot register (SAI_BSLOTR) ..... | 2682 |
| 56.6.14 | SAI interrupt mask register (SAI_BIM) ..... | 2683 |
| 56.6.15 | SAI status register (SAI_BSR) ..... | 2684 |
| 56.6.16 | SAI clear flag register (SAI_BCLRFR) ..... | 2686 |
| 56.6.17 | SAI data register (SAI_BDR) ..... | 2687 |
| 56.6.18 | SAI PDM control register (SAI_PDMCR) ..... | 2688 |
| 56.6.19 | SAI PDM delay register (SAI_PDMDLY) ..... | 2689 |
| 56.6.20 | SAI register map ..... | 2691 |
| 57 | SPDIF receiver interface (SPDIFRX) ..... | 2693 |
| 57.1 | SPDIFRX interface introduction ..... | 2693 |
| 57.2 | SPDIFRX main features ..... | 2693 |
| 57.3 | SPDIFRX functional description ..... | 2693 |
| 57.3.1 | SPDIFRX pins and internal signals ..... | 2694 |
| 57.3.2 | S/PDIF protocol (IEC-60958) ..... | 2695 |
| 57.3.3 | SPDIFRX decoder (SPDIFRX_DC) ..... | 2697 |
| 57.3.4 | SPDIFRX tolerance to clock deviation ..... | 2701 |
| 57.3.5 | SPDIFRX synchronization ..... | 2701 |
| 57.3.6 | SPDIFRX handling ..... | 2703 |
| 57.3.7 | Data reception management ..... | 2705 |
| 57.3.8 | Dedicated control flow ..... | 2707 |
| 57.3.9 | Reception errors ..... | 2708 |
| 57.3.10 | Clocking strategy ..... | 2710 |
| 57.3.11 | Symbol clock generation ..... | 2710 |
| 57.3.12 | DMA interface ..... | 2712 |
| 57.3.13 | Interrupt generation ..... | 2713 |
| 57.3.14 | Register protection ..... | 2714 |
| 57.4 | Programming procedures ..... | 2714 |
| 57.4.1 | Initialization phase ..... | 2715 |
| 57.4.2 | Handling of interrupts coming from SPDIFRX ..... | 2716 |
| 57.4.3 | Handling of interrupts coming from DMA ..... | 2716 |
| 57.5 | SPDIFRX interface registers | 2717 |
| 57.5.1 | SPDIFRX control register (SPDIFRX_CR) | 2717 |
| 57.5.2 | SPDIFRX interrupt mask register (SPDIFRX_IMR) | 2719 |
| 57.5.3 | SPDIFRX status register (SPDIFRX_SR) | 2720 |
| 57.5.4 | SPDIFRX interrupt flag clear register (SPDIFRX_IFCR) | 2722 |
| 57.5.5 | SPDIFRX data input register (SPDIFRX_FMT0_DR) | 2723 |
| 57.5.6 | SPDIFRX data input register (SPDIFRX_FMT1_DR) | 2723 |
| 57.5.7 | SPDIFRX data input register (SPDIFRX_FMT2_DR) | 2724 |
| 57.5.8 | SPDIFRX channel status register (SPDIFRX_CSR) | 2725 |
| 57.5.9 | SPDIFRX debug information register (SPDIFRX_DIR) | 2725 |
| 57.5.10 | SPDIFRX interface register map | 2726 |
| 58 | Management data input/output (MDIOS) | 2727 |
| 58.1 | MDIOS introduction | 2727 |
| 58.2 | MDIOS main features | 2727 |
| 58.3 | MDIOS functional description | 2728 |
| 58.3.1 | MDIOS block diagram | 2728 |
| 58.3.2 | MDIOS pins and internal signals | 2728 |
| 58.3.3 | MDIOS protocol | 2728 |
| 58.3.4 | MDIOS enabling and disabling | 2729 |
| 58.3.5 | MDIOS data | 2730 |
| 58.3.6 | MDIOS APB frequency | 2731 |
| 58.3.7 | Write/read flags and interrupts | 2731 |
| 58.3.8 | MDIOS error management | 2732 |
| 58.3.9 | MDIOS in Stop mode | 2733 |
| 58.3.10 | MDIOS interrupts | 2733 |
| 58.4 | MDIOS registers | 2733 |
| 58.4.1 | MDIOS configuration register (MDIOS_CR) | 2733 |
| 58.4.2 | MDIOS write flag register (MDIOS_WRFR) | 2734 |
| 58.4.3 | MDIOS clear write flag register (MDIOS_CWRFR) | 2735 |
| 58.4.4 | MDIOS read flag register (MDIOS_RDFR) | 2735 |
| 58.4.5 | MDIOS clear read flag register (MDIOS_CRDFR) | 2736 |
| 58.4.6 | MDIOS status register (MDIOS_SR) | 2736 |
| 58.4.7 | MDIOS clear flag register (MDIOS_CLRFR) | 2737 |
| 58.4.8 | MDIOS input data register x (MDIOS_DINRx) | 2737 |
| 58.4.9 | MDIOS output data register x (MDIOS_DOUTRx) | 2738 |
| 58.4.10 | MDIOS register map | 2738 |
| 59 | Secure digital input/output MultiMediaCard interface (SDMMC) . . | 2740 |
| 59.1 | SDMMC main features . . . . . | 2740 |
| 59.2 | SDMMC implementation . . . . . | 2740 |
| 59.3 | SDMMC bus topology . . . . . | 2741 |
| 59.4 | SDMMC operation modes . . . . . | 2743 |
| 59.5 | SDMMC functional description . . . . . | 2744 |
| 59.5.1 | SDMMC block diagram . . . . . | 2744 |
| 59.5.2 | SDMMC pins and internal signals . . . . . | 2744 |
| 59.5.3 | General description . . . . . | 2745 |
| 59.5.4 | SDMMC adapter . . . . . | 2747 |
| 59.5.5 | SDMMC AHB slave interface . . . . . | 2769 |
| 59.5.6 | SDMMC AHB master interface . . . . . | 2770 |
| 59.5.7 | AHB and SDMMC_CK clock relation . . . . . | 2773 |
| 59.6 | Card functional description . . . . . | 2773 |
| 59.6.1 | SD I/O mode . . . . . | 2773 |
| 59.6.2 | CMD12 send timing . . . . . | 2781 |
| 59.6.3 | Sleep (CMD5) . . . . . | 2785 |
| 59.6.4 | Interrupt mode (Wait-IRQ) . . . . . | 2786 |
| 59.6.5 | Boot operation . . . . . | 2787 |
| 59.6.6 | Response R1b handling . . . . . | 2790 |
| 59.6.7 | Reset and card cycle power . . . . . | 2791 |
| 59.7 | Hardware flow control . . . . . | 2792 |
| 59.8 | Ultra-high-speed phase I (UHS-I) voltage switch . . . . . | 2792 |
| 59.9 | SDMMC interrupts . . . . . | 2796 |
| 59.10 | SDMMC registers . . . . . | 2797 |
| 59.10.1 | SDMMC power control register (SDMMC_POWER) . . . . . | 2797 |
| 59.10.2 | SDMMC clock control register (SDMMC_CLKCR) . . . . . | 2798 |
| 59.10.3 | SDMMC argument register (SDMMC_ARGR) . . . . . | 2800 |
| 59.10.4 | SDMMC command register (SDMMC_CMDR) . . . . . | 2800 |
| 59.10.5 | SDMMC command response register (SDMMC_RESPCMDR) . . . . . | 2802 |
| 59.10.6 | SDMMC response x register (SDMMC_RESPxR) . . . . . | 2803 |
| 59.10.7 | SDMMC data timer register (SDMMC_DTIMER) . . . . . | 2803 |
| 59.10.8 | SDMMC data length register (SDMMC_DLENR) . . . . . | 2804 |
| 59.10.9 | SDMMC data control register (SDMMC_DCTRL) . . . . . | 2805 |
| 59.10.10 | SDMMC data counter register (SDMMC_DCNTR) . . . . . | 2806 |
| 59.10.11 | SDMMC status register (SDMMC_STAR) . . . . . | 2807 |
| 59.10.12 | SDMMC interrupt clear register (SDMMC_ICR) . . . . . | 2810 |
| 59.10.13 | SDMMC mask register (SDMMC_MASKR) . . . . . | 2812 |
| 59.10.14 | SDMMC acknowledgment timer register (SDMMC_ACKTIMER) . . . | 2815 |
| 59.10.15 | SDMMC DMA control register (SDMMC_IDMACTRLR) . . . . . | 2815 |
| 59.10.16 | SDMMC IDMA buffer size register (SDMMC_IDMABSIZER) . . . . . | 2816 |
| 59.10.17 | SDMMC IDMA buffer base address register (SDMMC_IDMABASER) . . . . . | 2817 |
| 59.10.18 | SDMMC IDMA linked list address register (SDMMC_IDMALAR) . . . | 2817 |
| 59.10.19 | SDMMC IDMA linked list memory base register (SDMMC_IDMABAR) . . . . . | 2818 |
| 59.10.20 | SDMMC data FIFO registers x (SDMMC_FIFORx) . . . . . | 2819 |
| 59.10.21 | SDMMC register map . . . . . | 2819 |
| 60 | FD controller area network (FDCAN) . . . . . | 2822 |
| 60.1 | FDCAN introduction . . . . . | 2822 |
| 60.2 | FDCAN main features . . . . . | 2824 |
| 60.3 | FDCAN functional description . . . . . | 2825 |
| 60.3.1 | FDCAN block diagram . . . . . | 2825 |
| 60.3.2 | FDCAN pins and internal signals . . . . . | 2826 |
| 60.3.3 | Bit timing . . . . . | 2827 |
| 60.3.4 | Operating modes . . . . . | 2828 |
| 60.3.5 | Error management . . . . . | 2837 |
| 60.3.6 | Message RAM . . . . . | 2838 |
| 60.3.7 | FIFO acknowledge handling . . . . . | 2847 |
| 60.3.8 | FDCAN Rx FIFO element . . . . . | 2847 |
| 60.3.9 | FDCAN Tx buffer element . . . . . | 2849 |
| 60.3.10 | FDCAN Tx event FIFO element . . . . . | 2851 |
| 60.3.11 | FDCAN standard message ID filter element . . . . . | 2852 |
| 60.3.12 | FDCAN extended message ID filter element . . . . . | 2853 |
| 60.4 | FDCAN registers . . . . . | 2855 |
| 60.4.1 | FDCAN core release register (FDCAN_CREL) . . . . . | 2855 |
| 60.4.2 | FDCAN endian register (FDCAN_ENDN) . . . . . | 2855 |
| 60.4.3 | FDCAN data bit timing and prescaler register (FDCAN_DBTP) . . . . | 2855 |
| 60.4.4 | FDCAN test register (FDCAN_TEST) . . . . . | 2856 |
| 60.4.5 | FDCAN RAM watchdog register (FDCAN_RWD) . . . . . | 2857 |
| 60.4.6 | FDCAN CC control register (FDCAN_CCCR) . . . . . | 2858 |
| 60.4.7 | FDCAN nominal bit timing and prescaler register (FDCAN_NBTP) . | 2859 |
| 60.4.8 | FDCAN timestamp counter configuration register (FDCAN_TSCC) . | 2861 |
| 60.4.9 | FDCAN timestamp counter value register (FDCAN_TSCV) . . . . . | 2861 |
| 60.4.10 | FDCAN timeout counter configuration register (FDCAN_TOCC) . . . | 2862 |
| 60.4.11 | FDCAN timeout counter value register (FDCAN_TOCV) . . . . . | 2863 |
| 60.4.12 | FDCAN error counter register (FDCAN_ECR) . . . . . | 2863 |
| 60.4.13 | FDCAN protocol status register (FDCAN_PSR) . . . . . | 2864 |
| 60.4.14 | FDCAN transmitter delay compensation register (FDCAN_TDCR) . . | 2866 |
| 60.4.15 | FDCAN interrupt register (FDCAN_IR) . . . . . | 2866 |
| 60.4.16 | FDCAN interrupt enable register (FDCAN_IE) . . . . . | 2869 |
| 60.4.17 | FDCAN interrupt line select register (FDCAN_ILS) . . . . . | 2871 |
| 60.4.18 | FDCAN interrupt line enable register (FDCAN_ILE) . . . . . | 2872 |
| 60.4.19 | FDCAN global filter configuration register (FDCAN_RXGFC) . . . . . | 2872 |
| 60.4.20 | FDCAN extended ID and mask register (FDCAN_XIDAM) . . . . . | 2874 |
| 60.4.21 | FDCAN high-priority message status register (FDCAN_HPMS) . . . . | 2874 |
| 60.4.22 | FDCAN Rx FIFO 0 status register (FDCAN_RXF0S) . . . . . | 2875 |
| 60.4.23 | CAN Rx FIFO 0 acknowledge register (FDCAN_RXF0A) . . . . . | 2876 |
| 60.4.24 | FDCAN Rx FIFO 1 status register (FDCAN_RXF1S) . . . . . | 2876 |
| 60.4.25 | FDCAN Rx FIFO 1 acknowledge register (FDCAN_RXF1A) . . . . . | 2877 |
| 60.4.26 | FDCAN Tx buffer configuration register (FDCAN_TXBC) . . . . . | 2877 |
| 60.4.27 | FDCAN Tx FIFO/queue status register (FDCAN_TXFQS) . . . . . | 2878 |
| 60.4.28 | FDCAN Tx buffer request pending register (FDCAN_TXBRP) . . . . . | 2878 |
| 60.4.29 | FDCAN Tx buffer add request register (FDCAN_TXBAR) . . . . . | 2879 |
| 60.4.30 | FDCAN Tx buffer cancellation request register (FDCAN_TXBCR) . . | 2880 |
| 60.4.31 | FDCAN Tx buffer transmission occurred register (FDCAN_TXBTO) . | 2880 |
| 60.4.32 | FDCAN Tx buffer cancellation finished register (FDCAN_TXBCF) . . | 2881 |
| 60.4.33 | FDCAN Tx buffer transmission interrupt enable register (FDCAN_TXBTIE) . . . . . | 2881 |
| 60.4.34 | FDCAN Tx buffer cancellation finished interrupt enable register (FDCAN_TXBCIE) . . . . . | 2882 |
| 60.4.35 | FDCAN Tx event FIFO status register (FDCAN_TXEFS) . . . . . | 2882 |
| 60.4.36 | FDCAN Tx event FIFO acknowledge register (FDCAN_TXEFA) . . . | 2883 |
| 60.4.37 | FDCAN CFG clock divider register (FDCAN_CKDIV) . . . . . | 2883 |
| 60.4.38 | FDCAN register map . . . . . | 2884 |
| 61 | USB on-the-go full-speed (OTG_FS) . . . . . | 2888 |
| 61.1 | OTG_FS introduction . . . . . | 2888 |
| 61.2 | OTG_FS main features . . . . . | 2889 |
| 61.2.1 | General features ..... | 2889 |
| 61.2.2 | Host-mode features ..... | 2890 |
| 61.2.3 | Peripheral-mode features ..... | 2890 |
| 61.3 | OTG_FS implementation ..... | 2891 |
| 61.4 | OTG_FS functional description ..... | 2892 |
| 61.4.1 | OTG_FS block diagram ..... | 2892 |
| 61.4.2 | OTG_FS pin and internal signals ..... | 2892 |
| 61.4.3 | OTG_FS core ..... | 2893 |
| 61.4.4 | Embedded full-speed OTG PHY connected to OTG_FS ..... | 2893 |
| 61.4.5 | OTG detections ..... | 2894 |
| 61.5 | OTG_FS dual role device (DRD) ..... | 2894 |
| 61.5.1 | ID line detection ..... | 2894 |
| 61.6 | OTG_FS as a USB peripheral ..... | 2895 |
| 61.6.1 | Peripheral states ..... | 2895 |
| 61.6.2 | Peripheral endpoints ..... | 2896 |
| 61.7 | OTG_FS as a USB host ..... | 2898 |
| 61.7.1 | USB host states ..... | 2899 |
| 61.7.2 | Host channels ..... | 2900 |
| 61.7.3 | Host scheduler ..... | 2902 |
| 61.8 | OTG_FS SOF trigger ..... | 2903 |
| 61.8.1 | Host SOFs ..... | 2903 |
| 61.8.2 | Peripheral SOFs ..... | 2903 |
| 61.9 | OTG_FS low-power modes ..... | 2904 |
| 61.10 | OTG_FS Dynamic update of the OTG_HFIR register ..... | 2905 |
| 61.11 | OTG_FS data FIFOs ..... | 2905 |
| 61.11.1 | Peripheral FIFO architecture ..... | 2906 |
| 61.11.2 | Host FIFO architecture ..... | 2907 |
| 61.11.3 | FIFO RAM allocation ..... | 2908 |
| 61.12 | OTG_FS system performance ..... | 2910 |
| 61.13 | OTG_FS interrupts ..... | 2910 |
| 61.14 | OTG_FS control and status registers ..... | 2912 |
| 61.14.1 | CSR memory map ..... | 2912 |
| 61.15 | OTG_FS registers ..... | 2917 |
| 61.15.1 | OTG control and status register (OTG_GOTGCTL) ..... | 2917 |
| 61.15.2 | OTG interrupt register (OTG_GOTGINT) ..... | 2919 |
| 61.15.3 | OTG AHB configuration register (OTG_GAHBCFG) ..... | 2920 |
| 61.15.4 | OTG USB configuration register (OTG_GUSBCFG) ..... | 2921 |
| 61.15.5 | OTG reset register (OTG_GRSTCTL) ..... | 2922 |
| 61.15.6 | OTG core interrupt register [alternate] (OTG_GINTSTS) ..... | 2925 |
| 61.15.7 | OTG core interrupt register [alternate] (OTG_GINTSTS) ..... | 2929 |
| 61.15.8 | OTG interrupt mask register [alternate] (OTG_GINTMSK) ..... | 2933 |
| 61.15.9 | OTG interrupt mask register [alternate] (OTG_GINTMSK) ..... | 2934 |
| 61.15.10 | OTG receive status debug read [alternate] (OTG_GRXSTSR) .... | 2936 |
| 61.15.11 | OTG receive status debug read register [alternate] (OTG_GRXSTSR) ..... | 2937 |
| 61.15.12 | OTG status read and pop registers [alternate] (OTG_GRXSTSP) .. | 2938 |
| 61.15.13 | OTG status read and pop registers [alternate] (OTG_GRXSTSP) .. | 2939 |
| 61.15.14 | OTG receive FIFO size register (OTG_GRXFSIZ) ..... | 2940 |
| 61.15.15 | OTG host non-periodic transmit FIFO size register [alternate] (OTG_HNPTXFSIZ) ..... | 2941 |
| 61.15.16 | Endpoint 0 Transmit FIFO size [alternate] (OTG_DIEPTXF0) .... | 2941 |
| 61.15.17 | OTG non-periodic transmit FIFO/queue status register (OTG_HNPTXSTS) ..... | 2942 |
| 61.15.18 | OTG general core configuration register (OTG_GCCFG) ..... | 2943 |
| 61.15.19 | OTG core ID register (OTG_CID) ..... | 2944 |
| 61.15.20 | OTG core LPM configuration register (OTG_GLPMCFG) ..... | 2944 |
| 61.15.21 | OTG host periodic transmit FIFO size register (OTG_HPTXFSIZ) ..... | 2949 |
| 61.15.22 | OTG device IN endpoint transmit FIFO x size register (OTG_DIEPTXFx) ..... | 2949 |
| 61.15.23 | Host-mode registers ..... | 2949 |
| 61.15.24 | OTG host configuration register (OTG_HCFG) ..... | 2950 |
| 61.15.25 | OTG host frame interval register (OTG_HFIR) ..... | 2950 |
| 61.15.26 | OTG host frame number/frame time remaining register (OTG_HFNUM) ..... | 2951 |
| 61.15.27 | OTG_Host periodic transmit FIFO/queue status register (OTG_HPTXSTS) ..... | 2952 |
| 61.15.28 | OTG host all channels interrupt register (OTG_HAINT) ..... | 2953 |
| 61.15.29 | OTG host all channels interrupt mask register (OTG_HAINTMSK) ..... | 2953 |
| 61.15.30 | OTG host port control and status register (OTG_HPRT) ..... | 2954 |
| 61.15.31 | OTG host channel x characteristics register (OTG_HCCHARx) .... | 2956 |
| 61.15.32 | OTG host channel x interrupt register (OTG_HCINTx) ..... | 2957 |
| 61.15.33 | OTG host channel x interrupt mask register (OTG_HCINTMSKx) .. | 2958 |
| 61.15.34 OTG host channel x transfer size register (OTG_HCTSIZx) | 2959 |
| 61.15.35 Device-mode registers | 2960 |
| 61.15.36 OTG device configuration register (OTG_DCFG) | 2960 |
| 61.15.37 OTG device control register (OTG_DCTL) | 2961 |
| 61.15.38 OTG device status register (OTG_DSTS) | 2964 |
61.15.39 OTG device IN endpoint common interrupt mask register (OTG_DIEPMSK) | 2965 |
61.15.40 OTG device OUT endpoint common interrupt mask register (OTG_DOEPMSK) | 2966 |
| 61.15.41 OTG device all endpoints interrupt register (OTG_DAINT) | 2967 |
61.15.42 OTG all endpoints interrupt mask register (OTG_DAINTMSK) | 2968 |
61.15.43 OTG device IN endpoint FIFO empty interrupt mask register (OTG_DIEPEMPMSK) | 2968 |
| 61.15.44 OTG device each endpoint interrupt register (OTG_DEACHINT) | 2969 |
61.15.45 OTG device each endpoint interrupt mask register (OTG_DEACHINTMSK) | 2969 |
61.15.46 OTG device each IN endpoint-1 interrupt mask register (OTG_DIEPEACHM) | 2970 |
61.15.47 OTG device each OUT endpoint-1 interrupt mask register (OTG_DOEPEACHMSK1) | 2971 |
61.15.48 OTG device control IN endpoint 0 control register (OTG_DIEPCTL0) | 2972 |
61.15.49 OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 2974 |
61.15.50 OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 2976 |
| 61.15.51 OTG device IN endpoint x interrupt register (OTG_DIEPINTx) | 2978 |
61.15.52 OTG device IN endpoint 0 transfer size register (OTG_DIEPTSIZ0) | 2979 |
61.15.53 OTG device IN endpoint transmit FIFO status register (OTG_DTXFSTSx) | 2980 |
| 61.15.54 OTG device IN endpoint x transfer size register (OTG_DIEPTSIZx) | 2980 |
61.15.55 OTG device control OUT endpoint 0 control register (OTG_DOEPCTL0) | 2981 |
| 61.15.56 OTG device OUT endpoint x interrupt register (OTG_DOEPINTx) | 2983 |
61.15.57 OTG device OUT endpoint 0 transfer size register (OTG_DOEPTSIZ0) | 2984 |
61.15.58 OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 2985 |
61.15.59 OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 2987 |
| 61.15.60 | OTG device OUT endpoint x transfer size register (OTG_DOEPTSIZx) ..... | 2989 |
| 61.15.61 | OTG power and clock gating control register (OTG_PCGCCTL) ... | 2990 |
| 61.15.62 | OTG power and clock gating control register 1 (OTG_PCGCCTL1) . | 2991 |
| 61.15.63 | OTG_FS register map ..... | 2992 |
| 61.16 | OTG_FS programming model ..... | 3000 |
| 61.16.1 | Core initialization ..... | 3000 |
| 61.16.2 | Host initialization ..... | 3001 |
| 61.16.3 | Device initialization ..... | 3001 |
| 61.16.4 | Host programming model ..... | 3002 |
| 61.16.5 | Device programming model ..... | 3023 |
| 61.16.6 | Worst case response time ..... | 3044 |
| 61.16.7 | OTG programming model ..... | 3046 |
| 62 | USB on-the-go high-speed (OTG_HS) ..... | 3047 |
| 62.1 | OTG_HS introduction ..... | 3047 |
| 62.2 | OTG_HS main features ..... | 3048 |
| 62.2.1 | General features ..... | 3048 |
| 62.2.2 | Host-mode features ..... | 3049 |
| 62.2.3 | Peripheral-mode features ..... | 3049 |
| 62.3 | OTG_HS implementation ..... | 3049 |
| 62.4 | OTG_HS functional description ..... | 3050 |
| 62.4.1 | OTG_HS block diagram ..... | 3050 |
| 62.4.2 | OTG_HS pin and internal signals ..... | 3050 |
| 62.4.3 | OTG_HS core ..... | 3051 |
| 62.4.4 | OTG detections ..... | 3051 |
| 62.4.5 | High-speed OTG PHY connected to OTG_HS ..... | 3051 |
| 62.4.6 | Battery charging detection ..... | 3051 |
| 62.5 | OTG_HS dual role device (DRD) ..... | 3052 |
| 62.5.1 | ID line detection ..... | 3052 |
| 62.6 | OTG_HS as a USB peripheral ..... | 3053 |
| 62.6.1 | Peripheral states ..... | 3053 |
| 62.6.2 | Peripheral endpoints ..... | 3054 |
| 62.7 | OTG_HS as a USB host ..... | 3056 |
| 62.7.1 | USB host states ..... | 3057 |
| 62.7.2 | Host channels ..... | 3058 |
| 62.7.3 | Host scheduler ..... | 3060 |
| 62.8 | OTG_HS SOF trigger ..... | 3061 |
| 62.8.1 | Host SOFs ..... | 3061 |
| 62.8.2 | Peripheral SOFs ..... | 3061 |
| 62.9 | OTG_HS low-power modes ..... | 3062 |
| 62.10 | OTG_HS Dynamic update of the OTG_HFIR register ..... | 3063 |
| 62.11 | OTG_HS data FIFOs ..... | 3063 |
| 62.11.1 | Peripheral FIFO architecture ..... | 3064 |
| 62.11.2 | Host FIFO architecture ..... | 3065 |
| 62.11.3 | FIFO RAM allocation ..... | 3066 |
| 62.12 | OTG_HS interrupts ..... | 3068 |
| 62.13 | OTG_HS control and status registers ..... | 3070 |
| 62.13.1 | CSR memory map ..... | 3070 |
| 62.14 | OTG_HS registers ..... | 3075 |
| 62.14.1 | OTG control and status register (OTG_GOTGCTL) ..... | 3075 |
| 62.14.2 | OTG interrupt register (OTG_GOTGINT) ..... | 3077 |
| 62.14.3 | OTG AHB configuration register (OTG_GAHBCFG) ..... | 3078 |
| 62.14.4 | OTG USB configuration register (OTG_GUSBCFG) ..... | 3079 |
| 62.14.5 | OTG reset register (OTG_GRSTCTL) ..... | 3081 |
| 62.14.6 | OTG core interrupt register [alternate] (OTG_GINTSTS) ..... | 3084 |
| 62.14.7 | OTG core interrupt register [alternate] (OTG_GINTSTS) ..... | 3088 |
| 62.14.8 | OTG interrupt mask register [alternate] (OTG_GINTMSK) ..... | 3093 |
| 62.14.9 | OTG interrupt mask register [alternate] (OTG_GINTMSK) ..... | 3094 |
| 62.14.10 | OTG receive status debug read register [alternate] (OTG_GRXSTSR) ..... | 3096 |
| 62.14.11 | OTG receive status debug read register [alternate] (OTG_GRXSTSR) ..... | 3097 |
| 62.14.12 | OTG status read and pop registers (OTG_GRXSTSP) ..... | 3098 |
| 62.14.13 | OTG status read and pop registers [alternate] (OTG_GRXSTSP) .. | 3099 |
| 62.14.14 | OTG receive FIFO size register (OTG_GRXFSIZ) ..... | 3100 |
| 62.14.15 | OTG host non-periodic transmit FIFO size register [alternate] (OTG_HNPTXFSIZ) ..... | 3101 |
| 62.14.16 | Endpoint 0 transmit FIFO size [alternate] (OTG_DIEPTXF0) ..... | 3101 |
| 62.14.17 | OTG non-periodic transmit FIFO/queue status register (OTG_HNPTXSTS) ..... | 3102 |
| 62.14.18 | OTG general core configuration register (OTG_GCCFG) ..... | 3103 |
| 62.14.19 | OTG core ID register (OTG_CID) ..... | 3104 |
| 62.14.20 OTG core LPM configuration register (OTG_GLPMCFG) | 3105 |
| 62.14.21 OTG host periodic transmit FIFO size register (OTG_HPTXFSIZ) | 3109 |
| 62.14.22 OTG device IN endpoint transmit FIFO x size register (OTG_DIEPTXFx) | 3109 |
| 62.14.23 Host-mode registers | 3109 |
| 62.14.24 OTG host configuration register (OTG_HCFG) | 3110 |
| 62.14.25 OTG host frame interval register (OTG_HFIR) | 3110 |
| 62.14.26 OTG host frame number/frame time remaining register (OTG_HFNUM) | 3111 |
| 62.14.27 OTG_Host periodic transmit FIFO/queue status register (OTG_HPTXSTS) | 3112 |
| 62.14.28 OTG host all channels interrupt register (OTG_HAINT) | 3113 |
| 62.14.29 OTG host all channels interrupt mask register (OTG_HAINTMSK) | 3113 |
| 62.14.30 OTG host port control and status register (OTG_HPRT) | 3114 |
| 62.14.31 OTG host channel x characteristics register (OTG_HCCHARx) | 3116 |
| 62.14.32 OTG host channel x split control register (OTG_HCSPLTx) | 3117 |
| 62.14.33 OTG host channel x interrupt register (OTG_HCINTx) | 3118 |
| 62.14.34 OTG host channel x interrupt mask register (OTG_HCINTMSKx) | 3119 |
| 62.14.35 OTG host channel x transfer size register (OTG_HCTSIZx) | 3120 |
| 62.14.36 OTG host channel x DMA address register(OTG_HCDMAx) | 3121 |
| 62.14.37 Device-mode registers | 3121 |
| 62.14.38 OTG device configuration register (OTG_DCFG) | 3121 |
| 62.14.39 OTG device control register (OTG_DCTL) | 3123 |
| 62.14.40 OTG device status register (OTG_DSTS) | 3125 |
| 62.14.41 OTG device IN endpoint common interrupt mask register (OTG_DIEPMSK) | 3126 |
| 62.14.42 OTG device OUT endpoint common interrupt mask register (OTG_DOEPMSK) | 3127 |
| 62.14.43 OTG device all endpoints interrupt register (OTG_DAINT) | 3128 |
| 62.14.44 OTG all endpoints interrupt mask register (OTG_DAINTMSK) | 3129 |
| 62.14.45 OTG device threshold control register (OTG_DTHRCTL) | 3129 |
| 62.14.46 OTG device IN endpoint FIFO empty interrupt mask register (OTG_DIEPEMPMSK) | 3130 |
| 62.14.47 OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 3131 |
| 62.14.48 OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 3133 |
| 62.14.49 | OTG device IN endpoint x interrupt register (OTG_DIEPINTx) | 3135 |
| 62.14.50 | OTG device IN endpoint 0 transfer size register (OTG_DIEPTSIZ0) | 3136 |
| 62.14.51 | OTG device IN endpoint x DMA address register (OTG_DIEPDMAx) | 3137 |
| 62.14.52 | OTG device IN endpoint transmit FIFO status register (OTG_DTXFSTSx) | 3137 |
| 62.14.53 | OTG device IN endpoint x transfer size register (OTG_DIEPTSIZx) | 3138 |
| 62.14.54 | OTG device control OUT endpoint 0 control register (OTG_DOEPCTL0) | 3138 |
| 62.14.55 | OTG device OUT endpoint x interrupt register (OTG_DOEPINTx) | 3140 |
| 62.14.56 | OTG device OUT endpoint 0 transfer size register (OTG_DOEPTSIZ0) | 3142 |
| 62.14.57 | OTG device OUT endpoint x DMA address register (OTG_DOEPDMAx) | 3143 |
| 62.14.58 | OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 3143 |
| 62.14.59 | OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 3145 |
| 62.14.60 | OTG device OUT endpoint x transfer size register (OTG_DOEPTSIZx) | 3147 |
| 62.14.61 | OTG power and clock gating control register (OTG_PCGCCTL) | 3148 |
| 62.14.62 | OTG power and clock gating control register 1 (OTG_PCGCCTL1) | 3149 |
| 62.14.63 | OTG_HS register map | 3150 |
| 62.15 | OTG_HS programming model | 3157 |
| 62.15.1 | Core initialization | 3157 |
| 62.15.2 | Host initialization | 3158 |
| 62.15.3 | Device initialization | 3159 |
| 62.15.4 | DMA mode | 3159 |
| 62.15.5 | Host programming model | 3159 |
| 62.15.6 | Device programming model | 3192 |
| 62.15.7 | Worst case response time | 3212 |
| 62.15.8 | OTG programming model | 3214 |
| 63 | USB Type-C®/USB Power Delivery interface (UCPD) | 3215 |
| 63.1 | UCPD introduction | 3215 |
| 63.2 | UCPD main features | 3215 |
| 63.3 | UCPD implementation | 3216 |
| 63.4 | UCPD functional description | 3216 |
| 63.4.1 | UCPD block diagram | 3217 |
| 63.4.2 | UCPD reset and clocks | 3218 |
| 63.4.3 | Physical layer protocol | 3219 |
| 63.4.4 | UCPD BMC transmitter | 3225 |
| 63.4.5 | UCPD BMC receiver | 3227 |
| 63.4.6 | UCPD Type-C pull-ups (Rp) and pull-downs (Rd) | 3228 |
| 63.4.7 | UCPD Type-C voltage monitoring and de-bouncing | 3229 |
| 63.4.8 | UCPD fast role swap (FRS) | 3229 |
| 63.4.9 | UCPD DMA Interface | 3229 |
| 63.4.10 | Wake-up from Stop mode | 3229 |
| 63.5 | UCPD programming sequences | 3230 |
| 63.5.1 | Initialization phase | 3230 |
| 63.5.2 | Type-C state machine handling | 3230 |
| 63.5.3 | USB PD transmit | 3232 |
| 63.5.4 | USB PD receive | 3233 |
| 63.5.5 | UCPD software trimming | 3234 |
| 63.6 | UCPD low-power modes | 3234 |
| 63.7 | UCPD interrupts | 3235 |
| 63.8 | UCPD registers | 3236 |
| 63.8.1 | UCPD configuration register 1 (UCPD_CFGR1) | 3236 |
| 63.8.2 | UCPD configuration register 2 (UCPD_CFGR2) | 3238 |
| 63.8.3 | UCPD configuration register 3 (UCPD_CFGR3) | 3238 |
| 63.8.4 | UCPD control register (UCPD_CR) | 3239 |
| 63.8.5 | UCPD interrupt mask register (UCPD_IMR) | 3241 |
| 63.8.6 | UCPD status register (UCPD_SR) | 3243 |
| 63.8.7 | UCPD interrupt clear register (UCPD_ICR) | 3246 |
| 63.8.8 | UCPD Tx ordered set type register (UCPD_TX_ORDSETR) | 3247 |
| 63.8.9 | UCPD Tx payload size register (UCPD_TX_PAYSZR) | 3247 |
| 63.8.10 | UCPD Tx data register (UCPD_TXDR) | 3248 |
| 63.8.11 | UCPD Rx ordered set register (UCPD_RX_ORDSETR) | 3248 |
| 63.8.12 | UCPD Rx payload size register (UCPD_RX_PAYSZR) | 3249 |
| 63.8.13 | UCPD receive data register (UCPD_RXDR) | 3250 |
| 63.8.14 | UCPD Rx ordered set extension register 1 (UCPD_RX_ORDEXTR1) | 3250 |
| 63.8.15 | UCPD Rx ordered set extension register 2 (UCPD_RX_ORDEXTR2) | 3251 |
| 63.8.16 | UCPD register map | 3251 |
| 64 | Ethernet (ETH): media access control (MAC) with DMA controller | 3254 |
| 64.1 | Ethernet introduction | 3254 |
| 64.2 | Ethernet main features | 3254 |
| 64.2.1 | Standard compliance | 3254 |
| 64.2.2 | MAC features | 3254 |
| 64.2.3 | Transaction layer (MTL) features | 3256 |
| 64.2.4 | DMA block features | 3257 |
| 64.2.5 | Bus interface features | 3257 |
| 64.3 | Ethernet pins and internal signals | 3258 |
| 64.4 | Ethernet architecture | 3259 |
| 64.4.1 | DMA controller | 3260 |
| 64.4.2 | MTL | 3269 |
| 64.4.3 | MAC | 3269 |
| 64.5 | Ethernet functional description: MAC | 3274 |
| 64.5.1 | Double VLAN processing | 3274 |
| 64.5.2 | Source address and VLAN insertion, replacement, or deletion | 3275 |
| 64.5.3 | Packet filtering | 3277 |
| 64.5.4 | IEEE 1588 timestamp support | 3284 |
| 64.5.5 | Checksum offload engine | 3308 |
| 64.5.6 | TCP segmentation offload | 3314 |
| 64.5.7 | IPv4 ARP offload | 3320 |
| 64.5.8 | Loopback | 3321 |
| 64.5.9 | Flow control | 3322 |
| 64.5.10 | MAC management counters | 3324 |
| 64.5.11 | Interrupts generated by the MAC | 3326 |
| 64.5.12 | MAC and MMC register descriptions | 3326 |
| 64.6 | Ethernet functional description: PHY interfaces | 3327 |
| 64.6.1 | Station management agent (SMA) | 3327 |
| 64.6.2 | Media independent interface (MII) | 3334 |
| 64.6.3 | Reduced media independent interface (RMII) | 3335 |
| 64.7 | Ethernet low-power modes | 3338 |
| 64.7.1 | Low-power management | 3338 |
| 64.7.2 | Energy-efficient Ethernet (EEE) | 3344 |
| 64.8 | Ethernet interrupts | 3350 |
| 64.8.1 | DMA interrupts | 3350 |
| 64.8.2 | MTL interrupts | 3352 |
| 64.8.3 | MAC interrupts | 3352 |
| 64.9 | Ethernet programming model | 3353 |
| 64.9.1 | DMA initialization | 3353 |
| 64.9.2 | MTL initialization | 3354 |
| 64.9.3 | MAC initialization | 3354 |
| 64.9.4 | Performing normal receive and transmit operation | 3355 |
| 64.9.5 | Stopping and starting transmission | 3356 |
| 64.9.6 | Programming guidelines for switching to new descriptor list in RxDMA | 3356 |
| 64.9.7 | Programming guidelines for switching the AHB clock frequency | 3356 |
| 64.9.8 | Programming guidelines for MII link state transitions | 3357 |
| 64.9.9 | Programming guidelines for IEEE 1588 timestamping | 3358 |
| 64.9.10 | Programming guidelines for PTP offload feature | 3359 |
| 64.9.11 | Programming guidelines for Energy Efficient Ethernet (EEE) | 3363 |
| 64.9.12 | Programming guidelines for flexible pulse-per-second (PPS) output | 3365 |
| 64.9.13 | Programming guidelines for IEEE 1588 auxiliary snapshot | 3367 |
| 64.9.14 | Programming guidelines for TSO | 3367 |
| 64.9.15 | Programming guidelines to perform VLAN filtering on the receiver | 3368 |
| 64.10 | Descriptors | 3369 |
| 64.10.1 | Descriptor overview | 3369 |
| 64.10.2 | Descriptor structure | 3369 |
| 64.10.3 | Transmit descriptor | 3373 |
| 64.10.4 | Receive descriptor | 3385 |
| 64.11 | Ethernet registers | 3397 |
| 64.11.1 | Ethernet register maps | 3397 |
| 64.11.2 | Ethernet DMA registers | 3397 |
| 64.11.3 | Ethernet MTL registers | 3418 |
| 64.11.4 | Ethernet MAC and MMC registers | 3428 |
| 65 | HDMI-CEC controller (CEC) | 3522 |
| 65.1 | HDMI-CEC introduction | 3522 |
| 65.2 | HDMI-CEC controller main features | 3522 |
| 65.3 | HDMI-CEC functional description | 3523 |
| 65.3.1 | HDMI-CEC pin and internal signals | 3523 |
| 65.3.2 | HDMI-CEC block diagram | 3524 |
| 65.3.3 | Message description | 3524 |
| 65.3.4 | Bit timing | 3525 |
| 65.4 | Arbitration | 3525 |
| 65.4.1 | SFT option bit | 3527 |
| 65.5 | Error handling | 3527 |
| 65.5.1 | Bit error | 3527 |
| 65.5.2 | Message error | 3528 |
| 65.5.3 | Bit rising error (BRE) | 3528 |
| 65.5.4 | Short bit period error (SBPE) | 3528 |
| 65.5.5 | Long bit period error (LBPE) | 3528 |
| 65.5.6 | Transmission error detection (TXERR) | 3530 |
| 65.6 | HDMI-CEC interrupts | 3531 |
| 65.7 | HDMI-CEC registers | 3532 |
| 65.7.1 | CEC control register (CEC_CR) | 3532 |
| 65.7.2 | CEC configuration register (CEC_CFGR) | 3533 |
| 65.7.3 | CEC Tx data register (CEC_TXDR) | 3535 |
| 65.7.4 | CEC Rx data register (CEC_RXDR) | 3535 |
| 65.7.5 | CEC interrupt and status register (CEC_ISR) | 3535 |
| 65.7.6 | CEC interrupt enable register (CEC_IER) | 3537 |
| 65.7.7 | HDMI-CEC register map | 3539 |
| 66 | Debug infrastructure | 3540 |
| 66.1 | Introduction | 3540 |
| 66.2 | Debug infrastructure features | 3541 |
| 66.3 | Debug infrastructure functional description | 3541 |
| 66.3.1 | Debug infrastructure block diagram | 3541 |
| 66.3.2 | Debug infrastructure powering, clocking and reset | 3542 |
| 66.3.3 | Security | 3543 |
| 66.3.4 | Debug authentication | 3545 |
| 66.4 | Serial-wire and JTAG debug port (SWJ-DP) | 3546 |
| 66.4.1 | Serial wire debug port | 3547 |
| 66.4.2 | JTAG debug port | 3549 |
| 66.4.3 | Debug port registers | 3552 |
| 66.4.4 | Debug port register map | 3561 |
| 66.5 | Access ports | 3562 |
| 66.5.1 | MEM-AP registers | 3563 |
| 66.5.2 | Access port register map | 3571 |
| 66.6 | Trace and debug subsystem functional description . . . . . | 3572 |
| 66.6.1 | System ROM tables . . . . . | 3572 |
| 66.6.2 | System ROM registers . . . . . | 3576 |
| 66.6.3 | System ROM register map and reset values . . . . . | 3580 |
| 66.6.4 | Cross trigger interfaces (CTI) and matrix (CTM) . . . . . | 3582 |
| 66.6.5 | CTI registers . . . . . | 3585 |
| 66.6.6 | CTI register map and reset values . . . . . | 3599 |
| 66.6.7 | Trace funnel (CSTF) . . . . . | 3601 |
| 66.6.8 | Trace funnel registers . . . . . | 3602 |
| 66.6.9 | Trace funnel register map and reset values . . . . . | 3611 |
| 66.6.10 | Embedded trace FIFO (ETF) . . . . . | 3613 |
| 66.6.11 | ETF registers . . . . . | 3615 |
| 66.6.12 | ETF register map and reset values . . . . . | 3632 |
| 66.6.13 | Trace port interface unit (TPIU) . . . . . | 3635 |
| 66.6.14 | TPIU registers . . . . . | 3636 |
| 66.6.15 | TPIU register map and reset values . . . . . | 3651 |
| 66.7 | Serial wire output (SWO) . . . . . | 3653 |
| 66.7.1 | SWO registers . . . . . | 3654 |
| 66.7.2 | SWO register map and reset values . . . . . | 3663 |
| 66.8 | Microcontroller debug unit (DBGMCU) . . . . . | 3665 |
| 66.8.1 | DBGMCU registers . . . . . | 3666 |
| 66.8.2 | DBGMCU register map and reset values . . . . . | 3680 |
| 66.9 | Cortex-M7 debug functional description . . . . . | 3683 |
| 66.9.1 | Cortex-M7 ROM tables . . . . . | 3683 |
| 66.9.2 | Cortex-M7 CPU ROM registers . . . . . | 3686 |
| 66.9.3 | Cortex-M7 CPU ROM table register map and reset values . . . . . | 3690 |
| 66.9.4 | Cortex-M7 PPB ROM registers . . . . . | 3691 |
| 66.9.5 | Cortex-M7 PPB ROM table register map and reset values . . . . . | 3695 |
| 66.9.6 | Cortex-M7 data watchpoint and trace unit (DWT) . . . . . | 3696 |
| 66.9.7 | Cortex-M7 DWT registers . . . . . | 3697 |
| 66.9.8 | Cortex-M7 DWT register map and reset values . . . . . | 3706 |
| 66.9.9 | Cortex-M7 instrumentation trace macrocell (ITM) . . . . . | 3708 |
| 66.9.10 | Cortex-M7 ITM registers . . . . . | 3709 |
| 66.9.11 | Cortex-M7 ITM register map and reset values . . . . . | 3715 |
| 66.9.12 | Cortex-M7 breakpoint unit (FPB) . . . . . | 3717 |
| 66.9.13 | Cortex-M7 FPB registers . . . . . | 3717 |
| 66.9.14 | Cortex-M7 FPB register map and reset values . . . . . | 3722 |
| Table 1. | Availability of security features ..... | 121 |
| Table 2. | Bus-master-to-bus-slave interconnect ..... | 123 |
| Table 3. | ASIB configuration ..... | 130 |
| Table 4. | AMIB configuration ..... | 130 |
| Table 5. | AXI interconnect register map and reset values ..... | 140 |
| Table 6. | Memory map and default device memory area attribute. .... | 152 |
| Table 7. | Register boundary addresses ..... | 154 |
| Table 8. | SRAMs structure ..... | 161 |
| Table 9. | SRAM1 / ITCM configurations ..... | 161 |
| Table 10. | SRAM3 / DTCM configurations ..... | 161 |
| Table 11. | SRAM4 / ECC configurations ..... | 162 |
| Table 12. | ITCM/AXI configuration ..... | 162 |
| Table 13. | DTCM/AXI configuration ..... | 162 |
| Table 14. | ECC/AXI configuration ..... | 162 |
| Table 15. | Boot modes ..... | 163 |
| Table 16. | RAMECC internal input/output signals ..... | 167 |
| Table 17. | ECC controller mapping ..... | 168 |
| Table 18. | Effect of low-power modes on RAMECC ..... | 169 |
| Table 19. | RAMECC interrupt requests ..... | 170 |
| Table 20. | RAMECC register map and reset values ..... | 177 |
| Table 21. | Internal tampers in TAMP ..... | 185 |
| Table 22. | Effect of low-power modes on TAMP ..... | 187 |
| Table 23. | Accelerated cryptographic operations ..... | 189 |
| Table 24. | Product life-cycle states ..... | 192 |
| Table 25. | Macros for RSS services ..... | 193 |
| Table 26. | RSS lib interface functions ..... | 194 |
| Table 27. | FLASH internal input/output signals ..... | 202 |
| Table 28. | Flash memory organization ..... | 205 |
| Table 29. | FLASH recommended read wait states and programming delays ..... | 211 |
| Table 30. | Flash memory OTP organization ..... | 219 |
| Table 31. | Read-only public data organization ..... | 221 |
| Table 32. | Option byte user words organization ..... | 226 |
| Table 33. | STM32H7Rx/7Sx device lifecycle table ..... | 230 |
| Table 34. | Flash interface register protection summary ..... | 232 |
| Table 35. | Flash security lifecycle definition ..... | 233 |
| Table 36. | Boot level and HDP area protections (non STiRoT case) ..... | 235 |
| Table 37. | Boot level and HDP area protections (STiRoT case) ..... | 235 |
| Table 38. | Effect of low-power modes on the embedded flash memory ..... | 237 |
| Table 39. | Flash interrupt request ..... | 244 |
| Table 40. | FLASH register map and reset values ..... | 275 |
| Table 41. | PWR input/output signals connected to package pins or balls ..... | 281 |
| Table 42. | PWR internal input/output signals ..... | 281 |
| Table 43. | table wake-up source selection ..... | 282 |
| Table 44. | Supply configuration control ..... | 286 |
| Table 45. | Operating mode summary ..... | 305 |
| Table 46. | Sleep mode ..... | 312 |
| Table 47. | Stop mode operation ..... | 313 |
| Table 48. | Stop mode ..... | 314 |
| Table 49. | Standby and Stop flags | 316 |
| Table 50. | Standby mode | 316 |
| Table 51. | Low-power modes monitoring pin overview | 317 |
| Table 52. | GPIO state according to CPU and domain state | 317 |
| Table 53. | Power control register map and reset values | 339 |
| Table 54. | RCC input/output signals connected to package pins or balls | 343 |
| Table 55. | RCC internal input/output signals | 343 |
| Table 56. | Reset coverage summary | 350 |
| Table 57. | Reset source identification (RCC_RSR) | 351 |
| Table 58. | Oscillator states versus system modes | 355 |
| Table 59. | Oscillator states versus system modes | 369 |
| Table 60. | VCO frequency and output frequency in integer mode | 373 |
| Table 61. | VCO frequency and output frequency in fractional mode | 374 |
| Table 62. | Clock protection summary | 379 |
| Table 63. | STOPWUCK and STOPKERWUCK description | 381 |
| Table 64. | HSIKERON and CSIKERON behavior | 381 |
| Table 65. | Peripheral clock distribution summary | 382 |
| Table 66. | SDMMC interface clock constraints | 399 |
| Table 67. | Ratio between clock timer and pclk | 407 |
| Table 68. | Peripheral clock enabling | 414 |
| Table 69. | RNG clock enabling | 415 |
| Table 70. | Interrupt sources and control | 418 |
| Table 71. | Clock configuration examples with PLLs in integer mode | 422 |
| Table 72. | Clock configuration examples with PLLs in fractional mode | 423 |
| Table 73. | RCC register map and reset values | 531 |
| Table 74. | SBS input/output pins | 541 |
| Table 75. | SBS internal input/output signals | 541 |
| Table 76. | SBS boot control | 543 |
| Table 77. | Analog switches recommended configuration | 544 |
| Table 78. | SBS register map and reset values | 559 |
| Table 79. | CRS features | 561 |
| Table 80. | CRS internal input/output signals | 562 |
| Table 81. | CRS interconnection | 563 |
| Table 82. | Effect of low-power modes on CRS | 566 |
| Table 83. | Interrupt control bits | 566 |
| Table 84. | CRS register map and reset values | 571 |
| Table 85. | Port bit configuration | 574 |
| Table 86. | GPIO register map and reset values | 590 |
| Table 87. | Peripheral interconnect matrix | 592 |
| Table 88. | GPDMA1 channel implementation | 603 |
| Table 89. | GPDMA1 wake-up in low-power modes | 604 |
| Table 90. | Programmed GPDMA1 request | 604 |
| Table 91. | Programmed GPDMA1 request as a block request | 607 |
| Table 92. | GPDMA1 channel with peripheral early termination | 607 |
| Table 93. | Programmed GPDMA1 request with peripheral early termination | 608 |
| Table 94. | Programmed GPDMA1 trigger | 608 |
| Table 95. | Programmed GPDMA source/destination burst | 629 |
| Table 96. | Programmed data handling | 634 |
| Table 97. | Effect of low-power modes on GPDMA | 646 |
| Table 98. | GPDMA interrupt requests | 647 |
| Table 99. | GPDMA register map and reset values | 673 |
| Table 100. | Implementation of HPDMA1 channels | 676 |
| Table 101. | HPDMA1 in low-power modes ..... | 677 |
| Table 102. | Programmed HPDMA1 request ..... | 677 |
| Table 103. | Programmed HPDMA1 request as a block request ..... | 678 |
| Table 104. | HPDMA1 channel with peripheral early termination ..... | 678 |
| Table 105. | Programmed HPDMA request with peripheral early termination ..... | 678 |
| Table 106. | Programmed HPDMA1 trigger ..... | 678 |
| Table 107. | Programmed HPDMA source/destination burst ..... | 700 |
| Table 108. | Programmed data handling ..... | 705 |
| Table 109. | Effect of low-power modes on HPDMA ..... | 726 |
| Table 110. | HPDMA interrupt requests ..... | 727 |
| Table 111. | HPDMA register map and reset values ..... | 755 |
| Table 112. | GFXMMU internal input/output signals ..... | 758 |
| Table 113. | GFXMMU interrupt requests ..... | 764 |
| Table 114. | GFXMMU register map and reset values ..... | 770 |
| Table 115. | DMA2D internal signals ..... | 774 |
| Table 116. | DMA2D trigger interconnections ..... | 774 |
| Table 117. | Supported color mode in input ..... | 775 |
| Table 118. | Data order in memory ..... | 776 |
| Table 119. | Alpha mode configuration ..... | 777 |
| Table 120. | Supported CLUT color mode ..... | 778 |
| Table 121. | CLUT data order in memory ..... | 778 |
| Table 122. | Supported color mode in output ..... | 779 |
| Table 123. | Data order in memory ..... | 780 |
| Table 124. | Standard data order in memory ..... | 780 |
| Table 125. | Output FIFO byte reordering steps ..... | 781 |
| Table 126. | MCU order in memory ..... | 786 |
| Table 127. | DMA2D interrupt requests ..... | 787 |
| Table 128. | DMA2D register map and reset values ..... | 805 |
| Table 129. | GPU2D internal input/output signals ..... | 808 |
| Table 130. | GPU2D trigger connections ..... | 809 |
| Table 131. | ICACHE features ..... | 811 |
| Table 132. | TAG memory dimensioning parameters for n-way set associative operating mode (default) ..... | 813 |
| Table 133. | TAG memory dimensioning parameters for direct-mapped cache mode ..... | 814 |
| Table 134. | ICACHE cacheability for AHB transaction ..... | 815 |
| Table 135. | ICACHE interrupts ..... | 818 |
| Table 136. | ICACHE register map and reset values ..... | 821 |
| Table 137. | GFXTIM input/output pins ..... | 824 |
| Table 138. | GFXTIM internal signals ..... | 824 |
| Table 139. | GFXTIM trigger interconnections ..... | 825 |
| Table 140. | Graphic timer interrupt requests ..... | 835 |
| Table 141. | GFXTIM register map and reset values ..... | 856 |
| Table 142. | NVIC ..... | 860 |
| Table 143. | EXTI event input configurations and register control ..... | 869 |
| Table 144. | EXTI event input mapping ..... | 872 |
| Table 145. | Masking functionality ..... | 874 |
| Table 146. | Extended interrupt and event controller register map and reset values ..... | 885 |
| Table 147. | CRC internal input/output signals ..... | 888 |
| Table 148. | CRC register map and reset values ..... | 893 |
| Table 149. | CORDIC functions ..... | 895 |
| Table 150. | Cosine parameters ..... | 895 |
| Table 151. | Sine parameters ..... | 896 |
| Table 152. | Phase parameters | 896 |
| Table 153. | Modulus parameters | 897 |
| Table 154. | Arctangent parameters | 898 |
| Table 155. | Hyperbolic cosine parameters | 898 |
| Table 156. | Hyperbolic sine parameters | 899 |
| Table 157. | Hyperbolic arctangent parameters | 899 |
| Table 158. | Natural logarithm parameters | 900 |
| Table 159. | Natural log scaling factors and corresponding ranges | 900 |
| Table 160. | Square root parameters | 901 |
| Table 161. | Square root scaling factors and corresponding ranges | 901 |
| Table 162. | Precision vs. number of iterations | 904 |
| Table 163. | CORDIC register map and reset value | 911 |
| Table 164. | FMC pins | 915 |
| Table 165. | FMC bank mapping options | 918 |
| Table 166. | NOR/PSRAM bank selection | 918 |
| Table 167. | NOR/PSRAM External memory address | 918 |
| Table 168. | NAND memory mapping and timing registers | 919 |
| Table 169. | NAND bank selection | 919 |
| Table 170. | SDRAM bank selection | 919 |
| Table 171. | SDRAM address mapping | 920 |
| Table 172. | SDRAM address mapping with 8-bit data bus width | 920 |
| Table 173. | SDRAM address mapping with 16-bit data bus width | 921 |
| Table 174. | SDRAM address mapping with 32-bit data bus width | 922 |
| Table 175. | Programmable NOR/PSRAM access parameters | 924 |
| Table 176. | Non-multiplexed I/O NOR flash memory | 924 |
| Table 177. | 16-bit multiplexed I/O NOR flash memory | 925 |
| Table 178. | Non-multiplexed I/Os PSRAM/SRAM | 925 |
| Table 179. | 16-Bit multiplexed I/O PSRAM | 925 |
| Table 180. | NOR flash/PSRAM: Example of supported memories and transactions | 926 |
| Table 181. | FMC_BCRx bitfields (mode 1) | 929 |
| Table 182. | FMC_BTRx bitfields (mode 1) | 930 |
| Table 183. | FMC_BCRx bitfields (mode A) | 932 |
| Table 184. | FMC_BTRx bitfields (mode A) | 933 |
| Table 185. | FMC_BWTRx bitfields (mode A) | 933 |
| Table 186. | FMC_BCRx bitfields (mode 2/B) | 935 |
| Table 187. | FMC_BTRx bitfields (mode 2/B) | 936 |
| Table 188. | FMC_BWTRx bitfields (mode 2/B) | 936 |
| Table 189. | FMC_BCRx bitfields (mode C) | 938 |
| Table 190. | FMC_BTRx bitfields (mode C) | 939 |
| Table 191. | FMC_BWTRx bitfields (mode C) | 939 |
| Table 192. | FMC_BCRx bitfields (mode D) | 941 |
| Table 193. | FMC_BTRx bitfields (mode D) | 941 |
| Table 194. | FMC_BWTRx bitfields (mode D) | 942 |
| Table 195. | FMC_BCRx bitfields (Muxed mode) | 944 |
| Table 196. | FMC_BTRx bitfields (Muxed mode) | 944 |
| Table 197. | FMC_BCRx bitfields (Synchronous multiplexed read mode) | 950 |
| Table 198. | FMC_BTRx bitfields (Synchronous multiplexed read mode) | 950 |
| Table 199. | FMC_BCRx bitfields (Synchronous multiplexed write mode) | 951 |
| Table 200. | FMC_BTRx bitfields (Synchronous multiplexed write mode) | 952 |
| Table 201. | Programmable NAND flash access parameters | 962 |
| Table 202. | 8-bit NAND flash memory | 962 |
| Table 203. | 16-bit NAND flash memory | 963 |
| Table 204. | Supported memories and transactions | 963 |
| Table 205. | ECC result relevant bits | 973 |
| Table 206. | SDRAM signals | 974 |
| Table 207. | FMC register map | 991 |
| Table 208. | XSPI implementation | 995 |
| Table 209. | XSPI input/output pins | 1000 |
| Table 210. | XSPI internal signals | 1000 |
| Table 211. | Command/address phase description | 1011 |
| Table 212. | OctaRAM command address bit assignment (based on 64 Mb OctaRAM) | 1023 |
| Table 213. | Address alignment cases | 1031 |
| Table 214. | XSPI interrupt requests | 1033 |
| Table 215. | XSPI register map and reset values | 1058 |
| Table 216. | XSPIM implementation | 1062 |
| Table 217. | XSPIM input/output pins | 1063 |
| Table 218. | Use cases | 1064 |
| Table 219. | XSPIM register map and reset values | 1072 |
| Table 220. | DLYB internal input/output signals | 1074 |
| Table 221. | DLYB interconnection | 1074 |
| Table 222. | Delay block control | 1074 |
| Table 223. | DLYB register map and reset values | 1077 |
| Table 224. | ADC features | 1080 |
| Table 225. | Memory location of the temperature sensor calibration values | 1080 |
| Table 226. | Memory location of the internal reference voltage sensor calibration value | 1080 |
| Table 227. | ADC input/output pins | 1082 |
| Table 228. | ADC internal input/output signals | 1082 |
| Table 229. | ADC interconnection | 1082 |
| Table 230. | Configuring the trigger polarity for regular external triggers | 1102 |
| Table 231. | Configuring the trigger polarity for injected external triggers | 1103 |
| Table 232. | TSAR timings depending on resolution | 1115 |
| Table 233. | Offset computation versus data resolution | 1118 |
| Table 234. | Analog watchdog channel selection | 1130 |
| Table 235. | Analog watchdog 1 comparison | 1131 |
| Table 236. | Analog watchdog 2 and 3 comparison | 1131 |
| Table 237. | Maximum output results versus N and M (gray cells indicate truncation) | 1135 |
| Table 238. | Oversampler operating modes summary | 1140 |
| Table 239. | Effect of low-power modes on the ADC | 1159 |
| Table 240. | ADC interrupts | 1160 |
| Table 241. | DELAY bits versus ADC resolution | 1195 |
| Table 242. | ADC global register map | 1197 |
| Table 243. | ADC register map and reset values for each ADC (offset = 0x000 for master ADC, 0x100 for slave ADC) | 1197 |
| Table 244. | ADC register map and reset values (master and slave ADC common registers) | 1199 |
| Table 245. | DTS internal input/output signals | 1202 |
| Table 246. | Sampling time configuration | 1205 |
| Table 247. | Trigger configuration | 1206 |
| Table 248. | Temperature sensor behavior in low-power modes | 1208 |
| Table 249. | Interrupt control bits | 1209 |
| Table 250. | DTS register map and reset values | 1217 |
| Table 251. | VREFBUF typical values | 1219 |
| Table 252. | VREF buffer modes | 1220 |
| Table 253. | VREFBUF register map and reset values | 1223 |
| Table 254. | ADF features | 1225 |
| Table 255. | ADF external pins | 1226 |
| Table 256. | ADF internal signals | 1226 |
| Table 257. | ADF trigger connections | 1227 |
| Table 258. | Control of the common clock generation | 1233 |
| Table 259. | Clock constraints with respect to the incoming stream | 1234 |
| Table 260. | Data size according to CIC order and CIC decimation values | 1239 |
| Table 261. | Possible gain values | 1240 |
| Table 262. | Recommended maximum gain values versus CIC decimation ratios | 1242 |
| Table 263. | Most common microphone settings | 1243 |
| Table 264. | HPF 3 dB cut-off frequency examples | 1245 |
| Table 265. | ANSLP values versus FRSIZE and sampling rates | 1258 |
| Table 266. | Threshold values according SNTHR | 1259 |
| Table 267. | Register protection summary | 1265 |
| Table 268. | Effect of low-power modes on ADF | 1266 |
| Table 269. | ADF interrupt requests | 1267 |
| Table 270. | Examples of ADF settings for microphone capture | 1268 |
| Table 271. | Programming sequence (CIC4) | 1269 |
| Table 272. | Programming sequence (CIC5) | 1270 |
| Table 273. | Output signal levels | 1275 |
| Table 274. | ADF register map and reset values | 1295 |
| Table 275. | Available pipeline | 1298 |
| Table 276. | Glossary | 1299 |
| Table 277. | DCMIPP input/output pads | 1301 |
| Table 278. | DCMIPP input/output pins | 1302 |
| Table 279. | DCMIPP clocks | 1302 |
| Table 280. | DCMIPP resets | 1302 |
| Table 281. | Parallel interface maximum resolution (80 MHz) | 1303 |
| Table 282. | Supported pixel formats | 1304 |
| Table 283. | DCMIPP_CMCR bit function | 1305 |
| Table 284. | DCMIPP_PRCR bit function | 1308 |
| Table 285. | DCMIPP_PRESCR and DCMIPP PRESUR bit function | 1309 |
| Table 286. | DCMIPP_PxFCTCR bit function | 1311 |
| Table 287. | DCMIPP_P0PPCR bit function | 1315 |
| Table 288. | DCMIPP_P0DCCNTR and DCMIPP_P0DCLMTR bit function | 1317 |
| Table 289. | DCMIPP_PxPPCR bit function | 1318 |
| Table 290. | Parallel interface input pixel formats | 1319 |
| Table 291. | Correspondence between index and DCMIPP_PRCR register values | 1320 |
| Table 292. | Parallel interface input pixel formats | 1321 |
| Table 293. | Dump pipe OUTPUT pixel formats | 1321 |
| Table 294. | Shadow and physical registers | 1324 |
| Table 295. | DCMIPP low power modes | 1325 |
| Table 296. | DCMIPP interrupts | 1328 |
| Table 297. | Event connection | 1328 |
| Table 298. | DCMIPP registers organization | 1329 |
| Table 299. | DCMIPP register map and reset values | 1356 |
| Table 300. | PSSI input/output pins | 1360 |
| Table 301. | PSSI internal input/output signals | 1361 |
| Table 302. | Positioning of captured data bytes in 32-bit words (8-bit width) | 1362 |
| Table 303. | Positioning of captured data bytes in 32-bit words (16-bit width) | 1363 |
| Table 304. | PSSI interrupt requests | 1366 |
| Table 305. | PSSI register map and reset values | 1372 |
| Table 306. | LTDC external pins . . . . . | 1374 |
| Table 307. | LTDC internal signals . . . . . | 1375 |
| Table 308. | LTDC trigger interconnection . . . . . | 1375 |
| Table 309. | Clock domain for each register . . . . . | 1375 |
| Table 310. | LTDC register access and update durations . . . . . | 1376 |
| Table 311. | Pixel data mapping versus color format . . . . . | 1380 |
| Table 312. | LTDC interrupt requests . . . . . | 1384 |
| Table 313. | LTDC register map and reset values . . . . . | 1401 |
| Table 314. | JPEG internal signals . . . . . | 1405 |
| Table 315. | JPEG trigger connections . . . . . | 1406 |
| Table 316. | JPEG codec interrupt requests . . . . . | 1411 |
| Table 317. | JPEG codec register map and reset values . . . . . | 1424 |
| Table 318. | RNG internal input/output signals . . . . . | 1427 |
| Table 319. | RNG interrupt requests . . . . . | 1435 |
| Table 320. | RNG initialization times . . . . . | 1436 |
| Table 321. | RNG configurations . . . . . | 1436 |
| Table 322. | Configuration selection . . . . . | 1437 |
| Table 323. | RNG register map and reset map . . . . . | 1442 |
| Table 324. | CRYP versus SAES features . . . . . | 1444 |
| Table 325. | SAES internal input/output signals . . . . . | 1445 |
| Table 326. | SAES approved symmetric key functions . . . . . | 1446 |
| Table 327. | Counter mode initialization vector definition . . . . . | 1456 |
| Table 328. | Initialization of IV registers in GCM mode . . . . . | 1459 |
| Table 329. | GCM last block definition . . . . . | 1459 |
| Table 330. | Initialization of IV registers in CCM mode . . . . . | 1465 |
| Table 331. | AES data swapping example . . . . . | 1474 |
| Table 332. | Key endianness in SAES_KEYRx registers (128/256-bit keys) . . . . . | 1476 |
| Table 333. | IVI bitfield spread over SAES_IVRx registers . . . . . | 1477 |
| Table 334. | SAES interrupt requests . . . . . | 1479 |
| Table 335. | Processing latency for ECB, CBC and CTR . . . . . | 1480 |
| Table 336. | Processing latency for GCM and CCM (in SAES kernel clock cycles) . . . . . | 1481 |
| Table 337. | SAES register map and reset values . . . . . | 1494 |
| Table 338. | CRYP versus SAES features . . . . . | 1498 |
| Table 339. | CRYP internal input/output signals . . . . . | 1500 |
| Table 340. | CRYP approved AES symmetric key functions . . . . . | 1500 |
| Table 341. | Counter mode initialization vector definition . . . . . | 1511 |
| Table 342. | GCM mode IVI registers initialization . . . . . | 1514 |
| Table 343. | GCM last block definition . . . . . | 1514 |
| Table 344. | CCM mode IVI registers initialization . . . . . | 1521 |
| Table 345. | AES data swapping example . . . . . | 1526 |
| Table 346. | Key endianness in CRYP_KxR/LR registers (128/192/256-bit keys) . . . . . | 1528 |
| Table 347. | Initialization vector endianness in CRYP_IVxR registers (AES) . . . . . | 1528 |
| Table 348. | CRYP interrupt requests . . . . . | 1530 |
| Table 349. | Processing latency for ECB, CBC and CTR . . . . . | 1531 |
| Table 350. | Processing latency for GCM and CCM (in clock cycles) . . . . . | 1532 |
| Table 351. | CRYP register map and reset values . . . . . | 1545 |
| Table 352. | HASH internal input/output signals . . . . . | 1548 |
| Table 353. | Information on supported hash algorithms . . . . . | 1549 |
| Table 354. | Hash processor outputs . . . . . | 1552 |
| Table 355. | Processing time (in clock cycle) . . . . . | 1558 |
| Table 356. | HASH interrupt requests . . . . . | 1559 |
| Table 357. | HASH1 register map and reset values . . . . . | 1567 |
| Table 358. | MCE implementation | 1570 |
| Table 359. | MCE internal input/output signals | 1571 |
| Table 360. | MCE block cipher latencies | 1575 |
| Table 361. | MCE stream cipher latencies | 1576 |
| Table 362. | MCE interrupt requests | 1577 |
| Table 363. | MCE register map and reset values | 1591 |
| Table 364. | Internal input/output signals | 1594 |
| Table 365. | PKA integer arithmetic functions list | 1595 |
| Table 366. | PKA prime field (Fp) elliptic curve functions list | 1596 |
| Table 367. | Example of 'a' curve coefficient for ECC Fp scalar | 1602 |
| Table 368. | Montgomery parameter computation | 1602 |
| Table 369. | Modular addition | 1603 |
| Table 370. | Modular subtraction | 1603 |
| Table 371. | Montgomery multiplication | 1604 |
| Table 372. | Modular exponentiation (normal mode) | 1605 |
| Table 373. | Modular exponentiation (fast mode) | 1605 |
| Table 374. | Modular exponentiation (protected mode) | 1606 |
| Table 375. | Modular inversion | 1606 |
| Table 376. | Modular reduction | 1607 |
| Table 377. | Arithmetic addition | 1607 |
| Table 378. | Arithmetic subtraction | 1607 |
| Table 379. | Arithmetic multiplication | 1608 |
| Table 380. | Arithmetic comparison | 1608 |
| Table 381. | CRT exponentiation | 1609 |
| Table 382. | Point on elliptic curve Fp check | 1610 |
| Table 383. | ECC Fp scalar multiplication | 1610 |
| Table 384. | ECDSA sign - Inputs | 1612 |
| Table 385. | ECDSA sign - Outputs | 1612 |
| Table 386. | Extended ECDSA sign - additional outputs | 1613 |
| Table 387. | ECDSA verification - inputs | 1613 |
| Table 388. | ECDSA verification - outputs | 1614 |
| Table 389. | ECC complete addition | 1614 |
| Table 390. | ECC double base ladder | 1615 |
| Table 391. | ECC projective to affine | 1616 |
| Table 392. | Family of supported curves for ECC operations | 1617 |
| Table 393. | Modular exponentiation | 1618 |
| Table 394. | ECC scalar multiplication | 1618 |
| Table 395. | ECDSA signature average computation time | 1619 |
| Table 396. | ECDSA verification average computation times | 1619 |
| Table 397. | ECC double base ladder average computation times | 1619 |
| Table 398. | ECC projective to affine average computation times | 1619 |
| Table 399. | ECC complete addition average computation times | 1619 |
| Table 400. | Point on elliptic curve Fp check average computation times | 1619 |
| Table 401. | Montgomery parameters average computation times | 1620 |
| Table 402. | PKA interrupt requests | 1620 |
| Table 403. | PKA register map and reset values | 1625 |
| Table 404. | TIM input/output pins | 1629 |
| Table 405. | TIM internal input/output signals | 1629 |
| Table 406. | Interconnect to the tim_ti1 input multiplexer | 1630 |
| Table 407. | Interconnect to the tim_ti2 input multiplexer | 1630 |
| Table 408. | Interconnect to the tim_ti3 input multiplexer | 1631 |
| Table 409. | Interconnect to the tim_ti4 input multiplexer | 1631 |
| Table 410. | Internal trigger connection . . . . . | 1631 |
| Table 411. | Interconnect to the tim_etr input multiplexer . . . . . | 1631 |
| Table 412. | Timer break interconnect . . . . . | 1632 |
| Table 413. | Timer break2 interconnect . . . . . | 1632 |
| Table 414. | System break interconnect . . . . . | 1632 |
| Table 415. | CCR and ARR register change dithering pattern . . . . . | 1665 |
| Table 416. | CCR register change dithering pattern in center-aligned PWM mode . . . . . | 1666 |
| Table 417. | Behavior of timer outputs versus tim_brk/tim_brk2 inputs . . . . . | 1678 |
| Table 418. | Break protection disarming conditions . . . . . | 1680 |
| Table 419. | Counting direction versus encoder signals (CC1P = CC2P = 0) . . . . . | 1688 |
| Table 420. | Counting direction versus encoder signals and polarity settings . . . . . | 1692 |
| Table 421. | DMA request . . . . . | 1713 |
| Table 422. | Effect of low-power modes on TIM1 . . . . . | 1714 |
| Table 423. | Interrupt requests . . . . . | 1714 |
| Table 424. | Output control bits for complementary tim_ocx and tim_ocxn channels with break feature . . . . . | 1741 |
| Table 425. | TIM1 register map and reset values . . . . . | 1764 |
| Table 426. | STM32H7Rx/7Sx general purpose timers . . . . . | 1768 |
| Table 427. | TIM input/output pins . . . . . | 1770 |
| Table 428. | TIM internal input/output signals . . . . . | 1770 |
| Table 429. | Interconnect to the tim_ti1 input multiplexer . . . . . | 1771 |
| Table 430. | Interconnect to the tim_ti2 input multiplexer . . . . . | 1771 |
| Table 431. | Interconnect to the tim_ti3 input multiplexer . . . . . | 1771 |
| Table 432. | Interconnect to the tim_ti4 input multiplexer . . . . . | 1772 |
| Table 433. | TIMx internal trigger connection . . . . . | 1772 |
| Table 434. | Interconnect to the tim_etr input multiplexer . . . . . | 1772 |
| Table 435. | CCR and ARR register change dithering pattern . . . . . | 1804 |
| Table 436. | CCR register change dithering pattern in center-aligned PWM mode . . . . . | 1805 |
| Table 437. | Counting direction versus encoder signals(CC1P = CC2P = 0) . . . . . | 1814 |
| Table 438. | Counting direction versus encoder signals and polarity settings . . . . . | 1819 |
| Table 439. | DMA request . . . . . | 1843 |
| Table 440. | Effect of low-power modes on TIM2/TIM3/TIM4/TIM5 . . . . . | 1843 |
| Table 441. | Interrupt requests . . . . . | 1844 |
| Table 442. | Output control bit for standard tim_ocx channels . . . . . | 1865 |
| Table 443. | TIM2/TIM3/TIM4/TIM5 register map and reset values . . . . . | 1877 |
| Table 444. | TIM internal input/output signals . . . . . | 1881 |
| Table 445. | TIMx_ARR register change dithering pattern . . . . . | 1890 |
| Table 446. | DMA request . . . . . | 1891 |
| Table 447. | Effect of low-power modes on TIM6/TIM7 . . . . . | 1891 |
| Table 448. | Interrupt request . . . . . | 1891 |
| Table 449. | TIMx register map and reset values . . . . . | 1897 |
| Table 450. | TIM input/output pins . . . . . | 1901 |
| Table 451. | TIM internal input/output signals . . . . . | 1901 |
| Table 452. | Interconnect to the tim_ti1 input multiplexer . . . . . | 1902 |
| Table 453. | Interconnect to the tim_ti2 input multiplexer . . . . . | 1902 |
| Table 454. | TIMx internal trigger connection . . . . . | 1902 |
| Table 455. | CCR and ARR register change dithering pattern . . . . . | 1920 |
| Table 456. | Effect of low-power modes on TIM9/TIM12/TIM13/TIM14 . . . . . | 1929 |
| Table 457. | Interrupt requests . . . . . | 1929 |
| Table 458. | Output control bit for standard tim_ocx channels . . . . . | 1941 |
| Table 459. | TIMx register map and reset values (x = 9, 12) . . . . . | 1945 |
| Table 460. | Output control bit for standard tim_ocx channels . . . . . | 1954 |
| Table 461. | TIM13/TIM14 register map and reset values | 1957 |
| Table 462. | TIM input/output pins | 1962 |
| Table 463. | TIM internal input/output signals | 1963 |
| Table 464. | Interconnect to the tim_ti1 input multiplexer | 1963 |
| Table 465. | Interconnect to the tim_ti2 input multiplexer | 1964 |
| Table 466. | TIMx internal trigger connection | 1964 |
| Table 467. | Timer break interconnect | 1965 |
| Table 468. | System break interconnect | 1965 |
| Table 469. | CCR and ARR register change dithering pattern | 1985 |
| Table 470. | Break protection disarming conditions | 1994 |
| Table 471. | DMA request | 2005 |
| Table 472. | Effect of low-power modes on TIM15/TIM16/TIM17 | 2006 |
| Table 473. | Interrupt requests | 2006 |
| Table 474. | Output control bits for complementary tim_ocx and tim_ocxn channels with break feature (TIM15) | 2022 |
| Table 475. | TIM15 register map and reset values | 2035 |
| Table 476. | Output control bits for complementary tim_oc1 and tim_oc1n channels with break feature (TIM16/TIM17) | 2048 |
| Table 477. | TIM16/TIM17 register map and reset values | 2062 |
| Table 478. | STM32H7Rx/7Sx LPTIM features | 2065 |
| Table 479. | LPTIM1/2/3 input/output pins | 2067 |
| Table 480. | LPTIM4/5 input/output pins | 2067 |
| Table 481. | LPTIM1/2/3 internal signals | 2068 |
| Table 482. | LPTIM4/5 internal signals | 2068 |
| Table 483. | LPTIM1/2/3/4/5 external trigger connections | 2069 |
| Table 484. | LPTIM1/2/3 input 1 connections | 2069 |
| Table 485. | LPTIM1/2/3 input 2 connections | 2069 |
| Table 486. | LPTIM1/2/3 input capture 1 connections | 2069 |
| Table 487. | LPTIM1 input capture 2 connections | 2070 |
| Table 488. | LPTIM2 input capture 2 connections | 2070 |
| Table 489. | LPTIM3 input capture 2 connections | 2070 |
| Table 490. | Prescaler division ratios | 2072 |
| Table 491. | Encoder counting scenarios | 2079 |
| Table 492. | Input capture Glitch filter latency (in counter step unit) | 2083 |
| Table 493. | Interrupt events | 2088 |
| Table 494. | LPTIM register map and reset values | 2112 |
| Table 495. | WWDG features | 2115 |
| Table 496. | WWDG internal input/output signals | 2116 |
| Table 497. | WWDG register map and reset values | 2121 |
| Table 498. | IWDG features | 2122 |
| Table 499. | IWDG delays versus actions | 2123 |
| Table 500. | IWDG internal input/output signals | 2124 |
| Table 501. | Effect of low power modes on IWDG | 2129 |
| Table 502. | IWDG interrupt request | 2131 |
| Table 503. | IWDG register map and reset values | 2136 |
| Table 504. | RTC input/output pins | 2139 |
| Table 505. | RTC internal input/output signals | 2139 |
| Table 506. | RTC interconnection | 2140 |
| Table 507. | RTC pin PC13 configuration | 2140 |
| Table 508. | RTC_OUT mapping | 2143 |
| Table 509. | Effect of low-power modes on RTC | 2157 |
| Table 510. | RTC pins functionality over modes | 2157 |
| Table 511. | Interrupt requests . . . . . | 2158 |
| Table 512. | RTC register map and reset values . . . . . | 2184 |
| Table 513. | TAMP input/output pins . . . . . | 2188 |
| Table 514. | TAMP internal input/output signals . . . . . | 2188 |
| Table 515. | TAMP interconnection . . . . . | 2189 |
| Table 516. | Device resource x tamper protection . . . . . | 2194 |
| Table 517. | Active tamper output change period . . . . . | 2197 |
| Table 518. | Minimum ATPER value. . . . . | 2198 |
| Table 519. | Active tamper filtered pulse duration . . . . . | 2199 |
| Table 520. | Effect of low-power modes on TAMP . . . . . | 2200 |
| Table 521. | TAMP pins functionality over modes . . . . . | 2201 |
| Table 522. | Interrupt requests . . . . . | 2201 |
| Table 523. | TAMP register map and reset values . . . . . | 2227 |
| Table 524. | I2C implementation. . . . . | 2230 |
| Table 525. | I2C input/output pins. . . . . | 2231 |
| Table 526. | I2C internal input/output signals . . . . . | 2232 |
| Table 527. | Comparison of analog and digital filters . . . . . | 2234 |
| Table 528. | I2C-bus and SMBus specification data setup and hold times . . . . . | 2236 |
| Table 529. | I2C configuration. . . . . | 2240 |
| Table 530. | I2C-bus and SMBus specification clock timings . . . . . | 2251 |
| Table 531. | Timing settings for fI2CCLK of 8 MHz. . . . . | 2261 |
| Table 532. | Timing settings for fI2CCLK of 16 MHz. . . . . | 2261 |
| Table 533. | SMBus timeout specifications. . . . . | 2263 |
| Table 534. | SMBus with PEC configuration. . . . . | 2265 |
| Table 535. | TIMEOUTA[11:0] for maximum tTIMEOUT of 25 ms. . . . . | 2266 |
| Table 536. | TIMEOUTB[11:0] for maximum tLOW:SEXT and tLOW:MEXT of 8 ms . . . . . | 2266 |
| Table 537. | TIMEOUTA[11:0] for maximum tIDLE of 50 µs . . . . . | 2266 |
| Table 538. | Effect of low-power modes to I2C. . . . . | 2276 |
| Table 539. | I2C interrupt requests . . . . . | 2276 |
| Table 540. | I2C register map and reset values . . . . . | 2292 |
| Table 541. | I3C instantiation . . . . . | 2295 |
| Table 542. | I3C wake-up . . . . . | 2295 |
| Table 543. | I3C FIFOs implementation . . . . . | 2295 |
| Table 544. | I3C interrupt(s) . . . . . | 2295 |
| Table 545. | I3C peripheral controller/target features versus MIPI v1.1 . . . . . | 2296 |
| Table 546. | I3C input/output pins. . . . . | 2297 |
| Table 547. | I3C internal input/output signals . . . . . | 2297 |
| Table 548. | I3C register usage . . . . . | 2309 |
| Table 549. | I3C registers/fields usage versus controller state. . . . . | 2310 |
| Table 550. | I3C registers/fields usage versus target state. . . . . | 2313 |
| Table 551. | List of supported I3C CCCs, as controller/target . . . . . | 2316 |
| Table 552. | I3C controller error management . . . . . | 2347 |
| Table 553. | I3C target error management . . . . . | 2349 |
| Table 554. | Effect of low-power modes . . . . . | 2353 |
| Table 555. | I3C interrupt requests . . . . . | 2354 |
| Table 556. | I3C register map and reset values . . . . . | 2399 |
| Table 557. | Instance implementation on STM32H7Rx/7Sx. . . . . | 2403 |
| Table 558. | USART/LPUART features . . . . . | 2404 |
| Table 559. | USART/UART input/output pins . . . . . | 2406 |
| Table 560. | USART internal input/output signals. . . . . | 2407 |
| Table 561. | Noise detection from sampled data . . . . . | 2419 |
| Table 562. | Tolerance of the USART receiver when BRR [3:0] = 0000. . . . . | 2423 |
| Table 563. | Tolerance of the USART receiver when BRR[3:0] is different from 0000 . . . . . | 2423 |
| Table 564. | USART frame formats . . . . . | 2428 |
| Table 565. | Effect of low-power modes on the USART . . . . . | 2451 |
| Table 566. | USART interrupt requests. . . . . | 2452 |
| Table 567. | USART register map and reset values . . . . . | 2490 |
| Table 568. | Instance implementation on STM32H7Rx/7Sx . . . . . | 2493 |
| Table 569. | USART/LPUART features . . . . . | 2493 |
| Table 570. | LPUART input/output pins . . . . . | 2496 |
| Table 571. | LPUART internal input/output signals. . . . . | 2496 |
| Table 572. | Error calculation for programmed baud rates at lpuart_ker_ck_pres= 32.768 kHz . . . . . | 2507 |
| Table 573. | Tolerance of the LPUART receiver. . . . . | 2508 |
| Table 575. | Effect of low-power modes on the LPUART . . . . . | 2520 |
| Table 576. | LPUART interrupt requests. . . . . | 2521 |
| Table 577. | LPUART register map and reset values . . . . . | 2547 |
| Table 578. | SPI features . . . . . | 2550 |
| Table 579. | SPI/I2S input/output pins . . . . . | 2553 |
| Table 580. | SPI internal input/output signals . . . . . | 2553 |
| Table 581. | Effect of low-power modes on the SPI . . . . . | 2580 |
| Table 582. | SPI wake-up and interrupt requests . . . . . | 2581 |
| Table 583. | Bitfields usable in PCM/I2S mode . . . . . | 2583 |
| Table 584. | WS and CK level before SPI/I2S is enabled when AFCNTR = 1 . . . . . | 2592 |
| Table 585. | Serial data line swapping . . . . . | 2592 |
| Table 586. | CLKGEN programming examples for usual I2S frequencies . . . . . | 2596 |
| Table 587. | I2S interrupt requests . . . . . | 2605 |
| Table 588. | SPI register map and reset values . . . . . | 2623 |
| Table 589. | STM32H7Rx/7Sx SAI features . . . . . | 2626 |
| Table 590. | SAI internal input/output signals . . . . . | 2628 |
| Table 591. | SAI input/output pins. . . . . | 2628 |
| Table 592. | External synchronization selection . . . . . | 2631 |
| Table 593. | MCLK_x activation conditions. . . . . | 2636 |
| Table 594. | Clock generator programming examples . . . . . | 2639 |
| Table 595. | SAI_A configuration for TDM mode . . . . . | 2646 |
| Table 596. | TDM frame configuration examples . . . . . | 2648 |
| Table 597. | SOPD pattern . . . . . | 2652 |
| Table 598. | Parity bit calculation . . . . . | 2652 |
| Table 599. | Audio sampling frequency versus symbol rates . . . . . | 2653 |
| Table 600. | SAI interrupt sources . . . . . | 2662 |
| Table 601. | SAI register map and reset values . . . . . | 2691 |
| Table 602. | SPDIFRX internal input/output signals . . . . . | 2694 |
| Table 603. | SPDIFRX pins. . . . . | 2694 |
| Table 604. | Transition sequence for preamble . . . . . | 2700 |
| Table 605. | Minimum spdifrx_ker_ck frequency versus audio sampling rate . . . . . | 2710 |
| Table 606. | Conditions of spdifrx_symb_ck generation. . . . . | 2711 |
| Table 607. | Bit field property versus SPDIFRX state. . . . . | 2714 |
| Table 608. | SPDIFRX interface register map and reset values . . . . . | 2726 |
| Table 609. | MDIOS input/output signals connected to package pins or balls . . . . . | 2728 |
| Table 610. | MDIOS internal input/output signals . . . . . | 2728 |
| Table 611. | Interrupt control bits . . . . . | 2733 |
| Table 612. | MDIOS register map and reset values . . . . . | 2738 |
| Table 613. | SDMMC features . . . . . | 2740 |
| Table 614. | SDMMC operation modes SD and SDIO . . . . . | 2743 |
| Table 615. | SDMMC operation modes eMMC . . . . . | 2743 |
| Table 616. | SDMMC internal input/output signals . . . . . | 2744 |
| Table 617. | SDMMC pins . . . . . | 2745 |
| Table 618. | SDMMC Command and data phase selection . . . . . | 2746 |
| Table 619. | Command token format . . . . . | 2752 |
| Table 620. | Short response with CRC token format . . . . . | 2753 |
| Table 621. | Short response without CRC token format . . . . . | 2753 |
| Table 622. | Long response with CRC token format . . . . . | 2753 |
| Table 623. | Specific Commands overview . . . . . | 2754 |
| Table 624. | Command path status flags . . . . . | 2755 |
| Table 625. | Command path error handling . . . . . | 2755 |
| Table 626. | Data token format . . . . . | 2763 |
| Table 627. | Data path status flags and clear bits . . . . . | 2763 |
| Table 628. | Data path error handling . . . . . | 2765 |
| Table 629. | Data FIFO access . . . . . | 2766 |
| Table 630. | Transmit FIFO status flags . . . . . | 2767 |
| Table 631. | Receive FIFO status flags . . . . . | 2768 |
| Table 632. | AHB and SDMMC_CK clock frequency relation . . . . . | 2773 |
| Table 633. | SDIO special operation control . . . . . | 2773 |
| Table 634. | 4-bit mode Start, interrupt, and CRC-status Signaling detection . . . . . | 2777 |
| Table 635. | CMD12 use cases . . . . . | 2782 |
| Table 636. | SDMMC interrupts . . . . . | 2796 |
| Table 637. | Response type and SDMMC_RESPxR registers . . . . . | 2803 |
| Table 638. | SDMMC register map . . . . . | 2819 |
| Table 639. | CAN subsystem I/O signals . . . . . | 2826 |
| Table 640. | CAN subsystem I/O pins . . . . . | 2826 |
| Table 641. | DLC coding in FDCAN . . . . . | 2830 |
| Table 642. | Possible configurations for frame transmission . . . . . | 2844 |
| Table 643. | Rx FIFO element . . . . . | 2847 |
| Table 644. | Rx FIFO element description . . . . . | 2847 |
| Table 645. | Tx buffer and FIFO element . . . . . | 2849 |
| Table 646. | Tx buffer element description . . . . . | 2849 |
| Table 647. | Tx event FIFO element . . . . . | 2851 |
| Table 648. | Tx event FIFO element description . . . . . | 2851 |
| Table 649. | Standard message ID filter element . . . . . | 2852 |
| Table 650. | Standard message ID filter element field description . . . . . | 2853 |
| Table 651. | Extended message ID filter element . . . . . | 2853 |
| Table 652. | Extended message ID filter element field description . . . . . | 2854 |
| Table 653. | FDCAN register map and reset values . . . . . | 2884 |
| Table 654. | OTG_FS speeds supported . . . . . | 2888 |
| Table 655. | OTG_FS implementation . . . . . | 2891 |
| Table 656. | OTG_FS input/output pins . . . . . | 2892 |
| Table 657. | OTG_FS input/output signals . . . . . | 2893 |
| Table 658. | Compatibility of STM32 low power modes with the OTG . . . . . | 2904 |
| Table 659. | Core global control and status registers (CSRs) . . . . . | 2912 |
| Table 660. | Host-mode control and status registers (CSRs) . . . . . | 2913 |
| Table 661. | Device-mode control and status registers . . . . . | 2914 |
| Table 662. | Data FIFO (DFIFO) access register map . . . . . | 2916 |
| Table 663. | Power and clock gating control and status registers . . . . . | 2916 |
| Table 664. | TRDT values . . . . . | 2922 |
| Table 665. | Minimum duration for soft disconnect . . . . . | 2963 |
| Table 666. | OTG_FS register map and reset values . . . . . | 2992 |
| Table 667. | OTG_HS speeds supported . . . . . | 3047 |
| Table 668. | OTG_HS implementation . . . . . | 3049 |
| Table 669. | OTG_HS input/output pins . . . . . | 3050 |
| Table 670. | OTG_HS input/output signals . . . . . | 3051 |
| Table 671. | Compatibility of STM32 low power modes with the OTG . . . . . | 3062 |
| Table 672. | Core global control and status registers (CSRs) . . . . . | 3070 |
| Table 673. | Host-mode control and status registers (CSRs) . . . . . | 3071 |
| Table 674. | Device-mode control and status registers . . . . . | 3072 |
| Table 675. | Data FIFO (DFIFO) access register map . . . . . | 3074 |
| Table 676. | Power and clock gating control and status registers . . . . . | 3075 |
| Table 677. | TRDT values . . . . . | 3081 |
| Table 678. | Minimum duration for soft disconnect . . . . . | 3124 |
| Table 679. | OTG_HS register map and reset values . . . . . | 3150 |
| Table 680. | UCPD implementation . . . . . | 3216 |
| Table 681. | UCPD software trim data . . . . . | 3216 |
| Table 682. | UCPD signals on pins . . . . . | 3217 |
| Table 683. | UCPD internal signals . . . . . | 3218 |
| Table 684. | 4b5b symbol encoding table . . . . . | 3220 |
| Table 685. | Ordered sets . . . . . | 3221 |
| Table 686. | Validation of ordered sets . . . . . | 3221 |
| Table 687. | Data size . . . . . | 3222 |
| Table 688. | Coding for ANAMODE, ANASUBMODE and link with TYPEC_VSTATE_CCx . . . . . | 3230 |
| Table 689. | Type-C sequence (source: 3A); cable/sink connected (Rd on CC1; Ra on CC2) . . . . . | 3232 |
| Table 690. | Effect of low power modes on the UCPD . . . . . | 3234 |
| Table 691. | UCPD interrupt requests . . . . . | 3235 |
| Table 692. | UCPD register map and reset values . . . . . | 3251 |
| Table 693. | Ethernet peripheral pins . . . . . | 3258 |
| Table 694. | Internal Ethernet input/output signals . . . . . | 3259 |
| Table 695. | Priority scheme for Tx DMA and Rx DMA . . . . . | 3268 |
| Table 696. | Double VLAN processing features in Tx path . . . . . | 3274 |
| Table 697. | Double VLAN processing in Rx path . . . . . | 3275 |
| Table 698. | VLAN insertion or replacement based on VLTI bit . . . . . | 3276 |
| Table 699. | Destination address filtering . . . . . | 3279 |
| Table 700. | Source address filtering . . . . . | 3280 |
| Table 701. | VLAN match status . . . . . | 3281 |
| Table 702. | Ordinary clock: PTP messages for snapshot . . . . . | 3285 |
| Table 703. | End-to-end transparent clock: PTP messages for snapshot . . . . . | 3285 |
| Table 704. | Peer-to-peer transparent clock: PTP messages for snapshot . . . . . | 3286 |
| Table 705. | Egress and ingress latency for PHY interfaces . . . . . | 3290 |
| Table 706. | Minimum PTP clock frequency example . . . . . | 3290 |
| Table 707. | Message format defined in IEEE 1588-2008 . . . . . | 3291 |
| Table 708. | Message format defined in IEEE 1588-2008 . . . . . | 3291 |
| Table 709. | IPv6-UDP PTP packet fields required for control and status . . . . . | 3292 |
| Table 710. | Ethernet PTP packet fields required for control and status . . . . . | 3293 |
| Table 711. | Timestamp Snapshot Dependency on ETH_MACTSCR bits . . . . . | 3295 |
| Table 712. | PTP message generation criteria . . . . . | 3301 |
| Table 713. | Common PTP message header fields . . . . . | 3303 |
| Table 714. | MAC transmit PTP mode and one-step timestamping operation . . . . . | 3306 |
| Table 715. | Transmit checksum offload engine functions for different packet types . . . . . | 3310 |
| Table 716. | Receive checksum offload engine functions for different packet types . . . . . | 3313 |
| Table 717. | TSO: TCP and IP header fields . . . . . | 3317 |
| Table 718. | Pause packet fields . . . . . | 3322 |
| Table 719. | Tx MAC flow control . . . . . | 3323 |
| Table 720. | Rx MAC flow control . . . . . | 3323 |
| Table 721. | Size of the maximum receive packet . . . . . | 3326 |
| Table 722. | MCD clock selection . . . . . | 3328 |
| Table 723. | MDIO Clause 45 frame structure . . . . . | 3329 |
| Table 724. | MDIO Clause 22 frame structure . . . . . | 3330 |
| Table 725. | Remote wake-up packet filter register . . . . . | 3341 |
| Table 726. | Description of the remote wake-up filter fields . . . . . | 3341 |
| Table 727. | Remote wake-up packet and PMT interrupt generation . . . . . | 3343 |
| Table 728. | Transfer complete interrupt behavior . . . . . | 3351 |
| Table 729. | TDES0 normal descriptor (read format) . . . . . | 3373 |
| Table 730. | TDES1 normal descriptor (read format) . . . . . | 3374 |
| Table 731. | TDES2 normal descriptor (read format) . . . . . | 3374 |
| Table 732. | TDES3 normal descriptor (read format) . . . . . | 3375 |
| Table 733. | TDES0 normal descriptor (write-back format) . . . . . | 3378 |
| Table 734. | TDES1 normal descriptor (write-back format) . . . . . | 3378 |
| Table 735. | TDES2 normal descriptor (write-back format) . . . . . | 3379 |
| Table 736. | TDES3 normal descriptor (write-back format) . . . . . | 3379 |
| Table 737. | TDES0 context descriptor . . . . . | 3382 |
| Table 738. | TDES1 context descriptor . . . . . | 3382 |
| Table 739. | TDES2 context descriptor . . . . . | 3383 |
| Table 740. | TDES3 context descriptor . . . . . | 3383 |
| Table 741. | RDES0 normal descriptor (read format) . . . . . | 3386 |
| Table 742. | RDES1 normal descriptor (read format) . . . . . | 3386 |
| Table 743. | RDES2 normal descriptor (read format) . . . . . | 3386 |
| Table 744. | RDES3 normal descriptor (read format) . . . . . | 3386 |
| Table 745. | RDES0 normal descriptor (write-back format) . . . . . | 3388 |
| Table 746. | RDES1 normal descriptor (write-back format) . . . . . | 3388 |
| Table 747. | RDES2 normal descriptor (write-back format) . . . . . | 3390 |
| Table 748. | RDES3 normal descriptor (write-back format) . . . . . | 3392 |
| Table 749. | RDES0 context descriptor . . . . . | 3395 |
| Table 750. | RDES1 context descriptor . . . . . | 3396 |
| Table 751. | RDES2 context descriptor . . . . . | 3396 |
| Table 752. | RDES3 context descriptor . . . . . | 3396 |
| Table 753. | ETH_DMA common register map and reset values . . . . . | 3416 |
| Table 754. | ETH_DMA_CH register map and reset values . . . . . | 3417 |
| Table 755. | ETH_MTL register map and reset values . . . . . | 3427 |
| Table 756. | Giant Packet Status based on S2KP and JE Bits . . . . . | 3433 |
| Table 757. | Packet Length based on the CST and ACS bits . . . . . | 3433 |
| Table 758. | Ethernet MAC register map and reset values . . . . . | 3512 |
| Table 759. | HDMI pin . . . . . | 3523 |
| Table 760. | HDMI-CEC internal input/output signals . . . . . | 3523 |
| Table 761. | Error handling timing parameters . . . . . | 3529 |
| Table 762. | TXERR timing parameters . . . . . | 3530 |
| Table 763. | HDMI-CEC interrupts . . . . . | 3531 |
| Table 764. | HDMI-CEC register map and reset values . . . . . | 3539 |
| Table 765. | Authentication signal states . . . . . | 3544 |
| Table 766. | Authentication signal states . . . . . | 3544 |
| Table 767. | Packet request . . . . . | 3547 |
| Table 768. | ACK response . . . . . | 3547 |
| Table 769. | Data transfer . . . . . | 3548 |
| Table 770. | JTAG-DP data registers . . . . . | 3550 |
| Table 771. | Debug port registers . . . . . | 3552 |
| Table 772. | Debug port register map and reset values . . . . . | 3561 |
| Table 773. | MEM-AP registers. . . . . | 3563 |
| Table 774. | Access port register map and reset values. . . . . | 3571 |
| Table 775. | System ROM table 1. . . . . | 3573 |
| Table 776. | System ROM table 2. . . . . | 3573 |
| Table 777. | System ROM table 1 register map and reset values . . . . . | 3580 |
| Table 778. | System ROM table 2 register map and reset values . . . . . | 3581 |
| Table 779. | System CTI inputs . . . . . | 3583 |
| Table 780. | System CTI outputs . . . . . | 3583 |
| Table 781. | Cortex-M7 CTI inputs . . . . . | 3583 |
| Table 782. | Cortex-M7 CTI outputs . . . . . | 3584 |
| Table 783. | CTI register map and reset values . . . . . | 3599 |
| Table 784. | CSTF register map and reset values . . . . . | 3611 |
| Table 785. | ETF register map and reset values. . . . . | 3632 |
| Table 786. | TPIU register map and reset values . . . . . | 3651 |
| Table 787. | SWO register map and reset values. . . . . | 3663 |
| Table 788. | DBGMCU register map and reset values . . . . . | 3680 |
| Table 789. | Cortex-M7 CPU ROM table . . . . . | 3683 |
| Table 790. | Cortex-M7 PPB ROM table. . . . . | 3684 |
| Table 791. | Cortex-M7 CPU ROM table register map and reset values . . . . . | 3690 |
| Table 792. | Cortex-M7 PPB ROM table register map and reset values . . . . . | 3695 |
| Table 793. | Cortex-M7 DWT register map and reset values . . . . . | 3706 |
| Table 794. | Cortex-M7 ITM register map and reset values . . . . . | 3715 |
| Table 795. | Cortex-M7 FPB register map and reset values. . . . . | 3722 |
| Table 796. | Cortex-M7 ETM register map and reset values . . . . . | 3750 |
| Table 797. | Document revision history . . . . . | 3760 |
| Figure 1. | System architecture ..... | 124 |
| Figure 2. | AXI interconnect ..... | 129 |
| Figure 3. | Memory map ..... | 151 |
| Figure 4. | RAM ECC controller implementation schematic..... | 166 |
| Figure 5. | Connection between RAM ECC controller and RAMECC monitoring unit ..... | 167 |
| Figure 6. | Secure boot process..... | 182 |
| Figure 7. | Key management principle ..... | 188 |
| Figure 8. | Product life-cycle security ..... | 191 |
| Figure 9. | FLASH block diagram ..... | 201 |
| Figure 10. | Detailed FLASH architecture ..... | 203 |
| Figure 11. | Embedded flash memory organization ..... | 204 |
| Figure 12. | Embedded flash memory usage (STM32H7R)..... | 206 |
| Figure 13. | Embedded flash memory usage (STM32H7S)..... | 207 |
| Figure 14. | Flash decommissioning options ..... | 208 |
| Figure 15. | FLASH read pipeline architecture ..... | 210 |
| Figure 16. | FLASH write pipeline architecture ..... | 214 |
| Figure 17. | FLASH stateful initialization ..... | 221 |
| Figure 18. | Life cycle management scheme ..... | 233 |
| Figure 19. | Power control block diagram ..... | 280 |
| Figure 20. | Power supply overview ..... | 284 |
| Figure 21. | System supply configurations ..... | 285 |
| Figure 22. | Device startup with VCORE supplied directly from SMPS step-down converter ..... | 288 |
| Figure 23. | Device startup with VCORE supplied in Bypass mode from external regulator ..... | 289 |
| Figure 24. | Backup domain ..... | 294 |
| Figure 25. | USB supply configurations ..... | 296 |
| Figure 26. | Power-on reset/power-down reset waveform ..... | 297 |
| Figure 27. | BOR thresholds ..... | 298 |
| Figure 28. | PVD thresholds ..... | 299 |
| Figure 29. | AVD thresholds ..... | 300 |
| Figure 30. | VBAT thresholds ..... | 301 |
| Figure 31. | Temperature thresholds ..... | 302 |
| Figure 32. | VCORE overvoltage protection..... | 303 |
| Figure 33. | VCORE voltage scaling versus system power modes ..... | 306 |
| Figure 34. | Dynamic voltage scaling in Run mode ..... | 307 |
| Figure 35. | Dynamic voltage scaling behavior in Stop mode ..... | 308 |
| Figure 36. | Dynamic voltage scaling from Standby mode..... | 309 |
| Figure 37. | RCC block diagram..... | 342 |
| Figure 38. | Simplified reset circuit..... | 346 |
| Figure 39. | Boot sequences versus system states ..... | 352 |
| Figure 40. | Top-level clock tree..... | 354 |
| Figure 41. | HSE/LSE clock source ..... | 356 |
| Figure 42. | HSE clock generation ..... | 356 |
| Figure 43. | LSE clock generation ..... | 358 |
| Figure 44. | HSI calibration flow ..... | 362 |
| Figure 45. | CSI calibration flow ..... | 363 |
| Figure 46. | HSI48 calibration flow ..... | 364 |
| Figure 47. | LSE and HSE CSS function ..... | 365 |
| Figure 48. | PLL block diagram ..... | 371 |
| Figure 49. | Spread-spectrum modulation . . . . . | 375 |
| Figure 50. | Triangular waveform generator . . . . . | 376 |
| Figure 51. | Core and bus clock generation . . . . . | 378 |
| Figure 52. | Key signals controlling low-power modes . . . . . | 380 |
| Figure 53. | Clock distribution for SAIs, ADF and SPDIFRX . . . . . | 391 |
| Figure 54. | Clock distribution for SPIs and SPI/I2S . . . . . | 392 |
| Figure 55. | Clock distribution for I2C[3:2] and I2C1/I3C1 . . . . . | 393 |
| Figure 56. | Clock distribution for UARTs, LPUART1 and USARTs . . . . . | 394 |
| Figure 57. | Clock distribution for FDCAN . . . . . | 395 |
| Figure 58. | Clock distribution for GPU2D . . . . . | 396 |
| Figure 59. | Clock distribution for LTDC and DCMIPP . . . . . | 396 |
| Figure 60. | Clock distribution for PSSI . . . . . | 397 |
| Figure 61. | Clock distribution for FMC, XSPIs, and MCEs . . . . . | 399 |
| Figure 62. | Clock distribution for SDMMC[2:1] and DB_SDMMC[2:1] . . . . . | 400 |
| Figure 63. | Clock distribution for USB and UCPD . . . . . | 402 |
| Figure 64. | Clock distribution for ETH1 . . . . . | 403 |
| Figure 65. | ETH clock configuration . . . . . | 404 |
| Figure 66. | Clock distribution For ADCs . . . . . | 405 |
| Figure 67. | Clock distribution for SAES and RNG . . . . . | 405 |
| Figure 68. | Clock distribution for HDMI-CEC . . . . . | 406 |
| Figure 69. | Clock distribution for TIMs . . . . . | 406 |
| Figure 70. | Clock distribution for LPTIMs . . . . . | 408 |
| Figure 71. | Clock distribution for RTC . . . . . | 409 |
| Figure 72. | Clock distribution for WWDG and IWDG . . . . . | 410 |
| Figure 73. | Clock distribution for DBG and trace . . . . . | 410 |
| Figure 74. | Kernel clock switching . . . . . | 412 |
| Figure 75. | Peripheral kernel clock enable logic details . . . . . | 413 |
| Figure 76. | SBS block diagram . . . . . | 541 |
| Figure 77. | SBS boot control . . . . . | 542 |
| Figure 78. | Compensation cell management . . . . . | 545 |
| Figure 79. | Compensation cell use . . . . . | 545 |
| Figure 80. | CRS block diagram . . . . . | 562 |
| Figure 81. | CRS counter behavior . . . . . | 564 |
| Figure 82. | Structure of three-volt or five-volt tolerant GPIO (TT or FT) . . . . . | 574 |
| Figure 83. | Input floating/pull-up/pull-down configurations . . . . . | 578 |
| Figure 84. | Output configuration . . . . . | 579 |
| Figure 85. | Alternate function configuration . . . . . | 580 |
| Figure 86. | High-impedance analog configuration . . . . . | 580 |
| Figure 87. | GPDMA block diagram . . . . . | 610 |
| Figure 88. | GPDMA channel direct programming without linked-list (GPDMA_CxLLR = 0) . . . . . | 611 |
| Figure 89. | GPDMA channel suspend and resume sequence . . . . . | 612 |
| Figure 90. | GPDMA channel abort and restart sequence . . . . . | 613 |
| Figure 91. | Static linked-list data structure (all Uxx = 1) of a linear addressing channel x . . . . . | 614 |
| Figure 92. | Static linked-list data structure (all Uxx = 1) of a 2D addressing channel x . . . . . | 615 |
| Figure 93. | GPDMA dynamic linked-list data structure of a linear addressing channel x . . . . . | 616 |
| Figure 94. | GPDMA dynamic linked-list data structure of a 2D addressing channel x . . . . . | 616 |
| Figure 95. | GPDMA channel execution and linked-list programming in run-to-completion mode (GPDMA_CxCR.LSM = 0) . . . . . | 618 |
| Figure 96. | Inserting a LLIn with an auxiliary GPDMA channel y . . . . . | 620 |
| Figure 97. | GPDMA channel execution and linked-list programming in link step mode (GPDMA_CxCR.LSM = 1) . . . . . | 622 |
| Figure 98. | Building LLIn+1: GPDMA dynamic linked-lists in link step mode . . . . . | 623 |
| Figure 99. | Replace with a new LLIn' in register file in link step mode | 624 |
| Figure 100. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 1) | 625 |
| Figure 101. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 2) | 626 |
| Figure 102. | GPDMA channel execution and linked-list programming | 628 |
| Figure 103. | Programmed 2D addressing | 631 |
| Figure 104. | GPDMA arbitration policy | 638 |
| Figure 105. | Trigger hit, memorization, and overrun waveform | 641 |
| Figure 106. | GPDMA circular buffer programming: update of the memory start address with a linear addressing channel | 642 |
| Figure 107. | Shared GPDMA channel with circular buffering: update of the memory start address with a linear addressing channel | 643 |
| Figure 108. | HPDMA block diagram | 681 |
| Figure 109. | HPDMA channel direct programming without linked-list (HPDMA_CxLLR = 0) | 682 |
| Figure 110. | HPDMA channel suspend and resume sequence | 683 |
| Figure 111. | HPDMA channel abort and restart sequence | 684 |
| Figure 112. | Static linked-list data structure (all Uxx = 1) of a linear addressing channel x | 685 |
| Figure 113. | Static linked-list data structure (all Uxx = 1) of a 2D addressing channel x | 686 |
| Figure 114. | HPDMA dynamic linked-list data structure of linear addressing channel x | 687 |
| Figure 115. | HPDMA dynamic linked-list data structure of a 2D addressing channel x | 687 |
| Figure 116. | HPDMA channel execution and linked-list programming in run-to-completion mode (HPDMA_CxCR.LSM = 0) | 689 |
| Figure 117. | Inserting a LLIn with an auxiliary HPDMA channel y | 691 |
| Figure 118. | HPDMA channel execution and linked-list programming in link step mode (HPDMA_CxCR.LSM = 1) | 693 |
| Figure 119. | Building LLIn+1: HPDMA dynamic linked-lists in link step mode | 694 |
| Figure 120. | Replace with a new LLIn' in register file in link step mode | 695 |
| Figure 121. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 1) | 696 |
| Figure 122. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 2) | 697 |
| Figure 123. | HPDMA channel execution and linked-list programming | 699 |
| Figure 124. | Programmed 2D addressing | 702 |
| Figure 125. | HPDMA arbitration policy | 717 |
| Figure 126. | Trigger hit, memorization and overrun waveform | 721 |
| Figure 127. | HPDMA circular buffer programming: update of the memory start address with a linear addressing channel | 722 |
| Figure 128. | Shared HPDMA channel with circular buffering: update of the memory start address with a linear addressing channel | 723 |
| Figure 129. | GFXMMU block diagram | 757 |
| Figure 130. | Virtual buffer | 759 |
| Figure 131. | Virtual buffer and physical buffer memory map | 760 |
| Figure 132. | MMU block diagram | 761 |
| Figure 133. | Block validation/comparator implementation | 763 |
| Figure 134. | DMA2D block diagram | 774 |
| Figure 135. | Intel 8080 16-bit mode (RGB565) | 781 |
| Figure 136. | Intel 8080 18/24-bit mode (RGB888) | 781 |
| Figure 137. | GPU2D block diagram | 808 |
| Figure 138. | ICACHE block diagram | 812 |
| Figure 139. | ICACHE TAG and data memories functional view | 814 |
| Figure 140. | GFXTIM block diagram | 824 |
| Figure 141. | Clock generator | 826 |
| Figure 142. | Waveforms in standalone | 828 |
| Figure 143. | Active counters and signals in standalone | 828 |
| Figure 144. | Waveforms with external HSYNC and VSYNC | 828 |
| Figure 145. Waveforms with external HSYNC only . . . . . | 829 |
| Figure 146. Active counters and signals with external HSYNC only . . . . . | 829 |
| Figure 147. Waveforms with external VSYNC only . . . . . | 829 |
| Figure 148. Active counters with external VSYNC only . . . . . | 830 |
| Figure 149. Prescaling when external VSYNC only . . . . . | 830 |
| Figure 150. Waveforms with external CSYNC only . . . . . | 830 |
| Figure 151. Active counters and signals with external CSYNC only . . . . . | 831 |
| Figure 152. Prescaling when external CSYNC only . . . . . | 831 |
| Figure 153. Tearing-effect configurations . . . . . | 833 |
| Figure 154. Watchdog timer . . . . . | 834 |
| Figure 155. EXTI block diagram . . . . . | 868 |
| Figure 156. Configurable event triggering logic CPU wake-up . . . . . | 870 |
| Figure 157. Direct event triggering logic CPU wake up . . . . . | 871 |
| Figure 158. CRC calculation unit block diagram . . . . . | 888 |
| Figure 159. CORDIC convergence for trigonometric functions . . . . . | 902 |
| Figure 160. CORDIC convergence for hyperbolic functions . . . . . | 903 |
| Figure 161. CORDIC convergence for square root . . . . . | 904 |
| Figure 162. FMC block diagram . . . . . | 914 |
| Figure 163. FMC memory banks (default mapping) . . . . . | 917 |
| Figure 164. Mode 1 read access waveforms . . . . . | 928 |
| Figure 165. Mode 1 write access waveforms . . . . . | 929 |
| Figure 166. Mode A read access waveforms . . . . . | 931 |
| Figure 167. Mode A write access waveforms . . . . . | 932 |
| Figure 168. Mode 2 and mode B read access waveforms . . . . . | 934 |
| Figure 169. Mode 2 write access waveforms . . . . . | 934 |
| Figure 170. Mode B write access waveforms . . . . . | 935 |
| Figure 171. Mode C read access waveforms . . . . . | 937 |
| Figure 172. Mode C write access waveforms . . . . . | 937 |
| Figure 173. Mode D read access waveforms . . . . . | 940 |
| Figure 174. Mode D write access waveforms . . . . . | 940 |
| Figure 175. Muxed read access waveforms . . . . . | 943 |
| Figure 176. Muxed write access waveforms . . . . . | 943 |
| Figure 177. Asynchronous wait during a read access waveforms . . . . . | 946 |
| Figure 178. Asynchronous wait during a write access waveforms . . . . . | 946 |
| Figure 179. Wait configuration waveforms . . . . . | 949 |
| Figure 180. Synchronous multiplexed read mode waveforms - NOR, PSRAM (CRAM) . . . . . | 949 |
| Figure 181. Synchronous multiplexed write mode waveforms - PSRAM (CRAM) . . . . . | 951 |
| Figure 182. NAND flash controller waveforms for common memory access . . . . . | 965 |
| Figure 183. Access to non 'CE don't care' NAND-flash . . . . . | 966 |
| Figure 184. Burst write SDRAM access waveforms . . . . . | 976 |
| Figure 185. Burst read SDRAM access . . . . . | 977 |
| Figure 186. Logic diagram of Read access with RBURST bit set (RPIPE=0) . . . . . | 978 |
| Figure 187. Read access crossing row boundary . . . . . | 980 |
| Figure 188. Write access crossing row boundary . . . . . | 980 |
| Figure 189. Self-refresh mode . . . . . | 983 |
| Figure 190. Power-down mode . . . . . | 984 |
| Figure 191. XSPI block diagram for 16-bit configuration(1) . . . . . | 996 |
| Figure 192. XSPI block diagram for dual-octal configuration(1) . . . . . | 997 |
| Figure 193. XSPI block diagram for octal configuration . . . . . | 998 |
| Figure 194. XSPI block diagram in quad configuration . . . . . | 999 |
| Figure 195. XSPI block diagram for dual-quad configuration . . . . . | 1000 |
| Figure 196. SDR read command in 16-bit configuration . . . . . | 1002 |
| Figure 197. | DTR read in octal-SPI mode with DQS (Macronix mode) example | 1005 |
| Figure 198. | SDR write command in octal-SPI mode example | 1007 |
| Figure 199. | DTR write in octal-SPI mode (Macronix mode) example | 1008 |
| Figure 200. | Example of HyperBus read operation (8-bit data mode) | 1011 |
| Figure 201. | HyperBus write operation with initial latency (8-bit data mode) | 1012 |
| Figure 202. | HyperBus read operation with additional latency (8-bit data mode) | 1013 |
| Figure 203. | HyperBus write operation with additional latency (8-bit data mode) | 1013 |
| Figure 204. | HyperBus write operation with no latency (register write) | 1014 |
| Figure 205. | HyperBus read operation page crossing with latency (8-bit data mode) | 1014 |
| Figure 206. | HyperBus write operation with initial latency (16-bit mode) | 1015 |
| Figure 207. | D0/D1 data ordering in octal-SPI DTR mode (Micron) - Read access | 1022 |
| Figure 208. | D0/D1 data ordering in octal-SPI DTR mode with DQS and CLK polarity aligned during Read access | 1022 |
| Figure 209. | OctaRAM read operation with reverse data ordering D1/D0 | 1023 |
| Figure 210. | NCS when CKMODE = 0 (T = CLK period) | 1029 |
| Figure 211. | NCS when CKMODE = 1 in SDR mode (T = CLK period) | 1029 |
| Figure 212. | NCS when CKMODE = 1 in DTR mode (T = CLK period) | 1030 |
| Figure 213. | NCS when CKMODE =1 with an abort (T = CLK period) | 1030 |
| Figure 214. | Example of software control of two external memories | 1031 |
| Figure 215. | XSPIM block diagram | 1063 |
| Figure 216. | XSPI direct octal mode | 1065 |
| Figure 217. | XSPI direct 16-bit mode | 1066 |
| Figure 218. | XSPI dual-octal mode | 1066 |
| Figure 219. | XSPI swapped (octal) mode | 1067 |
| Figure 220. | XSPI multiplexed mode to Port 1 | 1068 |
| Figure 221. | XSPI multiplexed (octal and dual-octal) mode to Port 2 | 1068 |
| Figure 222. | XSPI1 and XSPI2 drive a single external memory (octal mode) | 1069 |
| Figure 223. | Single XSPI driving two external memories | 1070 |
| Figure 224. | DLYB block diagram | 1073 |
| Figure 225. | ADC block diagram | 1081 |
| Figure 226. | ADC clock scheme | 1086 |
| Figure 227. | ADC1 connectivity | 1087 |
| Figure 228. | ADC2 connectivity | 1088 |
| Figure 229. | ADC calibration | 1091 |
| Figure 230. | Updating the ADC calibration factor | 1092 |
| Figure 231. | Mixing single-ended and differential channels | 1093 |
| Figure 232. | Enabling / disabling the ADC | 1094 |
| Figure 233. | Bulb mode timing diagram | 1097 |
| Figure 234. | Analog-to-digital conversion time | 1100 |
| Figure 235. | Stopping ongoing regular conversions | 1101 |
| Figure 236. | Stopping ongoing regular and injected conversions | 1102 |
| Figure 237. | Triggers shared between ADC master and slave | 1103 |
| Figure 238. | Injected conversion latency | 1105 |
| Figure 239. | Example of ADC_JSQR queue of context (sequence change) | 1108 |
| Figure 240. | Example of ADC_JSQR queue of context (trigger change) | 1108 |
| Figure 241. | Example of ADC_JSQR queue of context with overflow before conversion | 1109 |
| Figure 242. | Example of ADC_JSQR queue of context with overflow during conversion | 1109 |
| Figure 243. | Example of ADC_JSQR queue of context with empty queue (case JQM = 0) | 1110 |
| Figure 244. | Example of ADC_JSQR queue of context with empty queue (JQM = 1) | 1111 |
| Figure 245. | Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 0) - JADSTP occurs during an ongoing conversion | 1111 |
| Figure 246. | Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 0) - | |
| Figure 247. | JADSTP occurs during an ongoing conversion and a new trigger occurs ..... 1112 |
| Figure 248. | Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 0) - JADSTP occurs outside an ongoing conversion. .... 1112 |
| Figure 249. | Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 1) ..... 1113 |
| Figure 250. | Flushing ADC_JSQR queue of context by setting ADDIS = 1 (JQM = 0) ..... 1113 |
| Figure 251. | Flushing ADC_JSQR queue of context by setting ADDIS = 1 (JQM = 1) ..... 1114 |
| Figure 252. | Single conversions of a sequence, software trigger ..... 1116 |
| Figure 253. | Continuous conversion of a sequence, software trigger ..... 1116 |
| Figure 254. | Single conversions of a sequence, hardware trigger ..... 1117 |
| Figure 255. | Continuous conversions of a sequence, hardware trigger ..... 1117 |
| Figure 256. | Right alignment (offset disabled, unsigned value) ..... 1119 |
| Figure 257. | Right alignment (offset enabled, signed value) ..... 1120 |
| Figure 258. | Left alignment (offset disabled, unsigned value) ..... 1120 |
| Figure 259. | Left alignment (offset enabled, signed value) ..... 1121 |
| Figure 260. | Example of overrun (OVRMOD = 0) ..... 1122 |
| Figure 261. | Example of overrun (OVRMOD = 1) ..... 1123 |
| Figure 262. | AUTODLY = 1, regular conversion in continuous mode, software trigger ..... 1126 |
| Figure 263. | AUTODLY = 1, regular HW conversions interrupted by injected conversions (DISCEN = 0; JDISCEN = 0) ..... 1127 |
| Figure 264. | AUTODLY = 1, regular HW conversions interrupted by injected conversions (DISCEN = 1, JDISCEN = 1) ..... 1128 |
| Figure 265. | AUTODLY = 1, regular continuous conversions interrupted by injected conversions ..... 1129 |
| Figure 266. | AUTODLY = 1 in auto-injected mode (JAUTO = 1) ..... 1129 |
| Figure 267. | Analog watchdog guarded area ..... 1130 |
| Figure 268. | ADCy_AWDx_OUT signal generation (on all regular channels) ..... 1132 |
| Figure 269. | ADCy_AWDx_OUT signal generation (AWDx flag not cleared by software) ..... 1133 |
| Figure 270. | ADCy_AWDx_OUT signal generation (on a single regular channel) ..... 1133 |
| Figure 271. | ADCy_AWDx_OUT signal generation (on all injected channels) ..... 1133 |
| Figure 272. | 20-bit to 16-bit result truncation ..... 1135 |
| Figure 273. | Numerical example with 5-bit shift and rounding ..... 1135 |
| Figure 274. | Triggered regular oversampling mode (TROVS bit = 1) ..... 1137 |
| Figure 275. | Regular oversampling modes (4x ratio) ..... 1138 |
| Figure 276. | Regular and injected oversampling modes used simultaneously ..... 1139 |
| Figure 277. | Triggered regular oversampling with injection ..... 1139 |
| Figure 278. | Oversampling in auto-injected mode ..... 1140 |
| Figure 279. | Dual ADC block diagram(1) ..... 1142 |
| Figure 280. | Injected simultaneous mode on 4 channels: dual ADC mode ..... 1143 |
| Figure 281. | Regular simultaneous mode on 16 channels: dual ADC mode ..... 1145 |
| Figure 282. | Interleaved mode on one channel in continuous conversion mode: dual ADC mode ..... 1146 |
| Figure 283. | Interleaved mode on 1 channel in single conversion mode: dual ADC mode ..... 1147 |
| Figure 284. | Interleaved conversion with injection ..... 1147 |
| Figure 285. | Alternate trigger: injected group of each ADC ..... 1148 |
| Figure 286. | Alternate trigger: 4 injected channels (each ADC) in discontinuous mode ..... 1149 |
| Figure 287. | Alternate + regular simultaneous ..... 1150 |
| Figure 288. | Case of trigger occurring during injected conversion ..... 1150 |
| Figure 289. | Interleaved single channel CH0 with injected sequence CH11, CH12 ..... 1151 |
| Figure 290. | Two Interleaved channels (CH1, CH2) with injected sequence CH11, CH12 - case 1: Master interrupted first ..... 1151 |
| Figure 291. | Two Interleaved channels (CH1, CH2) with injected sequence CH11, CH12 - case 2: Slave interrupted first ..... 1151 |
| Figure 292. | DMA Requests in regular simultaneous mode when MDMA = 0b00 ..... 1152 |
| Figure 292. | DMA requests in regular simultaneous mode when MDMA = 0b10 . . . . . | 1153 |
| Figure 293. | DMA requests in interleaved mode when MDMA = 0b10 . . . . . | 1153 |
| Figure 294. | Temperature sensor channel block diagram . . . . . | 1155 |
| Figure 295. | VBAT channel block diagram . . . . . | 1157 |
| Figure 296. | VREFINT channel block diagram . . . . . | 1157 |
| Figure 297. | Temperature sensor functional block diagram . . . . . | 1202 |
| Figure 298. | Method for low REF_CLK frequencies . . . . . | 1204 |
| Figure 299. | Method for high REF_CLK frequencies . . . . . | 1204 |
| Figure 300. | Temperature sensor sequence . . . . . | 1207 |
| Figure 301. | VREFBUF block diagram . . . . . | 1219 |
| Figure 302. | ADF block diagram . . . . . | 1226 |
| Figure 303. | SITF overview . . . . . | 1228 |
| Figure 304. | SPI timing example . . . . . | 1229 |
| Figure 305. | Manchester timing example (SITFMOD = 11) . . . . . | 1230 |
| Figure 306. | CKGEN overview . . . . . | 1233 |
| Figure 307. | BSMX overview . . . . . | 1235 |
| Figure 308. | DFLT overview . . . . . | 1236 |
| Figure 309. | Programmable delay . . . . . | 1237 |
| Figure 310. | CIC4 and CIC5 frequency response with decimation ratio = 32 or 16 . . . . . | 1238 |
| Figure 311. | Reshape filter frequency response normalized (FRS / 2 = 1) . . . . . | 1244 |
| Figure 312. | Trigger logic for DFLT and CKGEN . . . . . | 1246 |
| Figure 313. | Asynchronous continuous mode (ACQMOD[2:0] = 0) . . . . . | 1247 |
| Figure 314. | Asynchronous single-shot mode (ACQMOD[2:0] = 001) . . . . . | 1248 |
| Figure 315. | Synchronous continuous mode (ACQMOD[2:0] = 010) . . . . . | 1249 |
| Figure 316. | Synchronous single-shot mode (ACQMOD[2:0] = 011) . . . . . | 1250 |
| Figure 317. | Window continuous mode (ACQMOD[2:0] = 100) . . . . . | 1251 |
| Figure 318. | Discard function example . . . . . | 1253 |
| Figure 319. | Start sequence with DFLTEN, in continuous mode, audio configuration . . . . . | 1253 |
| Figure 320. | SAD block diagram . . . . . | 1254 |
| Figure 321. | SAD flow diagram . . . . . | 1256 |
| Figure 322. | SAD timing diagram example . . . . . | 1262 |
| Figure 323. | ADF_DFLTxD data format . . . . . | 1262 |
| Figure 324. | Data resynchronization . . . . . | 1263 |
| Figure 325. | Example of overflow and transfer to memory . . . . . | 1264 |
| Figure 326. | ADF interrupt interface . . . . . | 1267 |
| Figure 327. | Sensor connection examples . . . . . | 1272 |
| Figure 328. | Global frequency response . . . . . | 1272 |
| Figure 329. | Detailed frequency response . . . . . | 1273 |
| Figure 330. | Simplified DFLT view with gain information . . . . . | 1275 |
| Figure 331. | SAD example working with SADMOD = 01 . . . . . | 1278 |
| Figure 332. | SAD example working with SADMOD = 1x . . . . . | 1279 |
| Figure 333. | DCMIPP overview . . . . . | 1298 |
| Figure 334. | DCMIPP block diagram . . . . . | 1301 |
| Figure 335. | Snapshot (CPTMODE = 1) and Continuous (CPTMODE = 0) capture modes . . . . . | 1311 |
| Figure 336. | Pipe0 (dump) architecture overview . . . . . | 1314 |
| Figure 337. | PSSI block diagram . . . . . | 1360 |
| Figure 338. | Top-level block diagram . . . . . | 1360 |
| Figure 339. | Data enable in receive mode waveform diagram (CKPOL=0) . . . . . | 1364 |
| Figure 340. | Data enable waveform diagram in transmit mode (CKPOL=1) . . . . . | 1364 |
| Figure 341. | Ready in receive mode waveform diagram (CKPOL=0) . . . . . | 1365 |
| Figure 342. | Bidirectional PSSI_DE/PSSI_RDY waveform . . . . . | 1366 |
| Figure 343. | Bidirectional PSSI_DE/PSSI_RDY connection diagram . . . . . | 1366 |
| Figure 344. LTDC block diagram | 1374 |
| Figure 345. LTDC synchronous timings | 1377 |
| Figure 346. Layer window programmable parameters | 1380 |
| Figure 347. Blending two layers with background | 1382 |
| Figure 348. Interrupt events | 1384 |
| Figure 349. JPEG codec block diagram | 1405 |
| Figure 350. RNG block diagram | 1427 |
| Figure 351. NIST SP800-90B entropy source model | 1428 |
| Figure 352. RNG initialization overview | 1431 |
| Figure 353. SAES block diagram | 1445 |
| Figure 354. Encryption/ decryption typical usage | 1447 |
| Figure 355. Typical operation with authentication | 1449 |
| Figure 356. Example of suspend mode management | 1450 |
| Figure 357. ECB encryption | 1451 |
| Figure 358. ECB decryption | 1451 |
| Figure 359. CBC encryption | 1452 |
| Figure 360. CBC decryption | 1452 |
| Figure 361. Message construction in CTR mode | 1455 |
| Figure 362. CTR encryption | 1456 |
| Figure 363. Message construction in GCM | 1457 |
| Figure 364. GCM authenticated encryption | 1459 |
| Figure 365. Message construction in GMAC mode | 1462 |
| Figure 366. GMAC authentication mode | 1462 |
| Figure 367. Message construction in CCM mode | 1463 |
| Figure 368. CCM mode authenticated encryption | 1465 |
| Figure 369. Operation with wrapped keys for SAES in ECB and CBC modes | 1469 |
| Figure 370. Operation with wrapped keys for SAES in CTR mode | 1471 |
| Figure 371. Usage of Shared-key mode | 1472 |
| Figure 372. 128-bit block construction according to the data type | 1475 |
| Figure 373. CRYP block diagram | 1499 |
| Figure 374. Encryption/ decryption typical usage | 1501 |
| Figure 375. Typical operation with authentication | 1504 |
| Figure 376. Example of suspend mode management | 1505 |
| Figure 377. ECB encryption | 1506 |
| Figure 378. ECB decryption | 1506 |
| Figure 379. CBC encryption | 1507 |
| Figure 380. CBC decryption | 1507 |
| Figure 381. Message construction in CTR mode | 1510 |
| Figure 382. CTR encryption | 1511 |
| Figure 383. Message construction in GCM | 1513 |
| Figure 384. GCM authenticated encryption | 1514 |
| Figure 385. Message construction in GMAC mode | 1518 |
| Figure 386. GMAC authentication mode | 1518 |
| Figure 387. Message construction in CCM mode | 1519 |
| Figure 388. CCM mode authenticated encryption | 1521 |
| Figure 389. 128-bit block construction according to the data type | 1527 |
| Figure 390. HASH block diagram | 1548 |
| Figure 391. Message data swapping feature | 1550 |
| Figure 392. HASH suspend/resume mechanism | 1556 |
| Figure 393. MCE block diagram | 1571 |
| Figure 394. MCE region programming | 1572 |
| Figure 395. MCE implementation of block ciphers | 1574 |
| Figure 396. | MCE implementation of stream cipher | 1575 |
| Figure 397. | PKA block diagram | 1594 |
| Figure 398. | Advanced-control timer block diagram | 1628 |
| Figure 399. | Counter timing diagram with prescaler division change from 1 to 2 | 1634 |
| Figure 400. | Counter timing diagram with prescaler division change from 1 to 4 | 1634 |
| Figure 401. | Counter timing diagram, internal clock divided by 1 | 1636 |
| Figure 402. | Counter timing diagram, internal clock divided by 2 | 1636 |
| Figure 403. | Counter timing diagram, internal clock divided by 4 | 1637 |
| Figure 404. | Counter timing diagram, internal clock divided by N | 1637 |
| Figure 405. | Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) | 1638 |
| Figure 406. | Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) | 1639 |
| Figure 407. | Counter timing diagram, internal clock divided by 1 | 1640 |
| Figure 408. | Counter timing diagram, internal clock divided by 2 | 1641 |
| Figure 409. | Counter timing diagram, internal clock divided by 4 | 1641 |
| Figure 410. | Counter timing diagram, internal clock divided by N | 1642 |
| Figure 411. | Counter timing diagram, update event when repetition counter is not used | 1642 |
| Figure 412. | Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 | 1644 |
| Figure 413. | Counter timing diagram, internal clock divided by 2 | 1644 |
| Figure 414. | Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 | 1645 |
| Figure 415. | Counter timing diagram, internal clock divided by N | 1645 |
| Figure 416. | Counter timing diagram, update event with ARPE = 1 (counter underflow) | 1646 |
| Figure 417. | Counter timing diagram, Update event with ARPE = 1 (counter overflow) | 1647 |
| Figure 418. | Update rate examples depending on mode and TIMx_RCR register settings | 1648 |
| Figure 420. | Control circuit in normal mode, internal clock divided by 1 | 1650 |
| Figure 421. | tim_ti2 external clock connection example | 1650 |
| Figure 422. | Control circuit in external clock mode 1 | 1651 |
| Figure 423. | External trigger input block | 1652 |
| Figure 424. | Control circuit in external clock mode 2 | 1653 |
| Figure 425. | Capture/compare channel (example: channel 1 input stage) | 1653 |
| Figure 426. | Capture/compare channel 1 main circuit | 1654 |
| Figure 427. | Output stage of capture/compare channel (channel 1, idem ch. 2, 3 and 4) | 1654 |
| Figure 428. | Output stage of capture/compare channel (channel 5, idem ch. 6) | 1655 |
| Figure 429. | PWM input mode timing | 1657 |
| Figure 430. | Output compare mode, toggle on tim_oc1 | 1659 |
| Figure 431. | Edge-aligned PWM waveforms (ARR = 8) | 1660 |
| Figure 432. | Center-aligned PWM waveforms (ARR = 8) | 1661 |
| Figure 433. | Dithering principle | 1662 |
| Figure 434. | Data format and register coding in dithering mode | 1663 |
| Figure 435. | PWM resolution vs frequency | 1664 |
| Figure 436. | PWM dithering pattern | 1665 |
| Figure 437. | Dithering effect on duty cycle in center-aligned PWM mode | 1666 |
| Figure 438. | Generation of 2 phase-shifted PWM signals with 50% duty cycle | 1668 |
| Figure 439. | Combined PWM mode on channel 1 and 3 | 1669 |
| Figure 440. | 3-phase combined PWM signals with multiple trigger pulses per period | 1670 |
| Figure 441. | Complementary output with symmetrical dead-time insertion | 1671 |
| Figure 442. | Asymmetrical deadtime | 1672 |
| Figure 443. | Dead-time waveforms with delay greater than the negative pulse | 1672 |
| Figure 444. | Dead-time waveforms with delay greater than the positive pulse | 1672 |
| Figure 445. | Break and Break2 circuitry overview | 1675 |
| Figure 446. | Various output behavior in response to a break event on tim_brk (OSSI = 1) | 1677 |
| Figure 447. | PWM output state following tim_brk and tim_brk2 assertion (OSSI = 1) | 1678 |
| Figure 448. | PWM output state following tim_brk assertion (OSSI = 0) | 1679 |
| Figure 449. Output redirection (tim_brk2 request not represented) . . . . . | 1680 |
| Figure 450. Clearing TIMx tim_ocxref . . . . . | 1681 |
| Figure 451. 6-step generation, COM example (OSSR = 1) . . . . . | 1682 |
| Figure 452. Example of one pulse mode. . . . . | 1683 |
| Figure 453. Retriggerable one-pulse mode . . . . . | 1685 |
| Figure 454. Pulse generator circuitry . . . . . | 1685 |
| Figure 455. Pulse generation on compare event, for edge-aligned and encoder modes . . . . . | 1686 |
| Figure 456. Extended pulsewidth in case of concurrent triggers . . . . . | 1687 |
| Figure 457. Example of counter operation in encoder interface mode. . . . . | 1689 |
| Figure 458. Example of encoder interface mode with tim_ti1fp1 polarity inverted. . . . . | 1689 |
| Figure 459. Quadrature encoder counting modes . . . . . | 1690 |
| Figure 460. Direction plus clock encoder mode. . . . . | 1691 |
| Figure 461. Directional clock encoder mode (CC1P = CC2P = 0) . . . . . | 1691 |
| Figure 462. Directional clock encoder mode (CC1P = CC2P = 1) . . . . . | 1692 |
| Figure 463. Index gating options . . . . . | 1693 |
| Figure 464. Jittered Index signals . . . . . | 1693 |
| Figure 465. Index generation for IPOS[1:0] = 11 . . . . . | 1694 |
| Figure 466. Counter reading with index gated on channel A (IPOS[1:0] = 11) . . . . . | 1694 |
| Figure 467. Counter reading with index ungated (IPOS[1:0] = 00) . . . . . | 1695 |
| Figure 468. Counter reading with index gated on channel A and B. . . . . | 1695 |
| Figure 469. Encoder mode behavior in case of narrow index pulse (IPOS[1:0] = 11) . . . . . | 1696 |
| Figure 470. Counter reset Narrow index pulse (closer view, ARR = 0x07) . . . . . | 1697 |
| Figure 471. Index behavior in x1 and x2 mode (IPOS[1:0] = 01) . . . . . | 1698 |
| Figure 472. Directional index sensitivity. . . . . | 1698 |
| Figure 473. Counter reset as function of FIDX bit setting . . . . . | 1699 |
| Figure 474. Index blanking. . . . . | 1699 |
| Figure 475. Index behavior in clock + direction mode, IPOS[0] = 1 . . . . . | 1700 |
| Figure 476. Index behavior in directional clock mode, IPOS[0] = 1 . . . . . | 1700 |
| Figure 477. State diagram for quadrature encoded signals. . . . . | 1701 |
| Figure 478. Up-counting encoder error detection . . . . . | 1702 |
| Figure 479. Down-counting encode error detection. . . . . | 1703 |
| Figure 480. Encoder mode change with preload transferred on update (SMSPS = 0) . . . . . | 1704 |
| Figure 481. Measuring time interval between edges on three signals. . . . . | 1705 |
| Figure 482. Example of Hall sensor interface . . . . . | 1707 |
| Figure 483. Control circuit in reset mode . . . . . | 1708 |
| Figure 484. Control circuit in Gated mode . . . . . | 1709 |
| Figure 485. Control circuit in trigger mode. . . . . | 1710 |
| Figure 486. Control circuit in external clock mode 2 + trigger mode . . . . . | 1711 |
| Figure 487. General-purpose timer block diagram . . . . . | 1769 |
| Figure 488. Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 1774 |
| Figure 489. Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 1775 |
| Figure 490. Counter timing diagram, internal clock divided by 1 . . . . . | 1776 |
| Figure 491. Counter timing diagram, internal clock divided by 2 . . . . . | 1776 |
| Figure 492. Counter timing diagram, internal clock divided by 4 . . . . . | 1777 |
| Figure 493. Counter timing diagram, internal clock divided by N. . . . . | 1777 |
| Figure 494. Counter timing diagram, Update event when ARPE = 0 (TIMx_ARR not preloaded). . . . . | 1778 |
| Figure 495. Counter timing diagram, Update event when ARPE = 1 (TIMx_ARR preloaded). . . . . | 1779 |
| Figure 496. Counter timing diagram, internal clock divided by 1 . . . . . | 1780 |
| Figure 497. Counter timing diagram, internal clock divided by 2 . . . . . | 1781 |
| Figure 498. Counter timing diagram, internal clock divided by 4 . . . . . | 1781 |
| Figure 499. Counter timing diagram, internal clock divided by N. . . . . | 1782 |
| Figure 500. Counter timing diagram, Update event. . . . . | 1782 |
| Figure 501. | Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 | 1784 |
| Figure 502. | Counter timing diagram, internal clock divided by 2 | 1784 |
| Figure 503. | Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 | 1785 |
| Figure 504. | Counter timing diagram, internal clock divided by N | 1785 |
| Figure 505. | Counter timing diagram, Update event with ARPE = 1 (counter underflow) | 1786 |
| Figure 506. | Counter timing diagram, Update event with ARPE = 1 (counter overflow) | 1787 |
| Figure 507. | Control circuit in normal mode, internal clock divided by 1 | 1788 |
| Figure 508. | tim_ti2 external clock connection example | 1788 |
| Figure 509. | Control circuit in external clock mode 1 | 1789 |
| Figure 510. | External trigger input block | 1790 |
| Figure 511. | Control circuit in external clock mode 2 | 1791 |
| Figure 512. | Capture/compare channel (example: channel 1 input stage) | 1791 |
| Figure 513. | Capture/compare channel 1 main circuit | 1792 |
| Figure 514. | Output stage of capture/compare channel (channel 1, idem ch.2, 3 and 4) | 1792 |
| Figure 515. | PWM input mode timing | 1795 |
| Figure 516. | Output compare mode, toggle on tim_oc1 | 1797 |
| Figure 517. | Edge-aligned PWM waveforms (ARR = 8) | 1798 |
| Figure 518. | Center-aligned PWM waveforms (ARR = 8) | 1799 |
| Figure 519. | Dithering principle | 1800 |
| Figure 520. | Data format and register coding in dithering mode | 1801 |
| Figure 521. | PWM resolution vs frequency (16-bit mode) | 1802 |
| Figure 522. | PWM resolution vs frequency (32-bit mode) | 1802 |
| Figure 523. | PWM dithering pattern | 1803 |
| Figure 524. | Dithering effect on duty cycle in center-aligned PWM mode | 1804 |
| Figure 525. | Generation of two phase-shifted PWM signals with 50% duty cycle | 1806 |
| Figure 526. | Combined PWM mode on channels 1 and 3 | 1807 |
| Figure 527. | OCREF_CLR input selection multiplexer | 1808 |
| Figure 528. | Clearing TIMx tim_ocxref | 1808 |
| Figure 529. | Example of One-pulse mode | 1809 |
| Figure 530. | Retriggerable one-pulse mode | 1811 |
| Figure 531. | Pulse generator circuitry | 1812 |
| Figure 532. | Pulse generation on compare event, for edge-aligned and encoder modes | 1812 |
| Figure 533. | Extended pulse width in case of concurrent triggers | 1813 |
| Figure 534. | Example of counter operation in encoder interface mode | 1815 |
| Figure 535. | Example of encoder interface mode with tim_ti1fp1 polarity inverted | 1815 |
| Figure 536. | Quadrature encoder counting modes | 1816 |
| Figure 537. | Direction plus clock encoder mode | 1817 |
| Figure 538. | Directional clock encoder mode (CC1P = CC2P = 0) | 1818 |
| Figure 539. | Directional clock encoder mode (CC1P = CC2P = 1) | 1818 |
| Figure 540. | Index gating options | 1820 |
| Figure 541. | Jittered Index signals | 1820 |
| Figure 542. | Index generation for IPOS[1:0] = 11 | 1821 |
| Figure 543. | Counter reading with index gated on channel A (IPOS[1:0] = 11) | 1821 |
| Figure 544. | Counter reading with index ungated (IPOS[1:0] = 00) | 1822 |
| Figure 545. | Counter reading with index gated on channel A and B | 1822 |
| Figure 546. | Encoder mode behavior in case of narrow index pulse (IPOS[1:0] = 11) | 1823 |
| Figure 547. | Counter reset Narrow index pulse (closer view, ARR = 0x07) | 1824 |
| Figure 548. | Index behavior in x1 and x2 mode (IPOS[1:0] = 01) | 1825 |
| Figure 549. | Directional index sensitivity | 1825 |
| Figure 550. | Counter reset as function of FIDX bit setting | 1826 |
| Figure 551. | Index blanking | 1826 |
| Figure 552. | Index behavior in clock + direction mode, IPOS[0] = 1 | 1827 |
| Figure 553. | Index behavior in directional clock mode, IPOS[0] = 1 . . . . . | 1827 |
| Figure 554. | State diagram for quadrature encoded signals. . . . . | 1828 |
| Figure 555. | Up-counting encoder error detection . . . . . | 1829 |
| Figure 556. | Down-counting encode error detection. . . . . | 1830 |
| Figure 557. | Encoder mode change with preload transferred on update (SMSPS = 0) . . . . . | 1831 |
| Figure 558. | Control circuit in reset mode . . . . . | 1833 |
| Figure 559. | Control circuit in gated mode . . . . . | 1834 |
| Figure 560. | Control circuit in trigger mode. . . . . | 1834 |
| Figure 561. | Control circuit in external clock mode 2 + trigger mode . . . . . | 1836 |
| Figure 562. | Master/Slave timer example . . . . . | 1836 |
| Figure 563. | Master/slave connection example with 1 channel only timers . . . . . | 1837 |
| Figure 564. | Gating TIM_slv with tim_oc1ref of TIM_mstr . . . . . | 1838 |
| Figure 565. | Gating TIM_slv with Enable of TIM_mstr . . . . . | 1839 |
| Figure 566. | Triggering TIM_slv with update of TIM_mstr. . . . . | 1840 |
| Figure 567. | Triggering TIM_slv with Enable of TIM_mstr . . . . . | 1840 |
| Figure 568. | Triggering TIM_mstr and TIM_slv with TIM_mstr tim_ti1 input. . . . . | 1841 |
| Figure 569. | Basic timer block diagram. . . . . | 1880 |
| Figure 570. | Control circuit in normal mode, internal clock divided by 1 . . . . . | 1881 |
| Figure 571. | Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 1883 |
| Figure 572. | Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 1883 |
| Figure 573. | Counter timing diagram, internal clock divided by 1 . . . . . | 1884 |
| Figure 574. | Counter timing diagram, internal clock divided by 2 . . . . . | 1885 |
| Figure 575. | Counter timing diagram, internal clock divided by 4 . . . . . | 1885 |
| Figure 576. | Counter timing diagram, internal clock divided by N. . . . . | 1886 |
| Figure 577. | Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded). . . . . | 1886 |
| Figure 578. | Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded). . . . . | 1887 |
| Figure 579. | Dithering principle . . . . . | 1888 |
| Figure 580. | Data format and register coding in dithering mode. . . . . | 1888 |
| Figure 581. | FCnt resolution vs frequency . . . . . | 1889 |
| Figure 582. | PWM dithering pattern . . . . . | 1889 |
| Figure 583. | General-purpose timer block diagram (TIM9/TIM12) . . . . . | 1900 |
| Figure 584. | General-purpose timer block diagram (TIM13/TIM14) . . . . . | 1901 |
| Figure 585. | Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 1904 |
| Figure 586. | Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 1904 |
| Figure 587. | Counter timing diagram, internal clock divided by 1 . . . . . | 1905 |
| Figure 588. | Counter timing diagram, internal clock divided by 2 . . . . . | 1906 |
| Figure 589. | Counter timing diagram, internal clock divided by 4 . . . . . | 1906 |
| Figure 590. | Counter timing diagram, internal clock divided by N. . . . . | 1907 |
| Figure 591. | Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded). . . . . | 1907 |
| Figure 592. | Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded). . . . . | 1908 |
| Figure 593. | Control circuit in normal mode, internal clock divided by 1. . . . . | 1909 |
| Figure 594. | tim_ti2 external clock connection example . . . . . | 1909 |
| Figure 595. | Control circuit in external clock mode 1 . . . . . | 1910 |
| Figure 596. | Capture/compare channel 1 input stage (TIM13/TIM14) . . . . . | 1911 |
| Figure 597. | Capture/compare channel 1 input stage (TIM9/TIM12) . . . . . | 1911 |
| Figure 598. | Capture/compare channel 1 main circuit . . . . . | 1912 |
| Figure 599. | Output stage of capture/compare channel 1. . . . . | 1912 |
| Figure 600. | PWM input mode timing . . . . . | 1914 |
| Figure 601. | Output compare mode, toggle on tim_oc1..... | 1916 |
| Figure 602. | Edge-aligned PWM waveforms (ARR = 8) ..... | 1917 |
| Figure 603. | Dithering principle ..... | 1918 |
| Figure 604. | Data format and register coding in dithering mode ..... | 1918 |
| Figure 605. | PWM resolution vs frequency ..... | 1919 |
| Figure 606. | PWM dithering pattern ..... | 1920 |
| Figure 607. | Combined PWM mode on channel 1 and 2 ..... | 1922 |
| Figure 608. | Example of one pulse mode ..... | 1923 |
| Figure 609. | Retriggerable one pulse mode ..... | 1924 |
| Figure 610. | Measuring time interval between edges on 2 signals ..... | 1925 |
| Figure 611. | Control circuit in reset mode ..... | 1926 |
| Figure 612. | Control circuit in gated mode ..... | 1927 |
| Figure 613. | Control circuit in trigger mode ..... | 1927 |
| Figure 614. | TIM15 block diagram ..... | 1961 |
| Figure 615. | TIM16/TIM17 block diagram ..... | 1962 |
| Figure 616. | Counter timing diagram with prescaler division change from 1 to 2 ..... | 1966 |
| Figure 617. | Counter timing diagram with prescaler division change from 1 to 4 ..... | 1967 |
| Figure 618. | Counter timing diagram, internal clock divided by 1 ..... | 1968 |
| Figure 619. | Counter timing diagram, internal clock divided by 2 ..... | 1969 |
| Figure 620. | Counter timing diagram, internal clock divided by 4 ..... | 1969 |
| Figure 621. | Counter timing diagram, internal clock divided by N ..... | 1970 |
| Figure 622. | Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) ..... | 1970 |
| Figure 623. | Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) ..... | 1971 |
| Figure 624. | Update rate examples depending on mode and TIMx_RCR register settings ..... | 1972 |
| Figure 625. | Control circuit in normal mode, internal clock divided by 1 ..... | 1973 |
| Figure 626. | tim_ti2 external clock connection example ..... | 1973 |
| Figure 627. | Control circuit in external clock mode 1 ..... | 1974 |
| Figure 628. | Capture/compare channel (example: channel 1 input stage) ..... | 1975 |
| Figure 629. | Capture/compare channel 1 main circuit ..... | 1975 |
| Figure 630. | Output stage of capture/compare channel (channel 1) ..... | 1976 |
| Figure 631. | Output stage of capture/compare channel (channel 2 for TIM15) ..... | 1976 |
| Figure 632. | PWM input mode timing ..... | 1979 |
| Figure 633. | Output compare mode, toggle on tim_oc1 ..... | 1981 |
| Figure 634. | Edge-aligned PWM waveforms (ARR = 8) ..... | 1982 |
| Figure 635. | Dithering principle ..... | 1983 |
| Figure 636. | Data format and register coding in dithering mode ..... | 1983 |
| Figure 637. | PWM resolution vs frequency ..... | 1984 |
| Figure 638. | PWM dithering pattern ..... | 1985 |
| Figure 639. | Combined PWM mode on channel 1 and 2 ..... | 1987 |
| Figure 640. | Complementary output with symmetrical dead-time insertion ..... | 1988 |
| Figure 641. | Asymmetrical deadtime ..... | 1989 |
| Figure 642. | Dead-time waveforms with delay greater than the negative pulse ..... | 1989 |
| Figure 643. | Dead-time waveforms with delay greater than the positive pulse ..... | 1989 |
| Figure 644. | Break circuitry overview ..... | 1991 |
| Figure 645. | Output behavior in response to a break event on tim_brk ..... | 1993 |
| Figure 646. | Output redirection ..... | 1995 |
| Figure 647. | tim_ocref_clr input selection multiplexer ..... | 1996 |
| Figure 648. | 6-step generation, COM example (OSSR = 1) ..... | 1997 |
| Figure 649. | Example of one pulse mode ..... | 1998 |
| Figure 650. | Retriggerable one pulse mode ..... | 2000 |
| Figure 651. Measuring time interval between edges on 2 signals . . . . . | 2000 |
| Figure 652. Control circuit in reset mode . . . . . | 2001 |
| Figure 653. Control circuit in gated mode . . . . . | 2002 |
| Figure 654. Control circuit in trigger mode . . . . . | 2003 |
| Figure 655. LPTIM1/2/3 block diagram(1) . . . . . | 2066 |
| Figure 656. LPTIM4/5 block diagram(1) . . . . . | 2067 |
| Figure 657. Glitch filter timing diagram . . . . . | 2071 |
Figure 658. LPTIM output waveform, single-counting mode configuration when repetition register content is different than zero (with PRELOAD = 1) . . . . . | 2073 |
Figure 659. LPTIM output waveform, single-counting mode configuration and Set-once mode activated (WAVE bit is set) . . . . . | 2074 |
| Figure 660. LPTIM output waveform, Continuous counting mode configuration . . . . . | 2074 |
| Figure 661. Waveform generation . . . . . | 2076 |
| Figure 662. Encoder mode counting sequence . . . . . | 2080 |
Figure 663. Continuous counting mode when repetition register LPTIM_RCR different from zero (with PRELOAD = 1) . . . . . | 2081 |
| Figure 664. Capture/compare input stage (channel 1) . . . . . | 2082 |
| Figure 665. Capture/compare output stage (channel 1) . . . . . | 2082 |
| Figure 666. Edge-aligned PWM mode (PRELOAD = 1) . . . . . | 2084 |
| Figure 667. Edge-aligned PWM waveforms (ARR=8 and CCxP = 0) . . . . . | 2085 |
| Figure 668. PWM mode with immediate update versus preloaded update . . . . . | 2086 |
| Figure 669. Watchdog block diagram . . . . . | 2116 |
| Figure 670. Window watchdog timing diagram . . . . . | 2118 |
| Figure 671. Independent watchdog block diagram . . . . . | 2123 |
| Figure 672. Reset timing due to timeout . . . . . | 2125 |
| Figure 673. Reset timing due to refresh in the not allowed area . . . . . | 2126 |
| Figure 674. Changing PR, RL, and performing a refresh(1) . . . . . | 2127 |
| Figure 675. Window comparator update(1) . . . . . | 2128 |
| Figure 676. Independent watchdog interrupt timing diagram . . . . . | 2130 |
| Figure 677. Early wake-up comparator update(1) . . . . . | 2131 |
| Figure 678. RTC block diagram . . . . . | 2138 |
| Figure 679. TAMP block diagram . . . . . | 2187 |
| Figure 680. Backup registers protection zones . . . . . | 2191 |
| Figure 681. Tamper sampling with precharge pulse . . . . . | 2196 |
| Figure 682. Low level detection with precharge and filtering . . . . . | 2196 |
| Figure 683. Active tamper filtering . . . . . | 2198 |
| Figure 684. Block diagram . . . . . | 2231 |
| Figure 685. I2C-bus protocol . . . . . | 2233 |
| Figure 686. Setup and hold timings . . . . . | 2235 |
| Figure 687. I2C initialization flow . . . . . | 2237 |
| Figure 688. Data reception . . . . . | 2238 |
| Figure 689. Data transmission . . . . . | 2239 |
| Figure 690. Target initialization flow . . . . . | 2242 |
| Figure 691. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 0 . . . . . | 2244 |
| Figure 692. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 1 . . . . . | 2245 |
| Figure 693. Transfer bus diagrams for I2C target transmitter (mandatory events only) . . . . . | 2246 |
| Figure 694. Transfer sequence flow for I2C target receiver, NOSTRETCH = 0 . . . . . | 2247 |
| Figure 695. Transfer sequence flow for I2C target receiver, NOSTRETCH = 1 . . . . . | 2248 |
| Figure 696. Transfer bus diagrams for I2C target receiver (mandatory events only) . . . . . | 2248 |
| Figure 697. Controller clock generation . . . . . | 2250 |
| Figure 698. Controller initialization flow . . . . . | 2252 |
| Figure 699. 10-bit address read access with HEAD10R = 0 . . . . . | 2252 |
| Figure 700. | 10-bit address read access with HEAD10R = 1 . . . . . | 2253 |
| Figure 701. | Transfer sequence flow for I2C controller transmitter, N ≤ 255 bytes. . . . . | 2254 |
| Figure 702. | Transfer sequence flow for I2C controller transmitter, N > 255 bytes. . . . . | 2255 |
| Figure 703. | Transfer bus diagrams for I2C controller transmitter (mandatory events only). . . . . | 2256 |
| Figure 704. | Transfer sequence flow for I2C controller receiver, N ≤ 255 bytes . . . . . | 2258 |
| Figure 705. | Transfer sequence flow for I2C controller receiver, N > 255 bytes. . . . . | 2259 |
| Figure 706. | Transfer bus diagrams for I2C controller receiver (mandatory events only). . . . . | 2260 |
| Figure 707. | Timeout intervals for \(t_{\text{LOW:SEXT}}\), \(t_{\text{LOW:MEXT}}\) . . . . . | 2264 |
| Figure 708. | Transfer sequence flow for SMBus target transmitter N bytes + PEC . . . . . | 2267 |
| Figure 709. | Transfer bus diagram for SMBus target transmitter (SBC = 1). . . . . | 2268 |
| Figure 710. | Transfer sequence flow for SMBus target receiver N bytes + PEC . . . . . | 2269 |
| Figure 711. | Bus transfer diagrams for SMBus target receiver (SBC = 1) . . . . . | 2270 |
| Figure 712. | Bus transfer diagrams for SMBus controller transmitter . . . . . | 2271 |
| Figure 713. | Bus transfer diagrams for SMBus controller receiver . . . . . | 2273 |
| Figure 714. | I3C block diagram. . . . . | 2297 |
| Figure 715. | I3C (primary) controller state and programming sequence diagram. . . . . | 2301 |
| Figure 716. | I3C target state and programing sequence diagram . . . . . | 2306 |
| Figure 717. | I3C CCC messages, as controller . . . . . | 2320 |
| Figure 718. | I3C broadcast ENTDAACCC, as controller . . . . . | 2321 |
| Figure 719. | I3C broadcast, direct read and direct write RSTACT CCC, as controller . . . . . | 2322 |
| Figure 720. | I3C CCC messages, as target . . . . . | 2324 |
| Figure 721. | I3C broadcast ENTDAACCC, as target. . . . . | 2325 |
| Figure 722. | I3C broadcast DEFTGTS CCC, as target. . . . . | 2326 |
| Figure 723. | I3C broadcast DEFGRPA CCC, as target . . . . . | 2327 |
| Figure 724. | I3C private read/write messages, as controller. . . . . | 2329 |
| Figure 725. | I3C private read/write messages, as target . . . . . | 2330 |
| Figure 726. | Legacy I2C read/write messages, as controller . . . . . | 2331 |
| Figure 727. | IBI transfer, as controller/target . . . . . | 2332 |
| Figure 728. | Hot-join request transfer, as controller/target . . . . . | 2333 |
| Figure 729. | Controller-role request transfer, as controller/target . . . . . | 2334 |
| Figure 730. | C-FIFO management, as controller . . . . . | 2335 |
| Figure 731. | TX-FIFO management, as controller . . . . . | 2337 |
| Figure 732. | RX-FIFO management, as controller . . . . . | 2339 |
| Figure 733. | S-FIFO management, as controller . . . . . | 2342 |
| Figure 734. | RX-FIFO management, as target on the I3C bus. . . . . | 2343 |
| Figure 735. | TX-FIFO management with I3C_TGTTDR, as target on the I3C bus. . . . . | 2345 |
| Figure 736. | TX-FIFO management by software without I3C_TGTTDR if reading less bytes than TX-FIFO size, as target . . . . . | 2347 |
| Figure 737. | USART block diagram . . . . . | 2405 |
| Figure 738. | Word length programming . . . . . | 2409 |
| Figure 739. | Configurable stop bits. . . . . | 2411 |
| Figure 740. | TC/TXE behavior when transmitting . . . . . | 2413 |
| Figure 741. | Start bit detection when oversampling by 16 or 8. . . . . | 2414 |
| Figure 742. | usart_ker_ck clock divider block diagram. . . . . | 2417 |
| Figure 743. | Data sampling when oversampling by 16. . . . . | 2418 |
| Figure 744. | Data sampling when oversampling by 8. . . . . | 2419 |
| Figure 745. | Mute mode using Idle line detection . . . . . | 2426 |
| Figure 746. | Mute mode using address mark detection . . . . . | 2427 |
| Figure 747. | Break detection in LIN mode (11-bit break length - LBDL bit is set). . . . . | 2430 |
| Figure 748. | Break detection in LIN mode vs. Framing error detection. . . . . | 2431 |
| Figure 749. | USART example of synchronous master transmission. . . . . | 2432 |
| Figure 750. | USART data clock timing diagram in synchronous master mode (M bits = 00) . . . . . | 2432 |
| Figure 751. USART data clock timing diagram in synchronous master mode (M bits = 01) . . . . . | 2433 |
| Figure 752. USART data clock timing diagram in synchronous slave mode (M bits = 00) . . . . . | 2434 |
| Figure 753. ISO 7816-3 asynchronous protocol . . . . . | 2436 |
| Figure 754. Parity error detection using the 1.5 stop bits . . . . . | 2438 |
| Figure 755. IrDA SIR ENDEC block diagram. . . . . | 2442 |
| Figure 756. IrDA data modulation (3/16) - normal mode . . . . . | 2442 |
| Figure 757. Transmission using DMA . . . . . | 2444 |
| Figure 758. Reception using DMA. . . . . | 2445 |
| Figure 759. Hardware flow control between two USARTs. . . . . | 2445 |
| Figure 760. RS232 RTS flow control . . . . . | 2446 |
| Figure 761. RS232 CTS flow control . . . . . | 2447 |
| Figure 762. Wake-up event verified (wake-up event = address match, FIFO disabled) . . . . . | 2450 |
| Figure 763. Wake-up event not verified (wake-up event = address match, FIFO disabled) . . . . . | 2450 |
| Figure 764. LPUART block diagram . . . . . | 2495 |
| Figure 765. LPUART word length programming . . . . . | 2498 |
| Figure 766. Configurable stop bits. . . . . | 2500 |
| Figure 767. TC/TXE behavior when transmitting . . . . . | 2502 |
| Figure 768. lpuart_ker_ck clock divider block diagram . . . . . | 2506 |
| Figure 769. Mute mode using Idle line detection . . . . . | 2510 |
| Figure 770. Mute mode using address mark detection . . . . . | 2511 |
| Figure 771. Transmission using DMA . . . . . | 2513 |
| Figure 772. Reception using DMA. . . . . | 2514 |
| Figure 773. Hardware flow control between two LPUARTs. . . . . | 2515 |
| Figure 774. RS232 RTS flow control . . . . . | 2515 |
| Figure 775. RS232 CTS flow control . . . . . | 2516 |
| Figure 776. Wake-up event verified (wake-up event = address match, FIFO disabled) . . . . . | 2519 |
| Figure 777. Wake-up event not verified (wake-up event = address match, FIFO disabled) . . . . . | 2519 |
| Figure 778. SPI/I2S block diagram . . . . . | 2551 |
| Figure 779. Full-duplex single master/ single slave application. . . . . | 2554 |
| Figure 780. Half-duplex single master/ single slave application . . . . . | 2555 |
Figure 781. Simplex single master / single slave application (master in transmit-only / slave in receive-only mode) . . . . . | 2556 |
| Figure 782. Master and three independent slaves connected in star topology . . . . . | 2557 |
| Figure 783. Master and three slaves connected in circular (daisy chain) topology . . . . . | 2559 |
| Figure 784. Multimaster application. . . . . | 2560 |
| Figure 785. Scheme of NSS control logic . . . . . | 2562 |
| Figure 786. Data flow timing control (SSOE = 1, SSOM = 0, SSM = 0) . . . . . | 2562 |
| Figure 787. NSS interleaving pulses between data (SSOE = 1, SSOM = 1, SSM = 0) . . . . . | 2563 |
| Figure 788. Data clock timing diagram . . . . . | 2565 |
| Figure 789. Data alignment when data size is not equal to 8, 16 or 32 bits . . . . . | 2566 |
| Figure 790. TI mode transfer . . . . . | 2575 |
| Figure 791. Optional configurations of the slave behavior when an underrun condition is detected . . . . . | 2577 |
| Figure 792. Waveform examples. . . . . | 2585 |
| Figure 793. Master I2S Philips protocol waveforms (16/32-bit full accuracy) . . . . . | 2586 |
| Figure 794. I2S Philips standard waveforms . . . . . | 2586 |
| Figure 795. Master MSB-justified 16- or 32-bit full-accuracy length . . . . . | 2587 |
| Figure 796. Master MSB-justified 16- or 24-bit data length . . . . . | 2587 |
| Figure 797. Slave MSB-justified 16-, 24- or 32-bit data length . . . . . | 2588 |
| Figure 798. LSB-justified 16 or 24-bit data length . . . . . | 2588 |
| Figure 799. Master PCM when the frame length is equal the data length. . . . . | 2589 |
| Figure 800. Master PCM standard waveforms (16 or 24-bit data length) . . . . . | 2589 |
| Figure 801. Slave PCM waveforms . . . . . | 2590 |
| Figure 802. | Startup sequence, I2S Philips standard, master | 2593 |
| Figure 803. | Startup sequence, I2S Philips standard, slave | 2594 |
| Figure 804. | Stop sequence, I2S Philips standard, master | 2594 |
| Figure 805. | I2S clock generator architecture | 2595 |
| Figure 806. | Data Format | 2597 |
| Figure 807. | Handling of underrun situation | 2599 |
| Figure 808. | Handling of overrun situation | 2600 |
| Figure 809. | Frame error detection, with FIXCH = 0 | 2601 |
| Figure 810. | Frame error detection, with FIXCH = 1 | 2601 |
| Figure 811. | SAI functional block diagram | 2627 |
| Figure 812. | Audio frame | 2631 |
| Figure 813. | FS role is start of frame + channel side identification (FSDEF = TRIS = 1) | 2633 |
| Figure 814. | FS role is start of frame (FSDEF = 0) | 2634 |
| Figure 815. | Slot size configuration with FBOFF = 0 in SAI_xSLOTR | 2635 |
| Figure 816. | First bit offset | 2635 |
| Figure 817. | Audio block clock generator overview | 2637 |
| Figure 818. | PDM typical connection and timing | 2641 |
| Figure 819. | Detailed PDM interface block diagram | 2642 |
| Figure 820. | Start-up sequence | 2643 |
| Figure 821. | SAI_ADR format in TDM mode, 32-bit slot width | 2644 |
| Figure 822. | SAI_ADR format in TDM mode, 16-bit slot width | 2645 |
| Figure 823. | SAI_ADR format in TDM mode, 8-bit slot width | 2646 |
| Figure 824. | AC'97 audio frame | 2649 |
| Figure 825. | Example of typical AC'97 configuration on devices featuring at least two embedded SAIs (three external AC'97 decoders) | 2650 |
| Figure 826. | SPDIF format | 2651 |
| Figure 827. | SAI_xDR register ordering | 2652 |
| Figure 828. | Data companding hardware in an audio block in the SAI | 2655 |
| Figure 829. | Tristate strategy on SD output line on an inactive slot | 2657 |
| Figure 830. | Tristate on output data line in a protocol like I2S | 2658 |
| Figure 831. | Overrun detection error | 2659 |
| Figure 832. | FIFO underrun event | 2659 |
| Figure 833. | SPDIFRX block diagram | 2694 |
| Figure 834. | S/SPDIF sub-frame format | 2695 |
| Figure 835. | S/SPDIF block format | 2696 |
| Figure 836. | S/SPDIF preambles | 2696 |
| Figure 837. | Channel coding example | 2697 |
| Figure 838. | SPDIFRX decoder | 2698 |
| Figure 839. | Noise filtering and edge detection | 2698 |
| Figure 840. | Thresholds | 2700 |
| Figure 841. | Synchronization flowchart | 2702 |
| Figure 842. | Synchronization process scheduling | 2703 |
| Figure 843. | SPDIFRX states | 2704 |
| Figure 844. | SPDIFRX_FMTx_DR register format | 2706 |
| Figure 845. | Channel/user data format | 2707 |
| Figure 846. | S/SPDIF overrun error when RXSTEO = 0 | 2709 |
| Figure 847. | S/SPDIF overrun error when RXSTEO = 1 | 2710 |
| Figure 848. | SPDIFRX interface interrupt mapping diagram | 2713 |
| Figure 849. | MDIOS block diagram | 2728 |
| Figure 850. | MDIO protocol write frame waveform | 2729 |
| Figure 851. | MDIO protocol read frame waveform | 2729 |
| Figure 852. | SDMMC “no response” and “no data” operations | 2741 |
| Figure 853. SDMMC (multiple) block read operation | 2741 |
| Figure 854. SDMMC (multiple) block write operation | 2742 |
| Figure 855. SDMMC (sequential) stream read operation | 2742 |
| Figure 856. SDMMC (sequential) stream write operation | 2742 |
| Figure 857. SDMMC block diagram | 2744 |
| Figure 858. SDMMC Command and data phase relation | 2746 |
| Figure 859. Control unit | 2748 |
| Figure 860. Command/response path | 2749 |
| Figure 861. Command path state machine (CPSM) | 2750 |
| Figure 862. Data path | 2756 |
| Figure 863. DDR mode data packet clocking | 2757 |
| Figure 864. DDR mode CRC status / boot acknowledgment clocking | 2757 |
| Figure 865. Data path state machine (DPSM) | 2758 |
| Figure 866. CLKMUX unit | 2769 |
| Figure 867. Linked list structures | 2771 |
| Figure 868. Asynchronous interrupt generation | 2774 |
| Figure 869. Synchronous interrupt period data read | 2775 |
| Figure 870. Synchronous interrupt period data write | 2775 |
| Figure 871. Asynchronous interrupt period data read | 2776 |
| Figure 872. Asynchronous interrupt period data write | 2777 |
| Figure 873. Clock stop with SDMMC_CK for DS, HS, SDR12, SDR25 | 2780 |
| Figure 874. Clock stop with SDMMC_CK for DDR50, SDR50, SDR104 | 2780 |
| Figure 875. Read Wait with SDMMC_CK < 50 MHz | 2781 |
| Figure 876. Read Wait with SDMMC_CK > 50 MHz | 2781 |
| Figure 877. CMD12 stream timing | 2784 |
| Figure 878. CMD5 Sleep Awake procedure | 2786 |
| Figure 879. Normal boot mode operation | 2788 |
| Figure 880. Alternative boot mode operation | 2789 |
| Figure 881. Command response R1b busy signaling | 2790 |
| Figure 882. SDMMC state control | 2791 |
| Figure 883. Card cycle power / power up diagram | 2792 |
| Figure 884. CMD11 signal voltage switch sequence | 2793 |
| Figure 885. Voltage switch transceiver typical application | 2795 |
| Figure 886. CAN subsystem | 2823 |
| Figure 887. FDCAN block diagram | 2825 |
| Figure 888. Bit timing | 2827 |
| Figure 889. Transceiver delay measurement | 2832 |
| Figure 890. Pin control in bus monitoring mode | 2833 |
| Figure 891. Pin control in loop-back mode | 2836 |
| Figure 892. CAN error state diagram | 2837 |
| Figure 893. Message RAM configuration | 2838 |
| Figure 894. Standard message ID filter path | 2841 |
| Figure 895. Extended message ID filter path | 2842 |
| Figure 896. OTG_FS full-speed block diagram | 2892 |
| Figure 897. OTG_FS A-B device connection | 2894 |
| Figure 898. OTG_FS peripheral-only connection | 2895 |
| Figure 899. OTG_FS host-only connection | 2899 |
| Figure 900. SOF connectivity (SOF trigger output to TIM and ITR1 connection) | 2903 |
| Figure 901. Updating OTG_HFIR dynamically (RLDCTRL = 1) | 2905 |
| Figure 902. Device-mode FIFO address mapping and AHB FIFO access mapping | 2906 |
| Figure 903. Host-mode FIFO address mapping and AHB FIFO access mapping | 2907 |
| Figure 904. Interrupt hierarchy | 2911 |
| Figure 905. Transmit FIFO write task . . . . . | 3003 |
| Figure 906. Receive FIFO read task . . . . . | 3004 |
| Figure 907. Normal bulk/control OUT/SETUP . . . . . | 3005 |
| Figure 908. Bulk/control IN transactions . . . . . | 3009 |
| Figure 909. Normal interrupt OUT . . . . . | 3012 |
| Figure 910. Normal interrupt IN . . . . . | 3017 |
| Figure 911. Isochronous OUT transactions . . . . . | 3019 |
| Figure 912. Isochronous IN transactions . . . . . | 3022 |
| Figure 913. Receive FIFO packet read . . . . . | 3026 |
| Figure 914. Processing a SETUP packet . . . . . | 3028 |
| Figure 915. Bulk OUT transaction . . . . . | 3035 |
| Figure 916. TRDT max timing case . . . . . | 3045 |
| Figure 917. OTG_HS high-speed block diagram . . . . . | 3050 |
| Figure 918. OTG_HS A-B device connection . . . . . | 3052 |
| Figure 919. OTG_HS peripheral-only connection . . . . . | 3053 |
| Figure 920. OTG_HS host-only connection . . . . . | 3057 |
| Figure 921. SOF connectivity (SOF trigger output to TIM and ITR1 connection) . . . . . | 3061 |
| Figure 922. Updating OTG_HFIR dynamically (RLDCTRL = 1) . . . . . | 3063 |
| Figure 923. Device-mode FIFO address mapping and AHB FIFO access mapping . . . . . | 3064 |
| Figure 924. Host-mode FIFO address mapping and AHB FIFO access mapping . . . . . | 3065 |
| Figure 925. Interrupt hierarchy . . . . . | 3069 |
| Figure 926. Transmit FIFO write task . . . . . | 3162 |
| Figure 927. Receive FIFO read task . . . . . | 3163 |
| Figure 928. Normal bulk/control OUT/SETUP . . . . . | 3164 |
| Figure 929. Bulk/control IN transactions . . . . . | 3168 |
| Figure 930. Normal interrupt OUT . . . . . | 3171 |
| Figure 931. Normal interrupt IN . . . . . | 3176 |
| Figure 932. Isochronous OUT transactions . . . . . | 3178 |
| Figure 933. Isochronous IN transactions . . . . . | 3181 |
| Figure 934. Normal bulk/control OUT/SETUP transactions - DMA . . . . . | 3183 |
| Figure 935. Normal bulk/control IN transaction - DMA . . . . . | 3185 |
| Figure 936. Normal interrupt OUT transactions - DMA mode . . . . . | 3186 |
| Figure 937. Normal interrupt IN transactions - DMA mode . . . . . | 3187 |
| Figure 938. Normal isochronous OUT transaction - DMA mode . . . . . | 3188 |
| Figure 939. Normal isochronous IN transactions - DMA mode . . . . . | 3189 |
| Figure 940. Receive FIFO packet read . . . . . | 3195 |
| Figure 941. Processing a SETUP packet . . . . . | 3197 |
| Figure 942. Bulk OUT transaction . . . . . | 3204 |
| Figure 943. TRDT max timing case . . . . . | 3213 |
| Figure 944. UCPD block diagram . . . . . | 3217 |
| Figure 945. Clock division and timing elements . . . . . | 3219 |
| Figure 946. K-code transmission . . . . . | 3221 |
| Figure 947. Transmit order for various sizes of data . . . . . | 3222 |
| Figure 948. Packet format . . . . . | 3223 |
| Figure 949. Line format of Hard Reset . . . . . | 3223 |
| Figure 950. Line format of Cable Reset . . . . . | 3224 |
| Figure 951. BIST test data frame . . . . . | 3225 |
| Figure 952. BIST Carrier Mode 2 frame . . . . . | 3225 |
| Figure 953. UCPD BMC transmitter architecture . . . . . | 3226 |
| Figure 954. UCPD BMC receiver architecture . . . . . | 3227 |
| Figure 955. High-level Ethernet block diagram . . . . . | 3260 |
| Figure 956. DMA transmission flow (standard mode) . . . . . | 3263 |
| Figure 957. DMA transmission flow (OSP mode) ..... | 3265 |
| Figure 958. Receive DMA flow ..... | 3267 |
| Figure 959. Overview of MAC transmission flow ..... | 3271 |
| Figure 960. MAC reception flow ..... | 3273 |
| Figure 961. Packet filtering sequence ..... | 3277 |
| Figure 962. Networked time synchronization ..... | 3286 |
| Figure 963. Propagation delay calculation in clocks supporting peer-to-peer path correction ..... | 3287 |
| Figure 964. System time update using fine correction method ..... | 3297 |
| Figure 965. TCP segmentation offload overview ..... | 3314 |
| Figure 966. TCP segmentation offload flow ..... | 3315 |
| Figure 967. Header and payload fields of segmented packets ..... | 3318 |
| Figure 968. Supported PHY interfaces ..... | 3327 |
| Figure 969. SMA Interface block ..... | 3327 |
| Figure 970. MDIO packet structure (Clause 45) ..... | 3328 |
| Figure 971. MDIO packet structure (Clause 22) ..... | 3329 |
| Figure 972. SMA write operation flow ..... | 3331 |
| Figure 973. Write data packet ..... | 3332 |
| Figure 974. Read data packet ..... | 3332 |
| Figure 975. Media independent interface (MII) signals ..... | 3334 |
| Figure 976. RMII block diagram ..... | 3336 |
| Figure 977. Transmission bit order ..... | 3337 |
| Figure 978. Receive bit order ..... | 3338 |
| Figure 979. LPI transitions (Transmit, 100 Mbds) ..... | 3346 |
| Figure 980. LPI Tx clock gating (when LPITCSE = 1) ..... | 3347 |
| Figure 981. LPI transitions (receive, 100 Mbit/s) ..... | 3348 |
| Figure 982. Descriptor ring structure ..... | 3369 |
| Figure 983. DMA descriptor ring ..... | 3371 |
| Figure 984. Descriptor tail pointer example 1 ..... | 3371 |
| Figure 985. Descriptor tail pointer example 2 ..... | 3372 |
| Figure 986. Transmit descriptor (read format) ..... | 3373 |
| Figure 987. Transmit descriptor write-back format ..... | 3378 |
| Figure 988. Transmit context descriptor format ..... | 3382 |
| Figure 989. Receive normal descriptor (read format) ..... | 3385 |
| Figure 990. Receive normal descriptor (write-back format) ..... | 3387 |
| Figure 991. Receive context descriptor ..... | 3395 |
| Figure 992. Generation of ETH_DMAISR flags ..... | 3410 |
| Figure 993. HDMI-CEC block diagram ..... | 3524 |
| Figure 994. Message structure ..... | 3524 |
| Figure 995. Blocks ..... | 3525 |
| Figure 996. Bit timings ..... | 3525 |
| Figure 997. Signal free time ..... | 3526 |
| Figure 998. Arbitration phase ..... | 3526 |
| Figure 999. SFT of three nominal bit periods ..... | 3526 |
| Figure 1000. Error bit timing ..... | 3527 |
| Figure 1001. Error handling ..... | 3529 |
| Figure 1002. TXERR detection ..... | 3530 |
| Figure 1003. Block diagram of debug infrastructure ..... | 3541 |
| Figure 1004. Clock domains of debug infrastructure ..... | 3542 |
| Figure 1005. Product life cycle states and debug authentication ..... | 3545 |
| Figure 1006. SWD successful data transfer ..... | 3548 |
| Figure 1007. JTAG TAP state machine ..... | 3549 |
| Figure 1008. Debug and access port connections ..... | 3562 |