26. Peripheral interconnects ..... 1492

26.1Introduction .....1492
26.2Connection overview .....1492
26.2.1Asynchronous connections (A) .....1492
26.2.2Synchronous connections (S) .....1492
26.2.3Break/fault connection for TIM outputs (B) .....1492
26.2.4Peripherals interconnect matrix .....1493
27High-performance direct memory access controller (HPDMA) ...1517
27.1HPDMA introduction .....1517
27.2HPDMA main features .....1517
27.3HPDMA implementation .....1518
27.3.1HPDMA channels .....1518
27.3.2HPDMA allowed AXI maximum burst length .....1519
27.3.3HPDMA autonomous mode in low-power modes .....1519
27.3.4HPDMA requests .....1519
27.3.5HPDMA block requests .....1525
27.3.6HPDMA channels with peripheral early termination .....1525
27.3.7HPDMA triggers .....1526
27.4HPDMA functional description .....1529
27.4.1HPDMA block diagram .....1529
27.4.2HPDMA channel state and direct programming without
any linked-list .....
1529
27.4.3HPDMA channel suspend and resume .....1530
27.4.4HPDMA channel abort and restart .....1531
27.4.5HPDMA linked-list data structure .....1532
27.4.6Linked-list item transfer execution .....1535
27.4.7HPDMA channel state and linked-list programming
in run-to-completion mode .....
1536
27.4.8HPDMA channel state and linked-list programming
in link step mode .....
1540
27.4.9HPDMA channel state and linked-list programming .....1547
27.4.10HPDMA FIFO-based transfers .....1549
27.4.11HPDMA transfer request and arbitration .....1565
27.4.12HPDMA triggered transfer .....1569
27.4.13HPDMA circular buffering with linked-list programming .....1570
27.4.14HPDMA transfer in peripheral flow-control mode .....1572
27.4.15HPDMA secure/nonsecure channel .....1573
27.4.16HPDMA privileged/unprivileged channel1574
27.4.17HPDMA error management1574
27.4.18HPDMA autonomous mode1576
27.5HPDMA in debug mode1577
27.6HPDMA in low-power modes1578
27.7HPDMA interrupts1578
27.8HPDMA registers1580
27.8.1HPDMA secure configuration register (HPDMA_SECCFGR)1580
27.8.2HPDMA privileged configuration register (HPDMA_PRIVCFGR)1581
27.8.3HPDMA configuration lock register (HPDMA_RCFGLOCKR)1581
27.8.4HPDMA nonsecure masked interrupt status register (HPDMA_MISR)1582
27.8.5HPDMA secure masked interrupt status register (HPDMA_SMISR)1583
27.8.6HPDMA channel x linked-list base address register (HPDMA_CxLBAR)1584
27.8.7HPDMA channel x CID register (HPDMA_CxCIDCFGR)1584
27.8.8HPDMA channel x semaphore control register (HPDMA_CxSEMCR)1586
27.8.9HPDMA channel x flag clear register (HPDMA_CxFCR)1587
27.8.10HPDMA channel x status register (HPDMA_CxSR)1588
27.8.11HPDMA channel x control register (HPDMA_CxCR)1589
27.8.12HPDMA channel x transfer register 1 (HPDMA_CxTR1)1592
27.8.13HPDMA channel x transfer register 2 (HPDMA_CxTR2)1596
27.8.14HPDMA channel x block register 1 (HPDMA_CxBR1)1600
27.8.15HPDMA channel x alternate block register 1 (HPDMA_CxBR1)1601
27.8.16HPDMA channel x source address register (HPDMA_CxSAR)1604
27.8.17HPDMA channel x destination address register (HPDMA_CxDAR)1606
27.8.18HPDMA channel x transfer register 3 (HPDMA_CxTR3)1608
27.8.19HPDMA channel x block register 2 (HPDMA_CxBR2)1610
27.8.20HPDMA channel x linked-list address register (HPDMA_CxLLR)1611
27.8.21HPDMA channel x alternate linked-list address register (HPDMA_CxLLR)1613
27.8.22HPDMA hardware configuration 13 register (HPDMA_HWCFGR13)1614
27.8.23HPDMA hardware configuration 12 register (HPDMA_HWCFGR12)1616
27.8.24HPDMA hardware configuration 11 register (HPDMA_HWCFGR11)1617
27.8.25HPDMA hardware configuration 10 register (HPDMA_HWCFGR10)1618
27.8.26HPDMA hardware configuration 9 register (HPDMA_HWCFGR9)1619
27.8.27HPDMA hardware configuration 8 register (HPDMA_HWCFGR8)1620
27.8.28HPDMA hardware configuration 7 register (HPDMA_HWCFGR7) ..1621
27.8.29HPDMA hardware configuration 6 register (HPDMA_HWCFGR6) ..1622
27.8.30HPDMA hardware configuration 5 register (HPDMA_HWCFGR5) ..1624
27.8.31HPDMA hardware configuration 4 register (HPDMA_HWCFGR4) ..1625
27.8.32HPDMA hardware configuration 3 register (HPDMA_HWCFGR3) ..1626
27.8.33HPDMA hardware configuration 2 register (HPDMA_HWCFGR2) ..1627
27.8.34HPDMA hardware configuration 1 register (HPDMA_HWCFGR1) ..1627
27.8.35HPDMA version register (HPDMA_VERR) .....1629
27.8.36HPDMA identification register (HPDMA_IPIDR) .....1629
27.8.37HPDMA size identification register (HPDMA_SIDR) .....1629
27.8.38HPDMA register map .....1630
28Low-power direct memory access controller (LPDMA) .....1634
28.1LPDMA introduction .....1634
28.2LPDMA main features .....1634
28.3LPDMA implementation .....1635
28.3.1LPDMA channels .....1635
28.3.2LPDMA autonomous mode in low-power modes .....1636
28.3.3LPDMA requests .....1636
28.3.4LPDMA block requests .....1637
28.3.5LPDMA channels with peripheral early termination .....1637
28.3.6LPDMA triggers .....1637
28.4LPDMA functional description .....1639
28.4.1LPDMA block diagram .....1639
28.4.2LPDMA channel state and direct programming without
any linked-list .....
1639
28.4.3LPDMA channel suspend and resume .....1640
28.4.4LPDMA channel abort and restart .....1641
28.4.5LPDMA linked-list data structure .....1642
28.4.6Linked-list item transfer execution .....1644
28.4.7LPDMA channel state and linked-list programming
in run-to-completion mode .....
1644
28.4.8LPDMA channel state and linked-list programming in link step mode1649
28.4.9LPDMA channel state and linked-list programming .....1655
28.4.10LPDMA direct transfers .....1657
28.4.11LPDMA transfer request and arbitration .....1659
28.4.12LPDMA triggered transfer .....1663
28.4.13LPDMA circular buffering with linked-list programming1664
28.4.14LPDMA transfer in peripheral flow-control mode1666
28.4.15LPDMA secure/nonsecure channel1667
28.4.16LPDMA privileged/unprivileged channel1667
28.4.17LPDMA error management1668
28.4.18LPDMA autonomous mode1669
28.5LPDMA in debug mode1671
28.6LPDMA in low-power modes1671
28.7LPDMA interrupts1671
28.8LPDMA registers1673
28.8.1LPDMA secure configuration register (LPDMA_SECCFGR)1673
28.8.2LPDMA privileged configuration register (LPDMA_PRIVCFGR)1674
28.8.3LPDMA configuration lock register (LPDMA_RCFGLOCKR)1675
28.8.4LPDMA nonsecure masked interrupt status register (LPDMA_MISR)1675
28.8.5LPDMA secure masked interrupt status register (LPDMA_SMISR)1676
28.8.6LPDMA channel x linked-list base address register (LPDMA_CxLBAR)1677
28.8.7LPDMA channel x CID register (LPDMA_CxCIDCFGR)1678
28.8.8LPDMA channel x semaphore control register (LPDMA_CxSEMCR)1679
28.8.9LPDMA channel x flag clear register (LPDMA_CxFCR)1680
28.8.10LPDMA channel x status register (LPDMA_CxSR)1681
28.8.11LPDMA channel x control register (LPDMA_CxCR)1683
28.8.12LPDMA channel x transfer register 1 (LPDMA_CxTR1)1685
28.8.13LPDMA channel x transfer register 2 (LPDMA_CxTR2)1687
28.8.14LPDMA channel x block register 1 (LPDMA_CxBR1)1690
28.8.15LPDMA channel x source address register (LPDMA_CxSAR)1692
28.8.16LPDMA channel x destination address register (LPDMA_CxDAR)1693
28.8.17LPDMA channel x linked-list address register (LPDMA_CxLLR)1694
28.8.18LPDMA hardware configuration 13 register (LPDMA_HWCFGR13)1695
28.8.19LPDMA hardware configuration 12 register (LPDMA_HWCFGR12)1696
28.8.20LPDMA hardware configuration 11 register (LPDMA_HWCFGR11)1697
28.8.21LPDMA hardware configuration 10 register (LPDMA_HWCFGR10)1698
28.8.22LPDMA hardware configuration 9 register (LPDMA_HWCFGR9)1699
28.8.23LPDMA hardware configuration 8 register (LPDMA_HWCFGR8)1701
28.8.24LPDMA hardware configuration 7 register (LPDMA_HWCFGR7)1702
28.8.25LPDMA hardware configuration 6 register (LPDMA_HWCFGR6)1703
28.8.26LPDMA hardware configuration 5 register (LPDMA_HWCFGR5) . . .1704
28.8.27LPDMA hardware configuration 4 register (LPDMA_HWCFGR4) . . .1705
28.8.28LPDMA hardware configuration 3 register (LPDMA_HWCFGR3) . . .1706
28.8.29LPDMA hardware configuration 2 register (LPDMA_HWCFGR2) . . .1707
28.8.30LPDMA hardware configuration 1 register (LPDMA_HWCFGR1) . . .1708
28.8.31LPDMA version register (LPDMA_VERR) . . . . .1709
28.8.32LPDMA identification register (LPDMA_IPIDR) . . . . .1709
28.8.33LPDMA size identification register (LPDMA_SIDR) . . . . .1709
28.8.34LPDMA register map . . . . .1710
29Graphic processing unit (GPU) . . . . .1713
29.1Introduction . . . . .1713
29.2GPU main features . . . . .1713
29.2.1Graphic Main Features . . . . .1713
29.2.2Computing main features . . . . .1714
29.2.3Neural networkmain features . . . . .1714
29.2.4Simultaneous processing of Gfx versus Neural versus
computing tasks . . . . .
1714
29.3GPU implementation . . . . .1714
29.4GPU functional description . . . . .1714
29.4.1GPU block diagram . . . . .1714
29.4.2GPU pins and internal signals . . . . .1715
29.4.3GPU reset and clocks . . . . .1715
29.4.4GPU security . . . . .1716
29.4.5GPU power-on sequence . . . . .1716
29.5GPU low power modes . . . . .1717
29.6GPU interrupts . . . . .1717
29.7GPU registers . . . . .1717
29.7.1GPU AQ Hi clock control register (GPU_AQHICLOCKCONTROL) . .1717
29.7.2GPU AQ Hi Idle Register (GPU_AQHIIIDLE) . . . . .1718
29.7.3GPU AQ AXI status register (GPU_AQAXISTATUS) . . . . .1719
29.7.4GPU AQ interrupt acknowledge register
(GPU_AQINTRACKNOWLEDGE) . . . . .
1719
29.7.5GPU AQ interrupt enable register (GPU_AQINTRENBL) . . . . .1720
29.7.6GPU GC chip revision register (GPU_GCCHIPREV) . . . . .1720
29.7.7GPU GC chip date register (GPU_GCCHIPDATE) . . . . .1720
29.7.8GPU GC total cycles register (GPU_GCTOTALCYCLES) . . . . .1721
29.7.9GPU GC registration Hi chip patch revision register
(GPU_GCREGHICHIPPATCHREV) .....
1721
29.7.10GPU GC product identification register (GPU_GCPRODUCTID) ...1721
29.7.11GPU GC ECO identification register (GPU_GCECOID) .....1722
29.7.12GPU GC module power control register
(GPU_GCMODULEPOWERCONTROLS) .....
1722
29.7.13GPU GC MMU AHB control register
(GPU_GCREGMMUAHBCONTROL) .....
1723
29.7.14GPU GC MMU AHB table array base address low register
(GPU_GCREGMMUAHBTABLEARRAYBASEADDRESSLOW) ....
1723
29.7.15GPU GC MMU AHB table array base address high register
(GPU_GCREGMMUAHBTABLEARRAYBASEADDRESSHIGH) ...
1724
29.7.16GPU GC MMU AHB table array size register
(GPU_GCREGMMUAHBTABLEARRAYSIZE) .....
1724
29.7.17GPU GC MMU AHB safe non-secure address register
(GPU_GCREGMMUAHBSAFENONSECUREADDRESS) .....
1725
29.7.18GPU GC MMU AHB safe secure address register
(GPU_GCREGMMUAHBSAFESECUREADDRESS) .....
1725
29.7.19GPU GC command buffer AHB control register
(GPU_GCREGCMDBUFFERAHBCTRL) .....
1725
29.7.20GPU GC Hi AHB control register
(GPU_GCREGHIAHBCONTROL) .....
1726
29.7.21GPU GC AXI AHB configuration register
(GPU_GCREGAXIAHBCONFIG) .....
1726
29.7.22GPU AQ memory debug register (GPU_AQMEMORYDEBUG) ....1727
29.7.23GPU AQ timing control register
(GPU_AQREGISTERTIMINGCONTROL) .....
1727
29.7.24GPU AQ command buffer address register
(GPU_AQCMDBUFFERADDR) .....
1728
29.7.25GPU AQ FE debug current command address register
(GPU_AQFEDEBUGCURCMDADR) .....
1728
29.7.26GPU register map .....1728
30Neural processing unit (NPU) .....1733
30.1Introduction .....1733
30.2NPU main features .....1733
30.3NPU implementation .....1733
30.4NPU functional description .....1734
30.5NPU low-power modes .....1734
30.6NPU interrupts .....1734
30.7NPU registers .....1734
31Interrupt list .....1735
31.1NVIC interrupts .....1735
31.2GIC interrupts .....1746
32Nested vectored interrupt controllers (NVIC) .....1759
32.1NVIC features .....1759
32.2SysTick calibration value register .....1759
32.3Interrupt and exception vectors .....1760
33Global interrupt controller (GIC) .....1761
33.1GIC introduction .....1761
33.2GIC main features .....1761
33.3GIC functional description .....1761
33.4GIC interrupt sources .....1762
33.4.1Software generated interrupts (SGI) .....1762
33.4.2Private peripheral interrupts (PPI) .....1763
33.4.3Shared peripheral interrupts (SPI) .....1763
33.4.4Interrupt priority formats .....1763
33.5GIC distributor (GICD) .....1763
33.5.1GICD control register (GICD_CTLR) .....1764
33.5.2GICD control non-secure access register (GICD_CTLRNS) .....1764
33.5.3GICD interrupt controller type register (GICD_TYPER) .....1765
33.5.4GICD implementer identification register (GICD_IIDR) .....1765
33.5.5GICD interrupt group register x (GICD_IGROUPRx) .....1766
33.5.6GICD interrupt set-enable register (GICD_ISENABLER0) .....1766
33.5.7GICD interrupt set-enable register x (GICD_ISENABLERx) .....1767
33.5.8GICD interrupt clear-enable register (GICD_ICENABLER0) .....1767
33.5.9GICD interrupt clear-enable register x (GICD_ICENABLERx) .....1767
33.5.10GICD interrupt set-pending register x (GICD_ISPENDRx) .....1768
33.5.11GICD interrupt clear-pending register x (GICD_ICPENDRx) .....1768
33.5.12GICD interrupt set-active register x (GICD_ISACTIVERx) .....1768
33.5.13GICD interrupt clear-active register x (GICD_ICACTIVERx) .....1769
33.5.14GICD interrupt priority register x (GICD_IPRIORITYRx) .....1769
33.5.15GICD interrupt processor target register x (GICD_ITARGETSRx) ..1770
33.5.16GICD interrupt processor target register x (GICD_ITARGETSRx) . . .1770
33.5.17GICD interrupt configuration register (GICD_ICFGR0) . . . . .1771
33.5.18GICD interrupt configuration register (GICD_ICFGR1) . . . . .1771
33.5.19GICD interrupt configuration register x (GICD_ICFGRx) . . . . .1771
33.5.20GICD private peripheral interrupt status register (GICD_PPISR) . . .1772
33.5.21GICD shared peripheral interrupt register x (GICD_SPISRx) . . . . .1772
33.5.22GICD software generated interrupt register (GICD_SGIR) . . . . .1773
33.5.23GICD SGI clear-pending register x (GICD_CPENDSGIRx) . . . . .1774
33.5.24GICD SGI set-pending register x (GICD_SPENDSGIRx) . . . . .1775
33.5.25GICD peripheral ID4 register (GICD_PIDR4) . . . . .1776
33.5.26GICD peripheral ID5 to ID7 register x (GICD_PIDRx) . . . . .1776
33.5.27GICD peripheral ID0 register (GICD_PIDR0) . . . . .1776
33.5.28GICD peripheral ID1 register (GICD_PIDR1) . . . . .1777
33.5.29GICD peripheral ID2 register (GICD_PIDR2) . . . . .1777
33.5.30GICD peripheral ID3 register (GICD_PIDR3) . . . . .1777
33.5.31GICD component ID0 register (GICD_CIDR0) . . . . .1778
33.5.32GICD component ID1 register (GICD_CIDR1) . . . . .1778
33.5.33GICD component ID2 register (GICD_CIDR2) . . . . .1778
33.5.34GICD component ID3 register (GICD_CIDR3) . . . . .1779
33.5.35GICD register map . . . . .1779
33.6GIC CPU interface (GICC) . . . . .1782
33.6.1GICC control register (GICC_CTLR) . . . . .1782
33.6.2GICC control non-secure access register (GICC_CTLRNS) . . . . .1783
33.6.3GICC input priority mask register (GICC_PMR) . . . . .1784
33.6.4GICC binary point register (GICC_BPR) . . . . .1784
33.6.5GICC binary point non-secure access register (GICC_BPRNS) . . . .1785
33.6.6GICC interrupt acknowledge register (GICC_IAR) . . . . .1785
33.6.7GICC end of interrupt register (GICC_EOIR) . . . . .1786
33.6.8GICC running priority register (GICC_RPR) . . . . .1786
33.6.9GICC highest priority pending interrupt register (GICC_HPPIR) . . . .1786
33.6.10GICC aliased binary point register (GICC_ABPR) . . . . .1787
33.6.11GICC aliased interrupt acknowledge register (GICC_AIAR) . . . . .1787
33.6.12GICC aliased end of interrupt register (GICC_AEOIR) . . . . .1788
33.6.13GICC aliased highest priority pending interrupt register
(GICC_AHPPIR) . . . . .
1788
33.6.14GICC active priority register (GICC_APR0) . . . . .1789
33.6.15GICC non-secure active priority register (GICC_NSAPR0) . . . . .1789
33.6.16GICC interface identification register (GICC_IIDR) . . . . .1789
33.6.17GICC deactivate interrupt register (GICC_DIR) . . . . .1790
33.6.18GICC register map . . . . .1790
33.7GIC virtual interface control, common (GICH) . . . . .1792
33.7.1GICH hypervisor control register (GICH_HCR) . . . . .1792
33.7.2GICH VGIC type register (GICH_VTR) . . . . .1793
33.7.3GICH virtual machine control register (GICH_VMCR) . . . . .1793
33.7.4GICH maintenance interrupt status register (GICH_MISR) . . . . .1794
33.7.5GICH end of interrupt status register (GICH_EISR0) . . . . .1795
33.7.6GICH empty list status register (GICH_ELSR0) . . . . .1795
33.7.7GICH active priority register (GICH_APR0) . . . . .1795
33.7.8GICH list register x (GICH_LRx) . . . . .1796
33.7.9GICH register map . . . . .1796
33.8GIC virtual CPU interface (GICV) . . . . .1797
33.8.1GICV virtual machine control register (GICV_CTLR) . . . . .1798
33.8.2GICV VM priority mask register (GICV_PMR) . . . . .1798
33.8.3GICV VM binary point register (GICV_BPR) . . . . .1799
33.8.4GICV VM interrupt acknowledge register (GICV_IAR) . . . . .1799
33.8.5GICV VM end of interrupt register (GICV_EOIR) . . . . .1800
33.8.6GICV VM running priority register (GICV_RPR) . . . . .1800
33.8.7GICV VM highest priority pending interrupt register (GICV_HPPIR) . . . . .1801
33.8.8GICV VM aliased binary point register (GICV_ABPR) . . . . .1801
33.8.9GICV VM aliased interrupt register (GICV_AIAR) . . . . .1802
33.8.10GICV VM aliased end of interrupt register (GICV_AEOIR) . . . . .1802
33.8.11GICV VM aliased highest priority pending interrupt register
(GICV_AHPPIR) . . . . .
1803
33.8.12GICV VM active priority register (GICV_APR0) . . . . .1803
33.8.13GICV VM CPU interface identification register (GICV_IIDR) . . . . .1804
33.8.14GICV VM deactivate interrupt register (GICV_DIR) . . . . .1804
33.8.15GICV register map . . . . .1804
34Extended interrupts and event controller (EXTI) . . . . .1807
34.1EXTI main features . . . . .1807
34.2EXTI implementation . . . . .1808
34.3EXTI block diagram . . . . .1808
34.3.1EXTI connections between peripherals and CPU . . . . .1810
34.3.2EXTI1 wake-up interrupt list . . . . .1811
34.3.3EXTI2 wake-up interrupt list . . . . .1814
34.4EXTI functional description . . . . .1817
34.4.1EXTI configurable event input wake-up . . . . .1817
34.4.2EXTI direct event input wake-up . . . . .1818
34.4.3EXTI multiplexer selection . . . . .1819
34.5EXTI functional behavior . . . . .1819
34.6EXTI event protection . . . . .1820
34.6.1EXTI register security protection . . . . .1821
34.6.2EXTI register privilege protection . . . . .1821
34.6.3EXTI register CID protection . . . . .1821
34.7EXTIx registers . . . . .1822
34.7.1EXTI1 rising trigger selection register (EXTI1_RTSR1) . . . . .1823
34.7.2EXTI1 falling trigger selection register (EXTI1_FTSR1) . . . . .1824
34.7.3EXTI1 software interrupt event register (EXTI1_SWIER1) . . . . .1824
34.7.4EXTI1 rising edge pending register (EXTI1_RPR1) . . . . .1825
34.7.5EXTI1 falling edge pending register (EXTI1_FPR1) . . . . .1826
34.7.6EXTI1 security configuration register (EXTI1_SECCFGR1) . . . . .1826
34.7.7EXTI1 privilege configuration register (EXTI1_PRIVCFGR1) . . . . .1827
34.7.8EXTI1 rising trigger selection register (EXTI1_RTSR2) . . . . .1828
34.7.9EXTI1 falling trigger selection register (EXTI1_FTSR2) . . . . .1828
34.7.10EXTI1 software interrupt event register (EXTI1_SWIER2) . . . . .1829
34.7.11EXTI1 rising edge pending register (EXTI1_RPR2) . . . . .1830
34.7.12EXTI1 falling edge pending register (EXTI1_FPR2) . . . . .1831
34.7.13EXTI1 security enable register (EXTI1_SECCFGR2) . . . . .1832
34.7.14EXTI1 privilege enable register (EXTI1_PRIVCFGR2) . . . . .1833
34.7.15EXTI1 rising trigger selection register (EXTI1_RTSR3) . . . . .1834
34.7.16EXTI1 falling trigger selection register (EXTI1_FTSR3) . . . . .1835
34.7.17EXTI1 software interrupt event register (EXTI1_SWIER3) . . . . .1836
34.7.18EXTI1 rising edge pending register (EXTI1_RPR3) . . . . .1837
34.7.19EXTI1 falling edge pending register (EXTI1_FPR3) . . . . .1838
34.7.20EXTI1 security enable register (EXTI1_SECCFGR3) . . . . .1839
34.7.21EXTI1 privilege enable register (EXTI1_PRIVCFGR3) . . . . .1840
34.7.22EXTI1 external interrupt selection register 1 (EXTI1_EXTICR1) . . . .1841
34.7.23EXTI1 external interrupt selection register 2 (EXTI1_EXTICR2) . . . .1844
34.7.24EXTI1 external interrupt selection register 3 (EXTI1_EXTICR3) . . . .1848
34.7.25EXTI1 external interrupt selection register 4 (EXTI1_EXTICR4) . . . .1852
34.7.26EXTI1 lock register (EXTI1_LOCKR) . . . . .1856
34.7.27EXTI1 CPUm wake-up with interrupt mask register (EXTI1_CmIMR1) (m = 1 to 2)1857
34.7.28EXTI1 CPU2 wake-up with event mask register (EXTI1_C2EMR1)1858
34.7.29EXTI1 CPUm wake-up with interrupt mask register (EXTI1_CmIMR2) (m = 1 to 2)1859
34.7.30EXTI1 CPUm wake-up with interrupt mask register (EXTI1_CmIMR3) (m = 1 to 2)1860
34.7.31EXTI1 CPU2 wake-up with event mask register (EXTI1_C2EMR3)1861
34.7.32EXTI1 event CID configuration register (EXTI1_EnCIDCFGR)1862
34.7.33EXTI1 processor m CID configuration register (EXTI1_CmCIDCFGR)1862
34.7.34EXTI1 hardware configuration registers 13 (EXTI1_HWCFGR13)1863
34.7.35EXTI1 hardware configuration registers 12 (EXTI1_HWCFGR12)1863
34.7.36EXTI1 hardware configuration registers 11 (EXTI1_HWCFGR11)1864
34.7.37EXTI1 hardware configuration registers 7 (EXTI1_HWCFGR7)1864
34.7.38EXTI1 hardware configuration registers 6 (EXTI1_HWCFGR6)1864
34.7.39EXTI1 hardware configuration registers 5 (EXTI1_HWCFGR5)1865
34.7.40EXTI1 hardware configuration registers 4 (EXTI1_HWCFGR4)1865
34.7.41EXTI1 hardware configuration registers 3 (EXTI1_HWCFGR3)1865
34.7.42EXTI1 hardware configuration registers 2 (EXTI1_HWCFGR2)1866
34.7.43EXTI1 hardware configuration register 1 (EXTI1_HWCFGR1)1866
34.7.44EXTI1 version register (EXTI1_VERR)1866
34.7.45EXTI1 identification register (EXTI1_IPIDR)1867
34.7.46EXTI1 size identification register (EXTI1_SIDR)1867
34.7.47EXTI2 rising trigger selection register (EXTI2_RTSR1)1867
34.7.48EXTI2 falling trigger selection register (EXTI2_FTSR1)1868
34.7.49EXTI2 software interrupt event register (EXTI2_SWIER1)1869
34.7.50EXTI2 rising edge pending register (EXTI2_RPR1)1870
34.7.51EXTI2 falling edge pending register (EXTI2_FPR1)1871
34.7.52EXTI2 security configuration register (EXTI2_SECCFGR1)1871
34.7.53EXTI2 privilege configuration register (EXTI2_PRIVCFGR1)1872
34.7.54EXTI2 rising trigger selection register (EXTI2_RTSR2)1873
34.7.55EXTI2 falling trigger selection register (EXTI2_FTSR2)1874
34.7.56EXTI2 software interrupt event register (EXTI2_SWIER2)1875
34.7.57EXTI2 rising edge pending register (EXTI2_RPR2)1875
34.7.58EXTI2 falling edge pending register (EXTI2_FPR2)1876
34.7.59EXTI2 security enable register (EXTI2_SECCFGR2)1877
34.7.60EXTI2 privilege enable register (EXTI2_PRIVCFGR2)1878
34.7.61EXTI2 rising trigger selection register (EXTI2_RTSR3)1879
34.7.62EXTI2 falling trigger selection register (EXTI2_FTSR3)1879
34.7.63EXTI2 software interrupt event register (EXTI2_SWIER3)1880
34.7.64EXTI2 rising edge pending register (EXTI2_RPR3)1881
34.7.65EXTI2 falling edge pending register (EXTI2_FPR3)1882
34.7.66EXTI2 security enable register (EXTI2_SECCFGR3)1882
34.7.67EXTI2 privilege enable register (EXTI2_PRIVCFGR3)1883
34.7.68EXTI2 external interrupt selection register 1 (EXTI2_EXTICR1)1884
34.7.69EXTI2 external interrupt selection register 2 (EXTI2_EXTICR2)1887
34.7.70EXTI2 external interrupt selection register 3 (EXTI2_EXTICR3)1891
34.7.71EXTI2 external interrupt selection register 4 (EXTI2_EXTICR4)1895
34.7.72EXTI2 lock register (EXTI2_LOCKR)1899
34.7.73EXTI2 CPUm wake-up with interrupt mask register
(EXTI2_CmIMR1) (m = 1 to 3)
1900
34.7.74EXTI2 CPUm wake-up with event mask register
(EXTI2_CmEMR1) (m = 2 to 3)
1901
34.7.75EXTI2 CPUm wake-up with interrupt mask register
(EXTI2_CmIMR2) (m = 1 to 3)
1902
34.7.76EXTI2 CPUm wake-up with event mask register
(EXTI2_CmEMR2) (m = 2 to 3)
1903
34.7.77EXTI2 CPUm wake-up with interrupt mask register
(EXTI2_CmIMR3) (m = 1 to 3)
1904
34.7.78EXTI2 event CID config register (EXTI2_EnCIDCFGR)1905
34.7.79EXTI2 processor m CID configuration register
(EXTI2_CmCIDCFGR)
1905
34.7.80EXTI2 hardware configuration registers 13 (EXTI2_HWCFGR13)1906
34.7.81EXTI2 hardware configuration registers 12 (EXTI2_HWCFGR12)1906
34.7.82EXTI2 hardware configuration registers 11 (EXTI2_HWCFGR11)1907
34.7.83EXTI2 hardware configuration registers 7 (EXTI2_HWCFGR7)1907
34.7.84EXTI2 hardware configuration registers 6 (EXTI2_HWCFGR6)1907
34.7.85EXTI2 hardware configuration registers 5 (EXTI2_HWCFGR5)1908
34.7.86EXTI2 hardware configuration registers 4 (EXTI2_HWCFGR4)1908
34.7.87EXTI2 hardware configuration registers 3 (EXTI2_HWCFGR3)1908
34.7.88EXTI2 hardware configuration registers 2 (EXTI2_HWCFGR2)1909
34.7.89EXTI2 hardware configuration register 1 (EXTI2_HWCFGR1)1909
34.7.90EXTI2 version register (EXTI2_VERR)1909
34.7.91EXTI2 identification register (EXTI2_IPIDR)1910
34.7.92EXTI2 size identification register (EXTI2_SIDR)1910
34.7.93EXTI1 register map1910
34.7.94EXTI2 register map1914
35Cyclic redundancy check calculation unit (CRC)1919
35.1Introduction1919
35.2CRC main features1919
35.3CRC functional description1920
35.3.1CRC block diagram1920
35.3.2CRC internal signals1920
35.3.3CRC operation1920
35.4CRC registers1922
35.4.1CRC data register (CRC_DR)1922
35.4.2CRC independent data register (CRC_IDR)1922
35.4.3CRC control register (CRC_CR)1923
35.4.4CRC initial value (CRC_INIT)1924
35.4.5CRC polynomial (CRC_POL)1924
35.4.6CRC hardware configuration register (CRC_HWCFGR)1924
35.4.7CRC version register (CRC_VERR)1925
35.4.8CRC identification register (CRC_IPIDR)1925
35.4.9CRC size identification register (CRC_SIDR)1926
35.4.10CRC register map1926
36Mass storage interfaces1928
36.1Overview1928
36.2FMC interface1928
36.2.1Main features of the FMC interface1928
36.2.2FMC interface block diagram1929
36.2.3FMC interface reset1929
36.2.4FMC interface interrupt1930
36.3Octo-SPI interface1930
36.3.1Main features of the Octo-SPI interface1930
36.3.2Octo-SPI interface block diagram1931
36.3.3Octo-SPI interface resets1932
36.3.4Octo-SPI interface memory1933
36.3.5OCTOSPI1/2 description1934
36.3.6OCTOSPIM description1934
36.3.7OTFDEC1/2 description1934
36.3.8DLYBOS1/2 description1934
36.3.9Octo-SPI interface interrupts1937
36.3.10OCTOSPI mapping on OCTOSPI physical ports1937
36.3.11Octo-SPI interface programmable parameters1942
36.3.12Select the RX sampling strobe and configure the TX clock1944
36.4SD/eMMC interface1945
36.4.1SD/eMMC interface main features1946
36.4.2SD/eMMC interface block diagram1948
36.4.3SD/eMMC interface reset1949
36.4.4SDMMC1/2 description1949
36.4.5DLYBSD1/2 description1950
36.4.6SD/eMMC interface interrupts1950
36.4.7SD/eMMC interface programmable parameters1950
36.4.8Guidelines for selecting the RX sampling clock1952
37Flexible memory controller (FMC)1955
37.1FMC main features1955
37.2FMC implementation1956
37.3FMC block diagram1956
37.4FMC internal signals1957
37.5AHB interface1957
37.6AXI interface1958
37.6.1Supported memories and transactions1958
37.7External device address mapping1959
37.7.1NOR/PSRAM address mapping1959
37.7.2NAND flash memory address mapping1960
37.8FMC security and isolation1961
37.9FMC RIF registers1964
37.9.1FMC security configuration register (FMC_SECCFGR)1964
37.9.2FMC security configuration register (FMC_PRIVCFGR)1965
37.9.3FMC CID configuration lock register (FMC_RCFGLOCKR)1966
37.9.4FMC resource x CID register (FMC_CIDCFGRx)1967
37.9.5FMC resource x semaphore control register (FMC_SEMCRx)1968
37.10NOR flash/PSRAM controller1970
37.10.1External memory interface signals1971
37.10.2Supported memories and transactions1973
37.10.3General timing rules . . . . .1975
37.10.4NOR flash/PSRAM controller asynchronous transactions . . . . .1975
37.10.5Synchronous transactions . . . . .1994
37.10.6NOR/PSRAM controller registers . . . . .2000
37.11NAND flash controller . . . . .2013
37.11.1External memory interface signals . . . . .2014
37.11.2NAND flash supported memories and transactions . . . . .2015
37.11.3Timing diagrams for NAND flash memory . . . . .2015
37.11.4NAND flash operations . . . . .2017
37.11.5NAND flash prewait function . . . . .2018
37.11.6NAND ECC controller . . . . .2018
37.11.7FMC command sequencer . . . . .2021
37.11.8NAND flash controller interrupt . . . . .2028
37.11.9NAND flash controller registers . . . . .2029
37.12FMC register map . . . . .2053
38Octo-SPI interface (OCTOSPI) . . . . .2058
38.1Introduction . . . . .2058
38.2OCTOSPI main features . . . . .2058
38.3OCTOSPI implementation . . . . .2059
38.4OCTOSPI functional description . . . . .2060
38.4.1OCTOSPI block diagram . . . . .2060
38.4.2OCTOSPI pins and internal signals . . . . .2061
38.4.3OCTOSPI interface to memory modes . . . . .2062
38.4.4OCTOSPI regular-command protocol . . . . .2062
38.4.5OCTOSPI regular-command protocol signal interface . . . . .2066
38.4.6HyperBus protocol . . . . .2069
38.4.7Specific features . . . . .2073
38.4.8OCTOSPI operating mode introduction . . . . .2075
38.4.9OCTOSPI indirect mode . . . . .2075
38.4.10OCTOSPI automatic status-polling mode . . . . .2077
38.4.11OCTOSPI memory-mapped mode . . . . .2078
38.4.12OCTOSPI configuration introduction . . . . .2078
38.4.13OCTOSPI system configuration . . . . .2078
38.4.14OCTOSPI device configuration . . . . .2079
38.4.15OCTOSPI regular-command mode configuration . . . . .2081
38.4.16OCTOSPI HyperBus protocol configuration . . . . .2084
38.4.17OCTOSPI error management . . . . .2084
38.4.18OCTOSPI BUSY and ABORT . . . . .2085
38.4.19OCTOSPI reconfiguration or deactivation . . . . .2085
38.4.20NCS behavior . . . . .2085
38.4.21Software control of two external memories . . . . .2087
38.5Address alignment and data number . . . . .2088
38.6OCTOSPI interrupts . . . . .2089
38.7OCTOSPI registers . . . . .2089
38.7.1OCTOSPI control register (OCTOSPI_CR) . . . . .2089
38.7.2OCTOSPI device configuration register 1 (OCTOSPI_DCR1) . . . . .2092
38.7.3OCTOSPI device configuration register 2 (OCTOSPI_DCR2) . . . . .2094
38.7.4OCTOSPI device configuration register 3 (OCTOSPI_DCR3) . . . . .2095
38.7.5OCTOSPI device configuration register 4 (OCTOSPI_DCR4) . . . . .2096
38.7.6OCTOSPI status register (OCTOSPI_SR) . . . . .2096
38.7.7OCTOSPI flag clear register (OCTOSPI_FCR) . . . . .2097
38.7.8OCTOSPI data length register (OCTOSPI_DLR) . . . . .2098
38.7.9OCTOSPI address register (OCTOSPI_AR) . . . . .2098
38.7.10OCTOSPI data register (OCTOSPI_DR) . . . . .2099
38.7.11OCTOSPI polling status mask register (OCTOSPI_PSMKR) . . . . .2099
38.7.12OCTOSPI polling status match register (OCTOSPI_PSMAR) . . . . .2100
38.7.13OCTOSPI polling interval register (OCTOSPI_PIR) . . . . .2100
38.7.14OCTOSPI communication configuration register (OCTOSPI_CCR) . . . . .2100
38.7.15OCTOSPI timing configuration register (OCTOSPI_TCR) . . . . .2102
38.7.16OCTOSPI instruction register (OCTOSPI_IR) . . . . .2103
38.7.17OCTOSPI alternate bytes register (OCTOSPI_ABR) . . . . .2103
38.7.18OCTOSPI low-power timeout register (OCTOSPI_LPTR) . . . . .2104
38.7.19OCTOSPI wrap communication configuration register
(OCTOSPI_WPCCR) . . . . .
2104
38.7.20OCTOSPI wrap timing configuration register (OCTOSPI_WPTCR) . . . . .2106
38.7.21OCTOSPI wrap instruction register (OCTOSPI_WPIR) . . . . .2107
38.7.22OCTOSPI wrap alternate bytes register (OCTOSPI_WPABR) . . . . .2107
38.7.23OCTOSPI write communication configuration register
(OCTOSPI_WCCR) . . . . .
2108
38.7.24OCTOSPI write timing configuration register (OCTOSPI_WTCR) . . . . .2110
38.7.25OCTOSPI write instruction register (OCTOSPI_WIR) . . . . .2110
38.7.26OCTOSPI write alternate bytes register (OCTOSPI_WABR) . . . . .2111
38.7.27OCTOSPI HyperBus latency configuration register (OCTOSPI_HLCR) .....2111
38.7.28OCTOSPI hardware configuration register 2 (OCTOSPI_HWCFGR2) .....2112
38.7.29OCTOSPI hardware configuration register (OCTOSPI_HWCFGR) .....2113
38.7.30OCTOSPI version register (OCTOSPI_VERR) .....2113
38.7.31OCTOSPI identification register (OCTOSPI_IDR) .....2114
38.7.32OCTOSPI hardware magic identification register (OCTOSPI_MIDR) .....2114
38.7.33OCTOSPI register map .....2114
39Octo-SPI I/O manager (OCTOSPIM) .....2118
39.1Introduction .....2118
39.2OCTOSPIM main features .....2118
39.3OCTOSPIM functional description .....2118
39.3.1OCTOSPIM block diagram .....2118
39.3.2OCTOSPIM input/output pins .....2119
39.3.3OCTOSPIM matrix .....2119
39.3.4OCTOSPIM multiplexed mode .....2120
39.4Use cases description .....2120
39.4.1Two OCTOSPIs direct mode .....2121
39.4.2OCTOSPI swapped mode .....2121
39.4.3Two OCTOSPIs multiplexed mode to Port 1 accessing two external memories .....2122
39.4.4Two OCTOSPIs multiplexed mode to Port 2 accessing two external memories .....2123
39.4.5OCTOSPI1 and OCTOSPI2 drive a single external memory .....2124
39.4.6A single OCTOSPI drives two external memories .....2124
39.5OCTOSPIM registers .....2126
39.5.1OCTOSPIM control register (OCTOSPIM_CR) .....2126
39.5.2OCTOSPIM hardware configuration register (OCTOSPIM_HWCFGR) .....2127
39.5.3OCTOSPIM version register (OCTOSPIM_VERR) .....2127
39.5.4OCTOSPIM identification (OCTOSPIM_IDR) .....2128
39.5.5OCTOSPIM size identification register (OCTOSPIM_SIDR) .....2128
39.5.6OCTOSPIM register map .....2128
40Secure digital input/output MultiMediaCard interface (SDMMC) ..2130
40.1SDMMC main features .....2130
40.2SDMMC implementation2130
40.3SDMMC bus topology2131
40.4SDMMC operation modes2133
40.5SDMMC functional description2134
40.5.1SDMMC block diagram2134
40.5.2SDMMC pins and internal signals2134
40.5.3General description2135
40.5.4SDMMC adapter2137
40.5.5SDMMC AHB slave interface2159
40.5.6SDMMC AHB master interface2160
40.5.7AHB and SDMMC_CK clock relation2163
40.6Card functional description2164
40.6.1SD I/O mode2164
40.6.2CMD12 send timing2172
40.6.3Sleep (CMD5)2176
40.6.4Interrupt mode (Wait-IRQ)2177
40.6.5Boot operation2178
40.6.6Response R1b handling2181
40.6.7Reset and card cycle power2182
40.7Hardware flow control2183
40.7.1Hardware flow control during data transfer2183
40.7.2Block gap hardware flow control2184
40.8Ultra-high-speed phase I (UHS-I) voltage switch2185
40.9SDMMC interrupts2188
40.10SDMMC registers2190
40.10.1SDMMC power control register (SDMMC_POWER)2190
40.10.2SDMMC clock control register (SDMMC_CLKCR)2191
40.10.3SDMMC argument register (SDMMC_ARGR)2193
40.10.4SDMMC command register (SDMMC_CMDR)2193
40.10.5SDMMC command response register (SDMMC_RESPCMDR)2195
40.10.6SDMMC response x register (SDMMC_RESPxR)2196
40.10.7SDMMC data timer register (SDMMC_DTIMER)2196
40.10.8SDMMC data length register (SDMMC_DLENR)2197
40.10.9SDMMC data control register (SDMMC_DCTRL)2198
40.10.10SDMMC data counter register (SDMMC_DCNTR)2199
40.10.11SDMMC status register (SDMMC_STAR)2200
40.10.12SDMMC interrupt clear register (SDMMC_ICR)2203
40.10.13SDMMC mask register (SDMMC_MASKR)2205
40.10.14SDMMC acknowledgment timer register (SDMMC_ACKTIMER)2208
40.10.15SDMMC data FIFO threshold register (SDMMC_FIFOTHRR)2208
40.10.16SDMMC DMA control register (SDMMC_IDMACTRLR)2209
40.10.17SDMMC IDMA buffer size register (SDMMC_IDMABSIZER)2209
40.10.18SDMMC IDMA buffer base address register
(SDMMC_IDMABASER)
2210
40.10.19SDMMC IDMA linked list address register (SDMMC_IDMALAR)2210
40.10.20SDMMC IDMA linked list memory base register
(SDMMC_IDMABAR)
2211
40.10.21SDMMC data FIFO registers x (SDMMC_FIFORx)2212
40.10.22SDMMC hardware configuration register 1 (SDMMC_HWCFG1)2212
40.10.23SDMMC version register (SDMMC_VERR)2213
40.10.24SDMMC identification register (SDMMC_IPIDR)2213
40.10.25SDMMC size identification register (SDMMC_SIDR)2213
40.10.26SDMMC register map2214
41Delay block (DLYB)2217
41.1Introduction2217
41.2DLYB main features2217
41.3DLYB implementation2217
41.4DLYB functional description2217
41.4.1DLYB diagram2217
41.4.2DLYB internal signals2219
41.4.3General description2221
41.4.4Lock mode procedure2222
41.4.5Bypass mode procedure2222
42Analog-to-digital converters (ADC)2223
42.1Introduction2223
42.2ADC main features2223
42.3ADC implementation2225
42.4ADC functional description2226
42.4.1ADC block diagram2226
42.4.2ADC pins and internal signals2227
42.4.3ADC clocks2232
42.4.4ADC connectivity2234
42.4.5Slave AHB interface2237
42.4.6ADC Deep-power-down mode (DEEPPWD)2237
42.4.7Single-ended and differential input channels2237
42.4.8Calibration (ADCAL, CALADDOS, ADC_CALFACT)2238
42.4.9ADC on-off control (ADEN, ADDIS, ADRDY)2240
42.4.10Constraints when writing the ADC control bits2241
42.4.11Channel selection (SQRx, JSQRx)2241
42.4.12Channel preselection register (ADC_PCSEL)2242
42.4.13Channel-wise programmable sampling time (SMPR1, SMPR2)2243
42.4.14Single conversion mode2244
42.4.15Continuous conversion mode (CONT = 1)2245
42.4.16Starting conversions (ADSTART, JADSTART)2246
42.4.17Timing2247
42.4.18Stopping an ongoing conversion (ADSTP, JADSTP)2248
42.4.19Conversion on external trigger and trigger polarity
(EXTSEL, EXTEN, JEXTSEL, JEXTEN)
2249
42.4.20Injected channel management2251
42.4.21Discontinuous mode (DISCEN, DISCNUM, JDISCEN)2252
42.4.22Programmable resolution (RES) - fast conversion mode2254
42.4.23End of conversion and end of sampling phase
(EOC, JEOC, EOSMP)
2254
42.4.24End of conversion sequence (EOS, JEOS)2254
42.4.25Timing diagram examples (single/continuous modes,
hardware/software triggers)
2255
42.4.26Data management2257
42.4.27Managing conversions using the MDF2265
42.4.28Dynamic low-power features2266
42.4.29Analog window watchdog (AWD1EN, JAWD1EN,
AWD1SGL, AWD1CH, AWDCH of ADC_AWD2CR and
ADC_AWD3CR, HTR, LTR, AWDFILT)
2270
42.4.30Oversampler2275
42.4.31VBAT supply monitoring2281
42.4.32Monitoring the internal voltage reference2282
42.4.33Monitoring the supply voltage2284
42.5ADC interrupts2284
42.6ADC registers (for each ADC)2285
42.6.1ADC interrupt and status register (ADC_ISR)2285
42.6.2ADC interrupt enable register (ADC_IER) .....2287
42.6.3ADC control register (ADC_CR) .....2289
42.6.4ADC configuration register (ADC_CFGR1) .....2292
42.6.5ADC configuration register 2 (ADC_CFGR2) .....2295
42.6.6ADC sample time register 1 (ADC_SMPR1) .....2298
42.6.7ADC sample time register 2 (ADC_SMPR2) .....2299
42.6.8ADC channel preselection register (ADC_PCSEL) .....2299
42.6.9ADC regular sequence register 1 (ADC_SQR1) .....2300
42.6.10ADC regular sequence register 2 (ADC_SQR2) .....2301
42.6.11ADC regular sequence register 3 (ADC_SQR3) .....2302
42.6.12ADC regular sequence register 4 (ADC_SQR4) .....2303
42.6.13ADC regular data register (ADC_DR) .....2303
42.6.14ADC injected sequence register (ADC_JSQR) .....2304
42.6.15ADC offset y configuration register (ADC_OFCFGRy) .....2305
42.6.16ADC offset y register (ADC_OFRy) .....2306
42.6.17ADC gain compensation register (ADC_GCOMP) .....2307
42.6.18ADC injected channel y data register (ADC_JDRy) .....2308
42.6.19ADC analog watchdog 2 configuration register (ADC_AWD2CR) ...2308
42.6.20ADC analog watchdog 3 configuration register (ADC_AWD3CR) ...2309
42.6.21ADC analog watchdog 1 lower threshold register (ADC_AWD1LTR)2309
42.6.22ADC analog watchdog 1 higher threshold register
(ADC_AWD1HTR) .....
2310
42.6.23ADC analog watchdog 2 lower threshold register (ADC_AWD2LTR)2310
42.6.24ADC analog watchdog 2 higher threshold register
(ADC_AWD2HTR) .....
2311
42.6.25ADC analog watchdog 3 lower threshold register (ADC_AWD3LTR)2311
42.6.26ADC analog watchdog 3 higher threshold register
(ADC_AWD3HTR) .....
2312
42.6.27ADC differential mode selection register (ADC_DIFSEL) .....2312
42.6.28ADC calibration factors (ADC_CALFACT) .....2313
42.6.29ADC option register (ADC_OR) .....2314
42.7ADC common registers .....2315
42.7.1ADC common status register (ADCC_CSR) .....2315
42.7.2ADC common control register (ADCC_CCR) .....2316
42.7.3ADC hardware configuration register
(ADCC_HWCFGR1) .....
2317
42.7.4ADC version register (ADCC_VERR) .....2318
42.7.5ADC identification register (ADCC_IPIDR) .....2319
42.7.6ADC size identification register (ADCC_SIDR) .....2319
42.8ADC register map .....2320
43Digital temperature sensor (DTS) .....2324
43.1Introduction .....2324
43.2DTS main features .....2324
43.3DTS functional description .....2325
43.3.1DTS block diagram .....2325
43.3.2DTS pins and internal signals .....2325
43.3.3DTS reset and clocks .....2326
43.3.4DTS serial data adapter (SDA) .....2327
43.3.5Alarms .....2333
43.3.6Main APB programming routines .....2335
43.3.7Temperature sensor configuration .....2338
43.4DTS interrupts .....2340
43.5DTS registers .....2341
43.5.1DTS PVT common registers .....2341
43.5.2PVT IRQ registers .....2343
43.5.3TS common registers .....2347
43.5.4TS individual registers .....2352
43.5.5DTS register map .....2358
44Voltage reference buffer (VREFBUF) .....2363
44.1Introduction .....2363
44.2VREFBUF implementation .....2363
44.3VREFBUF functional description .....2363
44.4VREFBUF trimming .....2364
44.5VREFBUF power sequence .....2365
44.6VREFBUF registers .....2366
44.6.1VREFBUF control and status register (VREFBUF_CSR) .....2366
44.6.2VREFBUF calibration control register (VREFBUF_CCR) .....2367
44.6.3VREFBUF register map .....2367
45Multi-function digital filter (MDF) .....2368
45.1Introduction .....2368
45.2MDF main features .....2369
45.3MDF implementation2369
45.4MDF functional description2371
45.4.1MDF block diagram2371
45.4.2MDF pins and internal signals2371
45.4.3Serial input interfaces (SITF)2373
45.4.4ADC slave interface (ADCITF)2378
45.4.5Clock generator (CKGEN)2379
45.4.6Bitstream matrix (BSMX)2381
45.4.7Short-circuit detectors (SCD)2382
45.4.8Digital filter processing (DFLT)2384
45.4.9Out-of-limit detector (OLD)2394
45.4.10Digital filter acquisition modes2397
45.4.11Start-up sequence examples2406
45.4.12Break interface2408
45.4.13Data transfer to memory2409
45.4.14Autonomous mode2414
45.4.15Register protection2415
45.5MDF low-power modes2416
45.6MDF interrupts2416
45.7MDF application informations2418
45.7.1MDF configuration examples for audio capture2418
45.7.2Programming examples2419
45.7.3Connection examples2421
45.7.4Global frequency response2422
45.7.5Total MDF gain2423
45.8MDF registers2427
45.8.1MDF global control register (MDF_GCR)2428
45.8.2MDF clock generator control register (MDF_CKGCR)2428
45.8.3MDF serial interface control register x (MDF_SITFxCR)2431
45.8.4MDF bitstream matrix control register x (MDF_BSMXxCR)2432
45.8.5MDF digital filter control register x (MDF_DFLTxCr)2433
45.8.6MDF digital filter configuration register x (MDF_DFLTxCICR)2435
45.8.7MDF reshape filter configuration register x (MDF_DFLTxRSFR)2436
45.8.8MDF integrator configuration register x (MDF_DFLTxINTR)2437
45.8.9MDF out-of limit detector control register x (MDF_OLDxCr)2438
45.8.10MDF OLDx low threshold register x (MDF_OLDxTHLR)2440
45.8.11MDF OLDx high threshold register x (MDF_OLDxTHHR) . . . . .2440
45.8.12MDF delay control register x (MDF_DLYxCR) . . . . .2441
45.8.13MDF short circuit detector control register x (MDF_SCDxCR) . . . . .2441
45.8.14MDF DFLT0 interrupt enable register 0 (MDF_DFLT0IER) . . . . .2442
45.8.15MDF DFLTx interrupt enable register x (MDF_DFLTxIER) . . . . .2444
45.8.16MDF DFLT0 interrupt status register 0 (MDF_DFLT0ISR) . . . . .2445
45.8.17MDF DFLTx interrupt status register x (MDF_DFLTxISR) . . . . .2447
45.8.18MDF offset error compensation control register x (MDF_OECxCR) . . . . .2448
45.8.19MDF snapshot data register x (MDF_SNPSxDR) . . . . .2449
45.8.20MDF digital filter data register x (MDF_DFLTxDR) . . . . .2449
45.8.21MDF hardware configuration register (MDF_HWCFGR) . . . . .2450
45.8.22MDF version register (MDF_VERR) . . . . .2451
45.8.23MDF identification register (MDF_IPIDR) . . . . .2451
45.8.24MDF size identification register (MDF_SIDR) . . . . .2451
45.8.25MDF register map . . . . .2452
46Audio digital filter (ADF) . . . . .2455
46.1Introduction . . . . .2455
46.2ADF main features . . . . .2455
46.3ADF implementation . . . . .2456
46.4ADF functional description . . . . .2457
46.4.1ADF block diagram . . . . .2457
46.4.2ADF pins and internal signals . . . . .2457
46.4.3Serial input interface (SITF) . . . . .2458
46.4.4ADC slave interface (ADCITF) . . . . .2462
46.4.5Clock generator (CKGEN) . . . . .2463
46.4.6Bitstream matrix (BSMX) . . . . .2465
46.4.7Digital filter processing (DFLT) . . . . .2466
46.4.8Digital filter acquisition modes . . . . .2476
46.4.9Start-up sequence examples . . . . .2484
46.4.10Sound activity detection (SAD) . . . . .2485
46.4.11Data transfer to memory . . . . .2493
46.4.12Autonomous mode . . . . .2496
46.4.13Register protection . . . . .2496
46.5ADF low-power modes . . . . .2497
46.6ADF interrupts . . . . .2497
46.7ADF application information2499
46.7.1ADF configuration examples for audio capture2499
46.7.2Programming examples2500
46.7.3Connection examples2502
46.7.4Global frequency response2503
46.7.5Total ADF gain2504
46.7.6How to compute SAD thresholds2507
46.8ADF registers2511
46.8.1ADF global control register (ADF_GCR)2511
46.8.2ADF clock generator control register (ADF_CKGCR)2512
46.8.3ADF serial interface control register 0 (ADF_SITF0CR)2514
46.8.4ADF bitstream matrix control register 0 (ADF_BSMX0CR)2515
46.8.5ADF digital filter control register 0 (ADF_DFLT0CR)2516
46.8.6ADF digital filter configuration register 0 (ADF_DFLT0CICR)2518
46.8.7ADF reshape filter configuration register 0 (ADF_DFLT0RSFR)2519
46.8.8ADF delay control register 0 (ADF_DLY0CR)2520
46.8.9ADF DFLT0 interrupt enable register (ADF_DFLT0IER)2521
46.8.10ADF DFLT0 interrupt status register 0 (ADF_DFLT0ISR)2522
46.8.11ADF SAD control register (ADF_SADCR)2523
46.8.12ADF SAD configuration register (ADF_SADCFGR)2525
46.8.13ADF SAD sound level register (ADF_SADSDLVR)2526
46.8.14ADF SAD ambient noise level register (ADF_SADANLVR)2527
46.8.15ADF digital filter data register 0 (ADF_DFLT0DR)2527
46.8.16ADF hardware configuration register (ADF_HWCFGR)2527
46.8.17ADF version register (ADF_VERR)2528
46.8.18ADF identification register (ADF_IPIDR)2529
46.8.19ADF size identification register (ADF_SIDR)2529
46.8.20ADF register map2529
47Camera subsystem2532
47.1Introduction2532
47.2Camera path main features2532
47.2.1DCMI path main features2532
47.2.2DCMIPP path main features2533
47.3Camera subsystem implementation2534
47.3.1Hardware settings2534
47.4Camera subsystem functional description2535
47.4.1Camera subsystem block diagram2535
47.4.2Camera subsystem pins and external signal interface2535
47.4.3Camera subsystem reset and clocks2536
47.4.4Camera subsystem security2536
47.5Camera subsystem programmable parameters2538
47.5.1Low-resolution parallel camera and DCMI2538
47.5.2High-resolution parallel camera and DCMIPP2539
47.5.3High-resolution CSI2 camera and DCMIPP2539
47.5.4Sensors over target resolution2540
47.5.5Sensors over target pixel rate2540
47.5.6Double sensors2541
47.6Camera subsystem interrupts2541
47.7Camera subsystem registers2541
48Digital camera interface (DCMI)2542
48.1Introduction2542
48.2DCMI main features2542
48.3DCMI functional description2542
48.3.1DCMI block diagram2543
48.3.2DCMI pins and internal signals2543
48.3.3DCMI clocks2544
48.3.4DCMI DMA interface2544
48.3.5DCMI physical interface2544
48.3.6DCMI synchronization2546
48.3.7DCMI capture modes2548
48.3.8DCMI crop feature2549
48.3.9DCMI JPEG format2550
48.3.10DCMI FIFO2550
48.3.11DCMI data format description2551
48.4DCMI interrupts2553
48.5DCMI registers2553
48.5.1DCMI control register (DCMI_CR)2553
48.5.2DCMI status register (DCMI_SR)2556
48.5.3DCMI raw interrupt status register (DCMI_RIS)2556
48.5.4DCMI interrupt enable register (DCMI_IER)2557
48.5.5DCMI masked interrupt status register (DCMI_MIS) . . . . .2558
48.5.6DCMI interrupt clear register (DCMI_ICR) . . . . .2559
48.5.7DCMI embedded synchronization code register (DCMI_ESCR) . . . . .2560
48.5.8DCMI embedded synchronization unmask register (DCMI_ESUR) . . . . .2560
48.5.9DCMI crop window start (DCMI_CWSTRT) . . . . .2561
48.5.10DCMI crop window size (DCMI_CWSIZE) . . . . .2562
48.5.11DCMI data register (DCMI_DR) . . . . .2562
48.5.12DCMI hardware configuration register (DCMI_HWCFGR) . . . . .2563
48.5.13DCMI version register (DCMI_VERR) . . . . .2563
48.5.14DCMI identification register (DCMI_IPIDR) . . . . .2563
48.5.15DCMI size identification register (DCMI_SIDR) . . . . .2564
48.5.16DCMI register map . . . . .2564
49Digital camera interface pixel pipeline (DCMIPP) . . . . .2566
49.1Introduction . . . . .2566
49.2DCMIPP main features . . . . .2569
49.3DCMIPP functional description . . . . .2571
49.3.1DCMIPP block diagram . . . . .2571
49.3.2DCMIPP pads and internal signals . . . . .2572
49.3.3DCMIPP reset and clocks . . . . .2572
49.3.4DCMIPP maximum resolution . . . . .2575
49.3.5DCMIPP minimum requirements for frame structure . . . . .2576
49.3.6Description of DCMIPP pixel format support . . . . .2576
49.4DCMIPP input and flow control . . . . .2577
49.4.1Parallel input interface . . . . .2578
49.4.2Interface from CSI-2 host . . . . .2581
49.4.3Test pattern generator (TPG) . . . . .2581
49.4.4Input selection . . . . .2583
49.4.5Flow selection . . . . .2584
49.4.6Frame counter . . . . .2585
49.4.7Frame control . . . . .2586
49.4.8Pipe deactivation . . . . .2591
49.5Pipe0 (dump pipe) . . . . .2592
49.5.1Overview . . . . .2592
49.5.2Decimation . . . . .2593
49.5.3Crop/statistics selection/suppression . . . . .2593
49.5.4Header insertion . . . . .2594
49.5.5Dump counter .....2595
49.6Pipe1 (ISP part) .....2596
49.6.1Overview .....2596
49.6.2Byte-to-pixel conversion .....2597
49.6.3Statistics removal .....2598
49.6.4Bad pixel removal .....2598
49.6.5Input decimation .....2600
49.6.6Statistics extraction .....2601
49.6.7Black level calibration .....2604
49.6.8Exposure compensation and white-balance calibration .....2605
49.6.9Demosaicing .....2606
49.6.10Contrast enhancement .....2608
49.6.11Color conversion .....2610
49.7Pipe1 (post-processing part) .....2613
49.7.1Overview .....2613
49.7.2Pixel 2D cropping .....2613
49.7.3Decimation pre-downsize .....2614
49.7.4Downsize .....2615
49.7.5Gamma conversion .....2617
49.7.6YUV conversion .....2617
49.7.7Chroma down-sampling .....2617
49.7.8Pixel packing .....2618
49.7.9Overrun detection .....2619
49.8Pipe2 (post-processing) .....2620
49.8.1Overview .....2620
49.8.2Pipe1 and Pipe2 sharing image processing functions .....2620
49.9Application use cases .....2621
49.9.1Parallel interface camera sensor module .....2621
49.9.2CSI2 camera sensor module .....2622
49.9.3Force data type format from CSI-2 data flow (pixel pipes only) .....2628
49.10Pixel format description .....2631
49.10.1Parallel interface formats .....2631
49.10.2Pixel pipe formats .....2633
49.10.3Dump pipe formats .....2634
49.10.4AXI IP-Plug .....2636
49.11Shadow registers .....2642
49.12DCMIPP low power modes2644
49.13DCMIPP interrupts2645
49.13.1Free-running DCMIPP2645
49.13.2Interrupts2645
49.13.3Event pins2648
49.14DCMIPP registers2649
49.14.1DCMIPP IP-Plug global register 1 (DCMIPP_IPGR1)2649
49.14.2DCMIPP IP-Plug global register 2 (DCMIPP_IPGR2)2650
49.14.3DCMIPP IP-Plug global register 3 (DCMIPP_IPGR3)2650
49.14.4DCMIPP IP-Plug identification register (DCMIPP_IPGR8)2651
49.14.5DCMIPP IP-Plug Clientx register 1 (DCMIPP_IPCxR1)2651
49.14.6DCMIPP IP-Plug Clientx register 2 (DCMIPP_IPCxR2)2652
49.14.7DCMIPP IP-Plug Clientx register 3 (DCMIPP_IPCxR3)2652
49.14.8DCMIPP parallel interface control register (DCMIPP_PRCR)2653
49.14.9DCMIPP parallel interface embedded synchronization code register (DCMIPP_PRESCR)2654
49.14.10DCMIPP parallel interface embedded synchronization unmask register (DCMIPP PRESUR)2655
49.14.11DCMIPP parallel interface interrupt enable register (DCMIPP_PRIER)2656
49.14.12DCMIPP parallel interface status register (DCMIPP_PRSR)2657
49.14.13DCMIPP parallel interface interrupt clear register (DCMIPP_PRFCR)2657
49.14.14DCMIPP common IP HW configuration register (DCMIPP_CMHWCFGR)2658
49.14.15DCMIPP common configuration register (DCMIPP_CMCR)2658
49.14.16DCMIPP common frame counter register (DCMIPP_CMFRCR)2659
49.14.17DCMIPP common test pattern generator configuration register 1 (DCMIPP_CMTPGCR1)2660
49.14.18DCMIPP common test pattern generator configuration register 2 (DCMIPP_CMTPGCR2)2660
49.14.19DCMIPP common interrupt enable register (DCMIPP_CMIER)2661
49.14.20DCMIPP common status register 1 (DCMIPP_CMSR1)2663
49.14.21DCMIPP common status register 2 (DCMIPP_CMSR2)2664
49.14.22DCMIPP common interrupt clear register (DCMIPP_CMFCR)2667
49.14.23DCMIPP Pipe0 HW configuration register (DCMIPP_P0HWCFGR)2668
49.14.24DCMIPP Pipe0 flow selection configuration register (DCMIPP_P0FSCR)2669
49.14.25 DCMIPP Pipe0 flow control configuration register
(DCMIPP_P0FCTCR) .....
2670
49.14.26 DCMIPP Pipe0 statistic/crop start register (DCMIPP_P0SCSTR) .....2671
49.14.27 DCMIPP Pipe0 statistic/crop size register (DCMIPP_P0SCSZR) .....2671
49.14.28 DCMIPP Pipe0 dump counter register (DCMIPP_P0DCCNTR) .....2672
49.14.29 DCMIPP Pipe0 dump limit register (DCMIPP_P0DCLMTR) .....2672
49.14.30 DCMIPP Pipe0 pixel packer configuration register
(DCMIPP_P0PPCR) .....
2673
49.14.31 DCMIPP Pipe0 pixel packer Memory0 address register 1
(DCMIPP_P0PPM0AR1) .....
2674
49.14.32 DCMIPP Pipe0 status Memory0 address register
(DCMIPP_P0STM0AR) .....
2675
49.14.33 DCMIPP Pipe0 interrupt enable register (DCMIPP_P0IER) .....2675
49.14.34 DCMIPP Pipe0 status register (DCMIPP_P0SR) .....2676
49.14.35 DCMIPP Pipe0 interrupt clear register (DCMIPP_P0FCR) .....2677
49.14.36 DCMIPP Pipe0 current flow selection configuration register
(DCMIPP_P0CFSCR) .....
2677
49.14.37 DCMIPP Pipe0 current flow control configuration register
(DCMIPP_P0CFCTCR) .....
2678
49.14.38 DCMIPP Pipe0 current statistic/crop start register
(DCMIPP_P0CSCSTR) .....
2679
49.14.39 DCMIPP Pipe0 current statistic/crop size register
(DCMIPP_P0CSCSZR) .....
2679
49.14.40 DCMIPP Pipe0 current pixel packer configuration register
(DCMIPP_P0CPPCR) .....
2680
49.14.41 DCMIPP Pipe0 current pixel packer Memory0 address register 1
(DCMIPP_P0CPPM0AR1) .....
2682
49.14.42 DCMIPP Pipe0 HW configuration register (DCMIPP_PxHWCFGR) .....2682
49.14.43 DCMIPP Pipe1 flow selection configuration register
(DCMIPP_P1FSCR) .....
2683
49.14.44 DCMIPP Pipe1 stat removal configuration register
(DCMIPP_P1SRCR) .....
2684
49.14.45 DCMIPP Pipe1 bad pixel removal control register
(DCMIPP_P1BPRCR) .....
2685
49.14.46 DCMIPP Pipe1 bad pixel removal status register
(DCMIPP_P1BPRSR) .....
2685
49.14.47 DCMIPP Pipe1 decimation register (DCMIPP_P1DECR) .....2685
49.14.48 DCMIPP Pipe1 black level calibration control register
(DCMIPP_P1BLCCR) .....
2686
49.14.49 DCMIPP Pipe1 exposure control register 1 (DCMIPP_P1EXCR1) .....2687
49.14.50 DCMIPP Pipe1 exposure control register 2 (DCMIPP_P1EXCR2) .....2687
49.14.51 DCMIPP Pipe1 statistics1 control register (DCMIPP_P1ST1CR) . . .2688
49.14.52 DCMIPP Pipe1 statistics 2 control register (DCMIPP_P1ST2CR) . . .2689
49.14.53 DCMIPP Pipe1 statistics 3 control register (DCMIPP_P1ST3CR) . . .2690
49.14.54 DCMIPP Pipe1 statistics window start register
(DCMIPP_P1STSTR) . . . . .
2691
49.14.55 DCMIPP Pipe1 statistics window size register
(DCMIPP_P1STSZR) . . . . .
2691
49.14.56 DCMIPP Pipe1 statistics 1 status register (DCMIPP_P1ST1SR) . . .2692
49.14.57 DCMIPP Pipe1 statistics 2 status register (DCMIPP_P1ST2SR) . . .2692
49.14.58 DCMIPP Pipe1 statistics 3 status register (DCMIPP_P1ST3SR) . . .2693
49.14.59 DCMIPP Pipe1 demosaicing configuration register
(DCMIPP_P1DMCR) . . . . .
2693
49.14.60 DCMIPP Pipe1 ColorConv configuration register
(DCMIPP_P1CCCR) . . . . .
2694
49.14.61 DCMIPP Pipe1 ColorConv red coefficient register 1
(DCMIPP_P1CCRR1) . . . . .
2695
49.14.62 DCMIPP Pipe1 ColorConv red coefficient register 2
(DCMIPP_P1CCRR2) . . . . .
2695
49.14.63 DCMIPP Pipe1 ColorConv green coefficient register 1
(DCMIPP_P1CCGR1) . . . . .
2695
49.14.64 DCMIPP Pipe1 ColorConv green coefficient register 2
(DCMIPP_P1CCGR2) . . . . .
2696
49.14.65 DCMIPP Pipex ColorConv blue coefficient register 1
(DCMIPP_P1CCBR1) . . . . .
2696
49.14.66 DCMIPP Pipe1 ColorConv blue coefficient register 2
(DCMIPP_P1CCBR2) . . . . .
2697
49.14.67 DCMIPP Pipe1 contrast control register 1 (DCMIPP_P1CTCR1) . . .2697
49.14.68 DCMIPP Pipe1 contrast control register 2 (DCMIPP_P1CTCR2) . . .2697
49.14.69 DCMIPP Pipe1 contrast control register 3 (DCMIPP_P1CTCR3) . . .2698
49.14.70 DCMIPP Pipex flow control configuration register
(DCMIPP_PxFCTCR) . . . . .
2699
49.14.71 DCMIPP Pipex crop window start register (DCMIPP_PxCRSTR) . . .2699
49.14.72 DCMIPP Pipex crop window size register (DCMIPP_PxCRSZR) . . .2700
49.14.73 DCMIPP Pipex decimation register (DCMIPP_PxDCCR) . . . . .2701
49.14.74 DCMIPP Pipex downsize configuration register
(DCMIPP_PxDSCR) . . . . .
2701
49.14.75 DCMIPP Pipex downsize ratio register (DCMIPP_PxDSRTIOR) . . .2702
49.14.76 DCMIPP Pipex downsize destination size register
(DCMIPP_PxDSSZR) . . . . .
2702
49.14.77 DCMIPP Pipex gamma configuration register (DCMIPP_PxGMCR) .2702
49.14.78 DCMIPP Pipe1 YUVConv configuration register
(DCMIPP_P1YUVCR) .....
2703
49.14.79 DCMIPP Pipe1 YUVConv red coefficient register 1
(DCMIPP_P1YUVRR1) .....
2703
49.14.80 DCMIPP Pipe1 YUVConv red coefficient register 2
(DCMIPP_P1YUVRR2) .....
2704
49.14.81 DCMIPP Pipe1 YUVConv green coefficient register 1
(DCMIPP_P1YUVGR1) .....
2704
49.14.82 DCMIPP Pipe1 YUVConv green coefficient register 2
(DCMIPP_P1YUVGR2) .....
2705
49.14.83 DCMIPP Pipe1 YUVConv blue coefficient register 1
(DCMIPP_P1YUVBR1) .....
2705
49.14.84 DCMIPP Pipe1 YUV blue coefficient register 2
(DCMIPP_P1YUVBR2) .....
2705
49.14.85 DCMIPP Pipe1 pixel packer configuration register
(DCMIPP_P1PPCR) .....
2706
49.14.86 DCMIPP Pipe1 pixel packer Memory0 address register 1
(DCMIPP_P1PPM0AR1) .....
2707
49.14.87 DCMIPP Pipex pixel packer Memory0 pitch register
(DCMIPP_PxPPM0PR) .....
2707
49.14.88 DCMIPP Pipex status Memory0 address register
(DCMIPP_PxSTM0AR) .....
2708
49.14.89 DCMIPP Pipex pixel packer Memory1 address register 1
(DCMIPP_PxPPM1AR1) .....
2708
49.14.90 DCMIPP Pipex pixel packer Memory1 pitch register
(DCMIPP_PxPPM1PR) .....
2709
49.14.91 DCMIPP Pipex status Memory1 address register
(DCMIPP_PxSTM1AR) .....
2709
49.14.92 DCMIPP Pipex pixel packer memory2 address register 1
(DCMIPP_PxPPM2AR1) .....
2709
49.14.93 DCMIPP Pipex status Memory2 address register
(DCMIPP_PxSTM2AR) .....
2710
49.14.94 DCMIPP Pipe1 interrupt enable register (DCMIPP_P1IER) .....2710
49.14.95 DCMIPP Pipe1 status register (DCMIPP_P1SR) .....2711
49.14.96 DCMIPP Pipe1 interrupt clear register (DCMIPP_P1FCR) .....2712
49.14.97 DCMIPP Pipe1 current flow selection configuration register
(DCMIPP_P1CFSCR) .....
2713
49.14.98 DCMIPP Pipe1 current bad pixel removal register
(DCMIPP_P1CBPRCR) .....
2714
49.14.99 DCMIPP Pipe1 current black level calibration control register
(DCMIPP_P1CBLCCR) .....
2714
49.14.100 DCMIPP Pipe1 current exposure control register 1
(DCMIPP_P1CEXCR1) .....
2715
49.14.101DCMIPP Pipe1 current exposure control register 2
(DCMIPP_P1CEXCR2) .....
2716
49.14.102DCMIPP Pipe1 current statistics 1 control register
(DCMIPP_P1CST1CR) .....
2716
49.14.103DCMIPP Pipe1 current statistics 2 control register
(DCMIPP_P1CST2CR) .....
2717
49.14.104DCMIPP Pipe1 current statistics 3 control register
(DCMIPP_P1CST3CR) .....
2718
49.14.105DCMIPP Pipe1 current statistics window start register
(DCMIPP_P1CSTSTR) .....
2719
49.14.106DCMIPP Pipe1 current statistics window size register
(DCMIPP_P1CSTSZR) .....
2720
49.14.107DCMIPP Pipe1 current ColorConv configuration register
(DCMIPP_P1CCCCR) .....
2720
49.14.108DCMIPP Pipe1 current ColorConv red coefficient register 1
(DCMIPP_P1CCCR1) .....
2721
49.14.109DCMIPP Pipe1 current ColorConv red coefficient register 2
(DCMIPP_P1CCCR2) .....
2721
49.14.110DCMIPP Pipe1 current ColorConv green coefficient register 1
(DCMIPP_P1CCCGR1) .....
2722
49.14.111DCMIPP Pipe1 current ColorConv green coefficient register 2
(DCMIPP_P1CCCGR2) .....
2722
49.14.112DCMIPP Pipe1 current ColorConv blue coefficient register 1
(DCMIPP_P1CCCB1) .....
2722
49.14.113DCMIPP Pipe1 current ColorConv blue coefficient register 2
(DCMIPP_P1CCCB2) .....
2723
49.14.114DCMIPP Pipe1 current contrast control register 1
(DCMIPP_P1CCTCR1) .....
2723
49.14.115DCMIPP Pipe1 current contrast control register 2
(DCMIPP_P1CCTCR2) .....
2724
49.14.116DCMIPP Pipe1 current contrast control register 3
(DCMIPP_P1CCTCR3) .....
2724
49.14.117DCMIPP Pipe1 current flow control configuration register
(DCMIPP_PxCFCTCR) .....
2725
49.14.118DCMIPP Pipe1 current crop window start register
(DCMIPP_PxCCRSTR) .....
2726
49.14.119DCMIPP Pipe1 current crop window size register
(DCMIPP_PxCCRSZR) .....
2726
49.14.120DCMIPP Pipe1 current decimation register (DCMIPP_PxCDCCR) ..2727
49.14.121DCMIPP Pipe1 current downsize configuration register
(DCMIPP_PxCDSCR) .....
2728
49.14.122DCMIPP Pipe1 current downsize ratio register
(DCMIPP_PxCDSRTIOR) .....
2728
49.14.123DCMIPP Pipex current downsize destination size register
(DCMIPP_PxCDSSZR) . . . . .
2729
49.14.124DCMIPP Pipe1 current pixel packer configuration register
(DCMIPP_P1CPPCR) . . . . .
2729
49.14.125DCMIPP Pipe1 current pixel packer Memory0 address register 1
(DCMIPP_P1CPPM0AR1) . . . . .
2730
49.14.126DCMIPP Pipex current pixel packer Memory0 pitch register
(DCMIPP_PxCPPM0PR) . . . . .
2730
49.14.127DCMIPP Pipex current pixel packer Memory1 address register 1
(DCMIPP_PxCPPM1AR1) . . . . .
2731
49.14.128DCMIPP Pipex current pixel packer Memory1 pitch register
(DCMIPP_PxCPPM1PR) . . . . .
2731
49.14.129DCMIPP Pipex current pixel packer Memory2 address register 1
(DCMIPP_PxCPPM2AR1) . . . . .
2732
49.14.130DCMIPP Pipe2 flow selection configuration register
(DCMIPP_P2FSCR) . . . . .
2732
49.14.131DCMIPP Pipe2 pixel packer configuration register
(DCMIPP_P2PPCR) . . . . .
2733
49.14.132DCMIPP Pipe2 pixel packer Memory0 address register 1
(DCMIPP_P2PPM0AR1) . . . . .
2734
49.14.133DCMIPP Pipe2 interrupt enable register (DCMIPP_P2IER) . . . . .2734
49.14.134DCMIPP Pipe2 status register (DCMIPP_P2SR) . . . . .2735
49.14.135DCMIPP Pipe2 interrupt clear register (DCMIPP_P2FCR) . . . . .2736
49.14.136DCMIPP Pipe2 current flow selection configuration register
(DCMIPP_P2CFSCR) . . . . .
2737
49.14.137DCMIPP Pipe2 current pixel packer configuration register
(DCMIPP_P2CPPCR) . . . . .
2737
49.14.138DCMIPP Pipe2 current pixel packer Memory0 address register 1
(DCMIPP_P2CPPM0AR1) . . . . .
2738
49.14.139DCMIPP hardware configuration register 3 (DCMIPP_HWCFGR3) . . . . .2739
49.14.140DCMIPP hardware configuration register 2 (DCMIPP_HWCFGR2) . . . . .2739
49.14.141DCMIPP hardware configuration register 1 (DCMIPP_HWCFGR1) . . . . .2740
49.14.142DCMIPP version register (DCMIPP_VERR) . . . . .2741
49.14.143DCMIPP identification register (DCMIPP_IPIDR) . . . . .2741
49.14.144DCMIPP size identification register (DCMIPP_SIDR) . . . . .2742
49.15DCMIPP register map . . . . .2743
50CSI-2 Host (CSI) . . . . .2757
50.1Introduction . . . . .2757
50.2Standard and references . . . . .2757
50.3Glossary . . . . .2757
50.4CSI-2 Host main features . . . . .2758
50.5CSI-2 Host functional description . . . . .2758
50.5.1General description . . . . .2758
50.5.2System level architecture . . . . .2760
50.5.3CSI-2 Host reset and clocks . . . . .2761
50.5.4Lane merger . . . . .2762
50.5.5Clock changer . . . . .2763
50.5.6Low-level protocol (LLP) . . . . .2764
50.5.7CSI-2 Host protocol output . . . . .2774
50.6CSI-2 Host programming guide . . . . .2774
50.6.1CSI-2 PHY setup . . . . .2774
50.6.2CSI-2 Host controller setup and data reception start . . . . .2775
50.6.3Data reception stop . . . . .2776
50.7CSI-2 Host low-power modes . . . . .2776
50.8CSI-2 Host interrupts and errors . . . . .2776
50.8.1Error handling . . . . .2778
50.8.2Interrupt handling . . . . .2780
50.9CSI-2 Host registers . . . . .2781
50.9.1CSI-2 Host control register (CSI_CR) . . . . .2781
50.9.2CSI-2 Host DPHY_RX control register (CSI_PCR) . . . . .2783
50.9.3CSI-2 Host virtual channel x configuration register 1
(CSI_VCxCFGR1) . . . . .
2784
50.9.4CSI-2 Host virtual channel x configuration register 2
(CSI_VCxCFGR2) . . . . .
2786
50.9.5CSI-2 Host virtual channel x configuration register 3
(CSI_VCxCFGR3) . . . . .
2787
50.9.6CSI-2 Host virtual channel x configuration register 4
(CSI_VCxCFGR4) . . . . .
2788
50.9.7CSI-2 Host line byte x configuration register (CSI_LBxCFGR) . . . . .2789
50.9.8CSI-2 Host timer x configuration register (CSI_TIMxCFGR) . . . . .2790
50.9.9CSI-2 Host lane merger configuration register (CSI_LMCFGR) . . . . .2790
50.9.10CSI-2 Host program interrupt register (CSI_PRGITR) . . . . .2791
50.9.11CSI-2 Host watchdog register (CSI_WDR) . . . . .2795
50.9.12CSI-2 Host interrupt enable register 0 (CSI_IER0) . . . . .2795
50.9.13CSI-2 Host interrupt enable register 1 (CSI_IER1) . . . . .2798
50.9.14CSI-2 Host status register 0 (CSI_SR0) . . . . .2800
50.9.15CSI-2 Host status register 1 (CSI_SR1) .....2802
50.9.16CSI-2 Host flag clear register 0 (CSI_FCR0) .....2804
50.9.17CSI-2 Host flag clear register 1 (CSI_FCR1) .....2805
50.9.18CSI-2 Host short packet data field register (CSI_SPDFR) .....2806
50.9.19CSI-2 Host error register 1 (CSI_ERR1) .....2807
50.9.20CSI-2 Host error register 2 (CSI_ERR2) .....2808
50.9.21CSI-2 Host hardware configuration register (CSI_HWCFGR) ....2808
50.9.22CSI-2 Host version register (CSI_HVERR) .....2809
50.9.23CSI-2 Host identification register (CSI_HIPIDR) .....2809
50.9.24CSI-2 Host size identification register (CSI_HSIDR) .....2810
50.10CSI PHY registers .....2810
50.10.1CSI PHY reset control register (CSI_PRCR) .....2810
50.10.2CSI PHY mode control register (CSI_PMCR) .....2811
50.10.3CSI PHY frequency control register (CSI_PFCR) .....2812
50.10.4CSI PHY test control register 0 (CSI_PTCR0) .....2812
50.10.5CSI PHY test control register 1 (CSI_PTCR1) .....2813
50.10.6CSI PHY test status register (CSI_PTSR) .....2813
50.10.7CSI-2 Host hardware configuration register (CSI_HWCFGR) ....2813
50.10.8CSI-2 Host version register (CSI_VERR) .....2814
50.10.9CSI-2 Host identification register (CSI_IPIDR) .....2814
50.10.10CSI-2 Host size identification register (CSI_SIDR) .....2815
50.11CSI-2 Host and PHY register map .....2815
51Parallel synchronous slave interface (PSSI) .....2819
51.1Introduction .....2819
51.2PSSI main features .....2819
51.3PSSI functional description .....2819
51.3.1PSSI block diagram .....2820
51.3.2PSSI pins and internal signals .....2820
51.3.3PSSI clock .....2821
51.3.4PSSI data management .....2821
51.3.5PSSI optional control signals .....2823
51.4PSSI interrupts .....2826
51.5PSSI registers .....2827
51.5.1PSSI control register (PSSI_CR) .....2827
51.5.2PSSI status register (PSSI_SR) .....2828
51.5.3PSSI raw interrupt status register (PSSI_RIS) .....2829
51.5.4PSSI interrupt enable register (PSSI_IER) .....2830
51.5.5PSSI masked interrupt status register (PSSI_MIS) .....2830
51.5.6PSSI interrupt clear register (PSSI_ICR) .....2831
51.5.7PSSI data register (PSSI_DR) .....2831
51.5.8PSSI hardware configuration register (PSSI_HWCFGR) .....2832
51.5.9PSSI version register (PSSI_VERR) .....2832
51.5.10PSSI ID register (PSSI_IPIDR) .....2833
51.5.11PSSI size identification register (PSSI_SIDR) .....2833
51.5.12PSSI register map .....2833
52Display subsystem .....2835
52.1Introduction .....2835
52.2Display subsystem main features .....2835
52.3Display subsystem implementation .....2836
52.4Display subsystem functional description .....2837
52.4.1Display subsystem block diagram .....2837
52.4.2Display subsystem pins and external signal interface .....2837
52.4.3Display subsystem clocks .....2838
52.4.4Display subsystem security .....2838
52.5Display subsystem programmable parameters .....2844
52.5.1Parallel-interface display .....2845
52.5.2LVDS display .....2846
52.5.3DSI display .....2847
52.5.4Three panel interfaces in parallel .....2848
52.5.5Two LVDS panels in parallel .....2849
52.6Display subsystem interrupts .....2849
52.7Display subsystem registers .....2850
53LCD-TFT display controller (LTDC) .....2851
53.1LTDC introduction .....2851
53.2LTDC main features .....2851
53.3LTDC implementation .....2851
53.4LTDC functional description .....2852
53.4.1LTDC block diagram .....2852
53.4.2LTDC pins and internal signals .....2853
53.4.3LTDC reset and clocks .....2853
53.5LTDC configuration parameters .....2856
53.5.1AXI master .....2856
53.5.2Input layer definition and cropping .....2856
53.5.3Input pixel format .....2857
53.5.4YUV planar .....2860
53.5.5YUV-to-RGB color conversion .....2860
53.5.6Horizontal or vertical mirroring .....2862
53.5.7Default layer color .....2863
53.5.8Color look-up table (CLUT) .....2863
53.5.9Transparency color keying .....2864
53.5.10Upscaler .....2864
53.5.11Display composition - windowing .....2865
53.5.12Display composition - blending .....2866
53.5.13Rotation .....2868
53.5.14Gamma correction .....2870
53.5.15YUV output conversion .....2870
53.5.16Dithering .....2871
53.5.17CRC hashing .....2871
53.5.18Display timing .....2872
53.5.19Output interface polarity .....2874
53.5.20Shadow registers .....2874
53.5.21General control .....2876
53.5.22Provision for a secure layer .....2876
53.6LTDC interrupts .....2877
53.7LTDC programming procedure .....2878
53.8LTDC registers .....2879
53.8.1LTDC identification register (LTDC_IDR) .....2879
53.8.2LTDC layer count register (LTDC_LCR) .....2879
53.8.3LTDC synchronization size configuration register (LTDC_SSCR) .....2880
53.8.4LTDC back porch configuration register (LTDC_BPCR) .....2880
53.8.5LTDC active width configuration register (LTDC_AWCR) .....2881
53.8.6LTDC total width configuration register (LTDC_TWCR) .....2881
53.8.7LTDC global control register (LTDC_GCR) .....2882
53.8.8LTDC global configuration 1 register (LTDC_GC1R) .....2884
53.8.9LTDC global configuration 2 register (LTDC_GC2R) .....2885
53.8.10LTDC shadow reload configuration register (LTDC_SRCR) .....2886
53.8.11LTDC gamma correction configuration register (LTDC_GCCR) . . . .2886
53.8.12LTDC background color configuration register (LTDC_BCCR) . . . . .2887
53.8.13LTDC interrupt enable register (LTDC_IER) . . . . .2887
53.8.14LTDC interrupt status register (LTDC_ISR) . . . . .2888
53.8.15LTDC interrupt clear register (LTDC_ICR) . . . . .2889
53.8.16LTDC line interrupt position configuration register (LTDC_LIPCR) . .2890
53.8.17LTDC current position status register (LTDC_CPSR) . . . . .2891
53.8.18LTDC current display status register (LTDC_CDSR) . . . . .2891
53.8.19LTDC external display control register (LTDC_EDCR) . . . . .2892
53.8.20LTDC interrupt enable register 2 (LTDC_IER2) . . . . .2892
53.8.21LTDC interrupt status register 2 (LTDC_ISR2) . . . . .2893
53.8.22LTDC interrupt clear register 2 (LTDC_ICR2) . . . . .2894
53.8.23LTDC line interrupt position configuration register 2 (LTDC_LIPCR2)2895
53.8.24LTDC expected CRC register (LTDC_ECRCR) . . . . .2895
53.8.25LTDC computed CRC register (LTDC_CCRCR) . . . . .2896
53.8.26LTDC rotation buffer 0 address register (LTDC_RB0AR) . . . . .2896
53.8.27LTDC rotation buffer 1 address register (LTDC_RB1AR) . . . . .2897
53.8.28LTDC rotation buffer pitch register (LTDC_RBPR) . . . . .2897
53.8.29LTDC rotation intermediate frame color register (LTDC_RIFCR) . . .2898
53.8.30LTDC FIFO underrun threshold register (LTDC_FUTR) . . . . .2898
53.8.31LTDC layer x configuration 0 register (LTDC_LxC0R) . . . . .2899
53.8.32LTDC layer x configuration 1 register (LTDC_LxC1R) . . . . .2900
53.8.33LTDC layer x reload control register (LTDC_LxRCR) . . . . .2900
53.8.34LTDC layer x control register (LTDC_LxCR) . . . . .2901
53.8.35LTDC layer x window horizontal position configuration register
(LTDC_LxWHPCR) . . . . .
2902
53.8.36LTDC layer x window vertical position configuration register
(LTDC_LxWVPCR) . . . . .
2903
53.8.37LTDC layer x color keying configuration register
(LTDC_LxCKCR) . . . . .
2903
53.8.38LTDC layer x pixel format configuration register
(LTDC_LxPFCR) . . . . .
2904
53.8.39LTDC layer x constant alpha configuration register
(LTDC_LxCACR) . . . . .
2904
53.8.40LTDC layer x default color configuration register
(LTDC_LxDCCR) . . . . .
2905
53.8.41LTDC layer x blending factors configuration register
(LTDC_LxBFCR) . . . . .
2905
53.8.42LTDC layer x burst length configuration register
(LTDC_LxBLCR) .....
2906
53.8.43LTDC layer x planar configuration register
(LTDC_LxPCR) .....
2907
53.8.44LTDC layer x color frame buffer address register
(LTDC_LxCFBAR) .....
2908
53.8.45LTDC layer x color frame buffer length register
(LTDC_LxCFBLR) .....
2908
53.8.46LTDC layer x color frame buffer line number register
(LTDC_LxCFBLNR) .....
2909
53.8.47LTDC layer x auxiliary frame buffer address 0 register
(LTDC_LxAFBA0R) .....
2909
53.8.48LTDC layer x auxiliary frame buffer address 1 register
(LTDC_LxAFBA1R) .....
2910
53.8.49LTDC layer x auxiliary frame buffer length register
(LTDC_LxAFBLR) .....
2910
53.8.50LTDC layer x auxiliary frame buffer line number register
(LTDC_LxAFBLNR) .....
2911
53.8.51LTDC layer x CLUT write register (LTDC_LxCLUTWR) .....2911
53.8.52LTDC layer x scaler input size register (LTDC_LxSISR) .....2912
53.8.53LTDC layer x scaler output size register (LTDC_LxSOSR) .....2912
53.8.54LTDC layer x scaler vertical scaling factor register
(LTDC_LxSVSFR) .....
2913
53.8.55LTDC layer x scaler vertical scaling phase register
(LTDC_LxSVSPR) .....
2913
53.8.56LTDC layer x scaler horizontal scaling factor register
(LTDC_LxSHSFR) .....
2914
53.8.57LTDC layer x scaler horizontal scaling phase register
(LTDC_LxSHSPR) .....
2914
53.8.58LTDC layer x conversion YCbCr RGB 0 register (LTDC_LxCYR0R) ..2914
53.8.59LTDC layer x conversion YCbCr RGB 1 register (LTDC_LxCYR1R) ..2915
53.8.60LTDC layer x flexible pixel format 0 register (LTDC_LxFPF0R) ....2915
53.8.61LTDC layer x flexible pixel format 1 register (LTDC_LxFPF1R) ....2916
53.8.62LTDC register map .....2916
54LVDS display interface transmitter (LVDS) .....2924
54.1Introduction .....2924
54.2LVDS main features .....2924
54.3LVDS implementation .....2924
54.4LVDS functional description .....2925
54.4.1LVDS host block diagram2925
54.4.2LVDS pins and internal signals2925
54.4.3LVDS reset and clocks2925
54.4.4LVDS host input polarity functional block2925
54.4.5LVDS host data mapping functional block2926
54.4.6LVDS host link phase functional block2929
54.4.7LVDS host channel distribution2930
54.4.8LVDS host lane polarity functional block2931
54.4.9LVDS host PRBS Generator functional block2931
54.4.10LVDS PHY functional block2932
54.4.11LVDS Wrapper functional block2932
54.5LVDS host registers2933
54.5.1LVDS configuration register (LVDS_CR)2933
54.5.2LVDS data mapping LSB configuration register 0 (LVDS_DMLCR0)2934
54.5.3LVDS data mapping MSB configuration register 0 (LVDS_DMMCR0)2935
54.5.4LVDS data mapping LSB configuration register 1 (LVDS_DMLCR1)2935
54.5.5LVDS data mapping MSB configuration register 1 (LVDS_DMMCR1)2936
54.5.6LVDS data mapping LSB configuration register 2 (LVDS_DMLCR2)2937
54.5.7LVDS data mapping MSB configuration register 2 (LVDS_DMMCR2)2937
54.5.8LVDS data mapping LSB configuration register 3 (LVDS_DMLCR3)2938
54.5.9LVDS data mapping MSB configuration register 3 (LVDS_DMMCR3)2939
54.5.10LVDS data mapping LSB configuration register 4 (LVDS_DMLCR4)2939
54.5.11LVDS data mapping MSB configuration register 4 (LVDS_DMMCR4)2940
54.5.12LVDS channel distribution link 1 configuration register (LVDS_CDL1CR)2941
54.5.13LVDS channel distribution link 2 configuration register (LVDS_CDL2CR)2942
54.6LVDS PHY and LVDS Wrapper register2943
54.6.1LVDS PHY-Master global control register (LVDS_PMGCR)2943
54.6.2LVDS PHY-Master pre-emphasis amplitude control register (LVDS_PMPEACR)2944
54.6.3LVDS PHY-Master pre-emphasis time control register (LVDS_PMPETCR)2944
54.6.4LVDS PHY-Master current mode control register 1
(LVDS_PMCMCR1) .....
2945
54.6.5LVDS PHY-Master current mode control register 2
(LVDS_PMCMCR2) .....
2946
54.6.6LVDS PHY-Master Rx loopback control register (LVDS_PMRLPCR) .....2947
54.6.7LVDS PHY-master Rx loopback status register (LVDS_PMRLPSR) .....2948
54.6.8LVDS PHY-Master flipedge control register (LVDS_PMFCR) .....2949
54.6.9LVDS PHY-Master serial control register (LVDS_PMSCR) .....2950
54.6.10LVDS PHY-Master spare control register 1 (LVDS_PMSCR1) .....2950
54.6.11LVDS PHY-Master spare control register 2 (LVDS_PMSCR2) .....2951
54.6.12LVDS PHY-Master bias control register 1 (LVDS_PMBCR1) .....2951
54.6.13LVDS PHY-Master bias control register 2 (LVDS_PMBCR2) .....2952
54.6.14LVDS PHY-Master bias control register 3 (LVDS_PMBCR3) .....2953
54.6.15LVDS PHY-Master bias control register 4 (LVDS_PMBCR4) .....2955
54.6.16LVDS PHY-Master bias control register 5 (LVDS_PMBCR5) .....2955
54.6.17LVDS PHY-Master impedance control register (LVDS_PMICR) .....2956
54.6.18LVDS PHY-Master monitor bandgap current control register
(LVDS_PMMBCCR) .....
2956
54.6.19LVDS PHY-Master monitor bandgap current status register
(LVDS_PMMBCSR) .....
2957
54.6.20LVDS PHY-Master monitor bandgap loop control register
(LVDS_PMMBLCR) .....
2958
54.6.21LVDS PHY-Master monitor bandgap loop status register
(LVDS_PMMBLSR) .....
2958
54.6.22LVDS PHY-Master monitor bandgap output voltage control register
(LVDS_PMMBOVCR) .....
2959
54.6.23LVDS PHY-Master monitor bandgap output voltage status register
(LVDS_PMMBOVSR) .....
2960
54.6.24LVDS PHY-Master monitor PLL LDO output voltage control register
(LVDS_PMMPLOVCR) .....
2960
54.6.25LVDS PHY-Master monitor PLL LDO output voltage status register
(LVDS_PMMPLOVSR) .....
2961
54.6.26LVDS PHY-Master monitor PLL lock control register
(LVDS_PMMPLCR) .....
2962
54.6.27LVDS PHY-Master monitor PLL lock status register
(LVDS_PMMPLSR) .....
2962
54.6.28LVDS PHY-Master monitor PLL reference OK control register
(LVDS_PMMPROCR) .....
2963
54.6.29LVDS PHY-Master monitor PLL reference OK status register
(LVDS_PMMPROSR) .....
2964
54.6.30LVDS PHY-Master monitor serializer clock control register
(LVDS_PMMSCCR) .....
2964
54.6.31LVDS PHY-Master monitor serializer clock status register
(LVDS_PMMSCSR) .....
2965
54.6.32LVDS PHY-Master monitor serializer control register
(LVDS_PMMSCR) .....
2965
54.6.33LVDS PHY-Master monitor serializer status register
(LVDS_PMMSSR) .....
2966
54.6.34LVDS PHY-Master debug control register (LVDS_PMDCR) .....2966
54.6.35LVDS PHY-Master spare status register 1 (LVDS_PMSSR1) .....2967
54.6.36LVDS PHY-Master spare status register 2 (LVDS_PMSSR2) .....2967
54.6.37LVDS PHY-Master configuration control register
(LVDS_PMCFGCR) .....
2967
54.6.38LVDS PHY-Master PLL_MODE 1 control register
(LVDS_PMPLLCR1) .....
2968
54.6.39LVDS PHY-Master PLL_MODE 2 control register
(LVDS_PMPLLCR2) .....
2969
54.6.40LVDS PHY-Master PLL status register (LVDS_PMPLLSR) .....2969
54.6.41LVDS PHY-Master PLL_SD_1 control register
(LVDS_PMPLLSDCR1) .....
2970
54.6.42LVDS PHY-Master PLL_SD_2 control register
(LVDS_PMPLLSDCR2) .....
2970
54.6.43LVDS PHY-Master PLL_TWG_1 control register
(LVDS_PMPLLTWGCR1) .....
2971
54.6.44LVDS PHY-Master PLL_TWG_2 control register
(LVDS_PMPLLTWGCR2) .....
2971
54.6.45LVDS PHY-Master PLL_LDO control register
(LVDS_PMPLLLDOCR) .....
2971
54.6.46LVDS PHY-Master PLL_CP control register
(LVDS_PMPLLCPCR) .....
2972
54.6.47LVDS PHY-Master PLL_CFG control register
(LVDS_PMPLLCFGCR) .....
2972
54.6.48LVDS PHY-Master PLL_TEST control register
(LVDS_PMPLLTESTCR) .....
2973
54.6.49LVDS PHY-Slave global control register
(LVDS_PSGCR) .....
2973
54.6.50LVDS PHY-Slave pre-emphasis amplitude control register
(LVDS_PSPEACR) .....
2974
54.6.51LVDS PHY-Slave pre-emphasis time control register
(LVDS_PSPETCR) .....
2975
54.6.52LVDS PHY-Slave current mode control register 1
(LVDS_PSCMCR1) .....
2976
54.6.53LVDS PHY-Slave current mode control register 2
(LVDS_PSCMCR2) .....
2977
54.6.54LVDS PHY-Slave Rx loopback control register (LVDS_PSRLPCR) .2977
54.6.55LVDS PHY-slave Rx loopback status register
(LVDS_PSRLPSR) .....
2979
54.6.56LVDS PHY-Slave flipedge control register (LVDS_PSFCR) .....2980
54.6.57LVDS PHY-Slave serial control register (LVDS_PSSCR) .....2981
54.6.58LVDS PHY-Slave spare control register 1 (LVDS_PSSCR1) .....2981
54.6.59LVDS PHY-Slave spare control register 2 (LVDS_PSSCR2) .....2982
54.6.60LVDS PHY-Slave bias control register 1 (LVDS_PSBCR1) .....2982
54.6.61LVDS PHY-Slave bias control register 2 (LVDS_PSBCR2) .....2983
54.6.62LVDS PHY-Slave bias control register 3 (LVDS_PSBCR3) .....2984
54.6.63LVDS PHY-Slave bias control register 4 (LVDS_PSBCR4) .....2986
54.6.64LVDS PHY-Slave bias control register 5 (LVDS_PSBCR5) .....2986
54.6.65LVDS PHY-Slave impedance control register (LVDS_PSICR) .....2987
54.6.66LVDS PHY-Slave monitor bandgap current control register
(LVDS_PSMBCCR) .....
2988
54.6.67LVDS PHY-Slave monitor bandgap current status register
(LVDS_PSMBCSR) .....
2988
54.6.68LVDS PHY-Slave monitor bandgap loop control register
(LVDS_PSMBLCR) .....
2989
54.6.69LVDS PHY-Slave monitor bandgap loop status register
(LVDS_PSMBLSR) .....
2990
54.6.70LVDS PHY-Slave monitor bandgap output voltage control register
(LVDS_PSMBOVCR) .....
2990
54.6.71LVDS PHY-Slave monitor bandgap output voltage status register
(LVDS_PSMBOVSR) .....
2991
54.6.72LVDS PHY-Slave monitor serializer clock control register
(LVDS_PSMSCCR) .....
2992
54.6.73LVDS PHY-Slave monitor serializer clock status register
(LVDS_PSMSCSR) .....
2992
54.6.74LVDS PHY-Slave monitor serializer control register
(LVDS_PSMSCR) .....
2993
54.6.75LVDS PHY-Slave monitor serializer status register
(LVDS_PSMSSR) .....
2993
54.6.76LVDS PHY-Slave debug control register (LVDS_PSDCR) .....2994
54.6.77LVDS PHY-Slave spare status register 1 (LVDS_PSSSR1) .....2994
54.6.78LVDS PHY-Slave spare status register 2 (LVDS_PSSSR2) .....2995
54.6.79LVDS PHY-Slave configuration control register (LVDS_PSCFGCR) .2995
54.6.80LVDS wrapper clock control register (LVDS_WCLKCR) .....2995
54.6.81LVDS PHY-Slave PLL_MODE 1 control register (LVDS_PSPLLCR1) .....2996
54.6.82LVDS PHY-Slave PLL_MODE 2 control register (LVDS_PSPLLCR2) .....2997
54.6.83LVDS PHY-Slave PLL status register (LVDS_PSPLLSR) .....2997
54.6.84LVDS PHY-Slave PLL_SD_1 control register (LVDS_PSPLLSDCR1) .....2998
54.6.85LVDS PHY-Slave PLL_SD_2 control register (LVDS_PSPLLSDCR2) .....2998
54.6.86LVDS PHY-Slave PLL_TWG_1 control register (LVDS_PSPLLTWGCR1) .....2999
54.6.87LVDS PHY-Slave PLL_TWG_2 control register (LVDS_PSPLLTWGCR2) .....2999
54.6.88LVDS PHY-Slave PLL_LDO control register (LVDS_PSPLLLDOCR) .....3000
54.6.89LVDS PHY-Slave PLL_CP control register (LVDS_PSPLLCPCR) ..3000
54.6.90LVDS PHY-Slave PLL_CFG control register (LVDS_PSPLLCFGR) ..3001
54.6.91LVDS PHY-Slave PLL_TEST control register (LVDS_PSPLLTESTCR) .....3001
54.6.92LVDS PHY-Master analog test control register 1 (LVDS_PMATCR1) .....3002
54.6.93LVDS PHY-Master analog test control register 2 (LVDS_PMATCR2) .....3003
54.6.94LVDS PHY-Master digital test control register 1 (LVDS_PMDTCR1) .....3004
54.6.95LVDS PHY-Master digital test control register 2 (LVDS_PMDTCR2) .....3005
54.6.96LVDS PHY-Master digital test status register (LVDS_PMDTSR) ....3006
54.6.97LVDS PHY-Slave analog test control register 1 (LVDS_PSATCR1) ..3006
54.6.98LVDS PHY-Slave analog test control register 2 (LVDS_PSATCR2) ..3008
54.6.99LVDS PHY-Slave digital test control register 1 (LVDS_PSDTCR1) ..3009
54.6.100LVDS PHY-Slave digital test control register 2 (LVDS_PSDTCR2) ..3010
54.6.101LVDS PHY-Slave digital test status register (LVDS_PSDTSR) ....3011
54.6.102LVDS hardware configuration register (LVDS_HWCFGR) .....3011
54.6.103LVDS version register (LVDS_VERR) .....3012
54.6.104LVDS identification register (LVDS_IPIDR) .....3012
54.6.105LVDS size register (LVDS_SIDR) .....3012
54.6.106LVDS register map .....3013
55DSI Host (DSI) .....3032
55.1Introduction .....3032
55.2Standard and references .....3032
55.3DSI Host main features .....3032
55.4DSI Host functional description .....3033
55.4.1General description .....3033
55.4.2DSI pins and internal signals .....3034
55.4.3Supported resolutions and frame rates .....3035
55.4.4System level architecture .....3035
55.5Functional description: video mode on LTDC interface .....3036
55.5.1Video transmission mode .....3038
55.5.2Updating the LTDC interface configuration in video mode .....3040
55.6Functional description: adapted command mode on LTDC interface ..3041
55.7Functional description: APB slave generic interface .....3045
55.7.1Packet transmission using the generic interface .....3046
55.8Functional description: timeout counters .....3049
55.8.1Contention error detection timeout counters .....3049
55.8.2Peripheral response timeout counters .....3050
55.9Functional description: transmission of commands .....3055
55.9.1Transmission of commands in video mode .....3055
55.9.2Transmission of commands in low-power mode .....3057
55.9.3Transmission of commands in high-speed .....3061
55.9.4Read command transmission .....3062
55.9.5Clock lane in low-power mode .....3062
55.10Functional description: virtual channels .....3064
55.11Functional description: video mode pattern generator .....3065
55.11.1Color bar pattern .....3065
55.11.2Color coding .....3067
55.11.3BER testing pattern .....3067
55.11.4Video mode pattern generator resolution .....3068
55.12Functional description: D-PHY management .....3069
55.12.1D-PHY configuration .....3069
55.12.2Special D-PHY operations .....3069
55.12.3Special low-power D-PHY functions .....3069
55.12.4DSI PLL control .....3069
55.13Functional description: interrupts and errors .....3074
55.13.1DSI Wrapper interrupts .....3074
55.13.2DSI Host interrupts and errors .....3074
55.14Programing procedure3081
55.14.1Programing procedure overview3081
55.14.2Configuring the D-PHY parameters3082
55.14.3Configuring the DSI Host timing3082
55.14.4Configuring flow control and DBI interface3083
55.14.5Configuring the DSI Host LTDC interface3083
55.14.6Configuring the video mode3084
55.14.7Configuring the adapted command mode3088
55.14.8Configuring the video mode pattern generator3088
55.14.9Managing ULPM3089
55.15DSI Host registers3091
55.15.1DSI Host version register (DSI_VR)3091
55.15.2DSI Host control register (DSI_CR)3091
55.15.3DSI Host clock control register (DSI_CCR)3092
55.15.4DSI Host LTDC VCID register (DSI_LVCIDR)3092
55.15.5DSI Host LTDC color coding register (DSI_LCOLCR)3092
55.15.6DSI Host LTDC polarity configuration register (DSI_LPCR)3093
55.15.7DSI Host low-power mode configuration register (DSI_LPMCR)3094
55.15.8DSI Host protocol configuration register (DSI_PCR)3094
55.15.9DSI Host generic VCID register (DSI_GVCIDR)3095
55.15.10DSI Host mode configuration register (DSI_MCR)3095
55.15.11DSI Host video mode configuration register (DSI_VMCR)3096
55.15.12DSI Host video packet configuration register (DSI_VPCR)3097
55.15.13DSI Host video chunks configuration register (DSI_VCCR)3098
55.15.14DSI Host video null packet configuration register (DSI_VNPCR)3098
55.15.15DSI Host video HSA configuration register (DSI_VHSACR)3098
55.15.16DSI Host video HBP configuration register (DSI_VHBPCR)3099
55.15.17DSI Host video line configuration register (DSI_VLCR)3099
55.15.18DSI Host video VSA configuration register (DSI_VVSACR)3099
55.15.19DSI Host video VBP configuration register (DSI_VVBPCR)3100
55.15.20DSI Host video VFP configuration register (DSI_VVFPCR)3100
55.15.21DSI Host video VA configuration register (DSI_VVACR)3101
55.15.22DSI Host LTDC command configuration register (DSI_LCCR)3101
55.15.23DSI Host command mode configuration register (DSI_CMCR)3101
55.15.24DSI Host generic header configuration register (DSI_GHCR)3103
55.15.25DSI Host generic payload data register (DSI_GPDR)3104
55.15.26DSI Host generic packet status register (DSI_GPSR)3104
55.15.27 DSI Host timeout counter configuration register 0 (DSI_TCCR0) . . .3105
55.15.28 DSI Host timeout counter configuration register 1 (DSI_TCCR1) . . .3106
55.15.29 DSI Host timeout counter configuration register 2 (DSI_TCCR2) . . .3106
55.15.30 DSI Host timeout counter configuration register 3 (DSI_TCCR3) . . .3106
55.15.31 DSI Host timeout counter configuration register 4 (DSI_TCCR4) . . .3107
55.15.32 DSI Host timeout counter configuration register 5 (DSI_TCCR5) . . .3108
55.15.33 DSI Host 3D configuration register (DSI_TDCR) . . . . .3108
55.15.34 DSI Host clock lane configuration register (DSI_CLCR) . . . . .3109
55.15.35 DSI Host clock lane timer configuration register (DSI_CLTCR) . . . . .3109
55.15.36 DSI Host data lane timer configuration register (DSI_DLTCR) . . . . .3110
55.15.37 DSI Host PHY control register (DSI_PCTLR) . . . . .3110
55.15.38 DSI Host PHY configuration register (DSI_PCONFR) . . . . .3111
55.15.39 DSI Host PHY ULPS control register (DSI_PUCR) . . . . .3111
55.15.40 DSI Host PHY TX triggers configuration register (DSI_PTTCR) . . . . .3112
55.15.41 DSI Host PHY status register (DSI_PSR) . . . . .3112
55.15.42 DSI Host PHY test control register 0 (DSI_PTCR0) . . . . .3113
55.15.43 DSI Host PHY test control register 1 (DSI_PTCR1) . . . . .3114
55.15.44 DSI Host interrupt and status register 0 (DSI_ISR0) . . . . .3114
55.15.45 DSI Host interrupt and status register 1 (DSI_ISR1) . . . . .3116
55.15.46 DSI Host interrupt enable register 0 (DSI_IER0) . . . . .3117
55.15.47 DSI Host interrupt enable register 1 (DSI_IER1) . . . . .3120
55.15.48 DSI Host PHY calibration control register (DSI_PCCR) . . . . .3122
55.15.49 DSI Host force interrupt register 0 (DSI_FIR0) . . . . .3122
55.15.50 DSI Host force interrupt register 1 (DSI_FIR1) . . . . .3124
55.15.51 DSI Host data lane timer read configuration register
(DSI_DLTRCR) . . . . .
3125
55.15.52 DSI Host video shadow control register (DSI_VSCR) . . . . .3125
55.15.53 DSI Host LTDC current VCID register (DSI_LCVCIDR) . . . . .3126
55.15.54 DSI Host LTDC current color coding register (DSI_LCCCR) . . . . .3126
55.15.55 DSI Host low-power mode current configuration register
(DSI_LPMCCR) . . . . .
3127
55.15.56 DSI Host video mode current configuration register
(DSI_VMCCR) . . . . .
3127
55.15.57 DSI Host video packet current configuration register
(DSI_VPCCR) . . . . .
3128
55.15.58 DSI Host video chunks current configuration register
(DSI_VCCCR) . . . . .
3129
55.15.59 DSI Host video null packet current configuration register
(DSI_VNPCCR) . . . . .
3129
55.15.60DSI Host video HSA current configuration register (DSI_VHSACCR)3129
55.15.61DSI Host video HBP current configuration register (DSI_VHBPCR)3130
55.15.62DSI Host video line current configuration register (DSI_VLCCR)3130
55.15.63DSI Host video VSA current configuration register (DSI_VVSACCR)3131
55.15.64DSI Host video VBP current configuration register (DSI_VVBPCR)3131
55.15.65DSI Host video VFP current configuration register (DSI_VVFPCCR)3131
55.15.66DSI Host video VA current configuration register (DSI_VVACCR)3132
55.15.67DSI Host 3D current configuration register (DSI_TDCCR)3132
55.16DSI Wrapper registers3134
55.16.1DSI Wrapper configuration register (DSI_WCFGR)3134
55.16.2DSI Wrapper control register (DSI_WCR)3135
55.16.3DSI Wrapper interrupt enable register (DSI_WIER)3135
55.16.4DSI Wrapper interrupt and status register (DSI_WISR)3136
55.16.5DSI Wrapper interrupt flag clear register (DSI_WIFCR)3137
55.16.6DSI Wrapper PHY configuration register 0 (DSI_WPCR0)3138
55.16.7DSI Wrapper PHY configuration register 1 (DSI_WPCR1)3138
55.16.8DSI Wrapper regulator and PLL configuration register 0 (DSI_WRPCR0)3139
55.16.9DSI Wrapper regulator and PLL configuration register 1 (DSI_WRPCR1)3140
55.16.10DSI Wrapper regulator and PLL configuration register 2 (DSI_WRPCR2)3141
55.16.11DSI Wrapper regulator and PLL status register 0 (DSI_WRPSR0)3142
55.16.12DSI Wrapper regulator and PLL status register 1 (DSI_WRPSR1)3142
55.16.13DSI Wrapper control register bis (DSI_WCRB)3143
55.16.14DSI hardware configuration register (DSI_HWCFGR)3143
55.16.15DSI version register (DSI_VERR)3144
55.16.16DSI identification register (DSI_IPIDR)3144
55.16.17DSI size identification register (DSI_SIDR)3145
55.17DSI register map3146
56Video encoder (VENC)3152
56.1VENC introduction3152
56.2VENC main features . . . . .3152
56.3VENC implementation . . . . .3152
56.4VENC functional description . . . . .3153
56.4.1VENC block diagram . . . . .3153
56.4.2VENC pins and internal signals . . . . .3153
56.4.3VENC reset and clocks . . . . .3154
56.4.4VENC pre-processor . . . . .3154
56.4.5VENC H264/VP8 encoder . . . . .3154
56.4.6VENC JPEG encoder . . . . .3155
56.4.7VENC security . . . . .3155
56.4.8VENC power-on sequence . . . . .3156
56.4.9VENCRAM power-on sequence for AXI access . . . . .3156
56.5VENC low power modes . . . . .3157
56.6VENC interrupts . . . . .3157
56.7VENC registers . . . . .3157
56.7.1VENC ID register (VENC_SWREG0) . . . . .3157
56.7.2VENC interrupt register (VENC_SWREG1) . . . . .3157
56.7.3VENC bus interface configuration register (VENC_SWREG2) . . . . .3158
56.7.4VENC device configuration register (VENC_SWREG3) . . . . .3158
56.7.5VENC base address for output stream data register
(VENC_SWREG5) . . . . .
3158
56.7.6VENC base address for output control data register
(VENC_SWREG6) . . . . .
3159
56.7.7VENC base address for reference luma register
(VENC_SWREG7) . . . . .
3159
56.7.8VENC base address for reference chroma register
(VENC_SWREG8) . . . . .
3159
56.7.9VENC base address for reconstructed luma register
(VENC_SWREG9) . . . . .
3160
56.7.10VENC base address for reconstructed chroma register
(VENC_SWREG10) . . . . .
3160
56.7.11VENC base address for input picture luma register
(VENC_SWREG11) . . . . .
3160
56.7.12VENC base address for input picture cb register
(VENC_SWREG12) . . . . .
3161
56.7.13VENC base address for input picture cr register
(VENC_SWREG13) . . . . .
3161
56.7.14VENC encoder control register 0 (VENC_SWREG14) . . . . .3161
56.7.15VENC encoder control register 1 (VENC_SWREG15) . . . . .3162
56.7.16VENC encoder control register 2 (VENC_SWREG16) .....3162
56.7.17VENC encoder control register 3 (VENC_SWREG17) .....3162
56.7.18VENC encoder control register 4 (VENC_SWREG18) .....3163
56.7.19VENC encoder control register 5 (VENC_SWREG19) .....3163
56.7.20VENC encoder control register 6 (VENC_SWREG20) .....3163
56.7.21VENC encoder control register 7 (VENC_SWREG21) .....3164
56.7.22VENC stream header remainder MSB bits register
(VENC_SWREG22) .....
3164
56.7.23VENC stream header remainder LSB bits register
(VENC_SWREG23) .....
3164
56.7.24VENC stream buffer limit/output stream size register
(VENC_SWREG24) .....
3165
56.7.25VENC encoder control register 8 (VENC_SWREG25) .....3165
56.7.26VENC intra-slice bitmap/base address for VP8 counters
register (VENC_SWREG26) .....
3165
56.7.27VENC encoder control register 9 (VENC_SWREG27) .....3166
56.7.28VENC encoder control register 10 (VENC_SWREG28) .....3166
56.7.29VENC encoder control register 11 (VENC_SWREG29) .....3166
56.7.30VENC encoder control register 12 (VENC_SWREG30) .....3167
56.7.31VENC encoder control register 13 (VENC_SWREG31) .....3167
56.7.32VENC encoder control register 14 (VENC_SWREG32) .....3167
56.7.33VENC encoder control register 15 (VENC_SWREG33) .....3168
56.7.34VENC encoder control register 16 (VENC_SWREG34) .....3168
56.7.35VENC H.264 checkpoint word error 5-6/encoder control register 17
(VENC_SWREG35) .....
3168
56.7.36VENC H.264 checkpoint delta QP 1-8/encoder control register 18
(VENC_SWREG36) .....
3169
56.7.37VENC encoder control register 19, VP8 filter, stream start offset
(VENC_SWREG37) .....
3169
56.7.38VENC macroblock count output register (VENC_SWREG38) .....3169
56.7.39VENC base address for next pic luminance register
(VENC_SWREG39) .....
3170
56.7.40VENC stabilization mode control register (VENC_SWREG40) .....3170
56.7.41VENC stabilization motion sum div8 output register
(VENC_SWREG41) .....
3170
56.7.42VENC stabilization GMV output, matrix 1, up-left position
output register (VENC_SWREG42) .....
3171
56.7.43VENC stabilization GMV output, matrix 2, up position
output register (VENC_SWREG43) .....
3171
56.7.44VENC stabilization matrix 3, up-right position
output register (VENC_SWREG44) .....
3171
56.7.45VENC stabilization matrix 4, left position
output register (VENC_SWREG45) .....
3172
56.7.46VENC stabilization matrix 5, GMV position
output register (VENC_SWREG46) .....
3172
56.7.47VENC stabilization matrix 6, right position
output register (VENC_SWREG47) .....
3172
56.7.48VENC stabilization matrix 7, down-left position
output register (VENC_SWREG48) .....
3173
56.7.49VENC stabilization matrix 8, down position
output register (VENC_SWREG49) .....
3173
56.7.50VENC stabilization matrix 9, down-right position
output register (VENC_SWREG50) .....
3173
56.7.51VENC base address for cabac context tables H264
or probability tables VP8 register (VENC_SWREG51) .....
3174
56.7.52VENC base address for MV output writing
register (VENC_SWREG52) .....
3174
56.7.53VENC RGB to YUV conversion coefficient A - B
register (VENC_SWREG53) .....
3174
56.7.54VENC RGB to YUV conversion coefficient C - E
register (VENC_SWREG54) .....
3175
56.7.55VENC RGB to YUV conversion coefficient F, RGB mask
MSB bit position register (VENC_SWREG55) .....
3175
56.7.56VENC intra area register (VENC_SWREG56) .....3175
56.7.57VENC CIR intra mb position register (VENC_SWREG57) .....3176
56.7.58VENC intra slice bitmap for slices 0..31/base address for VP8
1st DCT partition register (VENC_SWREG58) .....
3176
56.7.59VENC intra slice bitmap for slices 32..63/base address for VP8
2nd DCT partition register (VENC_SWREG59) .....
3176
56.7.60VENC 1st ROI area register (VENC_SWREG60) .....3177
56.7.61VENC 2nd ROI area register (VENC_SWREG61) .....3177
56.7.62VENC ROI area delta QP, MV register (VENC_SWREG62) .....3177
56.7.63VENC synthesis configuration register encoder 0
register (VENC_SWREG63) .....
3178
56.7.64VENC JPEG luma quantization 1/VP8 intra 16x16 mode 0-1
penalty register (VENC_SWREG64) .....
3178
56.7.65VENC JPEG luma quantization 2/VP8 intra 16x16 mode 2-3
penalty register (VENC_SWREG65) .....
3178
56.7.66VENC JPEG luma quantization 3/VP8 intra 4x4 mode 0-1
penalty register (VENC_SWREG66) .....
3179
56.7.67VENC JPEG luma quantization 4/VP8 intra 4x4 mode 2-3
penalty register (VENC_SWREG67) .....
3179
56.7.68VENC JPEG luma quantization 5/VP8 intra 4x4 mode 4-5
penalty register (VENC_SWREG68) .....
3179
56.7.69VENC JPEG luma quantization 6/VP8 intra 4x4 mode 6-7
penalty register (VENC_SWREG69) .....
3180
56.7.70VENC JPEG luma quantization 7/VP8 intra 4x4 mode 8-9
penalty register (VENC_SWREG70) .....
3180
56.7.71VENC JPEG luma quantization 8/base address for VP8
segmentation map register (VENC_SWREG71) .....
3180
56.7.72VENC JPEG luma quantization 9/VP8 segment1
parameter register (VENC_SWREG72) .....
3181
56.7.73VENC JPEG luma quantization 10/VP8 segment1
parameter register (VENC_SWREG73) .....
3181
56.7.74VENC JPEG luma quantization 11/VP8 segment1
parameter register (VENC_SWREG74) .....
3181
56.7.75VENC JPEG luma quantization 12/VP8 segment1
parameter register (VENC_SWREG75) .....
3182
56.7.76VENC JPEG luma quantization 13/VP8 segment1
parameter register (VENC_SWREG76) .....
3182
56.7.77VENC JPEG luma quantization 14/VP8 segment1
parameter register (VENC_SWREG77) .....
3182
56.7.78VENC JPEG luma quantization 15/VP8 segment1
parameter register (VENC_SWREG78) .....
3183
56.7.79VENC JPEG luma quantization 16/VP8 segment2
parameter register (VENC_SWREG79) .....
3183
56.7.80VENC JPEG chroma quantization 1/VP8 segment2
parameter register (VENC_SWREG80) .....
3183
56.7.81VENC JPEG chroma quantization 2/VP8 segment2
parameter register (VENC_SWREG81) .....
3184
56.7.82VENC JPEG chroma quantization 3/VP8 segment2
parameter register (VENC_SWREG82) .....
3184
56.7.83VENC JPEG chroma quantization 4/VP8 segment2
parameter register (VENC_SWREG83) .....
3184
56.7.84VENC JPEG chroma quantization 5/VP8 segment2
parameter register (VENC_SWREG84) .....
3185
56.7.85VENC JPEG chroma quantization 6/VP8 segment2
parameter register (VENC_SWREG85) .....
3185
56.7.86VENC JPEG chroma quantization 7/VP8 segment2
parameter register (VENC_SWREG86) .....
3185
56.7.87VENC JPEG chroma quantization 8/VP8 segment2
parameter register (VENC_SWREG87) .....
3186
56.7.88VENC JPEG chroma quantization 9/VP8 segment3
parameter register (VENC_SWREG88) .....
3186
56.7.89VENC JPEG chroma quantization 10/VP8 segment3
parameter register (VENC_SWREG89) .....
3186
56.7.90VENC JPEG chroma quantization 11/VP8 segment3
parameter register (VENC_SWREG90) .....
3187
56.7.91VENC JPEG chroma quantization 12/VP8 segment3
parameter register (VENC_SWREG91) .....
3187
56.7.92VENC JPEG chroma quantization 13/VP8 segment3
parameter register (VENC_SWREG92) .....
3187
56.7.93VENC JPEG chroma quantization 14/VP8 segment3
parameter register (VENC_SWREG93) .....
3188
56.7.94VENC JPEG chroma quantization 15/VP8 segment3
parameter register (VENC_SWREG94) .....
3188
56.7.95VENC JPEG chroma quantization 16/VP8 segment3
parameter register (VENC_SWREG95) .....
3188
56.7.96VENC DMV 4p/1p penalty values 0-3 register (VENC_SWREG96) .3189
56.7.97VENC DMV 4p/1p penalty values 4-7 register (VENC_SWREG97) .3189
56.7.98VENC DMV 4p/1p penalty values register (VENC_SWREGx) ....3189
56.7.99VENC DMV 4p/1p penalty values 124-127
register (VENC_SWREG127) .....
3189
56.7.100VENC DMV qpel penalty values 0-3
register (VENC_SWREG128) .....
3190
56.7.101VENC DMV qpel penalty values 4-7
register (VENC_SWREG129) .....
3190
56.7.102VENC DMV qpel penalty values register (VENC_SWREGx) ....3191
56.7.103VENC DMV qpel penalty values 124-127 register
(VENC_SWREG159) .....
3191
56.7.104VENC VP8 bit cost of inter type, coeff for dmv penalty
register (VENC_SWREG160) .....
3191
56.7.105VENC VP8 bit cost of golden ref frame
register (VENC_SWREG161) .....
3192
56.7.106VENC VP8 loop filter delta register (VENC_SWREGx) .....3192
56.7.107VENC VP8 deadzone lookup table register (VENC_SWREGx) ....3192
56.7.108VENC VP8 deadzone rate multiplier for plane 0-1
register (VENC_SWREG228) .....
3193
56.7.109VENC VP8 deadzone rate multiplier for plane 2-3
register (VENC_SWREG229) .....
3193
56.7.110VENC VP8 deadzone rate for macroblock skip token 0-1
register (VENC_SWREG230) .....
3193
56.7.111VENC base address for output of down-scaled encoder image
in YUYV 4:2:2 format register (VENC_SWREG231) .....
3194
56.7.112VENC scaling control register (VENC_SWREGx) .....3194
56.7.113VENC squared error output calculated for 13x13 pixels
per macroblock register (VENC_SWREG236) .....
3194
56.7.114VENC MAD 2 control and output register (VENC_SWREG237) ....3195
56.7.115VENC MAD 3 control and output register (VENC_SWREG238) . . . .3195
56.7.116VENC VP8 predictor interpolation coefficient for full pixel
position register (VENC_SWREG239) . . . . .
3195
56.7.117VENC VP8 predictor interpolation coefficient for 1/8 pixel
position register (VENC_SWREG240) . . . . .
3196
56.7.118VENC VP8 predictor interpolation coefficient for 2/8 pixel
position register (VENC_SWREG241) . . . . .
3196
56.7.119VENC VP8 predictor interpolation coefficient for 3/8 pixel
position register (VENC_SWREG242) . . . . .
3196
56.7.120VENC VP8 predictor interpolation coefficient for 4/8 pixel
position register (VENC_SWREG243) . . . . .
3197
56.7.121VENC base address for VP8 3rd DCT partition
register (VENC_SWREG244) . . . . .
3197
56.7.122VENC base address for VP8 4th DCT partition
register (VENC_SWREG245) . . . . .
3197
56.7.123VENC segment 1: intra 16x16 mode 0-2 penalty
register (VENC_SWREG256) . . . . .
3198
56.7.124VENC segment 1: intra 16x16 mode 3, intra 4x4 0-1
penalty register (VENC_SWREG257) . . . . .
3198
56.7.125VENC segment 1: intra 4x4 mode 2-4 penalty
register (VENC_SWREG258) . . . . .
3198
56.7.126VENC segment 1: intra 4x4 mode 5-7 penalty
register (VENC_SWREG259) . . . . .
3199
56.7.127VENC segment 1: intra 4x4 mode 8-9 penalty, previous
mode favor for H.264 register (VENC_SWREG260) . . . . .
3199
56.7.128VENC segment 1: bit cost of inter type, intra 16x16 mode
favor register (VENC_SWREG261) . . . . .
3199
56.7.129VENC segment 1: inter MB mode favor, skip mode penalty,
penalty value for 2nd reference frame register (VENC_SWREG262)
3200
56.7.130VENC segment 1: penalty value register (VENC_SWREGx) . . . . .3200
56.7.131VENC segment 1: deadzone rate multiplier for plane 0-1
register (VENC_SWREG265) . . . . .
3200
56.7.132VENC segment 1: deadzone rate multiplier for plane 2-3
register (VENC_SWREG266) . . . . .
3201
56.7.133VENC segment 1: deadzone rate for macroblock skip token 0-1,
dmv penalty coefficient register (VENC_SWREG267) . . . . .
3201
56.7.134VENC segment 2: intra 16x16 mode 0-2 penalty
register (VENC_SWREG268) . . . . .
3201
56.7.135VENC segment 2: intra 16x16 mode 3 penalty, intra 4x4 mode 0-1
penalty register (VENC_SWREG269) . . . . .
3202
56.7.136VENC segment 2: intra 4x4 mode 2-4 penalty
register (VENC_SWREG270) . . . . .
3202
56.7.137 VENC segment 2: intra 4x4 mode 5-7 penalty register (VENC_SWREG271) .....3202
56.7.138 VENC segment 2: intra 4x4 mode 8-9 penalty, intra 4x4 previous mode favor for H.264 register (VENC_SWREG272) .....3203
56.7.139 VENC segment 2: bit cost of inter type, intra 16x16 mode favor register (VENC_SWREG273) .....3203
56.7.140 VENC segment 2: inter MB mode favor, skip mode penalty, penalty value register (VENC_SWREG274) .....3203
56.7.141 VENC segment 2: penalty value register (VENC_SWREGx) .....3204
56.7.142 VENC segment 2: deadzone rate multiplier for plane 0-1 register (VENC_SWREG277) .....3204
56.7.143 VENC segment 2: deadzone rate multiplier for plane 2-3 register (VENC_SWREG278) .....3204
56.7.144 VENC segment 2: deadzone rate for macroblock skip token 0-1, dmv penalty coefficient register (VENC_SWREG279) .....3205
56.7.145 VENC segment 3: intra 16x16 mode 0-2 penalty register (VENC_SWREG280) .....3205
56.7.146 VENC segment 3: intra 16x16 mode 3 penalty, intra 4x4 mode 0-1 penalty register (VENC_SWREG281) .....3205
56.7.147 VENC segment 3: intra 4x4 mode 2-4 penalty register (VENC_SWREG282) .....3206
56.7.148 VENC segment 3: intra 4x4 mode 5-7 penalty register (VENC_SWREG283) .....3206
56.7.149 VENC segment 3: intra 4x4 mode 8-9 penalty, intra 4x4 previous mode favor for H.264 register (VENC_SWREG284) .....3206
56.7.150 VENC segment 3: bit cost of inter type, intra 16x16 mode favor register (VENC_SWREG285) .....3207
56.7.151 VENC segment 3: inter MB mode favor in intra/inter selection, inter MB mode favor, penalty value for second reference frame register (VENC_SWREG286) .....3207
56.7.152 VENC segment 3: penalty value register (VENC_SWREGx) .....3207
56.7.153 VENC segment 3: deadzone rate multiplier for plane 0-1 register (VENC_SWREG289) .....3208
56.7.154 VENC segment 3: deadzone rate multiplier for plane 2-3 register (VENC_SWREG290) .....3208
56.7.155 VENC segment 3: deadzone rate for macroblock skip token 0-1, dmv penalty coefficient register (VENC_SWREG291) .....3208
56.7.156 VENC VP8 average variance in prev frame register (VENC_SWREG292) .....3209
56.7.157 VENC VP8 16384/average variance in prev frame, H264 field control register (VENC_SWREG293) .....3209
56.7.158 VENC Mb boost register (VENC_SWREG294) .....3209
56.7.159 VENC variance control, Pskop condng mode register (VENC_SWREG295) .....3210
56.7.160 VENC synthesis configuration register encoder 1 read only register (VENC_SWREG296) .....3210
56.7.161 VENC MBRC control register (VENC_SWREG297) .....3210
56.7.162 VENC segment 4: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG298) .....3211
56.7.163 VENC segment 4: skip mode penalty, inter MB mode favor register (VENC_SWREG299) .....3211
56.7.164 VENC segment 4: penalty value register (VENC_SWREGx) .....3211
56.7.165 VENC segment 5: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG302) .....3212
56.7.166 VENC segment 5: skip mode penalty, inter MB mode favor register (VENC_SWREG303) .....3212
56.7.167 VENC segment 5: penalty value register (VENC_SWREGx) .....3212
56.7.168 VENC segment 6: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG306) .....3213
56.7.169 VENC segment 6: skip mode penalty, inter MB mode favor register (VENC_SWREG307) .....3213
56.7.170 VENC segment 6: penalty value register (VENC_SWREGx) .....3213
56.7.171 VENC segment 7: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG310) .....3214
56.7.172 VENC segment 7: skip mode penalty, inter MB mode favor register (VENC_SWREG311) .....3214
56.7.173 VENC segment 7: penalty value register (VENC_SWREGx) .....3214
56.7.174 VENC segment 8: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG314) .....3215
56.7.175 VENC segment 8: skip mode penalty, inter MB mode favor register (VENC_SWREG315) .....3215
56.7.176 VENC segment 8: penalty value register (VENC_SWREGx) .....3215
56.7.177 VENC segment 9: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG318) .....3216
56.7.178 VENC segment 9: skip mode penalty, inter MB mode favor register (VENC_SWREG319) .....3216
56.7.179 VENC segment 9: penalty value register (VENC_SWREGx) .....3216
56.7.180VENC segment 10: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG322) .....3217
56.7.181VENC segment 10: skip mode penalty, inter MB mode favor register (VENC_SWREG323) .....3217
56.7.182VENC segment 10: penalty value register (VENC_SWREGx) ....3217
56.7.183VENC segment 11: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG326) .....3218
56.7.184VENC segment 11: skip mode penalty, inter MB mode favor register (VENC_SWREG327) .....3218
56.7.185VENC segment 11: penalty value register (VENC_SWREGx) ....3218
56.7.186VENC segment 12: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG330) .....3219
56.7.187VENC segment 12: skip mode penalty, inter MB mode favor register (VENC_SWREG331) .....3219
56.7.188VENC segment 12: penalty value register (VENC_SWREGx) ....3219
56.7.189VENC segment 13: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG334) .....3220
56.7.190VENC segment 13: skip mode penalty, inter MB mode favor register (VENC_SWREG335) .....3220
56.7.191VENC segment 13: penalty value register (VENC_SWREGx) ....3220
56.7.192VENC segment 14: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG338) .....3221
56.7.193VENC segment 14: skip mode penalty, inter MB mode favor register (VENC_SWREG339) .....3221
56.7.194VENC segment 14: penalty value register (VENC_SWREGx) ....3221
56.7.195VENC segment 15: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG342) .....3222
56.7.196VENC segment 15: skip mode penalty, inter MB mode favor register (VENC_SWREG343) .....3222
56.7.197VENC segment 15: penalty value register (VENC_SWREGx) ....3222
56.7.198VENC segment 16: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG346) .....3223
56.7.199VENC segment 16: skip mode penalty, inter MB mode favor register (VENC_SWREG347) .....3223
56.7.200VENC segment 16: penalty value register (VENC_SWREGx) ....3223
56.7.201 VENC segment 17: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG350) .....3224
56.7.202 VENC segment 17: skip mode penalty, inter MB mode favor register (VENC_SWREG351) .....3224
56.7.203 VENC segment 17: penalty value register (VENC_SWREGx) ....3224
56.7.204 VENC segment 18: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG354) .....3225
56.7.205 VENC segment 18: skip mode penalty, inter MB mode favor register (VENC_SWREG355) .....3225
56.7.206 VENC segment 18: penalty value register (VENC_SWREGx) ....3225
56.7.207 VENC segment 19: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG358) .....3226
56.7.208 VENC segment 19: skip mode penalty, inter MB mode favor register (VENC_SWREG359) .....3226
56.7.209 VENC segment 19: penalty value register (VENC_SWREGx) ....3226
56.7.210 VENC segment 20: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG362) .....3227
56.7.211 VENC segment 20: skip mode penalty, inter MB mode favor register (VENC_SWREG363) .....3227
56.7.212 VENC segment 20: penalty value register (VENC_SWREGx) ....3227
56.7.213 VENC segment 21: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG366) .....3228
56.7.214 VENC segment 21: skip mode penalty, inter MB mode favor register (VENC_SWREG367) .....3228
56.7.215 VENC segment 21: penalty value register (VENC_SWREGx) ....3228
56.7.216 VENC segment 22: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG370) .....3229
56.7.217 VENC segment 22: skip mode penalty, inter MB mode favor register (VENC_SWREG371) .....3229
56.7.218 VENC segment 22: penalty value register (VENC_SWREGx) ....3229
56.7.219 VENC segment 23: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG374) .....3230
56.7.220 VENC segment 23: skip mode penalty, inter MB mode favor register (VENC_SWREG375) .....3230
56.7.221 VENC segment 23: penalty value register (VENC_SWREGx) ....3230
56.7.222 VENC segment 24: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG378) .....3231
56.7.223 VENC segment 24: skip mode penalty, inter MB mode favor register (VENC_SWREG379) .....3231
56.7.224 VENC segment 24: penalty value register (VENC_SWREGx) ....3231
56.7.225 VENC segment 25: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG382) .....3232
56.7.226 VENC segment 25: skip mode penalty, inter MB mode favor register (VENC_SWREG383) .....3232
56.7.227 VENC segment 25: penalty value register (VENC_SWREGx) ....3232
56.7.228 VENC segment 26: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG386) .....3233
56.7.229 VENC segment 26: skip mode penalty, inter MB mode favor register (VENC_SWREG387) .....3233
56.7.230 VENC segment 26: penalty value register (VENC_SWREGx) ....3233
56.7.231 VENC segment 27: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG390) .....3234
56.7.232 VENC segment 27: skip mode penalty, inter MB mode favor register (VENC_SWREG391) .....3234
56.7.233 VENC segment 27: penalty value register (VENC_SWREGx) ....3234
56.7.234 VENC segment 28: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG394) .....3235
56.7.235 VENC segment 28: skip mode penalty, inter MB mode favor register (VENC_SWREG395) .....3235
56.7.236 VENC segment 28: penalty value register (VENC_SWREGx) ....3235
56.7.237 VENC segment 29: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG398) .....3236
56.7.238 VENC segment 29: skip mode penalty, inter MB mode favor register (VENC_SWREG399) .....3236
56.7.239 VENC segment 29: penalty value register (VENC_SWREGx) ....3236
56.7.240 VENC segment 30: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG402) .....3237
56.7.241 VENC segment 30: skip mode penalty, inter MB mode favor register (VENC_SWREG403) .....3237
56.7.242 VENC segment 30: penalty value register (VENC_SWREGx) ....3237
56.7.243 VENC segment 31: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG406) .....3238
56.7.244 VENC segment 31: skip mode penalty, inter MB mode favor register (VENC_SWREG407) .....3238
56.7.245 VENC segment 31: penalty value register (VENC_SWREGx) ....3238
56.7.246 VENC MBRC control, QP, offset, enable register (VENC_SWREG410) .....3239
56.7.247 VENC gain of MB QP delta. 8.8 format register (VENC_SWREG411) .....3239
56.7.248 VENC average of MB complexity register (VENC_SWREG412) ...3239
56.7.249 VENC reorder control register (VENC_SWREG421) .....3240
56.7.250 VENC AXI read ID register (VENC_SWREG422) .....3240
56.7.251 VENC base address MSB for reference luma compression table register (VENC_SWREG423) .....3240
56.7.252 VENC base address MSB for reference chroma compression table register (VENC_SWREG424) .....3241
56.7.253 VENC base address MSB for reconstructed luma compression table register (VENC_SWREG425) .....3241
56.7.254 VENC base address for reconstructed chroma compression table register (VENC_SWREG426) .....3241
56.7.255 VENC base address MSB for second reference luma compression table register (VENC_SWREG427) .....3242
56.7.256 VENC base address MSB for second reference chroma compression table register (VENC_SWREG428) .....3242
56.7.257 VENC high 32 bits of base address for output stream data register (VENC_SWREG429) .....3242
56.7.258 VENC high 32 bits of base address for output control data register (VENC_SWREG430) .....3243
56.7.259 VENC high 32 bits of base address for reference luma register (VENC_SWREG431) .....3243
56.7.260 VENC high 32 bits of base address for reference chroma register (VENC_SWREG432) .....3243
56.7.261 VENC high 32 bits of base address for reconstructed luma register (VENC_SWREG433) .....3244
56.7.262 VENC high 32 bits of base address for reconstructed chroma register (VENC_SWREG434) .....3244
56.7.263 VENC high 32 bits of base address for input picture luma register (VENC_SWREG435) .....3244
56.7.264 VENC high 32 bits of base address for input picture cb register (VENC_SWREG436) .....3245
56.7.265 VENC high 32 bits of base address for input picture cr register (VENC_SWREG437) .....3245
56.7.266VENC high 32 bits of base address for second reference luma register (VENC_SWREG438) .....3245
56.7.267VENC high 32 bits of base address for second reference chroma register (VENC_SWREG439) .....3246
56.7.268VENC high 32 bits of H264 secondary ref pic base register (VENC_SWREGx) .....3246
56.7.269VENC high 32 bits of base address for next pic luminance register (VENC_SWREG442) .....3246
56.7.270VENC high 32 bits of base address for cabac context tables H264 or probability tables VP8 register (VENC_SWREG443) .....3247
56.7.271VENC high 32 bits of base address for MV output writing register (VENC_SWREG444) .....3247
56.7.272VENC high 32 bits of base address for VP8 1st DCT partition register (VENC_SWREG445) .....3247
56.7.273VENC high 32 bits of base address for VP8 2nd DCT partition register (VENC_SWREG446) .....3248
56.7.274VENC high 32 bits of base address for VP8 counters for probability updates register (VENC_SWREG447) .....3248
56.7.275VENC high 32 bits of base address for VP8 segmentation map segment Id 2- bits/macroblock register (VENC_SWREG448) .....3248
56.7.276VENC high 32 bits of base address for output of down-scaled encoder image in YUYV 4:2:2 format register (VENC_SWREG449) .....3249
56.7.277VENC high 32 bits of base address for VP8 3rd DCT partition register (VENC_SWREG450) .....3249
56.7.278VENC high 32 bits of base address for VP8 4th DCT partition register (VENC_SWREG451) .....3249
56.7.279VENC low-latency control register (VENC_SWREG497) .....3250
56.7.280VENC register map .....3250
57Video decoder (VDEC) .....3265
57.1VDEC introduction .....3265
57.2VDEC main features .....3265
57.3VDEC implementation .....3265
57.4VDEC functional description .....3266
57.4.1VDEC block diagram .....3266
57.4.2VDEC pins and internal signals .....3266
57.4.3VDEC reset and clocks .....3266
57.4.4VDEC H264/VP8 decoder .....3267
57.4.5VDEC JPEG decoder .....3268
57.4.6VDEC security .....3268
57.4.7VDEC power-on sequence .....3268
57.4.8VDERAM power-on sequence for AXI access .....3269
57.5VDEC low power modes .....3269
57.6VDEC interrupts .....3269
57.7VDEC registers .....3270
57.7.1VDEC ID register (VDEC_SWREG0) .....3270
57.7.2VDEC interrupt register decoder register (VDEC_SWREG1) .....3270
57.7.3VDEC device configuration decoder register (VDEC_SWREG2) ...3270
57.7.4VDEC decoder control register 0, decmode, picture type
(VDEC_SWREG3) .....
3271
57.7.5VDEC decoder control register 1, picture parameters
(VDEC_SWREG4) .....
3271
57.7.6VDEC decoder control register 2, stream decoding table selects
(VDEC_SWREG5) .....
3271
57.7.7VDEC decoder control register 3, stream buffer information
(VDEC_SWREG6) .....
3272
57.7.8VDEC decoder control register 4, H264, VC-1, VP6 and
progressive JPEG control (VDEC_SWREG7) .....
3272
57.7.9VDEC decoder control register 5, H264, VC-1, VP6,
progressive JPEG and RV control (VDEC_SWREG8) .....
3272
57.7.10VDEC decoder control register 6/base address for MB-control, RLC
/VC-1 intensity control 0/VP6,VP7,VP8 ctrl-stream length/
RV pic slice amount (VDEC_SWREG9) .....
3273
57.7.11VDEC base address for differential motion vector base address
RLC-mode/H264 P initial fwd ref pic list register, 4-9/
VC-1 intensity control 1/VP7 and VP8 segmentation base
register (VDEC_SWREG10) .....
3273
57.7.12VDEC decoder control register 7, VLC/base address for H.264
intra prediction 4x4/base address for MPEG-4 DC component, RLC
/ H264 P initial fwd ref pic list register, 10- 15/VC-1 intensity
control 2 register (VDEC_SWREG11) .....
3274
57.7.13VDEC base address for RLC data, RLC/stream start address
/decoded end addr register, VLC (VDEC_SWREG12) .....
3274
57.7.14VDEC base address for decoded picture/base address for JPEG
decoder output luminance picture register (VDEC_SWREG13) ....
3275
57.7.15VDEC base address for reference picture index 0/base address
for JPEG decoder output chrominance picture register
(VDEC_SWREG14) .....
3275
57.7.16VDEC base address for reference picture index 1/JPEG control
register (VDEC_SWREG15) .....
3275
57.7.17VDEC base address for reference picture index 2/list of VLC code
lengths in first JPEG AC table register (VDEC_SWREG16) .....
3276
57.7.18VDEC base address for reference picture index 3/list of VLC code lengths in first JPEG AC table register (VDEC_SWREG17) . . . . .3276
57.7.19VDEC base address for reference picture list of VLC code lengths in first JPEG AC table/VP8 golden refer picture base register (VDEC_SWREG18) . . . . .3276
57.7.20VDEC base address for reference picture index 5/list of VLC code lengths in first/second JPEG AC table register (VDEC_SWREG19) .3277
57.7.21VDEC base address for reference picture index 6/list of VLC code lengths in second JPEG AC table register (VDEC_SWREG20) . . . .3277
57.7.22VDEC base address for reference picture index 7/list of VLC code lengths in second JPEG AC table register (VDEC_SWREG21) . . . .3277
57.7.23VDEC base address for reference picture index 8/list of VLC code lengths in second JPEG AC table/VP7,VP8 DCT stream 1 base register (VDEC_SWREG22)3278
57.7.24VDEC base address for reference picture index 9/list of VLC code lengths in first JPEG DC table/VP6 scan maps/VP7,VP8 DCT . . stream 2 base register (VDEC_SWREG23)3278
57.7.25VDEC base address for reference picture index 10/list of VLC code lengths in first JPEG DC table/VP6 scan maps/VP7, VP8 DCT . stream 3 base register (VDEC_SWREG24)3279
57.7.26VDEC base address for reference picture index 11/list of VLC code lengths in second JPEG DC table/VP6 scan maps/VP7,VP8 DCT stream 4 base register (VDEC_SWREG25)3279
57.7.27VDEC base address for reference picture index 12/list of VLC code lengths in second JPEG DC table/VP6 scan maps/VP7, VP8 DCT stream 5 base register (VDEC_SWREG26)3280
57.7.28VDEC base address for reference picture index 13/VC-1 bitpl mbctrl or VP6, VP7, VP8 ctrl stream base/progressive JPEG DC table register (VDEC_SWREG27) . . . . .3280
57.7.29VDEC base address for reference picture index 14/VP6 scan maps /progressive JPEG DC table/VP7, VP8 DCT stream 6 base . . . . . register (VDEC_SWREG28)3281
57.7.30VDEC base address for reference picture index 15/VP6 scan maps/VP7, VP8 DCT stream 7 base register (VDEC_SWREG29) . . . . .3281
57.7.31VDEC reference picture numbers for index 0 and 1, H264 VLC /VP6 scan maps/VP7, VP8 loop filter mb level adjusts . . . . . register (VDEC_SWREG30)3282
57.7.32VDEC reference picture numbers for index 2 and 3, H264 VLC/VP6 scan maps/VP7, VP8 loop filter ref pic level adjusts register (VDEC_SWREG31) . . . . .3282
57.7.33VDEC reference picture numbers for index 4 and 5, H264 VLC/VP6 scan maps/VP7, VP8 loop filter levels register (VDEC_SWREG32) .3283
57.7.34VDEC reference picture numbers for index 6 and 7, H264 VLC /VP6 scan maps/VP7, VP8 quantization values register (VDEC_SWREG33) . . . . .3283
57.7.35VDEC reference picture numbers for index 8 and 9, H264 VLC
/VP8 prediction filter taps register (VDEC_SWREG34) . . . . .
3283
57.7.36VDEC reference picture numbers for index 10 and 11, H264 VLC
/VP8 prediction filter taps register (VDEC_SWREG35) . . . . .
3284
57.7.37VDEC reference picture numbers for index 12 and 13, H264 VLC/
VP8 prediction filter taps Register (VDEC_SWREG36) . . . . .
3284
57.7.38VDEC reference picture numbers for index 14 and 15, H264 VLC
/VP8 prediction filter taps register (VDEC_SWREG37) . . . . .
3284
57.7.39VDEC reference picture long term flags, H264 VLC/
VP8 prediction filter taps register (VDEC_SWREG38) . . . . .
3285
57.7.40VDEC reference picture valid flags, H264 VLC/
VP8 prediction filter taps register (VDEC_SWREG39) . . . . .
3285
57.7.41VDEC base address for standard dependent table
register (VDEC_SWREG40) . . . . .
3285
57.7.42VDEC base address for direct mode motion vectors/
progressive JPEG AC/DC coefficient read/write base
register (VDEC_SWREG41) . . . . .
3286
57.7.43VDEC bi_dir initial ref pic list register, 0-2/VP6 prediction
filter taps/progressive JPEG Cb ACDC coefficient base
register (VDEC_SWREG42) . . . . .
3286
57.7.44VDEC bi-dir initial ref pic list register, 3-5/VP6 prediction
filter taps/progressive JPEG Cr ACDC coefficient base
register (VDEC_SWREG43) . . . . .
3287
57.7.45VDEC bi-dir initial ref pic list register, 6-8/VP6 prediction
filter taps register (VDEC_SWREG44) . . . . .
3287
57.7.46VDEC bi-dir initial ref pic list register, 9-11/VP6 prediction
filter taps register (VDEC_SWREG45) . . . . .
3287
57.7.47VDEC bi-dir initial ref pic list register, 12-14/VP7,VP8
quantization values register (VDEC_SWREG46) . . . . .
3288
57.7.48VDEC bi-dir and P fwd initial ref pic list register, 15 and P 0-3/
VP7,VP8 quantization values register (VDEC_SWREG47) . . . . .
3288
57.7.49VDEC error concealment register (VDEC_SWREG48) . . . . .3288
57.7.50VDEC prediction filter tap register for H264 (VDEC_SWREG49) . . .3289
57.7.51VDEC synthesis configuration register decoder 0 . . . (VDEC_SWREG50)
3289
57.7.52VDEC reference picture buffer control register (VDEC_SWREG51) .3289
57.7.53VDEC synthesis configuration register decoder 1
(VDEC_SWREG54) . . . . .
3290
57.7.54VDEC reference picture buffer 2/advanced prefetch control
register (VDEC_SWREG55) . . . . .
3290
57.7.55VDEC device configuration register decoder 2/multicore control
register (VDEC_SWREG58) . . . . .
3290
57.7.56VDEC H264 chrominance 8 pixel interleaved data base register (VDEC_SWREG59) .....3291
57.7.57VDEC base address for H264 and AVS decoded chroma picture register (VDEC_SWREG102) .....3291
57.7.58VDEC base address for reference chroma picture index 0 register (VDEC_SWREG103) .....3291
57.7.59VDEC base address for reference chroma picture index 1 register (VDEC_SWREG104) .....3292
57.7.60VDEC base address for reference chroma picture index 2 register (VDEC_SWREG105) .....3292
57.7.61VDEC base address for reference chroma picture index 3 register (VDEC_SWREG106) .....3292
57.7.62VDEC base address for reference chroma picture index 4 register (VDEC_SWREG107) .....3293
57.7.63VDEC base address for reference chroma picture index 5 register (VDEC_SWREG108) .....3293
57.7.64VDEC base address for reference chroma picture index 6 register (VDEC_SWREG109) .....3293
57.7.65VDEC base address for reference chroma picture index 7 register (VDEC_SWREG110) .....3294
57.7.66VDEC base address for reference chroma picture index 8 register (VDEC_SWREG111) .....3294
57.7.67VDEC base address for reference chroma picture index 9 register (VDEC_SWREG112) .....3294
57.7.68VDEC base address for reference chroma picture index 10 register (VDEC_SWREG113) .....3295
57.7.69VDEC base address for reference chroma picture index 11 register (VDEC_SWREG114) .....3295
57.7.70VDEC base address for reference chroma picture index 12 register (VDEC_SWREG115) .....3295
57.7.71VDEC base address for reference chroma picture index 13 register (VDEC_SWREG116) .....3296
57.7.72VDEC base address for reference chroma picture index 14 register (VDEC_SWREG117) .....3296
57.7.73VDEC base address for reference chroma picture index 15 register (VDEC_SWREG118) .....3296
57.7.74VDEC register map .....3297
58True random number generator (RNG) .....3301
58.1Introduction .....3301
58.2RNG main features .....3301
58.3RNG functional description .....3302
58.3.1RNG block diagram .....3302
58.3.2RNG internal signals .....3302
58.3.3Random number generation .....3302
58.3.4RNG initialization .....3305
58.3.5RNG operation .....3306
58.3.6RNG clocking .....3308
58.3.7Error management .....3308
58.3.8RNG low-power use .....3309
58.4RNG interrupts .....3310
58.5RNG processing time .....3310
58.6RNG entropy source validation .....3311
58.6.1Introduction .....3311
58.6.2Validation conditions .....3311
58.7RNG registers .....3312
58.7.1RNG control register (RNG_CR) .....3312
58.7.2RNG status register (RNG_SR) .....3314
58.7.3RNG data register (RNG_DR) .....3315
58.7.4RNG noise source control register (RNG_NSCR) .....3316
58.7.5RNG health test control register (RNG_HTCR) .....3317
58.7.6RNG hardware configuration register (RNG_HWCFGR) .....3317
58.7.7RNG version register (RNG_VERR) .....3318
58.7.8RNG identification register (RNG_IPIDR) .....3318
58.7.9RNG size identification register (RNG_SIDR) .....3318
58.7.10RNG register map .....3319
59Secure AES coprocessor (SAES) .....3320
59.1Introduction .....3320
59.2SAES main features .....3320
59.3SAES implementation .....3321
59.4SAES functional description .....3321
59.4.1SAES block diagram .....3321
59.4.2SAES internal signals .....3322
59.4.3SAES reset and clocks .....3323
59.4.4SAES symmetric cipher implementation .....3323
59.4.5SAES encryption or decryption typical usage .....3324
59.4.6SAES authenticated encryption, decryption, and cipher-based message authentication . . . . .3326
59.4.7SAES ciphertext stealing and data padding . . . . .3327
59.4.8SAES suspend and resume operations . . . . .3327
59.4.9SAES basic chaining modes (ECB, CBC) . . . . .3328
59.4.10SAES counter (CTR) mode . . . . .3332
59.4.11SAES Galois/counter mode (GCM) . . . . .3334
59.4.12SAES Galois message authentication code (GMAC) . . . . .3338
59.4.13SAES counter with CBC-MAC (CCM) . . . . .3340
59.4.14SAES operation with wrapped keys . . . . .3345
59.4.15SAES operation with shared keys . . . . .3349
59.4.16SAES data registers and data swapping . . . . .3351
59.4.17SAES key registers . . . . .3353
59.4.18SAES initialization vector registers . . . . .3355
59.4.19SAES error management . . . . .3355
59.5SAES interrupts . . . . .3357
59.6SAES DMA requests . . . . .3357
59.7SAES processing latency . . . . .3358
59.8SAES registers . . . . .3360
59.8.1SAES control register (SAES_CR) . . . . .3360
59.8.2SAES status register (SAES_SR) . . . . .3363
59.8.3SAES data input register (SAES_DINR) . . . . .3364
59.8.4SAES data output register (SAES_DOUTR) . . . . .3365
59.8.5SAES key register 0 (SAES_KEYR0) . . . . .3365
59.8.6SAES key register 1 (SAES_KEYR1) . . . . .3366
59.8.7SAES key register 2 (SAES_KEYR2) . . . . .3366
59.8.8SAES key register 3 (SAES_KEYR3) . . . . .3366
59.8.9SAES initialization vector register 0 (SAES_IVR0) . . . . .3367
59.8.10SAES initialization vector register 1 (SAES_IVR1) . . . . .3367
59.8.11SAES initialization vector register 2 (SAES_IVR2) . . . . .3367
59.8.12SAES initialization vector register 3 (SAES_IVR3) . . . . .3368
59.8.13SAES key register 4 (SAES_KEYR4) . . . . .3368
59.8.14SAES key register 5 (SAES_KEYR5) . . . . .3368
59.8.15SAES key register 6 (SAES_KEYR6) . . . . .3369
59.8.16SAES key register 7 (SAES_KEYR7) . . . . .3369
59.8.17SAES suspend registers (SAES_SUSPRx) . . . . .3369
59.8.18SAES interrupt enable register (SAES_IER) . . . . .3370
59.8.19SAES interrupt status register (SAES_ISR) .....3371
59.8.20SAES interrupt clear register (SAES_ICR) .....3372
59.8.21SAES hardware configuration register (SAES_HWCFGR) .....3373
59.8.22SAES version register (SAES_VERR) .....3373
59.8.23SAES identification register (SAES_IPIDR) .....3374
59.8.24SAES size ID register (SAES_SIDR) .....3374
59.8.25SAES register map .....3374
60Cryptographic processor (CRYP) .....3377
60.1Introduction .....3377
60.2CRYP main features .....3377
60.3CRYP implementation .....3378
60.4CRYP functional description .....3379
60.4.1CRYP block diagram .....3379
60.4.2CRYP internal signals .....3380
60.4.3CRYP reset and clocks .....3380
60.4.4CRYP symmetric cipher implementation .....3380
60.4.5CRYP encryption/ decryption typical usage .....3381
60.4.6CRYP authenticated encryption, decryption, and cipher-based message authentication .....3384
60.4.7CRYP ciphertext stealing and data padding .....3385
60.4.8CRYP suspend and resume operations .....3385
60.4.9CRYP DES/TDES basic chaining modes (ECB, CBC) .....3386
60.4.10CRYP AES basic chaining modes (ECB, CBC) .....3389
60.4.11CRYP counter mode (AES-CTR) .....3393
60.4.12CRYP AES Galois/counter mode (GCM) .....3395
60.4.13CRYP AES Galois message authentication code (GMAC) .....3401
60.4.14CRYP AES Counter with CBC-MAC (CCM) .....3402
60.4.15AES key sharing with secure AES co-processor .....3407
60.4.16CRYP data registers and data swapping .....3408
60.4.17CRYP key registers .....3412
60.4.18CRYP initialization vector registers .....3413
60.4.19CRYP error management .....3413
60.5CRYP interrupts .....3414
60.6CRYP DMA requests .....3415
60.7CRYP processing time .....3416
60.8CRYP registers3417
60.8.1CRYP control register (CRYP_CR)3417
60.8.2CRYP status register (CRYP_SR)3420
60.8.3CRYP data input register (CRYP_DINR)3421
60.8.4CRYP data output register (CRYP_DOUTR)3422
60.8.5CRYP DMA control register (CRYP_DMACR)3422
60.8.6CRYP interrupt mask set/clear register (CRYP_IMSCR)3423
60.8.7CRYP raw interrupt status register (CRYP_RISR)3423
60.8.8CRYP masked interrupt status register (CRYP_MISR)3424
60.8.9CRYP key register 0L (CRYP_K0LR)3425
60.8.10CRYP key register 0R (CRYP_K0RR)3425
60.8.11CRYP key register 1L (CRYP_K1LR)3426
60.8.12CRYP key register 1R (CRYP_K1RR)3426
60.8.13CRYP key register 2L (CRYP_K2LR)3426
60.8.14CRYP key register 2R (CRYP_K2RR)3427
60.8.15CRYP key register 3L (CRYP_K3LR)3427
60.8.16CRYP key register 3R (CRYP_K3RR)3428
60.8.17CRYP initialization vector register 0L (CRYP_IV0LR)3428
60.8.18CRYP initialization vector register 0R (CRYP_IV0RR)3428
60.8.19CRYP initialization vector register 1L (CRYP_IV1LR)3429
60.8.20CRYP initialization vector register 1R (CRYP_IV1RR)3429
60.8.21CRYP context swap GCM-CCM registers (CRYP_CSGCMCCMxR)3430
60.8.22CRYP context swap GCM registers (CRYP_CSGCMxR)3430
60.8.23CRYP hardware configuration register (CRYP_HWCFGR)3431
60.8.24CRYP version register (CRYP_VERR)3431
60.8.25CRYP identification (CRYP_IPIDR)3432
60.8.26CRYP size identification register (CRYP_SIDR)3432
60.8.27CRYP register map3432
61Hash processor (HASH)3435
61.1Introduction3435
61.2HASH main features3435
61.3HASH implementation3436
61.4HASH functional description3436
61.4.1HASH block diagram3436
61.4.2HASH internal signals3437
61.4.3About secure hash algorithms3437
61.4.4Message data feeding .....3438
61.4.5Message digest computing .....3439
61.4.6Message padding .....3441
61.4.7HMAC operation .....3443
61.4.8HASH suspend/resume operations .....3445
61.4.9HASH DMA interface .....3447
61.4.10HASH error management .....3448
61.4.11HASH processing time .....3448
61.5HASH interrupts .....3448
61.6HASH registers .....3449
61.6.1HASH control register (HASH_CR) .....3449
61.6.2HASH data input register (HASH_DIN) .....3451
61.6.3HASH start register (HASH_STR) .....3452
61.6.4HASH digest registers .....3453
61.6.5HASH interrupt enable register (HASH_IMR) .....3455
61.6.6HASH status register (HASH_SR) .....3455
61.6.7HASH SHA-3 configuration register (HASH_SHA3CFGR) .....3457
61.6.8HASH context swap registers .....3458
61.6.9HASH hardware configuration register (HASH_HWCFGR) .....3459
61.6.10HASH version register (HASH_VERR) .....3459
61.6.11HASH identification register (HASH_IPIDR) .....3460
61.6.12HASH size identification register (HASH_SIDR) .....3460
61.6.13HASH register map .....3460
62On-the-fly decryption engine (OTFDEC) .....3463
62.1Introduction .....3463
62.2OTFDEC main features .....3463
62.3OTFDEC functional description .....3464
62.3.1OTFDEC block diagram .....3464
62.3.2OTFDEC internal signals .....3464
62.3.3OTFDEC on-the-fly decryption .....3464
62.3.4OTFDEC usage of AES in counter mode decryption .....3466
62.3.5Flow control management .....3467
62.3.6OTFDEC error management .....3467
62.4OTFDEC interrupts .....3468
62.5OTFDEC application information .....3468
62.5.1OTFDEC initialization process . . . . .3468
62.5.2OTFDEC and power management . . . . .3469
62.5.3Encrypting for OTFDEC . . . . .3470
62.5.4OTFDEC key CRC source code . . . . .3471
62.6OTFDEC registers . . . . .3472
62.6.1OTFDEC control register (OTFDEC_CR) . . . . .3472
62.6.2OTFDEC region x configuration register (OTFDEC_RxCFGR) . . . . .3472
62.6.3OTFDEC region x start address register
(OTFDEC_RxSTARTADDR) . . . . .
3474
62.6.4OTFDEC region x end address register (OTFDEC_RxENDADDR) . . . . .3474
62.6.5OTFDEC region x nonce register 0 (OTFDEC_RxNONCER0) . . . . .3475
62.6.6OTFDEC region x nonce register 1 (OTFDEC_RxNONCER1) . . . . .3475
62.6.7OTFDEC region x key register 0 (OTFDEC_RxKEYR0) . . . . .3475
62.6.8OTFDEC region x key register 1 (OTFDEC_RxKEYR1) . . . . .3476
62.6.9OTFDEC region x key register 2 (OTFDEC_RxKEYR2) . . . . .3476
62.6.10OTFDEC region x key register 3 (OTFDEC_RxKEYR3) . . . . .3477
62.6.11OTFDEC interrupt status register (OTFDEC_ISR) . . . . .3477
62.6.12OTFDEC interrupt clear register (OTFDEC_ICR) . . . . .3478
62.6.13OTFDEC interrupt enable register (OTFDEC_IER) . . . . .3479
62.6.14OTFDEC hardware configuration register (OTFDEC_HWCFGR) . . . . .3479
62.6.15OTFDEC version register (OTFDEC_VERR) . . . . .3480
62.6.16OTFDEC identification register (OTFDEC_IPIDR) . . . . .3480
62.6.17OTFDEC size identification register (OTFDEC_SIDR) . . . . .3481
62.6.18OTFDEC register map . . . . .3481
63Public key accelerator (PKA) . . . . .3485
63.1Introduction . . . . .3485
63.2PKA main features . . . . .3485
63.3PKA functional description . . . . .3486
63.3.1PKA block diagram . . . . .3486
63.3.2PKA internal signals . . . . .3486
63.3.3PKA reset and clocks . . . . .3486
63.3.4PKA public key acceleration . . . . .3487
63.3.5Typical applications for PKA . . . . .3489
63.3.6PKA procedure to perform an operation . . . . .3491
63.3.7PKA error management . . . . .3492
63.4PKA operating modes . . . . .3493
63.4.1Introduction3493
63.4.2Montgomery parameter computation3494
63.4.3Modular addition3494
63.4.4Modular subtraction3495
63.4.5Modular and Montgomery multiplication3495
63.4.6Modular exponentiation3496
63.4.7Modular inversion3498
63.4.8Modular reduction3498
63.4.9Arithmetic addition3499
63.4.10Arithmetic subtraction3499
63.4.11Arithmetic multiplication3500
63.4.12Arithmetic comparison3500
63.4.13RSA CRT exponentiation3500
63.4.14Point on elliptic curve \(F_p\) check3501
63.4.15ECC \(F_p\) scalar multiplication3502
63.4.16ECDSA sign3503
63.4.17ECDSA verification3505
63.4.18ECC complete addition3506
63.4.19ECC double base ladder3506
63.4.20ECC projective to affine3507
63.5Example of configurations and processing times3508
63.5.1Supported elliptic curves3508
63.5.2Computation times3510
63.6PKA interrupts3512
63.7PKA registers3513
63.7.1PKA control register (PKA_CR)3513
63.7.2PKA status register (PKA_SR)3515
63.7.3PKA clear flag register (PKA_CLRFR)3516
63.7.4PKA RAM3516
63.7.5PKA hardware configuration register (PKA_HWCFGR)3517
63.7.6PKA version register (PKA_VERR)3517
63.7.7PKA identification register (PKA_IPIDR)3518
63.7.8PKA size identification register (PKA_SIDR)3518
63.7.9PKA register map3519
64Advanced-control timers (TIM1/TIM8/TIM20)3520
64.1TIM1/TIM8/TIM20 introduction3520
64.2TIM1/TIM8/TIM20 main features .....3520
64.3TIM1/TIM8/TIM20 functional description .....3521
64.3.1Block diagram .....3521
64.3.2TIM1/TIM8/TIM20 pins and internal signals .....3522
64.3.3Time-base unit .....3526
64.3.4Counter modes .....3528
64.3.5Repetition counter .....3540
64.3.6External trigger input .....3541
64.3.7Clock selection .....3542
64.3.8Capture/compare channels .....3546
64.3.9Input capture mode .....3548
64.3.10PWM input mode .....3549
64.3.11Forced output mode .....3550
64.3.12Output compare mode .....3551
64.3.13PWM mode .....3552
64.3.14Asymmetric PWM mode .....3560
64.3.15Combined PWM mode .....3561
64.3.16Combined 3-phase PWM mode .....3562
64.3.17Complementary outputs and dead-time insertion .....3563
64.3.18Using the break function .....3566
64.3.19Bidirectional break inputs .....3572
64.3.20Clearing the tim_ocxref signal on an external event .....3573
64.3.216-step PWM generation .....3574
64.3.22One-pulse mode .....3575
64.3.23Retriggerable One-pulse mode .....3577
64.3.24Pulse on compare mode .....3578
64.3.25Encoder interface mode .....3580
64.3.26Direction bit output .....3597
64.3.27UIF bit remapping .....3598
64.3.28Timer input XOR function .....3598
64.3.29Interfacing with Hall sensors .....3598
64.3.30Timer synchronization .....3600
64.3.31ADC triggers .....3605
64.3.32DMA burst mode .....3605
64.3.33TIM1/TIM8/TIM20 DMA requests .....3606
64.3.34Debug mode .....3606
64.4TIM1/TIM8/TIM20 low-power modes .....3607
64.5TIM1/TIM8/TIM20 interrupts3607
64.6TIM1/TIM8/TIM20 registers3608
64.6.1TIMx control register 1 (TIMx_CR1)(x = 1, 8, 20)3608
64.6.2TIMx control register 2 (TIMx_CR2)(x = 1, 8, 20)3609
64.6.3TIMx slave mode control register (TIMx_SMCR)(x = 1, 8, 20)3613
64.6.4TIMx DMA/interrupt enable register (TIMx_DIER)(x = 1, 8, 20)3617
64.6.5TIMx status register (TIMx_SR)(x = 1, 8, 20)3618
64.6.6TIMx event generation register (TIMx_EGR)(x = 1, 8, 20)3621
64.6.7TIMx capture/compare mode register 1 (TIMx_CCMR1)
(x = 1, 8, 20)
3622
64.6.8TIMx capture/compare mode register 1 [alternate]
(TIMx_CCMR1)(x = 1, 8, 20)
3624
64.6.9TIMx capture/compare mode register 2 (TIMx_CCMR2)
(x = 1, 8, 20)
3627
64.6.10TIMx capture/compare mode register 2 [alternate]
(TIMx_CCMR2)(x = 1, 8, 20)
3628
64.6.11TIMx capture/compare enable register (TIMx_CCER)(x = 1, 8, 20)3631
64.6.12TIMx counter (TIMx_CNT)(x = 1, 8, 20)3635
64.6.13TIMx prescaler (TIMx_PSC)(x = 1, 8, 20)3635
64.6.14TIMx autoreload register (TIMx_ARR)(x = 1, 8, 20)3636
64.6.15TIMx repetition counter register (TIMx_RCR)(x = 1, 8, 20)3636
64.6.16TIMx capture/compare register 1 (TIMx_CCR1)(x = 1, 8, 20)3637
64.6.17TIMx capture/compare register 2 (TIMx_CCR2)(x = 1, 8, 20)3637
64.6.18TIMx capture/compare register 3 (TIMx_CCR3)(x = 1, 8, 20)3638
64.6.19TIMx capture/compare register 4 (TIMx_CCR4)(x = 1, 8, 20)3639
64.6.20TIMx break and dead-time register (TIMx_BDTR)(x = 1, 8, 20)3640
64.6.21TIMx capture/compare register 5 (TIMx_CCR5)(x = 1, 8, 20)3644
64.6.22TIMx capture/compare register 6 (TIMx_CCR6)(x = 1, 8, 20)3645
64.6.23TIMx capture/compare mode register 3 (TIMx_CCMR3)
(x = 1, 8, 20)
3646
64.6.24TIMx timer deadtime register 2 (TIMx_DTR2)(x = 1, 8, 20)3647
64.6.25TIMx timer encoder control register (TIMx_ECR)(x = 1, 8, 20)3648
64.6.26TIMx timer input selection register (TIMx_TISEL)(x = 1, 8, 20)3649
64.6.27TIMx alternate function option register 1 (TIMx_AF1)(x = 1, 8, 20)3650
64.6.28TIMx alternate function register 2 (TIMx_AF2)(x = 1, 8, 20)3653
64.6.29TIMx DMA control register (TIMx_DCR)(x = 1, 8, 20)3655
64.6.30TIMx DMA address for full transfer (TIMx_DMAR)(x = 1, 8, 20)3657
64.6.31TIMx hardware configuration 2 register
(TIMx_HWCGR2)(x = 1, 8, 20)
3657
64.6.32TIMx hardware configuration 1 register
(TIMx_HWCFGR1)(x = 1, 8, 20)
3658
64.6.33TIMx IP version register (TIMx_VERR)(x = 1, 8, 20)3659
64.6.34TIMx IP identification register (TIMx_IPIDR)(x = 1, 8, 20)3660
64.6.35TIMx size ID register (TIMx_SIDR)(x = 1, 8, 20)3660
64.6.36TIMx register map3660
65General-purpose timers (TIM2/TIM3/TIM4/TIM5)3664
65.1TIM2/TIM3/TIM4/TIM5 introduction3664
65.2TIM2/TIM3/TIM4/TIM5 main features3664
65.3TIM2/TIM3/TIM4/TIM5 implementation3665
65.4TIM2/TIM3/TIM4/TIM5 functional description3666
65.4.1Block diagram3666
65.4.2TIM2/TIM3/TIM4/TIM5 pins and internal signals3667
65.4.3Time-base unit3670
65.4.4Counter modes3672
65.4.5Clock selection3684
65.4.6Capture/compare channels3688
65.4.7Input capture mode3690
65.4.8PWM input mode3691
65.4.9Forced output mode3692
65.4.10Output compare mode3692
65.4.11PWM mode3694
65.4.12Asymmetric PWM mode3702
65.4.13Combined PWM mode3703
65.4.14Clearing the tim_ocxref signal on an external event3704
65.4.15One-pulse mode3706
65.4.16Retriggerable one-pulse mode3707
65.4.17Pulse on compare mode3708
65.4.18Encoder interface mode3710
65.4.19Direction bit output3728
65.4.20UIF bit remapping3729
65.4.21Timer input XOR function3729
65.4.22Timers and external trigger synchronization3729
65.4.23Timer synchronization3733
65.4.24ADC triggers3738
65.4.25DMA burst mode3739
65.4.26TIM2/TIM3/TIM4/TIM5 DMA requests3740
65.4.27Debug mode3740
65.4.28TIM2/TIM3/TIM4/TIM5 low-power modes3740
65.4.29TIM2/TIM3/TIM4/TIM5 interrupts3741
65.5TIM2/TIM3/TIM4/TIM5 registers3742
65.5.1TIMx control register 1 (TIMx_CR1)(x = 2 to 5)3742
65.5.2TIMx control register 2 (TIMx_CR2)(x = 2 to 5)3743
65.5.3TIMx slave mode control register (TIMx_SMCR)(x = 2 to 5)3745
65.5.4TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 2 to 5)3749
65.5.5TIMx status register (TIMx_SR)(x = 2 to 5)3750
65.5.6TIMx event generation register (TIMx_EGR)(x = 2 to 5)3752
65.5.7TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 2 to 5)3753
65.5.8TIMx capture/compare mode register 1 [alternate]
(TIMx_CCMR1)(x = 2 to 5)
3755
65.5.9TIMx capture/compare mode register 2 (TIMx_CCMR2)(x = 2 to 5)3757
65.5.10TIMx capture/compare mode register 2 [alternate]
(TIMx_CCMR2)(x = 2 to 5)
3758
65.5.11TIMx capture/compare enable register (TIMx_CCER)(x = 2 to 5)3761
65.5.12TIMx counter (TIMx_CNT)(x = 2 to 5)3763
65.5.13TIMx prescaler (TIMx_PSC)(x = 2 to 5)3763
65.5.14TIMx autoreload register (TIMx_ARR)(x = 2 to 5)3764
65.5.15TIMx capture/compare register 1 (TIMx_CCR1)(x = 2 to 5)3764
65.5.16TIMx capture/compare register 2 (TIMx_CCR2)(x = 2 to 5)3765
65.5.17TIMx capture/compare register 3 (TIMx_CCR3)(x = 2 to 5)3766
65.5.18TIMx capture/compare register 4 (TIMx_CCR4)(x = 2 to 5)3767
65.5.19TIMx timer encoder control register (TIMx_ECR)(x = 2 to 5)3768
65.5.20TIMx timer input selection register (TIMx_TISEL)(x = 2 to 5)3769
65.5.21TIMx alternate function register 1 (TIMx_AF1)(x = 2 to 5)3770
65.5.22TIMx alternate function register 2 (TIMx_AF2)(x = 2 to 5)3771
65.5.23TIMx DMA control register (TIMx_DCR)(x = 2 to 5)3772
65.5.24TIMx DMA address for full transfer (TIMx_DMAR)(x = 2 to 5)3773
65.5.25TIMx hardware configuration 2 register
(TIMx_HWCFGR2)(x = 2 to 5)
3774
65.5.26TIMx hardware configuration 1 register
(TIMx_HWCFGR1)(x = 2 to 5)
3775
65.5.27TIMx IP version register (TIMx_VERR)(x = 2 to 5)3776
65.5.28TIMx IP identification register (TIMx_IPIDR)(x = 2 to 5)3777
65.5.29TIMx size ID register (TIMx_SIDR)(x = 2 to 5)3777
65.5.30TIMx register map .....3777
66Basic timers (TIM6/TIM7) .....3780
66.1TIM6/TIM7 introduction .....3780
66.2TIM6/TIM7 main features .....3780
66.3TIM6/TIM7 functional description .....3781
66.3.1TIM6/TIM7 block diagram .....3781
66.3.2TIM6/TIM7 internal signals .....3781
66.3.3TIM6/TIM7 clocks .....3782
66.3.4Time-base unit .....3782
66.3.5Counting mode .....3784
66.3.6UIF bit remapping .....3791
66.3.7ADC triggers .....3792
66.3.8TIM6/TIM7 DMA requests .....3792
66.3.9Debug mode .....3792
66.3.10TIM6/TIM7 low-power modes .....3792
66.3.11TIM6/TIM7 interrupts .....3792
66.4TIM6/TIM7 registers .....3793
66.4.1TIMx control register 1 (TIMx_CR1)(x = 6 to 7) .....3793
66.4.2TIMx control register 2 (TIMx_CR2)(x = 6 to 7) .....3795
66.4.3TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 6 to 7) .....3795
66.4.4TIMx status register (TIMx_SR)(x = 6 to 7) .....3796
66.4.5TIMx event generation register (TIMx_EGR)(x = 6 to 7) .....3796
66.4.6TIMx counter (TIMx_CNT)(x = 6 to 7) .....3796
66.4.7TIMx prescaler (TIMx_PSC)(x = 6 to 7) .....3797
66.4.8TIMx autoreload register (TIMx_ARR)(x = 6 to 7) .....3797
66.4.9TIMx hardware configuration 2 register
(TIMx_HWCFGR2)(x = 6 to 7) .....
3798
66.4.10TIMx hardware configuration 1 register
(TIMx_HWCFGR1)(x = 6 to 7) .....
3798
66.4.11TIMx IP version register (TIMx_VERR)(x = 6 to 7) .....3800
66.4.12TIMx IP identification register (TIMx_IPIDR)(x = 6 to 7) .....3800
66.4.13TIMx size ID register (TIMx_SIDR)(x = 6 to 7) .....3800
66.4.14TIMx register map .....3802
67General-purpose timers (TIM10/TIM11/TIM12/TIM13/TIM14) .....3804
67.1TIM10/TIM11/TIM12/TIM13/TIM14 introduction .....3804
67.2TIM12 main features .....3804
67.3TIM10/TIM11/TIM13/TIM14 main features .....3805
67.4TIM10/TIM11/TIM12/TIM13/TIM14 functional description .....3806
67.4.1Block diagram .....3806
67.4.2TIM10/TIM11/TIM12/TIM13/TIM14 pins and internal signals .....3807
67.4.3Time-base unit .....3809
67.4.4Counter modes .....3811
67.4.5Clock selection .....3814
67.4.6Capture/compare channels .....3816
67.4.7Input capture mode .....3818
67.4.8PWM input mode (TIM12 only) .....3819
67.4.9Forced output mode .....3820
67.4.10Output compare mode .....3821
67.4.11PWM mode .....3822
67.4.12Combined PWM mode (TIM12 only) .....3827
67.4.13One-pulse mode .....3828
67.4.14Retriggerable one pulse mode (TIM12 only) .....3830
67.4.15UIF bit remapping .....3831
67.4.16Timer input XOR function .....3831
67.4.17TIM12 external trigger synchronization .....3831
67.4.18Slave mode – combined reset + trigger mode .....3834
67.4.19Slave mode – combined reset + gated mode .....3834
67.4.20Timer synchronization (TIM12 only) .....3834
67.4.21Using timer output as trigger for other timers
(TIM10/TIM11/TIM13/TIM14 only) .....
3834
67.4.22ADC triggers (TIM12 only) .....3834
67.4.23Debug mode .....3834
67.5TIM10/TIM11/TIM12/TIM13/TIM14 low-power modes .....3835
67.6TIM10/TIM11/TIM12/TIM13/TIM14 interrupts .....3835
67.7TIM12 registers .....3835
67.7.1TIM12 control register 1 (TIM12_CR1) .....3835
67.7.2TIM12 control register 2 (TIM12_CR2) .....3837
67.7.3TIM12 slave mode control register (TIM12_SMCR) .....3837
67.7.4TIM12 interrupt enable register (TIM12_DIER) .....3840
67.7.5TIM12 status register (TIM12_SR) .....3841
67.7.6TIM12 event generation register (TIM12_EGR) .....3842
67.7.7TIM12 capture/compare mode register 1 (TIM12_CCMR1) .....3843
67.7.8TIM12 capture/compare mode register 1 [alternate]
(TIM12_CCMR1)
3844
67.7.9TIM12 capture/compare enable register (TIM12_CCER)3847
67.7.10TIM12 counter (TIM12_CNT)3848
67.7.11TIM12 prescaler (TIM12_PSC)3849
67.7.12TIM12 autoreload register (TIM12_ARR)3849
67.7.13TIM12 capture/compare register 1 (TIM12_CCR1)3850
67.7.14TIM12 capture/compare register 2 (TIM12_CCR2)3850
67.7.15TIM12 timer input selection register (TIM12_TISEL)3851
67.7.16TIM12 hardware configuration 2 register (TIM12_HWCFGR2)3852
67.7.17TIM12 hardware configuration 1 register (TIM12_HWCFGR1)3852
67.7.18TIM12 IP version register (TIM12_VERR)3854
67.7.19TIM12 IP identification register (TIM12_IPIDR)3854
67.7.20TIM12 size ID register (TIM12_SIDR)3854
67.7.21TIM12 register map3856
67.8TIM10/TIM11/TIM13/TIM14 registers3858
67.8.1TIMx control register 1 (TIMx_CR1)(x = 10, 11, 13, 14)3858
67.8.2TIMx interrupt enable register (TIMx_DIER)(x = 10, 11, 13, 14)3859
67.8.3TIMx status register (TIMx_SR)(x = 10, 11, 13, 14)3859
67.8.4TIMx event generation register (TIMx_EGR)(x = 10, 11, 13, 14)3860
67.8.5TIMx capture/compare mode register 1
(TIMx_CCMR1)(x = 10, 11, 13, 14)
3861
67.8.6TIMx capture/compare mode register 1 [alternate]
(TIMx_CCMR1)(x = 10, 11, 13, 14)
3862
67.8.7TIMx capture/compare enable register
(TIMx_CCER)(x = 10, 11, 13, 14)
3864
67.8.8TIMx counter (TIMx_CNT)(x = 10, 11, 13, 14)3865
67.8.9TIMx prescaler (TIMx_PSC)(x = 10, 11, 13, 14)3866
67.8.10TIMx autoreload register (TIMx_ARR)(x = 10, 11, 13, 14)3866
67.8.11TIMx capture/compare register 1 (TIMx_CCR1)(x = 10, 11, 13, 14)3867
67.8.12TIMx timer input selection register (TIMx_TISEL)(x = 10, 11, 13, 14)3867
67.8.13TIMx hardware configuration 2 register (TIMx_HWCFGR2)
(x = 10, 11, 13, 14)
3868
67.8.14TIMx hardware configuration 1 register (TIMx_HWCFGR1)
(x = 10, 11, 13, 14)
3869
67.8.15TIMx IP version register (TIMx_VERR)(x = 10, 11, 13, 14)3870
67.8.16TIMx IP identification register (TIMx_IPIDR)(x = 10, 11, 13, 14)3871
67.8.17TIMx size ID register (TIMx_SIDR)(x = 10, 11, 13, 14)3871
67.8.18TIM10/TIM11/TIM13/TIM14 register map3872
68General purpose timers (TIM15/TIM16/TIM17) . . . . .3874
68.1TIM15/TIM16/TIM17 introduction . . . . .3874
68.2TIM15 main features . . . . .3874
68.3TIM16/TIM17 main features . . . . .3875
68.4TIM15/TIM16/TIM17 functional description . . . . .3876
68.4.1Block diagram . . . . .3876
68.4.2TIM15/TIM16/TIM17 pins and internal signals . . . . .3877
68.4.3Time-base unit . . . . .3880
68.4.4Counter modes . . . . .3882
68.4.5Repetition counter . . . . .3886
68.4.6Clock selection . . . . .3887
68.4.7Capture/compare channels . . . . .3889
68.4.8Input capture mode . . . . .3891
68.4.9PWM input mode (only for TIM15) . . . . .3893
68.4.10Forced output mode . . . . .3894
68.4.11Output compare mode . . . . .3894
68.4.12PWM mode . . . . .3896
68.4.13Combined PWM mode (TIM15 only) . . . . .3901
68.4.14Complementary outputs and dead-time insertion . . . . .3902
68.4.15Using the break function . . . . .3905
68.4.16Bidirectional break input . . . . .3909
68.4.17Clearing the tim_ocxref signal on an external event . . . . .3910
68.4.186-step PWM generation . . . . .3911
68.4.19One-pulse mode . . . . .3913
68.4.20Retriggerable one pulse mode (TIM15 only) . . . . .3914
68.4.21UIF bit remapping . . . . .3915
68.4.22Timer input XOR function (TIM15 only) . . . . .3915
68.4.23External trigger synchronization (TIM15 only) . . . . .3915
68.4.24Slave mode – combined reset + trigger mode (TIM15 only) . . . . .3918
68.4.25Slave mode – combined reset + gated mode (TIM15 only) . . . . .3918
68.4.26Timer synchronization (TIM15 only) . . . . .3919
68.4.27Using timer output as trigger for other timers (TIM16/TIM17 only) . . . . .3919
68.4.28ADC triggers (TIM15 only) . . . . .3919
68.4.29DMA burst mode . . . . .3919
68.4.30TIM15/TIM16/TIM17 DMA requests . . . . .3920
68.4.31Debug mode . . . . .3921
68.5TIM15/TIM16/TIM17 low-power modes3921
68.6TIM15/TIM16/TIM17 interrupts3921
68.7TIM15 registers3922
68.7.1TIM15 control register 1 (TIM15_CR1)3922
68.7.2TIM15 control register 2 (TIM15_CR2)3923
68.7.3TIM15 slave mode control register (TIM15_SMCR)3925
68.7.4TIM15 DMA/interrupt enable register (TIM15_DIER)3927
68.7.5TIM15 status register (TIM15_SR)3928
68.7.6TIM15 event generation register (TIM15_EGR)3930
68.7.7TIM15 capture/compare mode register 1 (TIM15_CCMR1)3931
68.7.8TIM15 capture/compare mode register 1 [alternate]
(TIM15_CCMR1)
3933
68.7.9TIM15 capture/compare enable register (TIM15_CCER)3935
68.7.10TIM15 counter (TIM15_CNT)3938
68.7.11TIM15 prescaler (TIM15_PSC)3938
68.7.12TIM15 autoreload register (TIM15_ARR)3939
68.7.13TIM15 repetition counter register (TIM15_RCR)3939
68.7.14TIM15 capture/compare register 1 (TIM15_CCR1)3940
68.7.15TIM15 capture/compare register 2 (TIM15_CCR2)3941
68.7.16TIM15 break and dead-time register (TIM15_BDTR)3941
68.7.17TIM15 timer deadtime register 2 (TIM15_DTR2)3944
68.7.18TIM15 input selection register (TIM15_TISEL)3945
68.7.19TIM15 alternate function register 1 (TIM15_AF1)3946
68.7.20TIM15 alternate function register 2 (TIM15_AF2)3948
68.7.21TIM15 DMA control register (TIM15_DCR)3949
68.7.22TIM15 DMA address for full transfer (TIM15_DMAR)3950
68.7.23TIM15 hardware configuration 2 register (TIM15_HWCFGR2)3950
68.7.24TIM15 hardware configuration 1 register (TIM15_HWCFGR1)3951
68.7.25TIM15 IP version register (TIM15_VERR)3952
68.7.26TIM15 IP identification register (TIM15_IPIDR)3953
68.7.27TIM15 size ID register (TIM15_SIDR)3953
68.7.28TIM15 register map3953
68.8TIM16/TIM17 registers3957
68.8.1TIMx control register 1 (TIMx_CR1)(x = 16 to 17)3957
68.8.2TIMx control register 2 (TIMx_CR2)(x = 16 to 17)3958
68.8.3TIMx DMA/interrupt enable register (TIMx_DIER)(x = 16 to 17)3959
68.8.4TIMx status register (TIMx_SR)(x = 16 to 17)3960
68.8.5TIMx event generation register (TIMx_EGR)(x = 16 to 17) . . . . .3961
68.8.6TIMx capture/compare mode register 1 (TIMx_CCMR1)
(x = 16 to 17) . . . . .
3962
68.8.7TIMx capture/compare mode register 1 [alternate]
(TIMx_CCMR1)(x = 16 to 17) . . . . .
3963
68.8.8TIMx capture/compare enable register (TIMx_CCER)(x = 16 to 17) . . . . .3965
68.8.9TIMx counter (TIMx_CNT)(x = 16 to 17) . . . . .3968
68.8.10TIMx prescaler (TIMx_PSC)(x = 16 to 17) . . . . .3968
68.8.11TIMx auto-reload register (TIMx_ARR)(x = 16 to 17) . . . . .3969
68.8.12TIMx repetition counter register (TIMx_RCR)(x = 16 to 17) . . . . .3969
68.8.13TIMx capture/compare register 1 (TIMx_CCR1)(x = 16 to 17) . . . . .3970
68.8.14TIMx break and dead-time register (TIMx_BDTR)(x = 16 to 17) . . . . .3971
68.8.15TIMx timer deadtime register 2 (TIMx_DTR2)(x = 16 to 17) . . . . .3974
68.8.16TIMx input selection register (TIMx_TISEL)(x = 16 to 17) . . . . .3975
68.8.17TIMx alternate function register 1 (TIMx_AF1)(x = 16 to 17) . . . . .3975
68.8.18TIMx alternate function register 2 (TIMx_AF2)(x = 16 to 17) . . . . .3978
68.8.19TIMx DMA control register (TIMx_DCR)(x = 16 to 17) . . . . .3978
68.8.20TIM16/TIM17 DMA address for full transfer
(TIMx_DMAR)(x = 16 to 17) . . . . .
3979
68.8.21TIMx hardware configuration 2 register (TIMx_HWCFGR2)
(x = 16 to 17) . . . . .
3980
68.8.22TIMx hardware configuration 1 register (TIMx_HWCFGR1)
(x = 16 to 17) . . . . .
3981
68.8.23TIMx IP version register (TIMx_VERR)(x = 16 to 17) . . . . .3982
68.8.24TIMx IP identification register (TIMx_IPIDR)(x = 16 to 17) . . . . .3983
68.8.25TIMx size ID register (TIMx_SIDR)(x = 16 to 17) . . . . .3983
68.8.26TIM16/TIM17 register map . . . . .3984
69Low-power timer (LPTIM) . . . . .3987
69.1Introduction . . . . .3987
69.2LPTIM main features . . . . .3987
69.3LPTIM implementation . . . . .3988
69.4LPTIM functional description . . . . .3989
69.4.1LPTIM block diagram . . . . .3989
69.4.2LPTIM pins and internal signals . . . . .3990
69.4.3LPTIM input and trigger mapping . . . . .3992
69.4.4LPTIM reset and clocks . . . . .3993
69.4.5Glitch filter . . . . .3993
69.4.6Prescaler .....3994
69.4.7Trigger multiplexer .....3994
69.4.8Operating mode .....3995
69.4.9Timeout function .....3997
69.4.10Waveform generation .....3997
69.4.11Register update .....3998
69.4.12Counter mode .....3999
69.4.13Timer enable .....4000
69.4.14Timer counter reset .....4000
69.4.15Encoder mode .....4001
69.4.16Repetition counter .....4002
69.4.17Capture/compare channels .....4003
69.4.18Input capture mode .....4004
69.4.19PWM mode .....4006
69.4.20Autonomous mode .....4008
69.4.21DMA requests .....4009
69.4.22Debug mode .....4010
69.5LPTIM low-power modes .....4010
69.6LPTIM interrupts .....4010
69.7LPTIM registers .....4011
69.7.1LPTIM5 interrupt and status register (LPTIM5_ISR) .....4012
69.7.2LPTIMx interrupt and status register [alternate] (LPTIMx_ISR)
(x = 1 to 4) .....
4013
69.7.3LPTIMx interrupt and status register [alternate] (LPTIMx_ISR)
(x = 1 to 4) .....
4015
69.7.4LPTIM5 interrupt clear register (LPTIM5_ICR) .....4017
69.7.5LPTIMx interrupt clear register [alternate] (LPTIMx_ICR)
(x = 1 to 4) .....
4018
69.7.6LPTIMx interrupt clear register [alternate] (LPTIMx_ICR)
(x = 1 to 4) .....
4019
69.7.7LPTIM5 interrupt enable register (LPTIM5_DIER) .....4020
69.7.8LPTIMx interrupt enable register [alternate] (LPTIMx_DIER)
(x = 1 to 4) .....
4022
69.7.9LPTIMx interrupt enable register [alternate] (LPTIMx_DIER)
(x = 1 to 4) .....
4023
69.7.10LPTIM configuration register (LPTIM_CFGR) .....4025
69.7.11LPTIM control register (LPTIM_CR) .....4028
69.7.12LPTIM compare register 1 (LPTIM_CCR1) .....4029
69.7.13LPTIM autoreload register (LPTIM_ARR)4030
69.7.14LPTIM counter register (LPTIM_CNT)4030
69.7.15LPTIM1 option register (LPTIM1_OR)4031
69.7.16LPTIM configuration register 2 (LPTIM_CFGR2)4031
69.7.17LPTIM repetition register (LPTIM_RCR)4032
69.7.18LPTIM capture/compare mode register 1 (LPTIM_CCMR1)4033
69.7.19LPTIM compare register 2 (LPTIM_CCR2)4035
69.7.20LPTIM peripheral hardware configuration register 2 (LPTIM_HWCGR2)4036
69.7.21LPTIM peripheral hardware configuration register 1 (LPTIM_HWCGR1)4037
69.7.22LPTIM peripheral version identification register (LPTIM_VERR)4037
69.7.23LPTIM peripheral type identification register (LPTIM_PIDR)4038
69.7.24LPTIM registers map size identification register (LPTIM_SIDR)4038
69.7.25LPTIM register map4038
70System timer generator (STGEN)4042
70.1STGEN introduction4042
70.2STGEN main features4042
70.3STGEN functional description4042
70.3.1STGEN block diagram4043
70.4STGEN registers4044
70.4.1STGENC control register (STGENC_CNTCR)4044
70.4.2STGENC status register (STGENC_CNTSR)4044
70.4.3STGENC value lower register (STGENC_CNTCVL)4045
70.4.4STGENC value upper register (STGENC_CNTCVU)4045
70.4.5STGENC base frequency register (STGENC_CNTFID0)4046
70.4.6STGENC peripheral ID4 register (STGENC_PIDR4)4046
70.4.7STGENC peripheral ID5 register (STGENC_PIDR5)4047
70.4.8STGENC peripheral ID6 register (STGENC_PIDR6)4047
70.4.9STGENC peripheral ID7 register (STGENC_PIDR7)4047
70.4.10STGENC peripheral ID0 register (STGENC_PIDR0)4048
70.4.11STGENC peripheral ID1 register (STGENC_PIDR1)4048
70.4.12STGENC peripheral ID2 register (STGENC_PIDR2)4048
70.4.13STGENC peripheral ID3 register (STGENC_PIDR3)4049
70.4.14STGENC component ID0 register (STGENC_CIDR0)4049
70.4.15STGENC component ID1 register (STGENC_CIDR1)4050
70.4.16STGENC component ID2 register (STGENC_CIDR2) .....4050
70.4.17STGENC component ID3 register (STGENC_CIDR3) .....4051
70.4.18STGENR value lower register (STGENR_CNTCVL) .....4051
70.4.19STGENR value upper register (STGENR_CNTCVU) .....4051
70.4.20STGENR peripheral ID4 register (STGENR_PIDR4) .....4052
70.4.21STGENR peripheral ID5 register (STGENR_PIDR5) .....4052
70.4.22STGENR peripheral ID6 register (STGENR_PIDR6) .....4052
70.4.23STGENR peripheral ID7 register (STGENR_PIDR7) .....4053
70.4.24STGENR peripheral ID0 register (STGENR_PIDR0) .....4053
70.4.25STGENR peripheral ID1 register (STGENR_PIDR1) .....4053
70.4.26STGENR peripheral ID2 register (STGENR_PIDR2) .....4054
70.4.27STGENR peripheral ID3 register (STGENR_PIDR3) .....4054
70.4.28STGENR component ID0 register (STGENR_CIDR0) .....4055
70.4.29STGENR component ID1 register (STGENR_CIDR1) .....4055
70.4.30STGENR component ID2 register (STGENR_CIDR2) .....4055
70.4.31STGENR component ID3 register (STGENR_CIDR3) .....4056
70.4.32STGEN register map .....4056
71Watchdog overview .....4059
71.1Watchdog main features .....4059
71.2Watchdog functional description .....4059
72Independent watchdog (IWDG) .....4062
72.1Introduction .....4062
72.2IWDG main features .....4062
72.3IWDG implementation .....4062
72.4IWDG functional description .....4063
72.4.1IWDG block diagram .....4063
72.4.2IWDG internal signals .....4064
72.4.3Software and hardware watchdog modes .....4064
72.4.4Window option .....4065
72.4.5Debug .....4068
72.4.6Register access protection .....4068
72.5IWDG low power modes .....4069
72.6IWDG interrupts .....4069
72.7IWDG registers .....4071
72.7.1IWDG key register (IWDG_KR) . . . . .4072
72.7.2IWDG prescaler register (IWDG_PR) . . . . .4072
72.7.3IWDG reload register (IWDG_RLR) . . . . .4073
72.7.4IWDG status register (IWDG_SR) . . . . .4073
72.7.5IWDG window register (IWDG_WINR) . . . . .4075
72.7.6IWDG early wake-up interrupt register (IWDG_EWCR) . . . . .4075
72.7.7IWDG interrupt clear register (IWDG_ICR) . . . . .4076
72.7.8IWDG hardware configuration register (IWDG_HWCFGR) . . . . .4076
72.7.9IWDG version register (IWDG_VERR) . . . . .4077
72.7.10IWDG identification register (IWDG_IDR) . . . . .4078
72.7.11IWDG size identification register (IWDG_SIDR) . . . . .4078
72.7.12IWDG register map . . . . .4079
73System window watchdog (WWDG) . . . . .4080
73.1Introduction . . . . .4080
73.2WWDG main features . . . . .4080
73.3WWDG implementation . . . . .4080
73.4WWDG functional description . . . . .4081
73.4.1WWDG block diagram . . . . .4081
73.4.2WWDG internal signals . . . . .4081
73.4.3Enabling the watchdog . . . . .4082
73.4.4Controlling the down-counter . . . . .4082
73.4.5How to program the watchdog timeout . . . . .4082
73.4.6Debug mode . . . . .4083
73.5WWDG interrupts . . . . .4084
73.6WWDG registers . . . . .4084
73.6.1WWDG control register (WWDG_CR) . . . . .4084
73.6.2WWDG configuration register (WWDG_CFR) . . . . .4085
73.6.3WWDG status register (WWDG_SR) . . . . .4085
73.6.4WWDG hardware configuration register (WWDG_HWCFGR) . . . . .4086
73.6.5WWDG version register (WWDG_VERR) . . . . .4086
73.6.6WWDG identification register (WWDG_IPIDR) . . . . .4086
73.6.7WWDG size identification register (WWDG_SIDR) . . . . .4087
73.6.8WWDG register map . . . . .4087
74Real-time clock (RTC) . . . . .4089
74.1Introduction4089
74.2RTC main features4089
74.3RTC functional description4090
74.3.1RTC block diagram4090
74.3.2RTC pins and internal signals4092
74.3.3GPIOs controlled by the RTC and TAMP4093
74.3.4RTC secure protection modes4097
74.3.5RTC privilege protection modes4098
74.3.6RTC compartment-based isolation4100
74.3.7Clock and prescalers4101
74.3.8Real-time clock and calendar4102
74.3.9Calendar ultra-low power mode4103
74.3.10Programmable alarms4103
74.3.11Periodic auto-wake-up4104
74.3.12RTC initialization and configuration4104
74.3.13Reading the calendar4107
74.3.14Resetting the RTC4108
74.3.15RTC synchronization4109
74.3.16RTC reference clock detection4109
74.3.17RTC smooth digital calibration4110
74.3.18Timestamp function4112
74.3.19Calibration clock output4113
74.3.20Tamper and alarm output4113
74.4RTC low-power modes4114
74.5RTC interrupts4114
74.6RTC registers4116
74.6.1RTC time register (RTC_TR)4117
74.6.2RTC date register (RTC_DR)4118
74.6.3RTC subsecond register (RTC_SSR)4119
74.6.4RTC initialization control and status register (RTC_ICSR)4120
74.6.5RTC prescaler register (RTC_PRER)4122
74.6.6RTC wake-up timer register (RTC_WUTR)4123
74.6.7RTC control register (RTC_CR)4123
74.6.8RTC privilege mode control register (RTC_PRIVCFGR)4127
74.6.9RTC secure configuration register (RTC_SECCFGR)4129
74.6.10RTC write protection register (RTC_WPR)4131
74.6.11RTC calibration register (RTC_CALR) .....4131
74.6.12RTC shift control register (RTC_SHIFTR) .....4133
74.6.13RTC timestamp time register (RTC_TSTR) .....4134
74.6.14RTC timestamp date register (RTC_TSDR) .....4135
74.6.15RTC timestamp subsecond register (RTC_TSSSR) .....4136
74.6.16RTC alarm A register (RTC_ALRMAR) .....4137
74.6.17RTC alarm A subsecond register (RTC_ALRMASSR) .....4138
74.6.18RTC alarm B register (RTC_ALRMBR) .....4139
74.6.19RTC alarm B subsecond register (RTC_ALRMBSSR) .....4141
74.6.20RTC status register (RTC_SR) .....4142
74.6.21RTC nonsecure masked interrupt status register (RTC_MISR) ....4143
74.6.22RTC secure masked interrupt status register (RTC_SMISR) ....4144
74.6.23RTC status clear register (RTC_SCR) .....4146
74.6.24RTC option register (RTC_OR) .....4147
74.6.25RTC alarm A binary mode register (RTC_ALRABINR) .....4147
74.6.26RTC alarm B binary mode register (RTC_ALRBBINR) .....4148
74.6.27RTC Resource x CID configuration register (RTC_RxCIDCFGR) ..4148
74.6.28RTC hardware configuration register 2 (RTC_HWCFGR2) .....4149
74.6.29RTC hardware configuration register (RTC_HWCFGR1) .....4150
74.6.30RTC version register (RTC_VERR) .....4151
74.6.31RTC identification register (RTC_IPIDR) .....4151
74.6.32RTC size identification register (RTC_SIDR) .....4151
74.6.33RTC register map .....4152
75Tamper and backup registers (TAMP) .....4155
75.1Introduction .....4155
75.2TAMP main features .....4156
75.3TAMP functional description .....4157
75.3.1TAMP block diagram .....4157
75.3.2TAMP pins and internal signals .....4158
75.3.3GPIOs controlled by the RTC and TAMP .....4161
75.3.4TAMP register write protection .....4161
75.3.5TAMP secure protection modes .....4161
75.3.6Backup registers protection zones .....4162
75.3.7TAMP privilege protection modes .....4162
75.3.8TAMP compartment-based isolation .....4163
75.3.9Boot hardware key (BHK) .....4166
75.3.10Tamper detection4166
75.3.11TAMP backup registers and other device secrets erase4166
75.3.12Tamper detection configuration and initialization4168
75.4TAMP low-power modes4174
75.5TAMP interrupts4175
75.6TAMP registers4176
75.6.1TAMP control register 1 (TAMP_CR1)4176
75.6.2TAMP control register 2 (TAMP_CR2)4178
75.6.3TAMP control register 3 (TAMP_CR3)4181
75.6.4TAMP filter control register (TAMP_FLTCR)4183
75.6.5TAMP active tamper control register 1 (TAMP_ATCR1)4184
75.6.6TAMP active tamper seed register (TAMP_ATSEEDR)4187
75.6.7TAMP active tamper output register (TAMP_ATOR)4188
75.6.8TAMP active tamper control register 2 (TAMP_ATCR2)4188
75.6.9TAMP secure configuration register (TAMP_SECCFGR)4191
75.6.10TAMP privilege configuration register (TAMP_PRIVCFGR)4193
75.6.11TAMP interrupt enable register (TAMP_IER)4194
75.6.12TAMP status register (TAMP_SR)4196
75.6.13TAMP nonsecure masked interrupt status register (TAMP_MISR)4199
75.6.14TAMP secure masked interrupt status register (TAMP_SMISR)4200
75.6.15TAMP status clear register (TAMP_SCR)4202
75.6.16TAMP monotonic counter 1 register (TAMP_COUNT1R)4204
75.6.17TAMP monotonic counter 2 register (TAMP_COUNT2R)4205
75.6.18TAMP option register (TAMP_OR)4205
75.6.19TAMP resources protection configuration register (TAMP_RPCFGR)4206
75.6.20TAMP Backup registers RIF register 1(TAMP_BKPRIFR1)4207
75.6.21TAMP Backup registers RIF register 2(TAMP_BKPRIFR2)4207
75.6.22TAMP Backup registers RIF register 3(TAMP_BKPRIFR3)4208
75.6.23TAMP Resource x CID configuration register (TAMP_RxCIDCFGR)4208
75.6.24TAMP backup x register (TAMP_BKPxR)4209
75.6.25TAMP hardware configuration register 2 (TAMP_HWCFGR2)4210
75.6.26TAMP hardware configuration register 1 (TAMP_HWCFGR1)4211
75.6.27TAMP version register (TAMP_VERR)4211
75.6.28TAMP identification register (TAMP_IPIDR)4212
75.6.29TAMP size identification register (TAMP_SIDR)4212
75.6.30TAMP register map4213
76Inter-integrated circuit interface (I2C) .....4216
76.1Introduction .....4216
76.2I2C main features .....4216
76.3I2C implementation .....4217
76.4I2C functional description .....4217
76.4.1I2C block diagram .....4218
76.4.2I2C pins and internal signals .....4218
76.4.3I2C clock requirements .....4219
76.4.4I2C mode selection .....4220
76.4.5I2C initialization .....4221
76.4.6I2C reset .....4225
76.4.7I2C data transfer .....4225
76.4.8I2C slave mode .....4227
76.4.9I2C master mode .....4236
76.4.10I2C_TIMINGR register configuration examples .....4247
76.4.11SMBus specific features .....4249
76.4.12SMBus initialization .....4251
76.4.13SMBus I2C_TIMEOUTR register configuration examples .....4253
76.4.14SMBus slave mode .....4254
76.4.15SMBus master mode .....4257
76.4.16Autonomous mode .....4260
76.4.17Error conditions .....4262
76.5I2C in low-power modes .....4263
76.6I2C interrupts .....4264
76.7I2C DMA requests .....4265
76.7.1Transmission using DMA .....4265
76.7.2Reception using DMA .....4265
76.7.3Master event control using DMA .....4265
76.8I2C debug modes .....4266
76.9I2C registers .....4266
76.9.1I2C control register 1 (I2C_CR1) .....4266
76.9.2I2C control register 2 (I2C_CR2) .....4269
76.9.3I2C own address 1 register (I2C_OAR1) .....4271
76.9.4I2C own address 2 register (I2C_OAR2) .....4271
76.9.5I2C timing register (I2C_TIMINGR) .....4272
76.9.6I2C timeout register (I2C_TIMEOUTR) .....4273
76.9.7I2C interrupt and status register (I2C_ISR) .....4274
76.9.8I2C interrupt clear register (I2C_ICR) .....4277
76.9.9I2C PEC register (I2C_PECR) .....4278
76.9.10I2C receive data register (I2C_RXDR) .....4278
76.9.11I2C transmit data register (I2C_TXDR) .....4279
76.9.12I2C autonomous mode control register (I2C_AUTOCR) .....4279
76.9.13I2C hardware configuration register (I2C_HWCFGR) .....4280
76.9.14I2C version register (I2C_VERR) .....4281
76.9.15I2C identification register (I2C_IPIDR) .....4281
76.9.16I2C size identification register (I2C_SIDR) .....4281
76.9.17I2C register map .....4282
77Improved inter-integrated circuit (I3C) .....4284
77.1Introduction .....4284
77.2I3C main features .....4284
77.3I3C implementation .....4286
77.3.1I3C instantiation .....4286
77.3.2I3C wake-up from low-power mode(s) .....4286
77.3.3I3C autonomous mode with DMA in Stop mode(s) .....4286
77.3.4I3C FIFOs .....4286
77.3.5I3C triggers .....4287
77.3.6I3C interrupt(s) .....4287
77.3.7I3C MIPI® support .....4288
77.4I3C block diagram .....4289
77.5I3C pins and internal signals .....4289
77.6I3C reset and clocks .....4290
77.6.1I3C reset .....4290
77.6.2I3C clocks and requirements .....4290
77.7I3C peripheral state and programming .....4292
77.7.1I3C peripheral state .....4292
77.7.2I3C controller state and programming sequence .....4292
77.7.3I3C target state and programming sequence .....4297
77.8I3C registers and programming .....4301
77.8.1I3C register set, as controller/target .....4301
77.8.2I3C registers and fields use versus peripheral state, as controller ..4302
77.8.3I3C registers and fields usage versus peripheral state, as target ...4305
77.9I3C bus transfers and programming . . . . .4307
77.9.1I3C command set (CCCs), as controller/target . . . . .4307
77.9.2I3C broadcast/direct CCC transfer (except ENTDAA, RSTACT),
as controller . . . . .
4311
77.9.3I3C broadcast ENTDAA CCC transfer, as controller . . . . .4313
77.9.4I3C broadcast/direct RSTACT CCC transfer, as controller . . . . .4313
77.9.5I3C broadcast/direct CCC transfer
(except ENTDAA, DEFTGTS, DEFGRPA), as target . . . . .
4315
77.9.6I3C broadcast ENTDAA CCC transfer, as target . . . . .4317
77.9.7I3C broadcast DEFTGTS CCC transfer, as target . . . . .4318
77.9.8I3C broadcast DEFGRPA CCC transfer, as target . . . . .4319
77.9.9I3C direct GETSTATUS CCC response, as target . . . . .4320
77.9.10I3C private read/write transfer, as controller . . . . .4321
77.9.11I3C private read/write transfer, as target . . . . .4322
77.9.12Legacy I2C read/write transfer, as controller . . . . .4323
77.9.13I3C IBI transfer, as controller/target . . . . .4324
77.9.14I3C hot-join request transfer, as controller/target . . . . .4325
77.9.15I3C controller-role request transfer, as controller/target . . . . .4326
77.10I3C FIFOs management, as controller . . . . .4327
77.10.1C-FIFO management, as controller . . . . .4327
77.10.2TX-FIFO management, as controller . . . . .4328
77.10.3RX-FIFO management, as controller . . . . .4331
77.10.4S-FIFO management, as controller . . . . .4333
77.11I3C FIFOs management, as target . . . . .4335
77.11.1RX-FIFO management, as target . . . . .4335
77.11.2TX-FIFO management, as target . . . . .4336
77.12I3C error management . . . . .4339
77.12.1Controller error management . . . . .4339
77.12.2Target error management . . . . .4341
77.13I3C wake-up from low-power mode(s) . . . . .4342
77.13.1Wake-up from Stop . . . . .4342
77.14I3C in low-power modes . . . . .4345
77.15I3C interrupts . . . . .4346
77.16I3C registers . . . . .4347
77.16.1I3C message control register (I3C_CR) . . . . .4347
77.16.2I3C message control register [alternate] (I3C_CR) . . . . .4349
77.16.3I3C configuration register (I3C_CFGR) . . . . .4351
77.16.4I3C receive data byte register (I3C_RDR) .....4356
77.16.5I3C receive data word register (I3C_RDWR) .....4356
77.16.6I3C transmit data byte register (I3C_TDR) .....4357
77.16.7I3C transmit data word register (I3C_TDWR) .....4358
77.16.8I3C IBI payload data register (I3C_IBIDR) .....4360
77.16.9I3C target transmit configuration register (I3C_TGTTDR) .....4361
77.16.10I3C status register (I3C_SR) .....4362
77.16.11I3C status error register (I3C_SER) .....4363
77.16.12I3C received message register (I3C_RMR) .....4365
77.16.13I3C event register (I3C_EVR) .....4366
77.16.14I3C interrupt enable register (I3C_IER) .....4370
77.16.15I3C clear event register (I3C_CEV) .....4372
77.16.16I3C own device characteristics register (I3C_DEVR0) .....4374
77.16.17I3C device x characteristics register (I3C_DEVRx) .....4376
77.16.18I3C maximum read length register (I3C_MAXRLR) .....4378
77.16.19I3C maximum write length register (I3C_MAXWLR) .....4379
77.16.20I3C timing register 0 (I3C_TIMINGR0) .....4380
77.16.21I3C timing register 1 (I3C_TIMINGR1) .....4381
77.16.22I3C timing register 2 (I3C_TIMINGR2) .....4383
77.16.23I3C bus characteristics register (I3C_BCR) .....4384
77.16.24I3C device characteristics register (I3C_DCR) .....4385
77.16.25I3C get capability register (I3C_GETCAPR) .....4386
77.16.26I3C controller-role capability register (I3C_CRCAPR) .....4387
77.16.27I3C get max data speed register (I3C_GETMXDSR) .....4388
77.16.28I3C extended provisioned ID register (I3C_EPIDR) .....4390
77.16.29I3C hardware configuration register (I3C_HWCFGR) .....4391
77.16.30I3C version register (I3C_VERR) .....4391
77.16.31I3C identification register (I3C_IPIR) .....4392
77.16.32I3C size identification register (I3C_SIDR) .....4392
77.16.33I3C register map .....4392
78Universal synchronous/asynchronous receiver transmitter (USART/UART) .....4396
78.1Introduction .....4396
78.2USART main features .....4396
78.3USART extended features .....4397
78.4USART implementation .....4397
78.5USART functional description4399
78.5.1USART block diagram4399
78.5.2USART pins and internal signals4399
78.5.3USART clocks4402
78.5.4USART character description4402
78.5.5USART FIFOs and thresholds4404
78.5.6USART transmitter4404
78.5.7USART receiver4407
78.5.8USART baud rate generation4414
78.5.9Tolerance of the USART receiver to clock deviation4416
78.5.10USART auto baud rate detection4417
78.5.11USART multiprocessor communication4419
78.5.12USART Modbus communication4421
78.5.13USART parity control4422
78.5.14USART LIN (local interconnection network) mode4423
78.5.15USART synchronous mode4425
78.5.16USART single-wire half-duplex communication4429
78.5.17USART receiver timeout4429
78.5.18USART smartcard mode4430
78.5.19USART IrDA SIR ENDEC block4434
78.5.20Continuous communication using USART and DMA4437
78.5.21RS232 hardware flow control and RS485 driver enable4439
78.5.22USART autonomous mode4441
78.6USART in low-power modes4443
78.7USART interrupts4443
78.8USART registers4446
78.8.1USART control register 1 (USART_CR1)4446
78.8.2USART control register 1 [alternate] (USART_CR1)4450
78.8.3USART control register 2 (USART_CR2)4453
78.8.4USART control register 3 (USART_CR3)4457
78.8.5USART control register 3 [alternate] (USART_CR3)4461
78.8.6USART baud rate register (USART_BRR)4464
78.8.7USART guard time and prescaler register (USART_GTPR)4465
78.8.8USART receiver timeout register (USART_RTOR)4466
78.8.9USART request register (USART_RQR)4467
78.8.10USART interrupt and status register (USART_ISR)4468
78.8.11USART interrupt and status register [alternate] (USART_ISR)4474
78.8.12USART interrupt flag clear register (USART_ICR) .....4479
78.8.13USART receive data register (USART_RDR) .....4480
78.8.14USART transmit data register (USART_TDR) .....4481
78.8.15USART prescaler register (USART_PRESC) .....4481
78.8.16USART autonomous mode control register (USART_AUTOCR) ....4482
78.8.17USART hardware configuration register 2 (USART_HWCFGR2) ...4483
78.8.18USART hardware configuration register 1 (USART_HWCFGR1) ...4484
78.8.19USART version register (USART_VERR) .....4484
78.8.20USART identification register (USART_IPIDR) .....4485
78.8.21USART size identification register (USART_SIDR) .....4485
78.8.22USART register map .....4486
79Low-power universal asynchronous receiver
transmitter (LPUART) .....
4488
79.1Introduction .....4488
79.2LPUART main features .....4488
79.3LPUART implementation .....4489
79.4LPUART functional description .....4491
79.4.1LPUART block diagram .....4491
79.4.2LPUART pins and internal signals .....4492
79.4.3LPUART clocks .....4494
79.4.4LPUART character description .....4494
79.4.5LPUART FIFOs and thresholds .....4496
79.4.6LPUART transmitter .....4496
79.4.7LPUART receiver .....4500
79.4.8LPUART baud rate generation .....4504
79.4.9Tolerance of the LPUART receiver to clock deviation .....4505
79.4.10LPUART multiprocessor communication .....4506
79.4.11LPUART parity control .....4508
79.4.12LPUART single-wire half-duplex communication .....4509
79.4.13Continuous communication using DMA and LPUART .....4509
79.4.14RS232 hardware flow control and RS485 driver enable .....4512
79.4.15LPUART autonomous mode .....4514
79.5LPUART in low-power modes .....4516
79.6LPUART interrupts .....4517
79.7LPUART registers .....4518
79.7.1LPUART control register 1 (LPUART_CR1) . . . . .4518
79.7.2LPUART control register 1 [alternate] (LPUART_CR1) . . . . .4521
79.7.3LPUART control register 2 (LPUART_CR2) . . . . .4525
79.7.4LPUART control register 3 (LPUART_CR3) . . . . .4526
79.7.5LPUART control register 3 [alternate] (LPUART_CR3) . . . . .4529
79.7.6LPUART baud rate register (LPUART_BRR) . . . . .4531
79.7.7LPUART request register (LPUART_RQR) . . . . .4531
79.7.8LPUART interrupt and status register (LPUART_ISR) . . . . .4532
79.7.9LPUART interrupt and status register [alternate] (LPUART_ISR) . . . . .4537
79.7.10LPUART interrupt flag clear register (LPUART_ICR) . . . . .4540
79.7.11LPUART receive data register (LPUART_RDR) . . . . .4541
79.7.12LPUART transmit data register (LPUART_TDR) . . . . .4541
79.7.13LPUART prescaler register (LPUART_PRESC) . . . . .4542
79.7.14LPUART autonomous mode control register (LPUART_AUTOCR) . . . . .4543
79.7.15LPUART hardware configuration register 2 (LPUART_HWCFGR2) . . . . .4544
79.7.16LPUART hardware configuration register 1 (LPUART_HWCFGR1) . . . . .4544
79.7.17LPUART version register (LPUART_VERR) . . . . .4545
79.7.18LPUART identification register (LPUART_IPIDR) . . . . .4545
79.7.19LPUART size identification register (LPUART_SIDR) . . . . .4546
79.7.20LPUART register map . . . . .4546
80Serial peripheral interface (SPI) . . . . .4548
80.1Introduction . . . . .4548
80.2SPI main features . . . . .4548
80.3SPI implementation . . . . .4549
80.4SPI functional description . . . . .4550
80.4.1SPI block diagram . . . . .4550
80.4.2SPI pins and internal signals . . . . .4551
80.4.3SPI communication general aspects . . . . .4553
80.4.4Communications between one master and one slave . . . . .4553
80.4.5Standard multislave communication . . . . .4556
80.4.6Multimaster communication . . . . .4558
80.4.7Slave select (SS) pin management . . . . .4559
80.4.8Ready pin (RDY) management . . . . .4563
80.4.9Communication formats . . . . .4563
80.4.10Configuring the SPI . . . . .4565
80.4.11Enabling the SPI . . . . .4566
80.4.12SPI data transmission and reception procedures .....4567
80.4.13Disabling the SPI .....4571
80.4.14Data packing .....4572
80.4.15Communication using DMA (direct memory addressing) .....4574
80.4.16Autonomous mode .....4575
80.5SPI specific modes and control .....4577
80.5.1TI mode .....4577
80.5.2SPI error flags .....4577
80.5.3CRC computation .....4580
80.6SPI in low-power modes .....4582
80.7SPI interrupts .....4582
80.8I2S main features .....4584
80.9I2S functional description .....4584
80.9.1I2S general description .....4584
80.9.2Pin sharing with SPI function .....4585
80.9.3Bitfields usable in I2S/PCM mode .....4585
80.9.4Slave and master modes .....4586
80.9.5Supported audio protocols .....4586
80.9.6Additional serial interface flexibility .....4592
80.9.7Startup sequence .....4594
80.9.8Stop sequence .....4596
80.9.9Clock generator .....4597
80.9.10Internal FIFOs .....4599
80.9.11FIFO status flags .....4600
80.9.12Handling of underrun situation .....4600
80.9.13Handling of overrun situation .....4601
80.9.14Frame error detection .....4602
80.9.15DMA interface .....4604
80.9.16Autonomous mode .....4604
80.9.17Programing examples .....4604
80.10I2S interrupts .....4607
80.11SPI/I2S registers .....4607
80.11.1SPI/I2S control register 1 (SPI_CR1) .....4607
80.11.2SPI/I2S control register 2 (SPI_CR2) .....4609
80.11.3SPI/I2S configuration register 1 (SPI_CFG1) .....4610
80.11.4SPI/I2S configuration register 2 (SPI_CFG2) .....4613
80.11.5SPI/I2S interrupt enable register (SPI_IER) . . . . .4615
80.11.6SPI/I2S status register (SPI_SR) . . . . .4616
80.11.7SPI/I2S interrupt/status flags clear register (SPI_IFCR) . . . . .4619
80.11.8SPI/I2S autonomous mode control register (SPI_AUTOCR) . . . . .4620
80.11.9SPI/I2S transmit data register (SPI_TXDR) . . . . .4620
80.11.10SPI/I2S receive data register (SPI_RXDR) . . . . .4621
80.11.11SPI/I2S polynomial register (SPI_CRCPOLY) . . . . .4622
80.11.12SPI/I2S transmitter CRC register (SPI_TXCRC) . . . . .4622
80.11.13SPI/I2S receiver CRC register (SPI_RXCRC) . . . . .4623
80.11.14SPI/I2S underrun data register (SPI_UDRDR) . . . . .4624
80.11.15SPI/I2S configuration register (SPI_I2SCFGR) . . . . .4624
80.11.16SPI/I2S hardware configuration register (SPI_HWCFGR2) . . . . .4626
80.11.17SPI/I2S hardware configuration register (SPI_HWCFGR1) . . . . .4627
80.11.18SPI/I2S version register (SPI_VERR) . . . . .4628
80.11.19SPI/I2S identification register (SPI_IPIR) . . . . .4628
80.11.20SPI/I2S size identification register (SPI_SIDR) . . . . .4629
80.11.21SPI/I2S register map . . . . .4629
81Serial audio interface (SAI) . . . . .4631
81.1Introduction . . . . .4631
81.2SAI main features . . . . .4631
81.3SAI implementation . . . . .4632
81.4SAI functional description . . . . .4633
81.4.1SAI block diagram . . . . .4633
81.4.2SAI pins and internal signals . . . . .4634
81.4.3Main SAI modes . . . . .4635
81.4.4SAI synchronization mode . . . . .4636
81.4.5Audio data size . . . . .4637
81.4.6Frame synchronization . . . . .4637
81.4.7Slot configuration . . . . .4640
81.4.8SAI clock generator . . . . .4642
81.4.9Internal FIFOs . . . . .4645
81.4.10PDM interface . . . . .4647
81.4.11AC'97 link controller . . . . .4655
81.4.12SPDIF output . . . . .4657
81.4.13Specific features . . . . .4660
81.4.14Error flags . . . . .4664
81.4.15Disabling the SAI4667
81.4.16SAI DMA interface4667
81.5SAI interrupts4668
81.6SAI registers4670
81.6.1SAI global configuration register (SAI_GCR)4670
81.6.2SAI configuration register 1 (SAI_ACR1)4670
81.6.3SAI configuration register 2 (SAI_ACR2)4673
81.6.4SAI frame configuration register (SAI_AFRCR)4675
81.6.5SAI slot register (SAI_ASLOTR)4676
81.6.6SAI interrupt mask register (SAI_AIM)4677
81.6.7SAI status register (SAI_ASR)4678
81.6.8SAI clear flag register (SAI_ACLRFR)4680
81.6.9SAI data register (SAI_ADR)4681
81.6.10SAI configuration register 1 (SAI_BCR1)4682
81.6.11SAI configuration register 2 (SAI_BCR2)4684
81.6.12SAI frame configuration register (SAI_BFRCR)4686
81.6.13SAI slot register (SAI_BSLOTR)4687
81.6.14SAI interrupt mask register (SAI_BIM)4688
81.6.15SAI status register (SAI_BSR)4690
81.6.16SAI clear flag register (SAI_BCLRFR)4692
81.6.17SAI data register (SAI_BDR)4693
81.6.18SAI PDM control register (SAI_PDMCR)4693
81.6.19SAI PDM delay register (SAI_PDMDLY)4694
81.6.20SAI hardware configuration register (SAI_HWCFGR)4696
81.6.21SAI version register (SAI_VERR)4697
81.6.22SAI identification register (SAI_IPIDR)4698
81.6.23SAI size identification register (SAI_SIDR)4698
81.6.24SAI register map4698
82SPDIF receiver interface (SPDIFRX)4701
82.1SPDIFRX interface introduction4701
82.2SPDIFRX main features4701
82.3SPDIFRX functional description4701
82.3.1SPDIFRX pins and internal signals4702
82.3.2S/PDIF protocol (IEC-60958)4703
82.3.3SPDIFRX decoder (SPDIFRX_DC)4705
82.3.4SPDIFRX tolerance to clock deviation4709
82.3.5SPDIFRX synchronization4709
82.3.6SPDIFRX handling4711
82.3.7Data reception management4713
82.3.8Dedicated control flow4715
82.3.9Reception errors4716
82.3.10Clocking strategy4718
82.3.11Symbol clock generation4718
82.3.12DMA interface4720
82.3.13Interrupt generation4721
82.3.14Register protection4722
82.4Programming procedures4722
82.4.1Initialization phase4723
82.4.2Handling of interrupts coming from SPDIFRX4724
82.4.3Handling of interrupts coming from DMA4724
82.5SPDIFRX interface registers4725
82.5.1SPDIFRX control register (SPDIFRX_CR)4725
82.5.2SPDIFRX interrupt mask register (SPDIFRX_IMR)4727
82.5.3SPDIFRX status register (SPDIFRX_SR)4728
82.5.4SPDIFRX interrupt flag clear register (SPDIFRX_IFCR)4730
82.5.5SPDIFRX data input register (SPDIFRX_FMT0_DR)4731
82.5.6SPDIFRX data input register (SPDIFRX_FMT1_DR)4731
82.5.7SPDIFRX data input register (SPDIFRX_FMT2_DR)4732
82.5.8SPDIFRX channel status register (SPDIFRX_CSR)4733
82.5.9SPDIFRX debug information register (SPDIFRX_DIR)4733
82.5.10SPDIFRX version register (SPDIFRX_VERR)4734
82.5.11SPDIFRX identification register (SPDIFRX_IPIDR)4734
82.5.12SPDIFRX size identification register (SPDIFRX_SIDR)4735
82.5.13SPDIFRX interface register map4735
83Controller area network with flexible data rate (FDCAN)4737
83.1Introduction4737
83.2FDCAN main features4740
83.3FDCAN implementation4740
83.4FDCAN functional description4741
83.4.1Operating modes4742
83.4.2Error management4751
83.4.3Message RAM .....4751
83.4.4FIFO acknowledge handling .....4763
83.4.5Bit timing .....4764
83.4.6Clock calibration on CAN .....4765
83.4.7Application .....4769
83.4.8TTCAN operations (FDCAN1 only) .....4770
83.4.9TTCAN configuration .....4771
83.4.10Message scheduling .....4773
83.4.11TTCAN gap control .....4780
83.4.12Stop watch .....4781
83.4.13Local time, cycle time, global time,
and external clock synchronization .....
4781
83.4.14TTCAN error level .....4784
83.4.15TTCAN message handling .....4785
83.4.16TTCAN interrupt and error handling .....4788
83.4.17Level 0 .....4789
83.4.18Synchronization to external time schedule .....4791
83.4.19FDCAN Rx buffer and FIFO element .....4792
83.4.20FDCAN Tx buffer element .....4794
83.4.21FDCAN Tx event FIFO element .....4796
83.4.22FDCAN standard message ID filter element .....4797
83.4.23FDCAN extended message ID filter element .....4799
83.4.24FDCAN trigger memory element .....4800
83.5FDCAN registers .....4802
83.5.1FDCAN core release register (FDCAN_CREL) .....4802
83.5.2FDCAN Endian register (FDCAN_ENDN) .....4802
83.5.3FDCAN data bit timing and prescaler register (FDCAN_DBTP) ....4802
83.5.4FDCAN test register (FDCAN_TEST) .....4803
83.5.5FDCAN RAM watchdog register (FDCAN_RWD) .....4804
83.5.6FDCAN CC control register (FDCAN_CCCR) .....4805
83.5.7FDCAN nominal bit timing and prescaler register (FDCAN_NBTP) .4807
83.5.8FDCAN timestamp counter configuration register (FDCAN_TSCC) .4808
83.5.9FDCAN timestamp counter value register (FDCAN_TSCV) .....4808
83.5.10FDCAN timeout counter configuration register (FDCAN_TOCC) ...4809
83.5.11FDCAN timeout counter value register (FDCAN_TOCV) .....4810
83.5.12FDCAN error counter register (FDCAN_ECR) .....4810
83.5.13FDCAN protocol status register (FDCAN_PSR) .....4811
83.5.14FDCAN transmitter delay compensation register (FDCAN_TDCR) ..4813
83.5.15FDCAN interrupt register (FDCAN_IR) .....4813
83.5.16FDCAN interrupt enable register (FDCAN_IE) .....4816
83.5.17FDCAN interrupt line select register (FDCAN_ILS) .....4818
83.5.18FDCAN interrupt line enable register (FDCAN_ILE) .....4819
83.5.19FDCAN global filter configuration register (FDCAN_GFC) .....4820
83.5.20FDCAN standard ID filter configuration register (FDCAN_SIDFC) ..4821
83.5.21FDCAN extended ID filter configuration register (FDCAN_XIDFC) ..4822
83.5.22FDCAN extended ID and mask register (FDCAN_XIDAM) .....4822
83.5.23FDCAN high priority message status register (FDCAN_HPMS) ....4823
83.5.24FDCAN new data 1 register (FDCAN_NDAT1) .....4824
83.5.25FDCAN new data 2 register (FDCAN_NDAT2) .....4824
83.5.26FDCAN Rx FIFO 0 configuration register (FDCAN_RXF0C) .....4825
83.5.27FDCAN Rx FIFO 0 status register (FDCAN_RXF0S) .....4825
83.5.28FDCAN Rx FIFO 0 acknowledge register (FDCAN_RXF0A) .....4826
83.5.29FDCAN Rx buffer configuration register (FDCAN_RXBC) .....4827
83.5.30FDCAN Rx FIFO 1 configuration register (FDCAN_RXF1C) .....4827
83.5.31FDCAN Rx FIFO 1 status register (FDCAN_RXF1S) .....4828
83.5.32FDCAN Rx FIFO 1 acknowledge register (FDCAN_RXF1A) .....4829
83.5.33FDCAN Rx buffer element size configuration register
(FDCAN_RXESC) .....
4829
83.5.34FDCAN Tx buffer configuration register (FDCAN_TXBC) .....4830
83.5.35FDCAN Tx FIFO/queue status register (FDCAN_TXFQS) .....4831
83.5.36FDCAN Tx buffer element size configuration register
(FDCAN_TXESC) .....
4832
83.5.37FDCAN Tx buffer request pending register (FDCAN_TXBRP) ....4833
83.5.38FDCAN Tx buffer add request register (FDCAN_TXBAR) .....4833
83.5.39FDCAN Tx buffer cancellation request register (FDCAN_TXBCR) ..4834
83.5.40FDCAN Tx buffer transmission occurred register (FDCAN_TXBTO)4834
83.5.41FDCAN Tx buffer cancellation finished register (FDCAN_TXBCF) ..4835
83.5.42FDCAN Tx buffer transmission interrupt enable register
(FDCAN_TXBTIE) .....
4835
83.5.43FDCAN Tx buffer cancellation finished interrupt enable register
(FDCAN_TXBCIE) .....
4836
83.5.44FDCAN Tx event FIFO configuration register (FDCAN_TXEFC) ...4836
83.5.45FDCAN Tx event FIFO status register (FDCAN_TXEFS) .....4837
83.5.46FDCAN Tx event FIFO acknowledge register (FDCAN_TXEFA) ...4838
83.5.47FDCAN register map .....4838
83.6TTCAN registers .....4842
83.6.1FDCAN TT trigger memory configuration register (FDCAN_TTTMC) .....4842
83.6.2FDCAN TT reference message configuration register (FDCAN_TTRMC) .....4842
83.6.3FDCAN TT operation configuration register (FDCAN_TTOCF) .....4843
83.6.4FDCAN TT matrix limits register (FDCAN_TTMLM) .....4845
83.6.5FDCAN TUR configuration register (FDCAN_TURCF) .....4846
83.6.6FDCAN TT operation control register (FDCAN_TTOCN) .....4847
83.6.7FDCAN TT global time preset register (FDCAN_TTGTP) .....4849
83.6.8FDCAN TT time mark register (FDCAN_TTTMK) .....4849
83.6.9FDCAN TT interrupt register (FDCAN_TTIR) .....4850
83.6.10FDCAN TT interrupt enable register (FDCAN_TTIE) .....4852
83.6.11FDCAN TT interrupt line select register (FDCAN_TTILS) .....4854
83.6.12FDCAN TT operation status register (FDCAN_TTOST) .....4855
83.6.13FDCAN TUR numerator actual register (FDCAN_TURNA) .....4857
83.6.14FDCAN TT local and global time register (FDCAN_TTLGT) .....4858
83.6.15FDCAN TT cycle time and count register (FDCAN_TTCTC) .....4858
83.6.16FDCAN TT capture time register (FDCAN_TTCPT) .....4859
83.6.17FDCAN TT cycle sync mark register (FDCAN_TTCSM) .....4859
83.6.18FDCAN TT trigger select register (FDCAN_TTTS) .....4860
83.6.19FDCAN TT register map .....4860
83.7CCU registers .....4862
83.7.1Clock calibration unit core release register (FDCAN_CCU_CREL) ..4862
83.7.2Calibration configuration register (FDCAN_CCU_CCFG) .....4862
83.7.3Calibration status register (FDCAN_CCU_CSTAT) .....4864
83.7.4Calibration watchdog register (FDCAN_CCU_CWD) .....4864
83.7.5Clock calibration unit interrupt register (FDCAN_CCU_IR) .....4865
83.7.6Clock calibration unit interrupt enable register (FDCAN_CCU_IE) ..4866
83.7.7CCU register map .....4866
84USB subsystem (USBSS) .....4868
84.1Overview .....4868
84.2USB2 host high-speed port (USBH + USB2PHY1) .....4869
84.2.1USB2 host high-speed port main features .....4869
84.2.2USB2 host high-speed port implementation .....4869
84.2.3USB2 host high-speed port functional description .....4870
84.2.4USB2 host high-speed port interrupts4873
84.2.5USB2 host high-speed port programmable parameters4873
84.2.6Connections to SYSCFG4874
84.3USB3 DRD port (USB3DR + USB2PHY2 + COMBOPHY)4876
84.3.1USB3 DRD (dual-role data) port main features4876
84.3.2USB3 DRD port functional description4878
84.3.3USB3 DRD port interrupts4881
84.3.4USB3 DRD port programmable parameters4882
84.3.5Connections to SYSCFG4886
84.4USB Type-C and power delivery interface4889
84.4.1USB Type-C and power delivery interface main features4889
84.4.2USB Type-C and power delivery interface implementation4890
84.4.3USB Type-C and power delivery interface functional description4891
84.4.4USB Type-C and power delivery interrupts4892
84.4.5Need for an ADC channel4893
85USB3 xHCI SuperSpeed dual role controller (USB3DR)4894
85.1Introduction4894
85.2USB3DR main features4894
85.3USB3DR functional description4895
85.3.1USB3DR block diagram4895
85.4USB3DR registers4896
85.4.1xHCI registers4896
85.4.2Global register block4897
85.4.3Device register block4967
85.4.4Battery charger register block4982
85.4.5Link register block4984
85.4.6USB3DR register map4987
86USB2 EHCI/OHCI high/full/low-speed host controller (USBH)4997
86.1Introduction4997
86.2USBH main features4997
86.3USBH functional description4998
86.3.1USBH block diagram4998
86.3.2Description of USBH packet buffer4998
86.3.3Description of USBH root hub4998
86.4USBH interrupts4999
86.5USBH registers4999
86.5.1USBH OHCI standard registers4999
86.5.2USBH OHCI implementation register #6
(USBH_OHCI_INSNREG06)
5000
86.5.3USBH OHCI implementation register #7
(USBH_OHCI_INSNREG07)
5001
86.5.4USBH EHCI standard registers5001
86.5.5USBH EHCI implementation register #1
(USBH_EHCI_INSNREG01)
5002
86.5.6USBH EHCI implementation register #2
(USBH_EHCI_INSNREG02)
5003
86.5.7USBH EHCI implementation register #3
(USBH_EHCI_INSNREG03)
5003
86.5.8USBH EHCI implementation register #4
(USBH_EHCI_INSNREG04)
5005
86.5.9USBH EHCI implementation register #5
(USBH_EHCI_INSNREG05)
5006
86.5.10USBH EHCI implementation register #6
(USBH_EHCI_INSNREG06)
5007
86.5.11USBH EHCI implementation register #7
(USBH_EHCI_INSNREG07)
5007
86.5.12USBH register map5008
87USB Type-C®/USB Power Delivery interface (UCPD)5012
87.1Introduction5012
87.2UCPD main features5012
87.3UCPD implementation5013
87.4UCPD functional description5013
87.4.1UCPD block diagram5014
87.4.2UCPD reset and clocks5015
87.4.3Physical layer protocol5015
87.4.4UCPD BMC transmitter5022
87.4.5UCPD BMC receiver5023
87.4.6UCPD Type-C pull-ups (Rp) and pull-downs (Rd)5025
87.4.7UCPD Type-C voltage monitoring and de-bouncing5025
87.4.8UCPD DMA Interface5026
87.4.9Wake-up from Stop mode5026
87.5UCPD programming sequences5026
87.5.1Initialization phase .....5026
87.5.2Type-C state machine handling .....5026
87.5.3USB PD transmit .....5028
87.5.4USB PD receive .....5029
87.5.5UCPD software trimming .....5030
87.6UCPD low-power modes .....5030
87.7UCPD interrupts .....5031
87.8UCPD registers .....5032
87.8.1UCPD configuration register 1 (UCPD_CFGR1) .....5032
87.8.2UCPD configuration register 2 (UCPD_CFGR2) .....5034
87.8.3UCPD configuration register 3 (UCPD_CFGR3) .....5034
87.8.4UCPD control register (UCPD_CR) .....5035
87.8.5UCPD interrupt mask register (UCPD_IMR) .....5037
87.8.6UCPD status register (UCPD_SR) .....5039
87.8.7UCPD interrupt clear register (UCPD_ICR) .....5042
87.8.8UCPD Tx ordered set type register (UCPD_TX_ORDSETR) .....5043
87.8.9UCPD Tx payload size register (UCPD_TX_PAYSZR) .....5043
87.8.10UCPD Tx data register (UCPD_TXDR) .....5044
87.8.11UCPD Rx ordered set register (UCPD_RX_ORDSETR) .....5044
87.8.12UCPD Rx payload size register (UCPD_RX_PAYSZR) .....5045
87.8.13UCPD receive data register (UCPD_RXDR) .....5046
87.8.14UCPD Rx ordered set extension register 1
(UCPD_RX_ORDEXTR1) .....
5046
87.8.15UCPD Rx ordered set extension register 2
(UCPD_RX_ORDEXTR2) .....
5047
87.8.16UCPD version register (UCPD_VERR) .....5047
87.8.17UCPD identification register (UCPD_IPIDR) .....5048
87.8.18UCPD size identification register (UCPD_SIDR) .....5048
87.8.19UCPD register map .....5048
88PCIE subsystem (PCIESS) .....5051
88.1Introduction .....5051
88.2Main features .....5051
88.3Functional description .....5052
88.3.1Block diagram .....5052
88.3.2ePTM .....5052
88.4PCIESS registers .....5054
89PCIe® dual mode gen2 controller (PCIE)5055
89.1PCIe introduction5055
89.2PCIe main features5055
89.3PCIe functional description5056
89.3.1PCIe block diagram5056
90Combo PHY (COMBOPHY)5057
90.1Introduction5057
90.2COMBOPHY main features5057
90.3COMBOPHY functional description5058
90.3.1COMBOPHY block diagram5059
90.3.2COMBOPHY reference clock5059
90.4COMBOPHY registers5060
90.4.1COMBOPHY MPLL loop control register
(COMBOPHY_MPLL_LOOP_CTL_CR)
5060
90.4.2COMBOPHY register map5060
91Ethernet subsystem overview (ETHSS)5061
91.1Introduction5061
91.2ETHSS main features5061
91.3ETHSS functional description5061
91.3.1ETHSS block diagram5061
91.3.2ETHSS pins and internal signals5062
91.3.3ETHSS clocks5066
92Ethernet (ETH): gigabit media access control
(GMAC) with DMA controller
5067
92.1Ethernet introduction5067
92.2Ethernet main features5067
92.2.1Standard compliance5067
92.2.2MAC features5067
92.2.3Transaction layer (MTL) features5069
92.2.4DMA block features5070
92.2.5Bus interface features5071
92.2.6Audio and video features5072
92.2.7Time sensitive networking features5072
92.2.8Generic queuing features .....5072
92.3Ethernet pins and internal signals .....5072
92.4Ethernet architecture .....5074
92.4.1DMA controller .....5076
92.4.2MTL .....5083
92.4.3MAC .....5083
92.4.4Multiple channels and queues support .....5088
92.5Ethernet functional description: MAC .....5100
92.5.1Double VLAN processing .....5100
92.5.2Source address and VLAN insertion, replacement, or deletion .....5101
92.5.3Queue/channel-based VLAN tag insertion on Tx .....5102
92.5.4Packet filtering .....5103
92.5.5IEEE 1588 timestamp support .....5115
92.5.6Time sensitive networking (TSN) .....5141
92.5.7Checksum offload engine .....5170
92.5.8TCP segmentation offload .....5176
92.5.9IPv4 ARP offload .....5182
92.5.10Loopback .....5183
92.5.11Flow control .....5184
92.5.12MAC management counters .....5188
92.5.13Interrupts generated by the MAC .....5191
92.5.14MAC and MMC register descriptions .....5191
92.6Ethernet functional description: PHY interfaces .....5192
92.6.1Station management agent (SMA) .....5192
92.6.2Media independent interface (MII) .....5199
92.6.3Reduced media independent interface (RMII) .....5200
92.6.4Reduced gigabit media independent interface (RGMII) .....5203
92.7Ethernet low-power modes .....5206
92.7.1Low-power management .....5206
92.7.2Energy Efficient Ethernet (EEE) .....5212
92.8Ethernet interrupts .....5218
92.8.1DMA interrupts .....5218
92.8.2MTL interrupts .....5219
92.8.3MAC Interrupts .....5220
92.9Ethernet programming model .....5221
92.9.1DMA initialization .....5221
92.9.2MTL initialization5222
92.9.3MAC initialization5223
92.9.4Performing normal receive and transmit operation5223
92.9.5Stopping and starting transmission5224
92.9.6Programming guidelines for switching to new descriptor list
in RxDMA
5225
92.9.7Programming guidelines for switching the AXI clock frequency5225
92.9.8Programming guidelines for multichannel multiqueue operation5225
92.9.9Programming guidelines for GMII link state transitions5228
92.9.10Programming guidelines for IEEE 1588 timestamping5229
92.9.11Programming guidelines for PTP offload feature5230
92.9.12Programming guidelines for AV feature5234
92.9.13Programming guidelines for Energy Efficient Ethernet (EEE)5236
92.9.14Programming guidelines for flexible pulse-per-second (PPS) output5237
92.9.15Programming guidelines for IEEE 1588 auxiliary snapshot5240
92.9.16Programming guidelines for TSO5240
92.9.17Programming guidelines to perform VLAN filtering on the receiver5241
92.9.18Programming guidelines for extended VLAN filtering
and routing on reception
5242
92.9.19Programming sequence for queue/channel-
based VLAN inclusion register
5242
92.9.20Programming guidelines for EST5243
92.9.21Programming the launch time in time-based scheduling5245
92.9.22Enabling the frame preemption function5245
92.10Descriptors5246
92.10.1Descriptor overview5246
92.10.2Descriptor structure5247
92.10.3Transmit descriptor5250
92.10.4Receive descriptor5263
92.10.5Enhanced descriptor for time-based scheduling5276
92.11Ethernet registers5280
92.11.1Ethernet register maps5280
92.11.2Ethernet DMA registers5280
92.11.3Ethernet MTL registers5317
92.11.4Ethernet MAC and MMC registers5352
93Ethernet switch (ETHSW)5517
93.1Introduction5517
93.2ETHSW main features5517
93.3ETHSW functional description5517
93.3.1ETHSW block diagram5517
93.3.2ETHSW pins and internal signals5519
93.3.3ETHSW reset and clocks5521
93.3.4FES Ethernet switch5521
93.3.5FRTC5567
93.3.6FSC5567
93.3.7FPTS5571
93.3.8AC5572
93.3.9IBC5574
93.3.10AHB2Avalon5574
93.3.11Ethernet interface adapters (EIA)5577
93.3.12Bibliography5579
93.4ETHSW interrupts5580
93.5ETHSW registers5580
93.5.1ETHSW registers maps5580
93.5.2ETHSW AC registers5582
93.5.3ETHSW IBC registers5586
93.5.4ETHSW FTPS registers5591
93.5.5ETHSW FRTC registers5595
93.5.6ETHSW FSC registers5603
93.5.7ETHSW FES registers5616
93.5.8ETHSW EIA registers5702
93.5.9ETHSW register map5705
94Ethernet switch acceleration module (ETHSW_ACM)5734
94.1Introduction5734
94.2ETHSW_ACM main features5734
94.3ETHSW_ACM application example5735
94.4ETHSW_ACM functional description5736
94.4.1ETHSW_ACM block diagram5736
94.4.2ETHSW_ACM pins5738
94.4.3ETHSW_ACM clocks5738
94.4.4Frame format5738
94.4.5Bypass module overview5741
94.4.6Schedule module overview5742
94.4.7Redundancy functionality overview5743
94.5Bibliography5744
94.6ETHSW_ACM registers5745
95Hardware debug port (HDP)5746
95.1HDP main features5746
95.2Functional description5746
95.3HDP registers5748
95.3.1HDP control register (HDP_CTRL)5748
95.3.2HDP multiplexer control register (HDP_MUX)5748
95.3.3HDP read back value register (HDP_VAL)5749
95.3.4HDP general purpose output set register (HDP_GPOSET)5749
95.3.5HDP general purpose output clear register (HDP_GPOCLR)5749
95.3.6HDP general purpose output value register (HDP_GPOVAL)5750
95.3.7HDP version register (HDP_VERR)5750
95.3.8HDP identification register (HDP_IPIDR)5751
95.3.9HDP size identification register (HDP_SIDR)5751
95.3.10HDP register map5751
96Software error robustness collector (SERC)5753
96.1Introduction5753
96.2SERF main features5753
96.3SERF functional description5753
96.3.1SERF block diagram5753
96.3.2SERF key internal signals5755
96.3.3SERF resets and clocks5755
96.3.4Functionality and programming model5755
96.4SERF low-power modes5761
96.5SERC interrupts5761
96.6SERC registers5762
96.6.1SERC interrupt enable register 0 (SERC_IER0)5762
96.6.2SERC interrupt enable register 1 (SERC_IER1)5763
96.6.3SERC interrupt enable register 2 (SERC_IER2)5763
96.6.4SERC interrupt enable register 3 (SERC_IER3)5764
96.6.5SERC interrupt enable register 4 (SERC_IER4)5764
96.6.6SERC interrupt enable register 5 (SERC_IER5) . . . . .5764
96.6.7SERC interrupt status register 0 (SERC_ISR0) . . . . .5765
96.6.8SERC interrupt status register 1 (SERC_ISR1) . . . . .5765
96.6.9SERC interrupt status register 2 (SERC_ISR2) . . . . .5766
96.6.10SERC interrupt status register 3 (SERC_ISR3) . . . . .5766
96.6.11SERC interrupt status register 4 (SERC_ISR4) . . . . .5766
96.6.12SERC interrupt status register 5 (SERC_ISR5) . . . . .5767
96.6.13SERC interrupt clear register 0 (SERC_ICR0) . . . . .5767
96.6.14SERC interrupt clear register 1 (SERC_ICR1) . . . . .5768
96.6.15SERC interrupt clear register 2 (SERC_ICR2) . . . . .5768
96.6.16SERC interrupt clear register 3 (SERC_ICR3) . . . . .5768
96.6.17SERC interrupt clear register 4 (SERC_ICR4) . . . . .5769
96.6.18SERC interrupt clear register 5 (SERC_ICR5) . . . . .5769
96.6.19SERC enable (SERC_ENABLE) . . . . .5770
96.6.20SERC hardware configuration register (SERC_HWCFGR) . . . . .5770
96.6.21SERC version register (SERC_VERR) . . . . .5771
96.6.22SERC identification register (SERC_IPIDR) . . . . .5771
96.6.23SERC size identification register (SERC_SIDR) . . . . .5771
96.6.24SERC register map . . . . .5772
97Debug support (DBG) . . . . .5774
97.1DBG introduction . . . . .5774
97.2DBG use cases . . . . .5775
97.3DBG block diagram . . . . .5776
97.4DBG pins . . . . .5777
97.5DBG power and clocking . . . . .5777
97.5.1DBG power domains . . . . .5777
97.5.2DBG clocks . . . . .5778
97.5.3Debug and low-power modes . . . . .5779
97.5.4Debug reset . . . . .5779
97.6Security . . . . .5780
97.6.1Authentication signals . . . . .5780
97.7Chip-level TAP controller (CLTAPC) . . . . .5781
97.8Serial-wire and JTAG debug port (SWJ-DP) . . . . .5782
97.8.1JTAG debug port . . . . .5782
97.8.2SWD debug port . . . . .5783
97.9Access ports .....5783
97.9.1Authentication .....5784
97.10System debug features .....5784
97.10.1System ROM tables .....5785
97.10.2CoreSight global timestamp generator (TSGEN) .....5788
97.10.3Cross trigger interface (CTI) and matrix (CTM) .....5789
97.10.4Trace funnel (CSTF) .....5797
97.10.5Embedded trace FIFO (ETF) .....5797
97.10.6Embedded trace router (ETR) .....5798
97.10.7Trace port interface unit (TPIU) .....5799
97.10.8Replicator .....5799
97.10.9Serial-wire output (SWO) .....5800
97.10.10System trace macrocell (STM) .....5800
97.10.11Microcontroller debug unit (DBGMCU) .....5807
97.11Cortex-A35 debug features .....5828
97.11.1Cortex-A35 debug unit .....5828
97.11.2Cortex-A35 performance monitoring unit (PMU) .....5828
97.11.3Embedded trace macrocell (ETM) .....5829
97.11.4Cross trigger interface (CTI) .....5829
97.12Cortex-M33 debug features .....5830
97.12.1ROM tables .....5830
97.12.2Data watchpoint and trace unit (DWT) .....5831
97.12.3Instrumentation trace macrocell (ITM) .....5832
97.12.4Breakpoint unit (FPB) .....5833
97.12.5Embedded trace macrocell (ETM) .....5833
97.12.6Cross trigger interface (CTI) .....5833
97.13Cortex-M0+ debug features .....5833
97.13.1Single-wire debug interface .....5833
97.13.2ROM tables .....5834
97.13.3Data watchpoint and trace unit (DWT) .....5835
97.13.4Breakpoint unit (BPU) .....5835
97.13.5Cross trigger interface (CTI) .....5835
97.14References .....5836
98Device electronic signature .....5837
98.1Unique device ID register (96 bits) (UID) .....5837
98.2Device part number (RPN) .....5838
98.3Device version .....5839
98.4Package data register (PKG) .....5840
99Important security notice .....5841
100Revision history .....5842

List of tables

Table 1.STNoC routing of the DDR traffic . . . . .215
Table 2.Connectivity matrix . . . . .217
Table 3.STNoC master port main characteristics . . . . .222
Table 4.Slave port main characteristics . . . . .223
Table 5.MLAHB400 master port main characteristics . . . . .225
Table 6.MLAHB400 target port main characteristics . . . . .226
Table 7.MLAHB200 master port main characteristics . . . . .226
Table 8.MLAHB200 slave ports main characteristics . . . . .227
Table 9.Register boundary addresses for Cortex-A35 (CPU1)
and Cortex-M33 (CPU2) . . . . .
230
Table 10.Register boundary addresses for Cortex-M0+ (CPU3) . . . . .249
Table 11.Cortex-A35 subsystem configuration . . . . .251
Table 12.Cortex-A35 subsystem reset sources . . . . .252
Table 13.CA35SS SYSCFG register map and reset value . . . . .263
Table 14.Mapping SSC registers to secure flag register . . . . .266
Table 15.CA35SS SSC register map and reset value . . . . .273
Table 16.GICV2M register map and reset values . . . . .277
Table 17.Cortex-M33 reset sources . . . . .280
Table 18.IDAU partitioning . . . . .282
Table 19.Memory partitioning . . . . .283
Table 20.Overview of RIF core components . . . . .289
Table 21.Interrupt connection types . . . . .293
Table 22.Access-type definitions for Arm TrustZone cores . . . . .293
Table 23.RIF illegal access definitions (security) . . . . .293
Table 24.RIF illegal access definitions (privilege) . . . . .294
Table 25.RIF illegal access definitions (compartments) . . . . .294
Table 26.BSEC internal input/output signals . . . . .300
Table 27.BSEC resets . . . . .301
Table 28.BSEC initial status reporting structure . . . . .305
Table 29.BSEC ad-hoc error/status reporting structure . . . . .306
Table 30.BSEC states definition . . . . .307
Table 31.Debug and trace profiles . . . . .310
Table 32.BSEC register map and reset values . . . . .326
Table 33.STM32MP23/25xx OTP mapping . . . . .329
Table 34.STM32MP23/25xx OTP fuse description (lower OTP region) . . . . .334
Table 35.STM32MP23/25xx OTP fuse description (mid OTP region) . . . . .343
Table 36.STM32MP23/25xx OTP fuse description (upper OTP region) . . . . .344
Table 37.RIMU resource assignment . . . . .347
Table 38.Indexes for non-RIF-aware peripherals (RISUP) . . . . .348
Table 39.Indexes for RIF-aware peripherals (with RCC control index) . . . . .349
Table 40.RISAL resource assignment (SmartRun domain) . . . . .350
Table 41.RIMU internal input/output signal . . . . .353
Table 42.RISUP internal input/output signals . . . . .353
Table 43.RISAL internal input/output signals . . . . .353
Table 44.DAP compartment ID allocation . . . . .354
Table 45.RIFSC register map and reset values . . . . .372
Table 46.RISAB resource assignment . . . . .375
Table 47.RISAB internal input/output signals . . . . .376
Table 48.RISAB register map and reset values. ....390
Table 49.RISAF resource assignment. ....393
Table 50.RISAF internal input/output signals. ....394
Table 51.RISAF subregion security setup matrix. ....396
Table 52.RISAF register map and reset values. ....416
Table 53.IAC internal signals. ....420
Table 54.IAC interrupt request. ....421
Table 55.IAC register map and reset values. ....425
Table 56.Frequency values for the DDRSS clocks versus data rate versus
DDR JEDEC standard. ....
428
Table 57.List of observable signals sent directly to HDP. ....432
Table 58.List of observable signals selectable and sent to HDP. ....433
Table 59.Detailed AC swizzling register values. ....441
Table 60.DDRSS register map and reset values. ....445
Table 61.DDRCTRL register map and reset values. ....552
Table 62.Function of DDRPHYC pins versus DDR protocol. ....571
Table 63.DDRPHYC register map and reset values. ....703
Table 64.Signals coming from DFI command-address decoder. ....742
Table 65.Signals monitored at performance logging interface (provided by DDRCTRL). ....743
Table 66.Events generated by the DFI command address decoder. ....745
Table 67.Filtering policy. ....750
Table 68.DDRPERFM register map and reset values. ....756
Table 69.Internal SRAM features. ....759
Table 70.Internal SRAM hardware erase feature. ....759
Table 71.Effect of low-power modes on RAMCFG. ....762
Table 72.RAMCFG interrupt requests. ....762
Table 73.RAMCFG register map and reset values. ....788
Table 74.ICACHE features. ....794
Table 75.TAG memory dimensioning parameters
for n-way set associative operating mode (default). ....
796
Table 76.TAG memory dimensioning parameters for direct-mapped cache mode. ....797
Table 77.ICACHE cacheability for AHB transaction. ....799
Table 78.Memory configurations. ....799
Table 79.ICACHE remap region size, base address and remap address. ....800
Table 80.ICACHE interrupts. ....804
Table 81.ICACHE register map and reset values. ....812
Table 82.DCACHE features. ....815
Table 83.TAG memory dimensioning parameters. ....818
Table 84.DCACHE cacheability for AHB transaction. ....820
Table 85.DCACHE interrupts. ....825
Table 86.DCACHE register map and reset values. ....833
Table 87.PWR pin overview. ....837
Table 88.\(V_{DDCPU}/V_{DDGPU}/V_{DDCORE}\) voltage levels (for reference only). ....840
Table 89.Available functions in backup domain. ....850
Table 90.CPU1 low-power mode summary. ....866
Table 91.CPU2 low-power mode summary. ....867
Table 92.CPU3 low-power mode summary. ....867
Table 93.System low-power modes. ....868
Table 94.Functionalities depending on system operating mode. ....869
Table 95.External regulators control. ....873
Table 96.PDD low-power mode control. ....874
Table 97.Low-power mode exit flags. ....876
Table 98.CPU1 CSleep mode881
Table 99.CPU2 CSleep mode881
Table 100.CPU3 CSleep mode882
Table 101.CPU1 CStop mode883
Table 102.CPU2 CStop mode883
Table 103.CPU3 CStop mode883
Table 104.D1 DStop1 mode884
Table 105.D1 DStandby mode885
Table 106.Stop1 mode886
Table 107.Stop2 mode887
Table 108.LP-Stop1 mode888
Table 109.LPLV-Stop1 mode888
Table 110.LP-Stop2 mode889
Table 111.LPLV-Stop2 mode889
Table 112.CPU1_HW_BEN and CPU2_HW_BEN management890
Table 113.Standby1 mode891
Table 114.Standby2 mode892
Table 115.VBAT modes893
Table 116.VBAT modes exit flags894
Table 117.PWR status flags896
Table 118.PWR register allocation to RIF resource and access conditions899
Table 119.PWR register map and reset values937
Table 120.Pin overview943
Table 121.IWDG timeout event combinations when TDCID = CPU1947
Table 122.IWDG timeout event combinations when TDCID = CPU2947
Table 123.Reset coverage summary951
Table 124.RCC registers with specific reset and specific voltages953
Table 125.RCC HWRSTSCLRR, RCC_C1HWRSTSCLRR, RCC_C2HWRSTSCLRR flags956
Table 126.First CPUx boot selection959
Table 127.HOLD_BOOT state control after system Standby exit961
Table 128.Oscillator states versus system modes966
Table 129.Root clock mapping984
Table 130.APB root clock mapping986
Table 131.HSI, MSI and HSE states versus system modes989
Table 132.Resources blocked during clock restore sequence994
Table 133.Kernel clock distribution overview996
Table 134.Ratio between clock timers and ck_icn_apbx999
Table 135.ADC kernel clock source selection1000
Table 136.Gating control of the APB clocks with ck_in_p_ddrc and ck_in_p_ddrphyc1002
Table 137.Gating control of ck_icn_s_ddr clock1003
Table 138.DDRCKMOD control description1003
Table 139.DDRC low-power states description1004
Table 140.Recommended configurations when DDR is not shared (DDRSHR = 0)1009
Table 141.Recommended configurations when DDR is shared (DDRSHR = 1)1009
Table 142.MCDCG control bit when DDR is not shared (DDRSHR = 0)1010
Table 143.MCDCG control bit when DDR is shared (DDRSHR = 1)1011
Table 144.DPHYCG control bit when DDR is not shared (DDRSHR = 0)1011
Table 145.DPHYCG control bit when DDR is shared (DDRSHR = 1)1012
Table 146.Shareable peripherals list1014
Table 147.Peripheral bus clock enabling logic1017
Table 148.Peripheral kernel clock enabling logic1019
Table 149.CPU1 mode details1021
Table 150.Bus clock enable details for ck_icn_ahbx with x = 2,5,6
and ck_icn_apby with y = 1,2,3,4,dbg. ....
1023
Table 151.Bus clock enable details for ck_icn_sdmmc, ck_icn_ddr, ck_icn_display,
ck_icn_hsl, ck_icn_nic, ck_icn_vid, ck_icn_ahb3, ck_icn_ahbsr, and ck_icn_ahb4. ....
1024
Table 152.Bus clock enable details for ck_icn_hs_mcu, ck_icn_ls_mcu,
ck_icn_hs_mlahb and ck_icn_ls_mlahb ....
1025
Table 153.FMC interface clocks from RCC ....1030
Table 154.Octo-SPI interface clocks from RCC ....1031
Table 155.Octo-SPI interface clocks from DLYBOS1 and DLYBOS2 ....1032
Table 156.SDMMC interface clocks from RCC ....1033
Table 157.SDMMC interface clocks from DLYBSD1/2/3. ....1034
Table 158.Ethernet clocks from RCC ....1037
Table 159.Ethernet clocks to/from I/Os ....1037
Table 160.Active I/O per mode (MII, RMII, RGMII) ....1038
Table 161.Ethernet MAC speed encoding. ....1040
Table 162.PCIE clocks from RCC ....1041
Table 163.PCIE clocks from HSE ....1041
Table 164.PCIE clocks from I/Os. ....1042
Table 165.COMBOPHY register programming - Reference clock. ....1043
Table 166.COMBOPHY register programming - SSC control. ....1043
Table 167.Cortex-A35 subsystem clocks from RCC ....1044
Table 168.Camera subsystem external clocks ....1045
Table 169.Camera subsystem internal clocks. ....1046
Table 170.Display subsystem external clocks. ....1047
Table 171.Display subsystem internal clocks. ....1048
Table 172.DPHY_PLL_X4TX internal clocks. ....1050
Table 173.VENC and VDEC subsystem clocks. ....1052
Table 174.GPU and NPU subsystem clocks. ....1053
Table 175.USB2 host port clocks from RCC and oscillator. ....1055
Table 176.USB2 host port clocks from USB2PHY1. ....1056
Table 177.USB3 DRD port clocks from RCC and oscillator. ....1057
Table 178.USB3 DRD port clocks from USB2PHY2 and USB3 PCIE COMBOPHY. ....1058
Table 179.USB3 PCIE COMBOPHY PLL control bits according to
reference clock frequency. ....
1059
Table 180.Spread-spectrum range. ....1059
Table 181.UCPD clocks from RCC. ....1060
Table 182.Interrupt sources and control. ....1063
Table 183.RCC register allocation to RIF resource and access conditions. ....1069
Table 184.RCC register map and reset values. ....1284
Table 185.HSEM internal input/output signals. ....1307
Table 186.Semaphore CID filtering. ....1313
Table 187.Semaphore attributes. ....1314
Table 188.Authorized bus master IDs. ....1315
Table 189.HSEM register map and reset values. ....1337
Table 190.IPCC features implementation. ....1342
Table 191.IPCC interface signals. ....1343
Table 192.Bits used for the communication. ....1344
Table 193.IPCC security modes. ....1350
Table 194.Access to channels. ....1351
Table 195.IPCC register map and reset values. ....1366
Table 196.Port x bit configurations. ....1369
Table 197.Secure AF between peripherals and allocated I/Os. ....1376
Table 198.GPIO protected bits . . . . .1377
Table 199.GPIO register map and reset values . . . . .1402
Table 200.SYSCFG register map and reset values. . . . .1477
Table 201.Peripherals interconnect matrix . . . . .1493
Table 202.Peripherals interconnect matrix details. . . . .1496
Table 203.Implementation of HPDMA1/2/3 channels . . . . .1519
Table 204.HPDMA1/2/3 autonomous mode and wake-up in low-power modes . . . . .1519
Table 205.Programmed HPDMA1/2/3 request . . . . .1520
Table 206.Programmed HPDMA1/2/3 request as a block request . . . . .1525
Table 207.HPDMA channel with peripheral early termination . . . . .1525
Table 208.Programmed HPDMA1/2/3 request with peripheral early termination . . . . .1526
Table 209.Programmed HPDMA1/2/3 trigger . . . . .1526
Table 210.Programmed HPDMA source/destination burst . . . . .1549
Table 211.Programmed data handling . . . . .1554
Table 212.Effect of low-power modes on HPDMA . . . . .1578
Table 213.HPDMA interrupt requests . . . . .1578
Table 214.HPDMA register map and reset values . . . . .1630
Table 215.LPDMA1 channels implementation. . . . .1635
Table 216.LPDMA1 autonomous mode and wake-up in low-power modes . . . . .1636
Table 217.Programmed LPDMA1 request. . . . .1636
Table 218.Programmed LPDMA1 request as a block request . . . . .1637
Table 219.LPDMA channel with peripheral early termination . . . . .1637
Table 220.Programmed LPDMA request with peripheral early termination. . . . .1637
Table 221.Programmed LPDMA1 trigger . . . . .1637
Table 222.Programmed LPDMA source/destination single. . . . .1657
Table 223.Programmed data handling . . . . .1658
Table 224.Effect of low-power modes on LPDMA. . . . .1671
Table 225.LPDMA interrupt requests . . . . .1671
Table 226.LPDMA register map and reset values. . . . .1710
Table 227.GPU register map and reset values . . . . .1729
Table 228.interrupt mapping for Cortex-M33. . . . .1735
Table 229.interrupt mapping for Cortex-M0+. . . . .1744
Table 230.Interrupt mapping for Cortex-A35 . . . . .1746
Table 231.GICD register map and reset values . . . . .1779
Table 232.GICC register map and reset values . . . . .1790
Table 233.GICH register map and reset values . . . . .1796
Table 234.GICV register map and reset values. . . . .1804
Table 235.EXTI implementation . . . . .1808
Table 236.EXTI signals . . . . .1809
Table 237.EVG signals . . . . .1810
Table 238.EXTI1 wake-up interrupts . . . . .1811
Table 239.EXTI2 wake-up interrupts . . . . .1814
Table 240.EXTI event input configurations and register control . . . . .1817
Table 241.Masking functionality . . . . .1819
Table 242.Register protection overview . . . . .1820
Table 243.Register protection hierarchy overview. . . . .1822
Table 244.EXTIx register map sections. . . . .1822
Table 245.EXTI1 register map and reset values . . . . .1910
Table 246.EXTI2 register map and reset values . . . . .1914
Table 247.CRC internal input/output signals . . . . .1920
Table 248.CRC register map and reset values . . . . .1926
Table 249.FMC interface interrupts . . . . .1930
Table 250.256-Mbyte allocation between OCTOSPI1 and OCTOSPI2. ....1933
Table 251.RX and TX delays in lock mode .....1936
Table 252.Number of delay elements enabled in each delay unit. ....1936
Table 253.Octo-SPI interface interrupts .....1937
Table 254.OCTOSPI1 CS mapping when MUXEN = 0 and MODE = 0 .....1937
Table 255.OCTOSPI2 CS mapping when MUXEN = 0 and MODE = 0 .....1937
Table 256.OCTOSPI1 CS mapping when MUXEN = 0 and MODE = 1 .....1938
Table 257.OCTOSPI2 CS mapping when MUXEN = 0 and MODE = 1 .....1938
Table 258.OCTOSPI CS mapping when MUXEN = 1 and MODE = 0 .....1939
Table 259.OCTOSPI CS mapping when MUXEN = 1 and MODE = 1 .....1940
Table 260.DLYBOS1 SYSCFG bits. ....1942
Table 261.DLYBOS2 SYSCFG bits. ....1943
Table 262.OCTOSPI modes and recommended clock configuration .....1944
Table 263.SD/e•MMC interface interrupts .....1950
Table 264.DLYBSD1 SYSCFG bits. ....1950
Table 265.DLYBSD2 SYSCFG bits. ....1951
Table 266.DLYBSD3 SYSCFG bits. ....1952
Table 267.SD speed modes and recommended clock configuration .....1952
Table 268.e•MMC Speed modes and recommended clock configuration. ....1953
Table 269.FMC features .....1956
Table 270.FMC internal signals. ....1957
Table 271.FMC memory regions (default mapping) .....1959
Table 272.NOR/PSRAM subregion selection .....1959
Table 273.NOR/PSRAM External memory address .....1960
Table 274.NAND access memory map .....1960
Table 275.FMC RIF register properties and definitions. ....1962
Table 276.Programmable NOR/PSRAM access parameters .....1971
Table 277.Non-multiplexed I/O NOR flash memory. ....1971
Table 278.16-bit multiplexed I/O NOR flash memory .....1972
Table 279.Non-multiplexed I/Os PSRAM/SRAM. ....1972
Table 280.16-bit multiplexed I/O PSRAM .....1972
Table 281.NOR flash/PSRAM: Example of supported memories and transactions .....1973
Table 282.FMC_BCRx bitfields (mode 1) .....1977
Table 283.FMC_BTRx bitfields (mode 1) .....1977
Table 284.FMC_BCRx bitfields (mode A) .....1979
Table 285.FMC_BTRx bitfields (mode A) .....1980
Table 286.FMC_BWTRx bitfields (mode A) .....1980
Table 287.FMC_BCRx bitfields (mode 2/B) .....1982
Table 288.FMC_BTRx bitfields (mode 2/B) .....1983
Table 289.FMC_BWTRx bitfields (mode 2/B) .....1983
Table 290.FMC_BCRx bitfields (mode C) .....1985
Table 291.FMC_BTRx bitfields (mode C) .....1985
Table 292.FMC_BWTRx bitfields (mode C) .....1986
Table 293.FMC_BCRx bitfields (mode D) .....1987
Table 294.FMC_BTRx bitfields (mode D) .....1988
Table 295.FMC_BWTRx bitfields (mode D) .....1988
Table 296.FMC_BCRx bitfields (muxed mode) .....1990
Table 297.FMC_BTRx bitfields (muxed mode) .....1991
Table 298.FMC_BCRx bitfields (Synchronous multiplexed read mode) .....1996
Table 299.FMC_BTRx bitfields (Synchronous multiplexed read mode) .....1997
Table 300.FMC_BCRx bitfields (Synchronous multiplexed write mode) .....1998
Table 301.FMC_BTRx bitfields (Synchronous multiplexed write mode) .....1999
Table 302.Programmable NAND flash access parameters . . . . .2013
Table 303.8-bit NAND flash memory . . . . .2014
Table 304.16-bit NAND flash memory . . . . .2014
Table 305.Supported memories and transactions . . . . .2015
Table 306.Number of ECC parity bytes per sector . . . . .2020
Table 307.FMC NAND controller Interrupt request . . . . .2028
Table 308.HPR relevant bits . . . . .2034
Table 309.ECC result relevant bits . . . . .2035
Table 310.FMC register map . . . . .2053
Table 311.OCTOSPI implementation . . . . .2059
Table 312.OCTOSPI input/output pins . . . . .2061
Table 313.OCTOSPI internal signals . . . . .2061
Table 314.Command/address phase description . . . . .2070
Table 315.OctaRAM command address bit assignment
(based on 64-Mbyte OctaRAM) . . . . .
2081
Table 316.Address alignment cases . . . . .2088
Table 317.OCTOSPI interrupt requests . . . . .2089
Table 318.OCTOSPI register map and reset values . . . . .2114
Table 319.OCTOSPIM implementation . . . . .2118
Table 320.OCTOSPIM input/output pins . . . . .2119
Table 321.Use cases . . . . .2120
Table 322.OCTOSPIM register map and reset values . . . . .2128
Table 323.SDMMC features . . . . .2130
Table 324.SDMMC operation modes SD and SDIO . . . . .2133
Table 325.SDMMC operation modes eMMC . . . . .2133
Table 326.SDMMC internal input/output signals . . . . .2134
Table 327.SDMMC pins . . . . .2135
Table 328.SDMMC Command and data phase selection . . . . .2136
Table 329.Command token format . . . . .2142
Table 330.Short response with CRC token format . . . . .2143
Table 331.Short response without CRC token format . . . . .2143
Table 332.Long response with CRC token format . . . . .2143
Table 333.Specific Commands overview . . . . .2144
Table 334.Command path status flags . . . . .2145
Table 335.Command path error handling . . . . .2145
Table 336.Data token format . . . . .2153
Table 337.Data path status flags and clear bits . . . . .2153
Table 338.Data path error handling . . . . .2155
Table 339.Data FIFO access . . . . .2156
Table 340.Transmit FIFO status flags . . . . .2157
Table 341.Receive FIFO status flags . . . . .2159
Table 342.AHB and SDMMC_CK clock frequency relation . . . . .2163
Table 343.SDIO special operation control . . . . .2164
Table 344.4-bit mode Start, interrupt, and CRC-status Signaling detection . . . . .2168
Table 345.CMD12 use cases . . . . .2173
Table 346.Data block gap hardware flow control behavior . . . . .2185
Table 347.Hardware flow control selection . . . . .2185
Table 348.SDMMC interrupts . . . . .2189
Table 349.Response type and SDMMC_RESPxR registers . . . . .2196
Table 350.SDMMC register map . . . . .2214
Table 351.STM32MP23/25xx features . . . . .2217
Table 352.DLYB functional signals . . . . .2219
Table 353.SDMMC DLYB interconnections. ....2220
Table 354.OCTOSPI DLYB interconnections. ....2220
Table 355.ADC features. ....2225
Table 356.ADC input/output pins. ....2227
Table 357.ADC internal input/output signals. ....2227
Table 358.ADC1/2 interconnection. ....2227
Table 359.ADC3 interconnection. ....2230
Table 360.Configuring the trigger polarity for regular external triggers. ....2249
Table 361.Configuring the trigger polarity for injected external triggers. ....2250
Table 362.TSAR timings depending on resolution. ....2254
Table 363.Offset computation versus data resolution. ....2258
Table 364.12-bit data formats. ....2260
Table 365.Numerical examples for 32-bit or 16-bit format. ....2261
Table 366.Analog watchdog channel selection. ....2271
Table 367.Analog watchdog 1, 2, 3 comparison. ....2272
Table 368.Maximum output results versus N and M. ....2276
Table 369.Oversampler operating mode summary. ....2280
Table 370.DELAY bits versus ADC resolution. ....2281
Table 371.ADC interrupts. ....2284
Table 372.ADC register map and reset values for each ADC. ....2320
Table 373.ADC register map and reset values (master and slave ADC
common registers). ....
2323
Table 374.DTS internal input/output signals. ....2325
Table 375.SDA slave registers. ....2330
Table 376.SDA TS control register (SDATS_CR). ....2330
Table 377.SDA TS configuration register (SDATS_CFGR). ....2331
Table 378.SDA TS data register (SDATS_DR). ....2333
Table 379.SDA TS timer register (SDATS_TIMERR). ....2333
Table 380.Output resolution configuration. ....2339
Table 381.DTS interrupts. ....2340
Table 382.DTS register memory map. ....2341
Table 383.PVT common register map and reset values. ....2358
Table 384.PVT IRQ register map and reset values. ....2358
Table 385.DTS TSC clock synthesizer register map and reset values. ....2359
Table 386.DTS TS individual register map and reset values. ....2361
Table 387.VREFBUF typical values. ....2363
Table 388.VREF buffer modes. ....2364
Table 389.VREFBUF register map and reset values. ....2367
Table 390.MDF features. ....2369
Table 391.MDF external pins. ....2371
Table 392.MDF internal signals. ....2372
Table 393.MDF trigger connections. ....2372
Table 394.MDF break connections. ....2373
Table 395.MDF ADC data connections. ....2373
Table 396.Control of the common clock generation. ....2380
Table 397.Clock constraints with respect to the incoming stream. ....2381
Table 398.Data size according to CIC order and CIC decimation values. ....2388
Table 399.Maximum decimation ratio versus order and input data size. ....2389
Table 400.Possible gain values. ....2390
Table 401.Recommended maximum gain values versus CIC decimation ratios. ....2392
Table 402.Most common microphone settings. ....2392
Table 403.HPF 3 dB cut-off frequencies examples. ....2394
Table 404.Register protection summary . . . . .2415
Table 405.Effect of low-power modes on MDF . . . . .2416
Table 406.MDF interrupt requests . . . . .2418
Table 407.Examples of MDF settings for microphone capture . . . . .2419
Table 408.Programming sequence . . . . .2419
Table 409.Output signal levels . . . . .2426
Table 410.MDF register map and reset values . . . . .2452
Table 411.ADF features . . . . .2456
Table 412.ADF external pins . . . . .2457
Table 413.ADF internal signals . . . . .2457
Table 414.ADF trigger connections . . . . .2458
Table 415.Control of the common clock generation . . . . .2464
Table 416.Clock constraints with respect to the incoming stream . . . . .2465
Table 417.Data size according to CIC order and CIC decimation values . . . . .2470
Table 418.Possible gain values . . . . .2471
Table 419.Recommended maximum gain values
versus CIC decimation ratios . . . . .
2473
Table 420.Most common microphone settings . . . . .2474
Table 421.HPF 3 dB cut-off frequency examples . . . . .2476
Table 422.ANSLP values versus FRSIZE and sampling rates . . . . .2489
Table 423.Threshold values according SNTHR . . . . .2490
Table 424.Register protection summary . . . . .2496
Table 425.Effect of low-power modes on ADF . . . . .2497
Table 426.ADF interrupt requests . . . . .2498
Table 427.Examples of ADF settings for microphone capture . . . . .2499
Table 428.Programming sequence (CIC4) . . . . .2500
Table 429.Programming sequence (CIC5) . . . . .2501
Table 430.Output signal levels . . . . .2506
Table 431.ADF register map and reset values . . . . .2529
Table 432.Camera subsystem RIF peripheral ID . . . . .2537
Table 433.DCMI input/output pins . . . . .2543
Table 434.DCMI internal input/output signals . . . . .2543
Table 435.Positioning of captured data bytes in 32-bit words (8-bit width) . . . . .2545
Table 436.Positioning of captured data bytes in 32-bit words (10-bit width) . . . . .2545
Table 437.Positioning of captured data bytes in 32-bit words (12-bit width) . . . . .2545
Table 438.Positioning of captured data bytes in 32-bit words (14-bit width) . . . . .2546
Table 439.Data storage in monochrome progressive video format . . . . .2551
Table 440.Data storage in RGB progressive video format . . . . .2552
Table 441.Data storage in YCbCr progressive video format . . . . .2552
Table 442.Data storage in YCbCr progressive video format - Y extraction mode . . . . .2552
Table 443.DCMI interrupts . . . . .2553
Table 444.DCMI register map and reset values . . . . .2564
Table 445.Available pipelines . . . . .2566
Table 446.Glossary . . . . .2567
Table 447.DCMIPP input/output pads . . . . .2572
Table 448.DCMIPP input/output pins . . . . .2572
Table 449.DCMIPP clocks . . . . .2572
Table 450.DCMIPP resets . . . . .2573
Table 451.Parallel interface maximum resolution (80 MHz) . . . . .2574
Table 452.Supported pixel formats . . . . .2576
Table 453.DCMIPP_PRCR bit function . . . . .2580
Table 454.DCMIPP_PRESCR and DCMIPP PRESUR bit function . . . . .2581
Table 455.DCMIPP_CMTPGCR1 and DCMIPP_CMTPGCR2 bit function . . . . .2582
Table 456.DCMIPP_PxFCTCR bit function . . . . .2590
Table 457.DCMIPP_P0PPCR bit function . . . . .2593
Table 458.DCMIPP_P0DCCNTR and DCMIPP_P0DCLMTR bit function. . . . .2596
Table 459.DCMIPP_P1SRCR bit function . . . . .2598
Table 460.DCMIPP_P1BPRCR and DCMIPP_P1BPRSR bit function . . . . .2599
Table 461.DCMIPP_P1DECR bit function . . . . .2600
Table 462.DCMIPP_P1STyCR (y = 1, 2, 3), DCMIPP_P1STySR (y = 1, 2, 3),
DCMIPP_P1STSTR and DCMIPP_P1STSZR bit function . . . . .
2601
Table 463.Statistics extraction: collected data vs. modes . . . . .2603
Table 464.DCMIPP_P1BLCCR bit function . . . . .2605
Table 465.DCMIPP_P1EXCR1 and DCMIPP_P1EXCR2 bit function. . . . .2605
Table 466.DCMIPP_P1DMCR bit function . . . . .2607
Table 467.DCMIPP_P1CTCR1,2,3 bit function . . . . .2609
Table 468.DCMIPP_PxCCyy (yy = R0, R1, G0, G1, B0, B1) bit function . . . . .2610
Table 469.Color conversion: examples of coefficients . . . . .2611
Table 470.DCMIPP_PxCRSTR and DCMIPP_PxCRSZR bit function . . . . .2614
Table 471.DCMIPP_PxDCCR bit function . . . . .2615
Table 472.DCMIPP_PxDSCR, DCMIPP_PxDSTRIOR, DCMIPP_PxDSSZR. . . . .2616
Table 473.DCMIPP_PxPPCR bit function . . . . .2618
Table 474.Parallel interface input pixel formats. . . . .2631
Table 475.Correspondence between index and DCMIPP_PRCR register values. . . . .2632
Table 476.Parallel interface input pixel formats. . . . .2633
Table 477.Pixel pipe output pixel format . . . . .2633
Table 478.Dump pipe OUTPUT pixel formats . . . . .2635
Table 479.Shadow and physical registers . . . . .2642
Table 480.DCMIPP low power modes. . . . .2644
Table 481.DCMIPP interrupts . . . . .2647
Table 482.Event connection . . . . .2648
Table 483.DCMIPP registers organization . . . . .2649
Table 484.DCMIPP register map and reset values . . . . .2743
Table 485.Glossary of terms . . . . .2757
Table 486.Effect of low-power modes on CSI-2 Host controller . . . . .2776
Table 487.List of errors detected by the CSI-2 Host controller . . . . .2776
Table 488.List of events that trigger an interrupt . . . . .2777
Table 489.CSI-2 Host and PHY register map and reset values . . . . .2815
Table 490.PSSI input/output pins . . . . .2821
Table 491.PSSI internal input/output signals. . . . .2821
Table 492.Positioning of captured data bytes in 32-bit words (8-bit width) . . . . .2822
Table 493.Positioning of captured data bytes in 32-bit words (16-bit width) . . . . .2823
Table 494.PSSI interrupt requests. . . . .2826
Table 495.PSSI register map and reset values . . . . .2833
Table 496.Display subsystem RIF peripheral ID . . . . .2843
Table 497.LTDC pins. . . . .2853
Table 498.Clock domain for each register . . . . .2854
Table 499.LTDC register access and updated durations . . . . .2856
Table 500.Pixel data mapping versus color format . . . . .2859
Table 501.LTDC interrupt requests . . . . .2878
Table 502.LTDC register map and reset values . . . . .2916
Table 503.LVDS Data mapping for VESA and JEIDA. . . . .2929
Table 504.LVDS register map and reset values . . . . .3013
Table 505.DSI pins . . . . .3034
Table 506.DSI internal input/output signals . . . . .3034
Table 507.Location of color components in the LTDC interface . . . . .3037
Table 508.Multiplicity of the payload size in pixels, for each data type . . . . .3038
Table 509.Contention detection timeout counters configuration . . . . .3050
Table 510.List of events of different categories of the PRESP_TO counter . . . . .3051
Table 511.PRESP_TO counter configuration . . . . .3054
Table 512.Frame requirement configuration registers . . . . .3065
Table 513.RGB components . . . . .3067
Table 514.PLL regulation settings in function of the target frequency . . . . .3071
Table 515.PLL frequency range and timings vs. target frequency . . . . .3071
Table 516.DSI Wrapper interrupt requests . . . . .3074
Table 517.Error causes and recovery . . . . .3075
Table 518.DSI register map and reset values . . . . .3146
Table 519.VENC register map and reset values . . . . .3250
Table 520.VDEC register map and reset values . . . . .3297
Table 521.RNG internal input/output signals . . . . .3302
Table 522.RNG interrupt requests . . . . .3310
Table 523.RNG initialization times . . . . .3311
Table 524.RNG configurations . . . . .3311
Table 525.Configuration selection . . . . .3312
Table 526.RNG register map and reset map . . . . .3319
Table 527.CRYP1/CRYP2 versus SAES features . . . . .3321
Table 528.SAES internal input/output signals . . . . .3322
Table 529.SAES approved symmetric key functions . . . . .3323
Table 530.Counter mode initialization vector definition . . . . .3333
Table 531.Initialization of IV registers in GCM mode . . . . .3336
Table 532.GCM last block definition . . . . .3336
Table 533.Initialization of IV registers in CCM mode . . . . .3342
Table 534.AES data swapping example . . . . .3351
Table 535.Key endianness in SAES_KEYRx registers (128/256-bit keys) . . . . .3353
Table 536.IVI bitfield spread over SAES_IVRx registers . . . . .3355
Table 537.SAES interrupt requests . . . . .3357
Table 538.Processing latency for ECB, CBC and CTR . . . . .3358
Table 539.Processing latency for GCM and CCM (in SAES kernel clock cycles) . . . . .3358
Table 540.SAES register map and reset values . . . . .3374
Table 541.CRYP versus SAES features . . . . .3378
Table 542.CRYP internal input/output signals . . . . .3380
Table 543.CRYP approved AES symmetric key functions . . . . .3380
Table 544.CRYP approved DES/TDES symmetric key functions . . . . .3380
Table 545.Counter mode initialization vector definition . . . . .3394
Table 546.GCM mode IVI registers initialization . . . . .3397
Table 547.GCM last block definition . . . . .3397
Table 548.CCM mode IVI registers initialization . . . . .3404
Table 549.DES/TDES data swapping example . . . . .3409
Table 550.AES data swapping example . . . . .3410
Table 551.Key endianness in CRYP_KxR/LR registers (AES 128/192/256-bit keys) . . . . .3412
Table 552.Key endianness in CRYP_KxR/LR registers (DES K1 and TDES K1/2/3) . . . . .3412
Table 553.Initialization vector endianness in CRYP_IVxR registers (AES) . . . . .3413
Table 554.Initialization vector endianness in CRYP_IVxR registers (DES/TDES) . . . . .3413
Table 555.CRYP interrupt requests . . . . .3415
Table 556.Processing latency for ECB, CBC and CTR . . . . .3416
Table 557.Processing latency for GCM and CCM (in clock cycles) . . . . .3417
Table 558.CRYP register map and reset values3432
Table 559.HASH internal input/output signals3437
Table 560.Information on supported hash algorithms3437
Table 561.Hash processor outputs3441
Table 562.Processing time (in clock cycle)3448
Table 563.HASH interrupt requests3449
Table 564.HASH1 register map and reset values3460
Table 565.OTFDEC internal input/output signals3464
Table 566.OTFDEC interrupt requests3468
Table 567.OTFDEC register map and reset values3481
Table 568.Internal input/output signals3486
Table 569.PKA integer arithmetic functions list3487
Table 570.PKA prime field (\(F_p\)) elliptic curve functions list3488
Table 571.Montgomery parameter computation3494
Table 572.Modular addition3495
Table 573.Modular subtraction3495
Table 574.Montgomery multiplication3496
Table 575.Modular exponentiation (normal mode)3497
Table 576.Modular exponentiation (fast mode)3497
Table 577.Modular exponentiation (protected mode)3498
Table 578.Modular inversion3498
Table 579.Modular reduction3499
Table 580.Arithmetic addition3499
Table 581.Arithmetic subtraction3499
Table 582.Arithmetic multiplication3500
Table 583.Arithmetic comparison3500
Table 584.CRT exponentiation3501
Table 585.Point on elliptic curve \(F_p\) check3502
Table 586.ECC \(F_p\) scalar multiplication3502
Table 587.ECDSA sign - Inputs3504
Table 588.ECDSA sign - Outputs3504
Table 589.Extended ECDSA sign - Extra outputs3505
Table 590.ECDSA verification - Inputs3505
Table 591.ECDSA verification - Outputs3506
Table 592.ECC complete addition3506
Table 593.ECC double base ladder3507
Table 594.ECC projective to affine3508
Table 595.Family of supported curves for ECC operations3509
Table 596.Modular exponentiation3510
Table 597.ECC scalar multiplication3510
Table 598.ECDSA signature average computation time3511
Table 599.ECDSA verification average computation times3511
Table 600.ECC double base ladder average computation times3511
Table 601.ECC projective to affine average computation times3511
Table 602.ECC complete addition average computation times3511
Table 603.Point on elliptic curve \(F_p\) check average computation times3511
Table 604.Montgomery parameters average computation times3512
Table 605.PKA interrupt requests3512
Table 606.PKA register map and reset values3519
Table 607.TIM input/output pins3522
Table 608.TIM internal input/output signals3522
Table 609.Interconnect to the tim_ti1 input multiplexer3523
Table 610.Interconnect to the tim_ti2 input multiplexer . . . . .3523
Table 611.Interconnect to the tim_ti3 input multiplexer . . . . .3524
Table 612.Interconnect to the tim_ti4 input multiplexer . . . . .3524
Table 613.Internal trigger connection . . . . .3524
Table 614.Interconnect to the tim_etr input multiplexer . . . . .3525
Table 615.Timer break interconnect . . . . .3525
Table 616.Timer break2 interconnect . . . . .3526
Table 617.System break interconnect . . . . .3526
Table 618.CCR and ARR register change dithering pattern . . . . .3558
Table 619.CCR register change dithering pattern in center-aligned PWM mode . . . . .3559
Table 620.Behavior of timer outputs versus tim_brk/tim_brk2 inputs . . . . .3571
Table 621.Break protection disarming conditions . . . . .3573
Table 622.Counting direction versus encoder signals (CC1P = CC2P = 0) . . . . .3581
Table 623.Counting direction versus encoder signals and polarity settings . . . . .3585
Table 624.DMA request . . . . .3606
Table 625.Effect of low-power modes on TIM1/TIM8/TIM20 . . . . .3607
Table 626.Interrupt requests . . . . .3607
Table 627.Output control bits for complementary tim_ocx and tim_ocxn channels
with break feature . . . . .
3634
Table 628.TIMx register map and reset values . . . . .3661
Table 629.STM32MP23/25xx general purpose timers . . . . .3665
Table 630.TIM input/output pins . . . . .3667
Table 631.TIM internal input/output signals . . . . .3667
Table 632.Interconnect to the tim_ti1 input multiplexer . . . . .3668
Table 633.Interconnect to the tim_ti2 input multiplexer . . . . .3668
Table 634.Interconnect to the tim_ti3 input multiplexer . . . . .3668
Table 635.Interconnect to the tim_ti4 input multiplexer . . . . .3669
Table 636.TIMx internal trigger connection . . . . .3669
Table 637.Interconnect to the tim_etr input multiplexer . . . . .3669
Table 638.CCR and ARR register change dithering pattern . . . . .3701
Table 639.CCR register change dithering pattern in center-aligned PWM mode . . . . .3702
Table 640.Counting direction versus encoder signals(CC1P = CC2P = 0) . . . . .3711
Table 641.Counting direction versus encoder signals and polarity settings . . . . .3716
Table 642.DMA request . . . . .3740
Table 643.Effect of low-power modes on TIM2/TIM3/TIM4/TIM5 . . . . .3740
Table 644.Interrupt requests . . . . .3741
Table 645.Output control bit for standard tim_ocx channels . . . . .3762
Table 646.TIM2/TIM3/TIM4/TIM5 register map and reset values . . . . .3777
Table 647.TIM internal input/output signals . . . . .3781
Table 648.TIMx_ARR register change dithering pattern . . . . .3791
Table 649.DMA request . . . . .3792
Table 650.Effect of low-power modes on TIM6/TIM7 . . . . .3792
Table 651.Interrupt request . . . . .3792
Table 652.TIMx register map and reset values . . . . .3802
Table 653.TIM input/output pins . . . . .3807
Table 654.TIM internal input/output signals . . . . .3807
Table 655.Interconnect to the tim_ti1 input multiplexer . . . . .3808
Table 656.Interconnect to the tim_ti2 input multiplexer . . . . .3808
Table 657.TIMx internal trigger connection . . . . .3808
Table 658.CCR and ARR register change dithering pattern . . . . .3826
Table 659.Effect of low-power modes on TIM10/TIM11/TIM12/TIM13/TIM14 . . . . .3835
Table 660.Interrupt requests . . . . .3835
Table 661.Output control bit for standard tim_ocx channels . . . . .3848
Table 662.TIM12 register map and reset values . . . . .3856
Table 663.Output control bit for standard tim_ocx channels . . . . .3865
Table 664.TIM10/TIM11/TIM13/TIM14 register map and reset values . . . . .3872
Table 665.TIM input/output pins . . . . .3877
Table 666.TIM internal input/output signals . . . . .3878
Table 667.Interconnect to the tim_ti1 input multiplexer . . . . .3878
Table 668.Interconnect to the tim_ti2 input multiplexer . . . . .3879
Table 669.TIMx internal trigger connection . . . . .3879
Table 670.Timer break interconnect . . . . .3880
Table 671.System break interconnect . . . . .3880
Table 672.CCR and ARR register change dithering pattern . . . . .3900
Table 673.Break protection disarming conditions . . . . .3909
Table 674.DMA request . . . . .3920
Table 675.Effect of low-power modes on TIM15/TIM16/TIM17 . . . . .3921
Table 676.Interrupt requests . . . . .3921
Table 677.Output control bits for complementary tim_ocx and tim_ocxn channels with break feature (TIM15) . . . . .3937
Table 678.TIM15 register map and reset values . . . . .3953
Table 679.Output control bits for complementary tim_oc1 and tim_oc1n channels with break feature (TIM16/TIM17) . . . . .3967
Table 680.TIM16/TIM17 register map and reset values . . . . .3984
Table 681.STM32MP23/25xx LPTIM features . . . . .3988
Table 682.LPTIM1/2/3/4 input/output pins . . . . .3990
Table 683.LPTIM5 input/output pins . . . . .3990
Table 684.LPTIM1/2/3/4 internal signals . . . . .3991
Table 685.LPTIM5 internal signals . . . . .3991
Table 686.LPTIM1/2/3/4/5 external trigger connections . . . . .3992
Table 687.LPTIM1/2/3/4/5 input 1 connections . . . . .3992
Table 688.LPTIM1/2 input 2 connections . . . . .3992
Table 689.LPTIM1/2/3/4 input capture 1 connections . . . . .3992
Table 690.LPTIM1/2/3 input capture 2 connections . . . . .3993
Table 691.Prescaler division ratios . . . . .3994
Table 692.Encoder counting scenarios . . . . .4001
Table 693.Input capture Glitch filter latency (in counter step unit) . . . . .4005
Table 694.Effect of low-power modes on the LPTIM . . . . .4010
Table 695.Interrupt events . . . . .4011
Table 696.LPTIM register map and reset values . . . . .4038
Table 697.STGENC register map and reset values . . . . .4056
Table 698.STGENR register map and reset values . . . . .4057
Table 699.STM32MP23/25xx IWDG features . . . . .4062
Table 700.IWDG delays versus actions . . . . .4063
Table 701.IWDG internal input/output signals . . . . .4064
Table 702.Effect of low power modes on IWDG . . . . .4069
Table 703.IWDG interrupt request . . . . .4071
Table 704.IWDG register map and reset values . . . . .4079
Table 705.STM32MP23/25xx WWDG features . . . . .4080
Table 706.WWDG internal input/output signals . . . . .4081
Table 707.WWDG register map and reset values . . . . .4087
Table 708.RTC input/output pins . . . . .4092
Table 709.RTC internal input/output signals . . . . .4092
Table 710.RTC interconnection . . . . .4093
Table 711.RTC pin PC13 configuration . . . . .4093
Table 712.PI8 configuration . . . . .4096
Table 713.RTC_OUT mapping . . . . .4097
Table 714.RTC resource number allocation . . . . .4100
Table 715.Effect of low-power modes on RTC . . . . .4114
Table 716.RTC pins functionality over modes . . . . .4114
Table 717.Nonsecure interrupt requests . . . . .4115
Table 718.Secure interrupt requests . . . . .4116
Table 719.RTC register map and reset values . . . . .4152
Table 720.TAMP input/output pins . . . . .4158
Table 721.TAMP internal input/output signals . . . . .4158
Table 722.TAMP interconnection . . . . .4159
Table 723.CID regions . . . . .4163
Table 724.RIF TAMP resource number allocation . . . . .4164
Table 725.Device resource x tamper protection . . . . .4168
Table 726.Active tamper output change period . . . . .4171
Table 727.Minimum ATPER value . . . . .4172
Table 728.Active tamper filtered pulse duration . . . . .4173
Table 729.Effect of low-power modes on TAMP . . . . .4174
Table 730.TAMP pins functionality over modes . . . . .4175
Table 731.Nonsecure interrupt requests . . . . .4175
Table 732.Secure interrupt requests . . . . .4176
Table 733.TAMP register map and reset values . . . . .4213
Table 734.I2C implementation . . . . .4217
Table 735.I2C input/output pins . . . . .4218
Table 736.I2C internal input/output signals . . . . .4219
Table 737.I2C8 interconnection . . . . .4219
Table 738.Comparison of analog and digital filters . . . . .4221
Table 739.I2C-bus and SMBus specification data setup and hold times . . . . .4223
Table 740.I2C configuration . . . . .4227
Table 741.I2C-bus and SMBus specification clock timings . . . . .4238
Table 742.Timing settings for fI2CCLK of 8 MHz . . . . .4248
Table 743.Timing settings for fI2CCLK of 16 MHz . . . . .4248
Table 744.SMBus timeout specifications . . . . .4250
Table 745.SMBus with PEC configuration . . . . .4252
Table 746.TIMEOUTA[11:0] for maximum tTIMEOUT of 25 ms . . . . .4253
Table 747.TIMEOUTB[11:0] for maximum tLOW:SEXT and tLOW:MEXT of 8 ms . . . . .4253
Table 748.TIMEOUTA[11:0] for maximum tIDLE of 50 µs . . . . .4253
Table 749.Effect of low-power modes to I2C . . . . .4263
Table 750.I2C interrupt requests . . . . .4264
Table 751.I2C register map and reset values . . . . .4282
Table 752.I3C instantiation . . . . .4286
Table 753.I3C wake-up . . . . .4286
Table 754.I3C autonomous mode with DMA in Stop mode(s) . . . . .4286
Table 755.I3C FIFOs implementation . . . . .4286
Table 756.I3C interrupt(s) . . . . .4287
Table 757.I3C peripheral controller/target features versus MIPI v1.1 . . . . .4288
Table 758.I3C input/output pins . . . . .4289
Table 759.I3C internal input/output signals . . . . .4289
Table 760.I3C register usage . . . . .4301
Table 761.I3C registers/fields usage versus controller state . . . . .4302
Table 762.I3C registers/fields usage versus target state . . . . .4305
Table 763.List of supported I3C CCCs, as controller/target4308
Table 764.I3C controller error management4339
Table 765.I3C target error management4341
Table 766.Effect of low-power modes4345
Table 767.I3C interrupt requests4346
Table 768.I3C register map and reset values4392
Table 769.Instance implementation on STM32MP23/25xx4397
Table 770.USART/LPUART features4398
Table 771.USART/UART input/output pins4400
Table 772.USART internal input/output signals4401
Table 773.USART interconnection (USART1/2/3/6 and UART4/5/7/8/9)4401
Table 774.Noise detection from sampled data4413
Table 775.Tolerance of the USART receiver when BRR [3:0] = 00004417
Table 776.Tolerance of the USART receiver when BRR[3:0] is different from 00004417
Table 777.USART frame formats4422
Table 778.Effect of low-power modes on the USART4443
Table 779.USART interrupt requests4444
Table 780.USART register map and reset values4486
Table 781.Instance implementation on STM32MP23/25xx4489
Table 782.USART/LPUART features4489
Table 783.LPUART input/output pins4492
Table 784.LPUART internal input/output signals4492
Table 785.LPUART interconnections (LPUART1)4493
Table 786.Error calculation for programmed baud rates at lpuart_ker_ck_pres= 32.768 kHz4504
Table 787.Tolerance of the LPUART receiver4505
Table 789.Effect of low-power modes on the LPUART4516
Table 790.LPUART interrupt requests4517
Table 791.LPUART register map and reset values4546
Table 792.SPI features4549
Table 793.SPI/I2S input/output pins4551
Table 794.SPI internal input/output signals4552
Table 795.SPI interconnection (SPI8)4552
Table 796.Effect of low-power modes on the SPI4582
Table 797.SPI wake-up and interrupt requests4583
Table 798.Bitfields usable in PCM/I2S mode4585
Table 799.WS and CK level before SPI/I2S is enabled when AFCNTR = 14594
Table 800.Serial data line swapping4594
Table 801.CLKGEN programming examples for usual I2S frequencies4598
Table 802.I2S interrupt requests4607
Table 803.SPI register map and reset values4629
Table 804.SAI features4632
Table 805.SAI internal input/output signals4634
Table 806.SAI input/output pins4634
Table 807.External synchronization selection4637
Table 808.MCLK_x activation conditions4642
Table 809.Clock generator programming examples4645
Table 810.TDM settings4652
Table 811.TDM frame configuration examples4654
Table 812.SOPD pattern4658
Table 813.Parity bit calculation4658
Table 814.Audio sampling frequency versus symbol rates4659
Table 815.SAI interrupt sources4668
Table 816.SAI register map and reset values4698
Table 817.SPDIFRX internal input/output signals4702
Table 818.SPDIFRX pins4702
Table 819.Transition sequence for preamble4708
Table 820.Minimum spdifrx_ker_ck frequency versus audio sampling rate4718
Table 821.Conditions of spdifrx_symb_ck generation4719
Table 822.Bit field property versus SPDIFRX state4722
Table 823.SPDIFRX interface register map and reset values4735
Table 824.CAN subsystem I/O signals4737
Table 825.CAN subsystem I/O pins4738
Table 826.CAN triggers4738
Table 827.Main features4740
Table 828.DLC coding in FDCAN4745
Table 829.Example of filter configuration for Rx buffers4758
Table 830.Example of filter configuration for Debug messages4759
Table 831.Possible configurations for frame transmission4759
Table 832.Tx buffer/FIFO - Queue element size4760
Table 833.First byte of level 1 reference message4770
Table 834.First four bytes of level 2 reference message4771
Table 835.First four bytes of level 0 reference message4771
Table 836.TUR configuration example4772
Table 837.System matrix, Node A4777
Table 838.Trigger list, Node A4778
Table 839.Number of data bytes transmitted with a reference message4785
Table 840.Rx buffer and FIFO element4792
Table 841.Rx buffer and FIFO element description4792
Table 842.Tx buffer and FIFO element4794
Table 843.Tx buffer element description4794
Table 844.Tx Event FIFO element4796
Table 845.Tx Event FIFO element description4796
Table 846.Standard message ID filter element4797
Table 847.Standard message ID filter element field description4798
Table 848.Extended message ID filter element4799
Table 849.Extended message ID filter element field description4799
Table 850.Trigger memory element4800
Table 851.Trigger memory element description4800
Table 852.FDCAN register map and reset values4838
Table 853.FDCAN TT register map and reset values4860
Table 854.CCU register map and reset values4866
Table 855.Implementation parameters4869
Table 856.USB2 host high-speed port pins4871
Table 857.USB2 host high-speed port internal signals4871
Table 858.USB2 host high-speed port interrupts4873
Table 859.USB2 host high-speed port wake-up event4873
Table 860.Connections to SYSCFG4874
Table 861.USB3 DRD implementation parameters4877
Table 862.USB3 DRD port pins4878
Table 863.USB3 DRD port internal signals4879
Table 864.USB3 DRD port interrupts4881
Table 865.USB3 DRD port wake-up events4881
Table 866.USB3DR_GBL_GGPIO bit description4882
Table 867.Connections to SYSCFG4886
Table 868.USB Type-C and power delivery pins . . . . .4892
Table 869.USB Type-C and power delivery internal signals . . . . .4892
Table 870.USB Type-C controller interrupt . . . . .4893
Table 871.USB Type-C and power delivery events . . . . .4893
Table 872.USB3DR register map . . . . .4896
Table 873.USB3DR register map and reset values . . . . .4987
Table 874.USBH register map and reset values . . . . .5008
Table 875.UCPD implementation . . . . .5013
Table 876.UCPD software trim data . . . . .5013
Table 877.UCPD signals on pins . . . . .5014
Table 878.UCPD internal signals . . . . .5014
Table 879.4b5b symbol encoding table . . . . .5016
Table 880.Ordered sets . . . . .5017
Table 881.Validation of ordered sets . . . . .5018
Table 882.Data size . . . . .5018
Table 883.Coding for ANAMODE, ANASUBMODE and link with TYPEC_VSTATE_CCx . . . . .5027
Table 884.Type-C sequence (source: 3A); cable/sink connected (Rd on CC1; Ra on CC2) . . . . .5028
Table 885.Effect of low power modes on the UCPD . . . . .5030
Table 886.UCPD interrupt requests . . . . .5031
Table 887.UCPD register map and reset values . . . . .5048
Table 888.PCIESS register list . . . . .5054
Table 889.COMBOPHY register programming: reference clock . . . . .5059
Table 890.COMBOPHY register map and reset values . . . . .5060
Table 891.PHY interface selection . . . . .5064
Table 892.Ethernet peripheral pins . . . . .5072
Table 893.Ethernet internal input/output signals . . . . .5073
Table 894.Fixed priority scheme for DMA channels . . . . .5088
Table 895.Routing DA/SA failed packets to Rx queue . . . . .5093
Table 896.Routing DA/SA pass but VLAN filter fail packets to Rx queue . . . . .5093
Table 897.Priority routing of filter pass packets when OMCBCQ = 0 . . . . .5093
Table 898.Priority routing of filter pass packets when OMCBCQ = 1 . . . . .5094
Table 899.Weight for DMA channels . . . . .5096
Table 900.Example of credit value per transmit cycle . . . . .5097
Table 901.Double VLAN processing features in Tx path . . . . .5100
Table 902.Double VLAN processing in Rx path . . . . .5101
Table 903.VLAN insertion or replacement based on VLTI bit . . . . .5102
Table 904.Destination address filtering . . . . .5106
Table 905.Source address filtering . . . . .5107
Table 906.VLAN match status . . . . .5108
Table 907.OTS and ITS bit values with at least one perfect filter enabled . . . . .5111
Table 908.OTS and ITS bit values with only VLAN Hash filter enabled . . . . .5112
Table 909.Rx Queue routing table for Unicast-tagged packets . . . . .5113
Table 910.Ordinary clock: PTP messages for snapshot . . . . .5116
Table 911.End-to-end transparent clock: PTP messages for snapshot . . . . .5117
Table 912.Peer-to-peer transparent clock: PTP messages for snapshot . . . . .5118
Table 913.Egress and ingress latency for PHY interfaces . . . . .5122
Table 914.Minimum PTP clock frequency example . . . . .5122
Table 915.Message format defined in IEEE 1588-2008 . . . . .5123
Table 916.Message format defined in IEEE 1588-2008 . . . . .5124
Table 917.IPv6-UDP PTP packet fields required for control and status . . . . .5125
Table 918.Ethernet PTP packet fields required for control and status . . . . .5126
Table 919.Timestamp Snapshot Dependency on ETH_MACTSCR bits . . . . .5127
Table 920.PTP message generation criteria . . . . .5133
Table 921.Common PTP message header fields . . . . .5135
Table 922.MAC Transmit PTP mode and one-step timestamping operation. . . . .5138
Table 923.External memory used for holding the two gate-control lists . . . . .5143
Table 924.GCL and associated registers - BTR and CTR. . . . .5147
Table 925.GCL and associated registers - BTR and CTR, execution time > CycleTime . . . . .5148
Table 926.GCL and Associated Registers - BTR and CTR. . . . .5150
Table 927.Extending to New List By Truncating the Current List . . . . .5151
Table 928.Switching to New List By Extending the Current List . . . . .5152
Table 929.Gate Control List When FPE is disabled . . . . .5154
Table 930.Gate Control List When FPE is enabled . . . . .5154
Table 931.Valid SMD Values of mPacket . . . . .5157
Table 932.Valid frag_count values . . . . .5157
Table 933.Current and Previous SMD Values. . . . .5158
Table 934.Current and previous SMD values . . . . .5158
Table 935.Preemption Control Values on MRI Interface for Various Frame Types. . . . .5162
Table 936.MMC Counters and Associated Interrupt Registers . . . . .5163
Table 937.Transmit checksum offload engine functions for different packet types . . . . .5172
Table 938.Receive checksum offload engine functions for different packet types . . . . .5175
Table 939.TSO: TCP and IP header fields . . . . .5179
Table 940.Pause packet fields. . . . .5184
Table 941.Tx MAC flow control . . . . .5185
Table 942.Rx MAC flow control . . . . .5186
Table 943.Size of the maximum receive packet . . . . .5190
Table 944.MCD clock selection . . . . .5193
Table 945.MDIO Clause 45 frame structure . . . . .5194
Table 946.MDIO Clause 22 frame structure . . . . .5195
Table 947.Remote wake-up packet filter register . . . . .5208
Table 948.Description of the remote wake-up filter fields . . . . .5209
Table 949.Remote wake-up packet and PMT interrupt generation . . . . .5210
Table 950.Transfer complete interrupt behavior . . . . .5219
Table 951.TDES0 normal descriptor (read format) . . . . .5250
Table 952.TDES1 normal descriptor (read format) . . . . .5251
Table 953.TDES2 normal descriptor (read format) . . . . .5251
Table 954.TDES3 normal descriptor (read format) . . . . .5252
Table 955.TDES0 normal descriptor (write-back format). . . . .5255
Table 956.TDES1 normal descriptor (write-back format). . . . .5255
Table 957.TDES2 normal descriptor (write-back format). . . . .5256
Table 958.TDES3 normal descriptor (write-back format). . . . .5256
Table 959.TDES0 context descriptor. . . . .5260
Table 960.TDES1 context descriptor. . . . .5260
Table 961.TDES2 context descriptor. . . . .5261
Table 962.TDES3 context descriptor. . . . .5261
Table 963.RDES0 normal descriptor (read format) . . . . .5264
Table 964.RDES1 normal descriptor (read format) . . . . .5264
Table 965.RDES2 normal descriptor (read format) . . . . .5264
Table 966.RDES3 normal descriptor (read format) . . . . .5265
Table 967.RDES0 normal descriptor (write-back format) . . . . .5266
Table 968.RDES1 normal descriptor (write-back format) . . . . .5267
Table 969.RDES2 normal descriptor (write-back format) . . . . .5269
Table 970.RDES3 normal descriptor (write-back format) . . . . .5271
Table 971.RDES0 context descriptor . . . . .5274
Table 972.RDES1 context descriptor5275
Table 973.RDES2 context descriptor5275
Table 974.RDES3 context descriptor5275
Table 975.Enhanced normal descriptor (read format)5276
Table 976.ETH_DMA common register map and reset values5309
Table 977.ETH_DMA_CH register map and reset values5310
Table 978.ETH_DMA_CH1 register map and reset values5312
Table 979.ETH_DMA_CH2 register map and reset values5314
Table 980.ETH_DMA_CH3 register map and reset values5315
Table 981.ETH_MTL register map and reset values5345
Table 982.Giant Packet Status based on S2KP and JE Bits5356
Table 983.Packet Length based on the CST and ACS bits5356
Table 984.Ethernet MAC register map and reset values5499
Table 985.Ethernet peripheral pins5519
Table 986.ETHSW internal input/output signals5520
Table 987.SMD values5530
Table 988.Encoding of frame count in SMD-S5534
Table 989.Encoding of frame count in SMD-C5534
Table 990.Encoding of fragment count5534
Table 991.Management Trailer SMD bit usage, frames from CPU to FES5549
Table 992.Management Trailer SMD bit usage, frames from FES to CPU5550
Table 993.Keeping, adding or removing R-TAG5565
Table 994.Interrupt requests5580
Table 995.Register maps summary5581
Table 996.FES counters5636
Table 997.ETHSW register map and reset values5705
Table 998.Memory map for ACM configuration5745
Table 999.HDP signal muxing5747
Table 1000.HDP register map and reset values5751
Table 1001.Key internal signals5755
Table 1002.SERF resources mapping5760
Table 1003.SERC register map and reset values5772
Table 1004.JTAG/Serial-wire debug port pins5777
Table 1005.Trace port pins5777
Table 1006.Serial-wire trace port pins5777
Table 1007.Trigger pins5777
Table 1008.Cortex-M0+ serial wire debug port pins5777
Table 1009.Authentication signal connectivity5780
Table 1010.Authentication signal initial states5781
Table 1011.CLTAPC registers5782
Table 1012.AP0 (Debug APB) authentication behavior5784
Table 1013.AP1-2-4-8 authentication behavior5784
Table 1014.Debug subsystem ROM table5785
Table 1015.Cortex-A35 subsystem ROM table5786
Table 1016.Trace subsystem CTI_0 inputs5791
Table 1017.Trace subsystem CTI_0 outputs5791
Table 1018.Trace subsystem CTI_1 inputs5792
Table 1019.Trace subsystem CTI_1 outputs5792
Table 1020.Cortex-A35_0/1 CTI inputs5792
Table 1021.Cortex-A35_0/1 CTI outputs5793
Table 1022.Cortex-M33 CTI inputs5793
Table 1023.Cortex-M33 CTI outputs5793
Table 1024. Cortex-M0+ CTI inputs . . . . .5794
Table 1025. Cortex-M0+ CTI outputs . . . . .5794
Table 1026. Replicator allocation . . . . .5799
Table 1027. STM extended stimulus port memory map . . . . .5801
Table 1028. STM trace packet ID mapping to AXI masters . . . . .5801
Table 1029. Hardware event mapping 0 to 3 . . . . .5802
Table 1030. Hardware event mapping 4 to 7 . . . . .5804
Table 1031. Hardware event mapping 8 to 9 . . . . .5806
Table 1032. IWDG1 behavior in debug . . . . .5809
Table 1033. DBGMCU register map and reset values . . . . .5825
Table 1034. Cortex-M33 CPU ROM table . . . . .5830
Table 1035. Cortex-M0+ integration level ROM table. . . . .5834
Table 1036. Cortex-M0+ processor ROM table . . . . .5834
Table 1037. Document revision history . . . . .5842

List of figures

Figure 1.STM32MP23/25xx interconnect top view213
Figure 2.STNoC-based MPU-side AXI interconnect219
Figure 3.STNoC internal router distribution (request path) and frequency distribution220
Figure 4.MLAHB interconnect for STM32MP23/25xx224
Figure 5.Memory map229
Figure 6.Cortex-M33 sub-system279
Figure 7.Cortex-M0+ implementation284
Figure 8.RIF principle288
Figure 9.RIF block diagram288
Figure 10.RIF access control principle290
Figure 11.Accesses to secure memories and peripherals291
Figure 12.Accesses to secure memories and peripherals291
Figure 13.RIF interrupt connection types292
Figure 14.Trusted domain chaining principle295
Figure 15.Wake-up CPU principle297
Figure 16.BSEC block diagram300
Figure 17.BSEC fuse mapping overview302
Figure 18.Device typical lifecycle303
Figure 19.RIMU block diagram (without inheritance)350
Figure 20.RIMU block diagram (with inheritance from RISUP programming)351
Figure 21.RISUP block diagram352
Figure 22.RISAL block diagram352
Figure 23.DAP and its RIMU355
Figure 24.Allocation of RISUP resources355
Figure 25.RISUP initialization principle357
Figure 26.RISAL region programming358
Figure 27.RISAL initialization principle359
Figure 28.RISAB block diagram376
Figure 29.RISAB region programming overview377
Figure 30.RISAB initialization principle378
Figure 31.RISAF block diagram (without DDRMCE)394
Figure 32.RISAF4 block diagram (with DDRMCE)394
Figure 33.RISAF region programming395
Figure 34.RISAF initialization principle398
Figure 35.RISAF region on-the-fly resizing399
Figure 36.IAC block diagram419
Figure 37.DDRSS top-level diagram427
Figure 38.ClkSwitcher architecture view429
Figure 39.AC-swizzling muxing stage431
Figure 40.Observability infrastructure organization434
Figure 41.Clock gating the DDRCTRL core clk in automatic self-refresh435
Figure 42.DDRCTRL block diagram449
Figure 43.Quasi-dynamic register programming457
Figure 44.DDRPHYC block diagram570
Figure 45.ACX4 component organization574
Figure 46.PHY clocking distribution575
Figure 47.DDRSS boot sequence576
Figure 48.DDRPERFM top view741
Figure 49.ICACHE block diagram795
Figure 50.ICACHE TAG and data memories functional view797
Figure 51.ICACHE remapping address mechanism800
Figure 52.DCACHE block diagram816
Figure 53.DCACHE TAG and data memories functional view819
Figure 54.Power control block diagram836
Figure 55.Power supply overview839
Figure 56.Device startup supply sequence842
Figure 57.Device Run2 supply sequence843
Figure 58.Device low-power Stop1 supply sequence844
Figure 59.Device low-power Stop2 supply sequence845
Figure 60.Device low-power LP-Stop1/LPLV-Stop1 supply sequence846
Figure 61.Device low-power LP-Stop2/LPLV-Stop2 supply sequence847
Figure 62.Device Standby mode power control848
Figure 63.Device Standby mode power control CPU2 wake-up alone848
Figure 64.Device VBAT mode power control849
Figure 65.Backup domain850
Figure 66.VDD domain853
Figure 67.Power-on reset/power-down reset waveform854
Figure 68.BOR thresholds855
Figure 69.vddcore_ok reset thresholds856
Figure 70.VDDCORE monitoring856
Figure 71.vddcpu_ok reset thresholds857
Figure 72.VDDCPU monitoring858
Figure 73.PVD thresholds859
Figure 74.V08CAP thresholds862
Figure 75.Temperature thresholds863
Figure 76.Power states and external regulator control874
Figure 77.Detailed state diagram of power control modes875
Figure 78.VBAT state diagram with TAMP_WKUEN_D3 = 1894
Figure 79.PWR_CPU_ON, PWR_ON and PWR_LP multiplexing895
Figure 80.RCC block diagram942
Figure 81.System reset circuit945
Figure 82.NRST reset pulse control950
Figure 83.NRSTC1MS reset pulse control951
Figure 84.Reset source registers955
Figure 85.Boot sequences versus system states958
Figure 86.HOLD_BOOT CPUx reset961
Figure 87.HOLD_BOOT state in legacy mode962
Figure 88.HOLD_BOOT state in wake-up single event mode962
Figure 89.HOLD_BOOT state in wake-up dual event mode963
Figure 90.Top-level clock tree965
Figure 91.HSE clock source967
Figure 92.HSE clock generation968
Figure 93.HSI calibration flow970
Figure 94.MSI calibration flow971
Figure 95.LSE clock generation971
Figure 96.LSE CSS function975
Figure 97.MCOy clock observation976
Figure 98.PLL block diagram977
Figure 99.PLL with SSMOD (spread-spectrum modulator) configuration977
Figure 100.Spread-spectrum modulation980
Figure 101.Flexclkgen block diagram . . . . .982
Figure 102.Flexclkgen programming flow . . . . .983
Figure 103.Root control module description. . . . .986
Figure 104.Clock restore activation versus system mode. . . . .991
Figure 105.Clock restore process activated after system Stop. . . . .993
Figure 106.Wake-up from CStop . . . . .994
Figure 107.Peripheral clock distribution for TIMs . . . . .999
Figure 108.Peripheral clock distribution for ADCs . . . . .1000
Figure 109.Clock distribution for the DDR subsystem . . . . .1001
Figure 110.Entering and exiting self-refresh in ASR mode . . . . .1006
Figure 111.Entering and exiting self-refresh in HSR mode . . . . .1007
Figure 112.Allowed transitions between SSR, ASR and HSR modes . . . . .1008
Figure 113.Peripheral allocation example. . . . .1013
Figure 114.Peripheral clock enable logic details. . . . .1017
Figure 115.CPU1 low-power interface . . . . .1022
Figure 116.CPU1 PLL1 stop sequence . . . . .1022
Figure 117.D3 state description . . . . .1028
Figure 118.FMC interface clocking . . . . .1030
Figure 119.OCTOSPI interface clocking. . . . .1031
Figure 120.SDMMC interface clocking . . . . .1033
Figure 121.Single GMAC clocking . . . . .1035
Figure 122.ETHSWRAP schematic . . . . .1036
Figure 123.PCIE clock schematic. . . . .1040
Figure 124.CA35SS clock tree . . . . .1044
Figure 125.Camera part clocking schematic. . . . .1047
Figure 126.Display subsystem clocking schematic. . . . .1049
Figure 127.DPHY_PLL_X4TX details . . . . .1050
Figure 128.Open LVDS display interface (OLDI) clock details . . . . .1051
Figure 129.OLDI_DUAL_TX_4L details . . . . .1051
Figure 130.VENC and VDEC clocking schematic. . . . .1053
Figure 131.GPU and NPU subsystem clocking schematic. . . . .1054
Figure 132.USB2 host port clocking . . . . .1055
Figure 133.USB3 DRD port clocking . . . . .1057
Figure 134.USB Type-C and power delivery clocking . . . . .1060
Figure 135.Interrupt block diagram . . . . .1062
Figure 136.RCC RIF description. . . . .1068
Figure 137.HSEM block diagram . . . . .1307
Figure 138.Procedure state diagram . . . . .1308
Figure 139.Interrupt state diagram . . . . .1312
Figure 140.HSEM example - Secure unprivileged CID n . . . . .1316
Figure 141.HSEM example - Privileged CID m and n. . . . .1317
Figure 142.HSEM example - AHB bus master IDs. . . . .1318
Figure 143.IPCC block diagram . . . . .1343
Figure 144.IPCC Simplex channel mode transfer timing . . . . .1344
Figure 145.IPCC Simplex - Send procedure state diagram . . . . .1345
Figure 146.IPCC Simplex - Receive procedure state diagram . . . . .1346
Figure 147.IPCC Half-duplex channel mode transfer timing. . . . .1347
Figure 148.IPCC Half-duplex - Send procedure state diagram . . . . .1347
Figure 149.IPCC Half-duplex - Receive procedure state diagram . . . . .1348
Figure 150.Basic structure of an I/O port bit . . . . .1369
Figure 151.Input floating/pull-up/pull-down configurations . . . . .1373
Figure 152.Output configuration . . . . .1373
Figure 153. Alternate function configuration1374
Figure 154. Programmable analog configuration1375
Figure 155. I/O compensation cell control overview1406
Figure 156. HPDMA block diagram1529
Figure 157. HPDMA channel direct programming without linked-list (HPDMA_CxLLR = 0)1530
Figure 158. HPDMA channel suspend and resume sequence1531
Figure 159. HPDMA channel abort and restart sequence1532
Figure 160. Static linked-list data structure (all Uxx = 1) of a linear addressing channel x1533
Figure 161. Static linked-list data structure (all Uxx = 1) of a 2D addressing channel x1534
Figure 162. HPDMA dynamic linked-list data structure of linear addressing channel x1535
Figure 163. HPDMA dynamic linked-list data structure of a 2D addressing channel x1535
Figure 164. HPDMA channel execution and linked-list programming
in run-to-completion mode (HPDMA_CxCR.LSM = 0)
1538
Figure 165. Inserting a LLIn with an auxiliary HPDMA channel y1540
Figure 166. HPDMA channel execution and linked-list programming
in link step mode (HPDMA_CxCR.LSM = 1)
1542
Figure 167. Building LLIn+1: HPDMA dynamic linked-lists in link step mode1543
Figure 168. Replace with a new LLIn' in register file in link step mode1544
Figure 169. Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 1)1545
Figure 170. Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 2)1546
Figure 171. HPDMA channel execution and linked-list programming1548
Figure 172. Programmed 2D addressing1551
Figure 173. HPDMA arbitration policy1566
Figure 174. Trigger hit, memorization and overrun waveform1570
Figure 175. HPDMA circular buffer programming: update of the memory start address
with a linear addressing channel
1571
Figure 176. Shared HPDMA channel with circular buffering: update of the memory
start address with a linear addressing channel
1572
Figure 177. LPDMA block diagram1639
Figure 178. LPDMA channel direct programming without linked-list (LPDMA_CxLLR = 0)1640
Figure 179. LPDMA channel suspend and resume sequence1641
Figure 180. LPDMA channel abort and restart sequence1642
Figure 181. Static linked-list data structure (all Uxx = 1) of channel x1643
Figure 182. LPDMA dynamic linked-list data structure of an addressing channel x1644
Figure 183. LPDMA channel execution and linked-list programming
in run-to-completion mode (LPDMA_CxCR.LSM = 0)
1646
Figure 184. Inserting a LLIn with an auxiliary LPDMA channel y1648
Figure 185. LPDMA channel execution and linked-list programming
in link step mode (LPDMA_CxCR.LSM = 1)
1650
Figure 186. Building LLIn+1: LPDMA dynamic linked-lists in link step mode1651
Figure 187. Replace with a new LLIn' in register file in link step mode1652
Figure 188. Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 1)1653
Figure 189. Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 2)1654
Figure 190. LPDMA channel execution and linked-list programming1656
Figure 191. LPDMA arbitration policy1660
Figure 192. Trigger hit, memorization and overrun waveform1664
Figure 193. LPDMA circular buffer programming: update of the memory start address1665
Figure 194. Shared LPDMA channel with circular buffering:
update of the memory start address
1666
Figure 195. GPU main blocks1715
Figure 196. GPU clocks1716
Figure 197. GIC block diagram (example with two cores/processors)1762
Figure 198.EXTI block diagram1809
Figure 199.Configurable event trigger logic CPU wake-up1817
Figure 200.Direct event trigger logic CPU wake-up1818
Figure 201.EXTI mux GPIO selection1819
Figure 202.CRC calculation unit block diagram1920
Figure 203.FMC interface block diagram1929
Figure 204.FMC interface reset1929
Figure 205.Octo-SPI interface block diagram1931
Figure 206.OCTOSPI interface resets1932
Figure 207.Programmable delay block diagram1935
Figure 208.Flash configuration example: 2x 8-bit flash devices controlled by OCTOSPI1 on port1 (MUXEN = 0, MODE = 0, CSSEL_OVR_EN = 0)1939
Figure 209.Flash configuration example: 2x 8-bit flash devices connected to port1 and controlled by independent OCTOSPI controllers (MUXEN = 1, MODE = 0, CSSEL_OVR_EN = 1, CSSEL_OVR_01 = 0, CSSEL_OVR_02 = 1)1941
Figure 210.Flash configuration example: dual quad mode. Two 4-bit devices are connected to port 2 and controlled by OCTOSPI2 (MUXEN = 0, MODE = 0, CSSEL_OVR_EN = 0)1942
Figure 211.SD/eMMC interface block diagram1948
Figure 212.SD/eMMC interface resets1949
Figure 213.FMC block diagram1957
Figure 214.Mode 1 read access waveforms1976
Figure 215.Mode 1 write access waveforms1976
Figure 216.Mode A read access waveforms1978
Figure 217.Mode A write access waveforms1979
Figure 218.Mode 2 and mode B read access waveforms1981
Figure 219.Mode 2 write access waveforms1981
Figure 220.Mode B write access waveforms1982
Figure 221.Mode C read access waveforms1984
Figure 222.Mode C write access waveforms1984
Figure 223.Mode D read access waveforms1986
Figure 224.Mode D write access waveforms1987
Figure 225.Muxed read access waveforms1989
Figure 226.Muxed write access waveforms1990
Figure 227.Asynchronous wait during a read access waveforms1993
Figure 228.Asynchronous wait during a write access waveforms1993
Figure 229.Wait configuration waveforms1995
Figure 230.Synchronous multiplexed read mode waveforms - NOR, PSRAM (CRAM)1996
Figure 231.Synchronous multiplexed write mode waveforms - PSRAM (CRAM)1998
Figure 232.NAND flash controller waveforms for common memory access2016
Figure 233.NAND flash controller waveforms for TCLR and TAR timings2016
Figure 234.Access to NAND flash memory2018
Figure 235.NAND flash page (2 Kbytes) layout with BCH2022
Figure 236.Example of 2 Kbyte page program sequence with 4-bit BCH2023
Figure 237.Chained-page read command timings2025
Figure 238.Example of 2-Kbyte page read sequence with 4-bit BCH2026
Figure 239.OCTOSPI block diagram in octal configuration2060
Figure 240.OCTOSPI block diagram in quad configuration2060
Figure 241.OCTOSPI block diagram in dual-quad configuration2061
Figure 242.SDR read command in octal configuration2063
Figure 243.DTR read in octal-SPI mode with DQS (Macronix mode) example2066
Figure 244.SDR write command in octo-SPI mode example2068
Figure 245. DTR write in octal-SPI mode (Macronix mode) example .....2068
Figure 246. Example of HyperBus read operation .....2070
Figure 247. HyperBus write operation with initial latency .....2071
Figure 248. HyperBus read operation with additional latency .....2072
Figure 249. HyperBus write operation with additional latency .....2072
Figure 250. HyperBus write operation with no latency (register write) .....2073
Figure 251. HyperBus read operation page crossing with latency .....2073
Figure 252. D0/D1 data ordering in octal-SPI DTR mode (Micron) - Read access .....2080
Figure 253. OctaRAM read operation with reverse data ordering D1/D0 .....2080
Figure 254. NCS when CKMODE = 0 (T = CLK period) .....2086
Figure 255. NCS when CKMODE = 1 in SDR mode (T = CLK period) .....2086
Figure 256. NCS when CKMODE = 1 in DTR mode (T = CLK period) .....2086
Figure 257. NCS when CKMODE = 1 with an abort (T = CLK period) .....2087
Figure 258. Example of software control of two external memories .....2087
Figure 259. OCTOSPI block diagram .....2119
Figure 260. OCTOSPI direct mode .....2121
Figure 261. OCTOSPI swapped mode .....2122
Figure 262. OCTOSPI multiplexed mode to Port 1 .....2123
Figure 263. OCTOSPI multiplexed mode to Port 2 .....2123
Figure 264. OCTOSPI1 and OCTOSPI2 drive a single external memory .....2124
Figure 265. Single OCTOSPI driving two external memories .....2125
Figure 266. SDMMC “no response” and “no data” operations .....2131
Figure 267. SDMMC (multiple) block read operation .....2131
Figure 268. SDMMC (multiple) block write operation .....2132
Figure 269. SDMMC (sequential) stream read operation .....2132
Figure 270. SDMMC (sequential) stream write operation .....2132
Figure 271. SDMMC block diagram .....2134
Figure 272. SDMMC Command and data phase relation .....2136
Figure 273. Control unit .....2138
Figure 274. Command/response path .....2139
Figure 275. Command path state machine (CPSM) .....2140
Figure 276. Data path .....2146
Figure 277. DDR mode data packet clocking .....2147
Figure 278. DDR mode CRC status / boot acknowledgment clocking .....2147
Figure 279. Data path state machine (DPSM) .....2148
Figure 280. CLKMUX unit .....2159
Figure 281. Linked list structures .....2162
Figure 282. Asynchronous interrupt generation .....2165
Figure 283. Synchronous interrupt period data read .....2166
Figure 284. Synchronous interrupt period data write .....2166
Figure 285. Asynchronous interrupt period data read .....2167
Figure 286. Asynchronous interrupt period data write .....2168
Figure 287. Clock stop with SDMMC_CK for DS, HS, SDR12, SDR25 .....2171
Figure 288. Clock stop with SDMMC_CK for DDR50, SDR50, SDR104 .....2171
Figure 289. Read Wait with SDMMC_CK < 50 MHz .....2172
Figure 290. Read Wait with SDMMC_CK > 50 MHz .....2172
Figure 291. CMD12 stream timing .....2175
Figure 292. CMD5 Sleep Awake procedure .....2177
Figure 293. Normal boot mode operation .....2179
Figure 294. Alternative boot mode operation .....2180
Figure 295. Command response R1b busy signaling .....2181
Figure 296. SDMMC state control .....2182
Figure 297. Card cycle power / power up diagram .....2183
Figure 298. Read block gap hardware flow timing .....2184
Figure 299. CMD11 signal voltage switch sequence .....2186
Figure 300. Voltage switch transceiver typical application .....2188
Figure 301. DLYB block diagram .....2218
Figure 302. ADC block diagram .....2226
Figure 303. ADC clock scheme .....2232
Figure 304. ADC1 connectivity .....2234
Figure 305. ADC2 connectivity .....2235
Figure 306. ADC3 connectivity .....2236
Figure 307. Enabling / disabling the ADC .....2240
Figure 308. Bulb mode timing diagram .....2244
Figure 309. Analog-to-digital conversion time .....2247
Figure 310. Stopping ongoing regular conversions .....2248
Figure 311. Stopping ongoing regular and injected conversions .....2249
Figure 312. Triggers shared between ADC master and slave .....2250
Figure 313. Injected conversion latency .....2252
Figure 314. Single conversions of a sequence, software trigger .....2255
Figure 315. Continuous conversion of a sequence, software trigger .....2255
Figure 316. Single conversions of a sequence, hardware trigger .....2256
Figure 317. Continuous conversions of a sequence, hardware trigger .....2256
Figure 318. Right alignment (offset disabled, unsigned value) .....2258
Figure 319. Right alignment (offset enabled, signed value) .....2259
Figure 320. Left alignment (offset disabled, unsigned value) .....2259
Figure 321. Left alignment (offset enabled, signed value) .....2260
Figure 322. Example of overrun (OVRMOD = 0) .....2263
Figure 323. Example of overrun (OVRMOD = 1) .....2263
Figure 324. AUTODLY = 1, regular conversion in continuous mode, software trigger .....2267
Figure 325. AUTODLY = 1, regular hardware conversions interrupted by injected conversions
(DISCEN = 0; JDISCEN = 0) .....
2268
Figure 326. AUTODLY = 1, regular hardware conversions interrupted by injected conversions .....2269
Figure 327. AUTODLY = 1, regular continuous conversions interrupted by injected conversions .....2269
Figure 328. AUTODLY = 1 in autoinjection mode (JAUTO = 1) .....2270
Figure 329. Analog watchdog guarded area .....2270
Figure 330. ADC_AWDy_OUT signal generation (on all regular channels) .....2273
Figure 331. ADC_AWDy_OUT signal generation (AWDy flag not cleared by software) .....2273
Figure 332. ADC_AWDy_OUT signal generation (on a single regular channel) .....2274
Figure 333. ADC_AWDy_OUT signal generation (on all injected channels) .....2274
Figure 334. 12-bit result oversampling with 10-bit right shift and rounding .....2275
Figure 335. Triggered regular oversampling mode (TROVS bit = 1) .....2277
Figure 336. Regular oversampling modes (4x ratio) .....2278
Figure 337. Regular and injected oversampling modes used simultaneously .....2279
Figure 338. Triggered regular oversampling with injection .....2279
Figure 339. Oversampling in autoinjection mode .....2280
Figure 340. VBAT channel block diagram .....2282
Figure 341. VREFINT channel block diagram .....2282
Figure 342. DTS block diagram .....2325
Figure 343. Serial data adapter .....2327
Figure 344. SDA data format .....2328
Figure 345. Falling alarms .....2334
Figure 346. Rising alarms .....2335
Figure 347. VREFBUF block diagram .....2363
Figure 348. MDF block diagram .....2371
Figure 349. SITFx overview .....2374
Figure 350. SPI timing example .....2375
Figure 351. Manchester timing example (SITFMOD = 11) .....2377
Figure 352. CKGEN overview .....2380
Figure 353. BSMX overview .....2382
Figure 354. SCD functional view .....2383
Figure 355. SCD timing example .....2383
Figure 356. DFLT overview .....2385
Figure 357. Programmable delay .....2386
Figure 358. CIC3 and CIC5 frequency response with decimation ratio = 32 .....2388
Figure 359. Reshape filter frequency response normalized (FRS / 2 = 1) .....2393
Figure 360. Out-of-limit detector thresholds .....2396
Figure 361. Trigger logic for DFLT and CKGEN .....2398
Figure 362. Asynchronous continuous mode (ACQMOD[2:0] = 0) .....2399
Figure 363. Asynchronous single-shot mode (ACQMOD[2:0] = 001) .....2400
Figure 364. Synchronous continuous mode (ACQMOD[2:0] = 010) .....2401
Figure 365. Synchronous single-shot mode (ACQMOD[2:0] = 011) .....2402
Figure 366. Window continuous mode (ACQMOD[2:0] = 100) .....2403
Figure 367. Snapshot mode example .....2405
Figure 368. Discard function example .....2406
Figure 369. Start sequence with DFLTEN, in continuous mode, audio configuration .....2407
Figure 370. Start sequence with trigger input, in continuous mode, motor configuration .....2408
Figure 371. Break interface simplified view .....2409
Figure 372. MDF_DFLTxD data format .....2409
Figure 373. Data re-synchronization .....2410
Figure 374. Data transfer in interleaved-transfer mode .....2411
Figure 375. Data path for interleaved- and independent-transfer modes .....2413
Figure 376. Example of overflow and transfer to memory .....2414
Figure 377. MDF interrupt interface .....2417
Figure 378. Sensor connection examples .....2422
Figure 379. Global frequency response .....2423
Figure 380. Detailed frequency response .....2423
Figure 381. Simplified DFLT view with gain information .....2426
Figure 382. ADF block diagram .....2457
Figure 383. SITF overview .....2459
Figure 384. SPI timing example .....2460
Figure 385. Manchester timing example (SITFMOD = 11) .....2461
Figure 386. CKGEN overview .....2464
Figure 387. BSMX overview .....2466
Figure 388. DFLT overview .....2467
Figure 389. Programmable delay .....2468
Figure 390. CIC4 and CIC5 frequency response with decimation ratio = 32 or 16 .....2469
Figure 391. Reshape filter frequency response normalized (FRS / 2 = 1) .....2475
Figure 392. Trigger logic for DFLT and CKGEN .....2477
Figure 393. Asynchronous continuous mode (ACQMOD[2:0] = 0) .....2478
Figure 394. Asynchronous single-shot mode (ACQMOD[2:0] = 001) .....2479
Figure 395. Synchronous continuous mode (ACQMOD[2:0] = 010) .....2480
Figure 396. Synchronous single-shot mode (ACQMOD[2:0] = 011) .....2481
Figure 397. Window continuous mode (ACQMOD[2:0] = 100) .....2482
Figure 398. Discard function example .....2484
Figure 399. Start sequence with DFLTEN, in continuous mode, audio configuration .....2484
Figure 400. SAD block diagram .....2485
Figure 401. SAD flow diagram .....2487
Figure 402. SAD timing diagram example .....2493
Figure 403. ADF_DFLTxD data format .....2493
Figure 404. Data re-synchronization .....2494
Figure 405. Example of overflow and transfer to memory .....2495
Figure 406. ADF interrupt interface .....2498
Figure 407. Sensor connection examples .....2503
Figure 408. Global frequency response .....2503
Figure 409. Detailed frequency response .....2504
Figure 410. Simplified DFLT view with gain information .....2506
Figure 411. SAD example working with SADMOD = 01 .....2509
Figure 412. SAD example working with SADMOD = 1x .....2511
Figure 413. Camera subsystem block diagram .....2535
Figure 414. Camera subsystem clock diagram .....2536
Figure 415. DCM block diagram .....2543
Figure 416. DCM signal waveforms .....2544
Figure 417. Timing diagram .....2546
Figure 418. Frame capture waveforms in snapshot mode .....2548
Figure 419. Frame capture waveforms in continuous grab mode .....2549
Figure 420. Coordinates and size of the window after cropping .....2549
Figure 421. Data capture waveforms .....2550
Figure 422. Pixel raster scan order .....2551
Figure 423. DCMIPP overview .....2567
Figure 424. DCMIPP block diagram .....2571
Figure 425. VC flow processed by one pipe .....2588
Figure 426. Two exclusive VC flows processed by one reconfigured pipe .....2588
Figure 427. Two overlapping VC flows processed by two pipes .....2589
Figure 428. Snapshot (CPTMODE = 1) and Continuous (CPTMODE = 0) capture modes .....2590
Figure 429. Pipe0 (dump) architecture overview .....2592
Figure 430. Pipe1 ISP architecture view .....2596
Figure 431. Block diagram .....2613
Figure 432. Downsize with coverage filtering .....2616
Figure 433. Pipe2 architecture overview .....2620
Figure 434. Use case: Pipe0 (statistics), Pipe1 (pixels) .....2621
Figure 435. Statistics and RGB data for single virtual channel data flow .....2622
Figure 436. Three pipes within a single virtual channel in CSI2 mode .....2623
Figure 437. Handling interleaved packet .....2623
Figure 438. Handling interleaved packets across two pixel pipes .....2623
Figure 439. Interlaced video (based on single pixel pipe) .....2624
Figure 440. Interlaced video (based on two pixel pipes) .....2624
Figure 441. 3D sensors (top-bottom) processed by two pixel pipes .....2629
Figure 442. CSI-2 Host block diagram .....2759
Figure 443. CSI-2 Host architecture .....2760
Figure 444. CSI-2 Host clock domain .....2762
Figure 445. Lane merger input and output (one data lane) .....2763
Figure 446. Lane merger input and output (two data lanes) .....2763
Figure 447. Data lane mapping .....2763
Figure 448. Low-level protocol overview .....2764
Figure 449. CSI2- long-packet structure for a D-PHY physical layer .....2765
Figure 450. Short-packet structure based on D-PHY physical layer .....2765
Figure 451. DATA ID structure in short or long packet format . . . . .2766
Figure 452. Data interleaving using data type . . . . .2767
Figure 453. Data interleaving using virtual channels . . . . .2768
Figure 454. RAW6 (BPP6) input and output format . . . . .2769
Figure 455. Raw7 (BPP7) input and output format . . . . .2770
Figure 456. Raw8 (BPP8) input and output format . . . . .2771
Figure 457. Raw 10 (BPP10) input and output format . . . . .2771
Figure 458. Raw12 (BPP12) input/output format . . . . .2772
Figure 459. Raw14 (BPP14) input format . . . . .2773
Figure 460. Raw16 (BPP16) input/output format . . . . .2774
Figure 461. PSSI block diagram . . . . .2820
Figure 462. Top-level block diagram . . . . .2820
Figure 463. Data enable in receive mode waveform diagram (CKPOL=0) . . . . .2824
Figure 464. Data enable waveform diagram in transmit mode (CKPOL=0) . . . . .2824
Figure 465. Ready in receive mode waveform diagram (CKPOL=0) . . . . .2825
Figure 466. Bidirectional PSSI_DE/PSSI_RDY waveform . . . . .2826
Figure 467. Bidirectional PSSI_DE/PSSI_RDY connection diagram . . . . .2826
Figure 468. Display subsystem block diagram . . . . .2837
Figure 469. Display subsystem clock diagram . . . . .2838
Figure 470. Display RIF peripheral ID . . . . .2842
Figure 471. LTDC block diagram . . . . .2852
Figure 472. Layer window programmable parameters . . . . .2866
Figure 473. Blending two layers . . . . .2866
Figure 474. LTDC synchronous timings . . . . .2872
Figure 475. LVDS block diagram . . . . .2925
Figure 476. Data mapping and its multiplexer . . . . .2927
Figure 477. LVDS JEIDA Data mapping . . . . .2928
Figure 478. LVDS VESA data mapping . . . . .2928
Figure 479. Link phase timing diagram . . . . .2929
Figure 480. DSI block diagram . . . . .3034
Figure 481. DSI Host architecture . . . . .3035
Figure 482. Flow to update the LTDC interface configuration using shadow registers . . . . .3040
Figure 483. Immediate update procedure . . . . .3041
Figure 484. Configuration update during the transmission of a frame . . . . .3041
Figure 485. Adapted command mode usage flow . . . . .3043
Figure 486. 24 bpp APB pixel to byte organization . . . . .3047
Figure 487. 18 bpp APB pixel to byte organization . . . . .3048
Figure 488. 16 bpp APB pixel to byte organization . . . . .3048
Figure 489. 12 bpp APB pixel to byte organization . . . . .3049
Figure 490. 8 bpp APB pixel to byte organization . . . . .3049
Figure 491. Timing of PRESP_TO after a bus-turn-around . . . . .3052
Figure 492. Timing of PRESP_TO after a read request (HS or LP) . . . . .3053
Figure 493. Timing of PRESP_TO after a write request (HS or LP) . . . . .3054
Figure 494. Effect of prep mode at 1 . . . . .3055
Figure 495. Command transmission periods within the image area . . . . .3056
Figure 496. Transmission of commands on the last line of a frame . . . . .3056
Figure 497. LPSIZE for non-burst with sync pulses . . . . .3058
Figure 498. LPSIZE for burst or non-burst with sync events . . . . .3058
Figure 499. VLPSIZE for non-burst with sync pulses . . . . .3059
Figure 500. VLPSIZE for non-burst with sync events . . . . .3060
Figure 501. VLPSIZE for burst mode . . . . .3060
Figure 502. Location of LPSIZE and VLPSIZE in the image area . . . . .3061
Figure 503. Clock lane and data lane in HS .....3063
Figure 504. Clock lane in HS and data lanes in LP .....3063
Figure 505. Clock lane and data lane in LP .....3063
Figure 506. Command transmission by the generic interface .....3064
Figure 507. Vertical color bar mode .....3066
Figure 508. Horizontal color bar mode .....3066
Figure 509. RGB888 BER testing pattern .....3067
Figure 510. Vertical pattern (103x15) .....3068
Figure 511. Horizontal pattern (103x15) .....3068
Figure 512. PLL block diagram .....3070
Figure 513. Error sources .....3075
Figure 514. Video packet transmission configuration flow diagram .....3086
Figure 515. Programming sequence to send a test pattern .....3088
Figure 516. Frame configuration registers .....3089
Figure 517. VENC block diagram .....3153
Figure 518. VDEC main blocks .....3266
Figure 519. RNG block diagram .....3302
Figure 520. NIST SP800-90B entropy source model .....3303
Figure 521. RNG initialization overview .....3306
Figure 522. SAES block diagram .....3322
Figure 523. Encryption/ decryption typical usage .....3324
Figure 524. Typical operation with authentication .....3326
Figure 525. Example of suspend mode management .....3327
Figure 526. ECB encryption .....3328
Figure 527. ECB decryption .....3328
Figure 528. CBC encryption .....3329
Figure 529. CBC decryption .....3329
Figure 530. Message construction in CTR mode .....3332
Figure 531. CTR encryption .....3333
Figure 532. Message construction in GCM .....3334
Figure 533. GCM authenticated encryption .....3336
Figure 534. Message construction in GMAC mode .....3339
Figure 535. GMAC authentication mode .....3339
Figure 536. Message construction in CCM mode .....3340
Figure 537. CCM mode authenticated encryption .....3342
Figure 538. Operation with wrapped keys for SAES in ECB and CBC modes .....3345
Figure 539. Operation with wrapped keys for SAES in CTR mode .....3348
Figure 540. Usage of Shared-key mode .....3349
Figure 541. 128-bit block construction according to the data type .....3352
Figure 542. Key protection mechanisms .....3354
Figure 543. CRYP block diagram .....3379
Figure 544. Encryption/ decryption typical usage .....3381
Figure 545. Typical operation with authentication .....3384
Figure 546. Example of suspend mode management .....3385
Figure 547. DES/TDES ECB encryption .....3386
Figure 548. DES/TDES ECB decryption .....3386
Figure 549. DES/TDES CBC encryption .....3387
Figure 550. DES/TDES CBC decryption .....3387
Figure 551. AES-ECB encryption .....3389
Figure 552. AES-ECB decryption .....3390
Figure 553. AES-CBC encryption .....3390
Figure 554. AES-CBC decryption .....3391
Figure 555. Message construction in CTR mode. ....3393
Figure 556. AES-CTR encryption . . . . .3394
Figure 557. Message construction in GCM . . . . .3396
Figure 558. GCM authenticated encryption . . . . .3397
Figure 559. Message construction in GMAC mode . . . . .3401
Figure 560. GMAC authentication mode . . . . .3401
Figure 561. Message construction in CCM mode . . . . .3402
Figure 562. CCM mode authenticated encryption . . . . .3404
Figure 563. 64-bit block construction according to the data type. ....3409
Figure 564. 128-bit block construction according to the data type. ....3411
Figure 565. HASH block diagram . . . . .3436
Figure 566. Message data swapping feature. ....3439
Figure 567. HASH suspend/resume mechanism. ....3445
Figure 568. OTFDEC block diagram . . . . .3464
Figure 569. Typical OTFDEC use in a SoC . . . . .3465
Figure 570. AES CTR decryption flow . . . . .3466
Figure 571. OTFDEC flow control overview (dual burst read request) . . . . .3467
Figure 572. PKA block diagram . . . . .3486
Figure 573. Advanced-control timer block diagram . . . . .3521
Figure 574. Counter timing diagram with prescaler division change from 1 to 2 . . . . .3527
Figure 575. Counter timing diagram with prescaler division change from 1 to 4 . . . . .3528
Figure 576. Counter timing diagram, internal clock divided by 1 . . . . .3529
Figure 577. Counter timing diagram, internal clock divided by 2 . . . . .3530
Figure 578. Counter timing diagram, internal clock divided by 4 . . . . .3530
Figure 579. Counter timing diagram, internal clock divided by N . . . . .3531
Figure 580. Counter timing diagram, update event when ARPE = 0
(TIMx_ARR not preloaded). . . . .
3531
Figure 581. Counter timing diagram, update event when ARPE = 1
(TIMx_ARR preloaded). . . . .
3532
Figure 582. Counter timing diagram, internal clock divided by 1 . . . . .3533
Figure 583. Counter timing diagram, internal clock divided by 2 . . . . .3534
Figure 584. Counter timing diagram, internal clock divided by 4 . . . . .3534
Figure 585. Counter timing diagram, internal clock divided by N . . . . .3535
Figure 586. Counter timing diagram, update event when repetition counter is not used. ....3535
Figure 587. Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 . . . . .3537
Figure 588. Counter timing diagram, internal clock divided by 2 . . . . .3537
Figure 589. Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 . . . . .3538
Figure 590. Counter timing diagram, internal clock divided by N . . . . .3538
Figure 591. Counter timing diagram, update event with ARPE = 1 (counter underflow) . . . . .3539
Figure 592. Counter timing diagram, Update event with ARPE = 1 (counter overflow) . . . . .3540
Figure 593. Update rate examples depending on mode and TIMx_RCR register settings . . . . .3541
Figure 595. Control circuit in normal mode, internal clock divided by 1 . . . . .3543
Figure 596. tim_ti2 external clock connection example . . . . .3543
Figure 597. Control circuit in external clock mode 1 . . . . .3544
Figure 598. External trigger input block . . . . .3545
Figure 599. Control circuit in external clock mode 2 . . . . .3546
Figure 600. Capture/compare channel (example: channel 1 input stage) . . . . .3546
Figure 601. Capture/compare channel 1 main circuit . . . . .3547
Figure 602. Output stage of capture/compare channel (channel 1, idem ch. 2, 3 and 4) . . . . .3547
Figure 603. Output stage of capture/compare channel (channel 5, idem ch. 6) . . . . .3548
Figure 604. PWM input mode timing . . . . .3550
Figure 605. Output compare mode, toggle on tim_oc1 . . . . .3552
Figure 606.Edge-aligned PWM waveforms (ARR = 8) . . . . .3553
Figure 607.Center-aligned PWM waveforms (ARR = 8) . . . . .3554
Figure 608.Dithering principle . . . . .3555
Figure 609.Data format and register coding in dithering mode . . . . .3556
Figure 610.PWM resolution vs frequency . . . . .3557
Figure 611.PWM dithering pattern . . . . .3558
Figure 612.Dithering effect on duty cycle in center-aligned PWM mode . . . . .3559
Figure 613.Generation of 2 phase-shifted PWM signals with 50% duty cycle . . . . .3561
Figure 614.Combined PWM mode on channel 1 and 3 . . . . .3562
Figure 615.3-phase combined PWM signals with multiple trigger pulses per period . . . . .3563
Figure 616.Complementary output with symmetrical dead-time insertion . . . . .3564
Figure 617.Asymmetrical deadtime . . . . .3565
Figure 618.Dead-time waveforms with delay greater than the negative pulse . . . . .3565
Figure 619.Dead-time waveforms with delay greater than the positive pulse . . . . .3565
Figure 620.Break and Break2 circuitry overview . . . . .3568
Figure 621.Various output behavior in response to a break event on tim_brk (OSSI = 1) . . . . .3570
Figure 622.PWM output state following tim_brk and tim_brk2 assertion (OSSI = 1) . . . . .3571
Figure 623.PWM output state following tim_brk assertion (OSSI = 0) . . . . .3572
Figure 624.Output redirection (tim_brk2 request not represented) . . . . .3573
Figure 625.Clearing TIMx tim_ocxref . . . . .3574
Figure 626.6-step generation, COM example (OSSR = 1) . . . . .3575
Figure 627.Example of one pulse mode . . . . .3576
Figure 628.Retriggerable one-pulse mode . . . . .3578
Figure 629.Pulse generator circuitry . . . . .3578
Figure 630.Pulse generation on compare event, for edge-aligned and encoder modes . . . . .3579
Figure 631.Extended pulsewidth in case of concurrent triggers . . . . .3580
Figure 632.Example of counter operation in encoder interface mode . . . . .3582
Figure 633.Example of encoder interface mode with tim_ti1fp1 polarity inverted . . . . .3582
Figure 634.Quadrature encoder counting modes . . . . .3583
Figure 635.Direction plus clock encoder mode . . . . .3584
Figure 636.Directional clock encoder mode (CC1P = CC2P = 0) . . . . .3584
Figure 637.Directional clock encoder mode (CC1P = CC2P = 1) . . . . .3585
Figure 638.Index gating options . . . . .3586
Figure 639.Jittered Index signals . . . . .3586
Figure 640.Index generation for IPOS[1:0] = 11 . . . . .3587
Figure 641.Counter reading with index gated on channel A (IPOS[1:0] = 11) . . . . .3587
Figure 642.Counter reading with index ungated (IPOS[1:0] = 00) . . . . .3588
Figure 643.Counter reading with index gated on channel A and B . . . . .3588
Figure 644.Encoder mode behavior in case of narrow index pulse (IPOS[1:0] = 11) . . . . .3589
Figure 645.Counter reset Narrow index pulse (closer view, ARR = 0x07) . . . . .3590
Figure 646.Index behavior in x1 and x2 mode (IPOS[1:0] = 01) . . . . .3591
Figure 647.Directional index sensitivity . . . . .3591
Figure 648.Counter reset as function of FIDX bit setting . . . . .3592
Figure 649.Index blanking . . . . .3592
Figure 650.Index behavior in clock + direction mode, IPOS[0] = 1 . . . . .3593
Figure 651.Index behavior in directional clock mode, IPOS[0] = 1 . . . . .3593
Figure 652.State diagram for quadrature encoded signals . . . . .3594
Figure 653.Up-counting encoder error detection . . . . .3595
Figure 654.Down-counting encode error detection . . . . .3596
Figure 655.Encoder mode change with preload transferred on update (SMSPS = 0) . . . . .3597
Figure 656.Measuring time interval between edges on three signals . . . . .3598
Figure 657.Example of Hall sensor interface . . . . .3600
Figure 658.Control circuit in reset mode . . . . .3601
Figure 659.Control circuit in Gated mode . . . . .3602
Figure 660.Control circuit in trigger mode . . . . .3603
Figure 661.Control circuit in external clock mode 2 + trigger mode . . . . .3604
Figure 662.General-purpose timer block diagram . . . . .3666
Figure 663.Counter timing diagram with prescaler division change from 1 to 2 . . . . .3671
Figure 664.Counter timing diagram with prescaler division change from 1 to 4 . . . . .3672
Figure 665.Counter timing diagram, internal clock divided by 1 . . . . .3673
Figure 666.Counter timing diagram, internal clock divided by 2 . . . . .3673
Figure 667.Counter timing diagram, internal clock divided by 4 . . . . .3674
Figure 668.Counter timing diagram, internal clock divided by N . . . . .3674
Figure 669.Counter timing diagram, Update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . .3675
Figure 670.Counter timing diagram, Update event when ARPE = 1 (TIMx_ARR preloaded) . . . . .3676
Figure 671.Counter timing diagram, internal clock divided by 1 . . . . .3677
Figure 672.Counter timing diagram, internal clock divided by 2 . . . . .3678
Figure 673.Counter timing diagram, internal clock divided by 4 . . . . .3678
Figure 674.Counter timing diagram, internal clock divided by N . . . . .3679
Figure 675.Counter timing diagram, Update event . . . . .3679
Figure 676.Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 . . . . .3681
Figure 677.Counter timing diagram, internal clock divided by 2 . . . . .3681
Figure 678.Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 . . . . .3682
Figure 679.Counter timing diagram, internal clock divided by N . . . . .3682
Figure 680.Counter timing diagram, Update event with ARPE = 1 (counter underflow) . . . . .3683
Figure 681.Counter timing diagram, Update event with ARPE = 1 (counter overflow) . . . . .3684
Figure 682.Control circuit in normal mode, internal clock divided by 1 . . . . .3685
Figure 683.tim_ti2 external clock connection example . . . . .3685
Figure 684.Control circuit in external clock mode 1 . . . . .3686
Figure 685.External trigger input block . . . . .3687
Figure 686.Control circuit in external clock mode 2 . . . . .3688
Figure 687.Capture/compare channel (example: channel 1 input stage) . . . . .3688
Figure 688.Capture/compare channel 1 main circuit . . . . .3689
Figure 689.Output stage of capture/compare channel (channel 1, idem ch.2, 3 and 4) . . . . .3689
Figure 690.PWM input mode timing . . . . .3692
Figure 691.Output compare mode, toggle on tim_oc1 . . . . .3694
Figure 692.Edge-aligned PWM waveforms (ARR = 8) . . . . .3695
Figure 693.Center-aligned PWM waveforms (ARR = 8) . . . . .3696
Figure 694.Dithering principle . . . . .3697
Figure 695.Data format and register coding in dithering mode . . . . .3698
Figure 696.PWM resolution vs frequency (16-bit mode) . . . . .3699
Figure 697.PWM resolution vs frequency (32-bit mode) . . . . .3699
Figure 698.PWM dithering pattern . . . . .3700
Figure 699.Dithering effect on duty cycle in center-aligned PWM mode . . . . .3701
Figure 700.Generation of two phase-shifted PWM signals with 50% duty cycle . . . . .3703
Figure 701.Combined PWM mode on channels 1 and 3 . . . . .3704
Figure 702.OCREF_CLR input selection multiplexer . . . . .3705
Figure 703.Clearing TIMx tim_ocxref . . . . .3705
Figure 704.Example of One-pulse mode . . . . .3706
Figure 705.Retriggerable one-pulse mode . . . . .3708
Figure 706.Pulse generator circuitry . . . . .3709
Figure 707.Pulse generation on compare event, for edge-aligned and encoder modes . . . . .3709
Figure 708.Extended pulse width in case of concurrent triggers . . . . .3710
Figure 709.Example of counter operation in encoder interface mode . . . . .3712
Figure 710. Example of encoder interface mode with tim_ti1fp1 polarity inverted3712
Figure 711. Quadrature encoder counting modes3713
Figure 712. Direction plus clock encoder mode3714
Figure 713. Directional clock encoder mode (CC1P = CC2P = 0)3715
Figure 714. Directional clock encoder mode (CC1P = CC2P = 1)3715
Figure 715. Index gating options3717
Figure 716. Jittered Index signals3717
Figure 717. Index generation for IPOS[1:0] = 113718
Figure 718. Counter reading with index gated on channel A (IPOS[1:0] = 11)3718
Figure 719. Counter reading with index ungated (IPOS[1:0] = 00)3719
Figure 720. Counter reading with index gated on channel A and B3719
Figure 721. Encoder mode behavior in case of narrow index pulse (IPOS[1:0] = 11)3720
Figure 722. Counter reset Narrow index pulse (closer view, ARR = 0x07)3721
Figure 723. Index behavior in x1 and x2 mode (IPOS[1:0] = 01)3722
Figure 724. Directional index sensitivity3722
Figure 725. Counter reset as function of FIDX bit setting3723
Figure 726. Index blanking3723
Figure 727. Index behavior in clock + direction mode, IPOS[0] = 13724
Figure 728. Index behavior in directional clock mode, IPOS[0] = 13724
Figure 729. State diagram for quadrature encoded signals3725
Figure 730. Up-counting encoder error detection3726
Figure 731. Down-counting encode error detection3727
Figure 732. Encoder mode change with preload transferred on update (SMSPS = 0)3728
Figure 733. Control circuit in reset mode3730
Figure 734. Control circuit in gated mode3731
Figure 735. Control circuit in trigger mode3731
Figure 736. Control circuit in external clock mode 2 + trigger mode3733
Figure 737. Master/Slave timer example3733
Figure 738. Master/slave connection example with 1 channel only timers3734
Figure 739. Gating TIM_slv with tim_oc1ref of TIM_mstr3735
Figure 740. Gating TIM_slv with Enable of TIM_mstr3736
Figure 741. Triggering TIM_slv with update of TIM_mstr3737
Figure 742. Triggering TIM_slv with Enable of TIM_mstr3737
Figure 743. Triggering TIM_mstr and TIM_slv with TIM_mstr tim_ti1 input3738
Figure 744. Basic timer block diagram3781
Figure 745. Control circuit in normal mode, internal clock divided by 13782
Figure 746. Counter timing diagram with prescaler division change from 1 to 23783
Figure 747. Counter timing diagram with prescaler division change from 1 to 43784
Figure 748. Counter timing diagram, internal clock divided by 13785
Figure 749. Counter timing diagram, internal clock divided by 23785
Figure 750. Counter timing diagram, internal clock divided by 43786
Figure 751. Counter timing diagram, internal clock divided by N3786
Figure 752. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded)3787
Figure 753. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded)3788
Figure 754. Dithering principle3789
Figure 755. Data format and register coding in dithering mode3789
Figure 756. FCnt resolution vs frequency3790
Figure 757. PWM dithering pattern3790
Figure 758. General-purpose timer block diagram (TIM12)3806
Figure 759. General-purpose timer block diagram (TIM10/TIM11/TIM13/TIM14)3807
Figure 760. Counter timing diagram with prescaler division change from 1 to 2 . . . . .3810
Figure 761. Counter timing diagram with prescaler division change from 1 to 4 . . . . .3810
Figure 762. Counter timing diagram, internal clock divided by 1 . . . . .3811
Figure 763. Counter timing diagram, internal clock divided by 2 . . . . .3812
Figure 764. Counter timing diagram, internal clock divided by 4 . . . . .3812
Figure 765. Counter timing diagram, internal clock divided by N . . . . .3813
Figure 766. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not
preloaded) . . . . .
3813
Figure 767. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR
preloaded) . . . . .
3814
Figure 768. Control circuit in normal mode, internal clock divided by 1 . . . . .3815
Figure 769. tim_ti2 external clock connection example . . . . .3815
Figure 770. Control circuit in external clock mode 1 . . . . .3816
Figure 771. Capture/compare channel 1 input stage (TIM10/TIM11/TIM13/TIM14) . . . . .3817
Figure 772. Capture/compare channel 1 input stage (TIM12) . . . . .3817
Figure 773. Capture/compare channel 1 main circuit . . . . .3818
Figure 774. Output stage of capture/compare channel 1 . . . . .3818
Figure 775. PWM input mode timing . . . . .3820
Figure 776. Output compare mode, toggle on tim_oc1 . . . . .3822
Figure 777. Edge-aligned PWM waveforms (ARR = 8) . . . . .3823
Figure 778. Dithering principle . . . . .3824
Figure 779. Data format and register coding in dithering mode . . . . .3824
Figure 780. PWM resolution vs frequency . . . . .3825
Figure 781. PWM dithering pattern . . . . .3826
Figure 782. Combined PWM mode on channel 1 and 2 . . . . .3828
Figure 783. Example of one pulse mode . . . . .3829
Figure 784. Retriggerable one pulse mode . . . . .3830
Figure 785. Measuring time interval between edges on 2 signals . . . . .3831
Figure 786. Control circuit in reset mode . . . . .3832
Figure 787. Control circuit in gated mode . . . . .3833
Figure 788. Control circuit in trigger mode . . . . .3833
Figure 789. TIM15 block diagram . . . . .3876
Figure 790. TIM16/TIM17 block diagram . . . . .3877
Figure 791. Counter timing diagram with prescaler division change from 1 to 2 . . . . .3881
Figure 792. Counter timing diagram with prescaler division change from 1 to 4 . . . . .3882
Figure 793. Counter timing diagram, internal clock divided by 1 . . . . .3883
Figure 794. Counter timing diagram, internal clock divided by 2 . . . . .3884
Figure 795. Counter timing diagram, internal clock divided by 4 . . . . .3884
Figure 796. Counter timing diagram, internal clock divided by N . . . . .3885
Figure 797. Counter timing diagram, update event when ARPE = 0
(TIMx_ARR not preloaded) . . . . .
3885
Figure 798. Counter timing diagram, update event when ARPE = 1
(TIMx_ARR preloaded) . . . . .
3886
Figure 799. Update rate examples depending on mode and TIMx_RCR register settings . . . . .3887
Figure 800. Control circuit in normal mode, internal clock divided by 1 . . . . .3888
Figure 801. tim_ti2 external clock connection example . . . . .3888
Figure 802. Control circuit in external clock mode 1 . . . . .3889
Figure 803. Capture/compare channel (example: channel 1 input stage) . . . . .3890
Figure 804. Capture/compare channel 1 main circuit . . . . .3890
Figure 805. Output stage of capture/compare channel (channel 1) . . . . .3891
Figure 806. Output stage of capture/compare channel (channel 2 for TIM15) . . . . .3891
Figure 807. PWM input mode timing . . . . .3894
Figure 808. Output compare mode, toggle on tim_oc13896
Figure 809. Edge-aligned PWM waveforms (ARR = 8)3897
Figure 810. Dithering principle3898
Figure 811. Data format and register coding in dithering mode3898
Figure 812. PWM resolution vs frequency3899
Figure 813. PWM dithering pattern3900
Figure 814. Combined PWM mode on channel 1 and 23902
Figure 815. Complementary output with symmetrical dead-time insertion3903
Figure 816. Asymmetrical deadtime3904
Figure 817. Dead-time waveforms with delay greater than the negative pulse3904
Figure 818. Dead-time waveforms with delay greater than the positive pulse3904
Figure 819. Break circuitry overview3906
Figure 820. Output behavior in response to a break event on tim_brk3908
Figure 821. Output redirection3910
Figure 822. tim_ocref_clr input selection multiplexer3911
Figure 823. 6-step generation, COM example (OSSR = 1)3912
Figure 824. Example of one pulse mode3913
Figure 825. Retriggerable one pulse mode3915
Figure 826. Measuring time interval between edges on 2 signals3915
Figure 827. Control circuit in reset mode3916
Figure 828. Control circuit in gated mode3917
Figure 829. Control circuit in trigger mode3918
Figure 830. LPTIM1/2/3/4 block diagram(1)3989
Figure 831. LPTIM5 block diagram(1)3990
Figure 832. Glitch filter timing diagram3994
Figure 833. LPTIM output waveform, single-counting mode configuration
when repetition register content is different than zero (with PRELOAD = 1)
3996
Figure 834. LPTIM output waveform, single-counting mode configuration
and Set-once mode activated (WAVE bit is set)
3996
Figure 835. LPTIM output waveform, Continuous counting mode configuration3997
Figure 836. Waveform generation3998
Figure 837. Encoder mode counting sequence4002
Figure 838. Continuous counting mode when repetition register LPTIM_RCR
different from zero (with PRELOAD = 1)
4003
Figure 839. Capture/compare input stage (channel 1)4004
Figure 840. Capture/compare output stage (channel 1)4004
Figure 841. Edge-aligned PWM mode (PRELOAD = 1)4006
Figure 842. Edge-aligned PWM waveforms (ARR=8 and CCxP = 0)4007
Figure 843. PWM mode with immediate update versus preloaded update4008
Figure 844. STGEN block diagram4043
Figure 845. Top view of independent watchdogs4060
Figure 846. Windows watchdogs top view4061
Figure 847. Independent watchdog block diagram4063
Figure 848. Reset timing due to timeout4065
Figure 849. Reset timing due to refresh in the not allowed area4066
Figure 850. Changing PR, RL, and performing a refresh(1)4067
Figure 851. Window comparator update(1)4068
Figure 852. Independent watchdog interrupt timing diagram4070
Figure 853. Early wake-up comparator update(1)4071
Figure 854. Watchdog block diagram4081
Figure 855. Window watchdog timing diagram4083
Figure 856. RTC block diagram4091
Figure 857. TAMP block diagram .....4157
Figure 858. Backup registers protection zones .....4162
Figure 859. Access rights for TAMP resources according to the CID .....4165
Figure 860. Tamper sampling with precharge pulse .....4170
Figure 861. Low level detection with precharge and filtering .....4170
Figure 862. Active tamper filtering .....4172
Figure 863. Block diagram .....4218
Figure 864. I2C-bus protocol .....4220
Figure 865. Setup and hold timings .....4222
Figure 866. I2C initialization flow .....4224
Figure 867. Data reception .....4225
Figure 868. Data transmission .....4226
Figure 869. Slave initialization flow .....4229
Figure 870. Transfer sequence flow for I2C slave transmitter, NOSTRETCH = 0 .....4231
Figure 871. Transfer sequence flow for I2C slave transmitter, NOSTRETCH = 1 .....4232
Figure 872. Transfer bus diagrams for I2C slave transmitter (mandatory events only) .....4233
Figure 873. Transfer sequence flow for I2C slave receiver, NOSTRETCH = 0 .....4234
Figure 874. Transfer sequence flow for I2C slave receiver, NOSTRETCH = 1 .....4235
Figure 875. Transfer bus diagrams for I2C slave receiver
(mandatory events only) .....
4235
Figure 876. Master clock generation .....4237
Figure 877. Master initialization flow .....4239
Figure 878. 10-bit address read access with HEAD10R = 0 .....4239
Figure 879. 10-bit address read access with HEAD10R = 1 .....4240
Figure 880. Transfer sequence flow for I2C master transmitter, N ≤ 255 bytes .....4241
Figure 881. Transfer sequence flow for I2C master transmitter, N > 255 bytes .....4242
Figure 882. Transfer bus diagrams for I2C master transmitter
(mandatory events only) .....
4243
Figure 883. Transfer sequence flow for I2C master receiver, N ≤ 255 bytes .....4245
Figure 884. Transfer sequence flow for I2C master receiver, N > 255 bytes .....4246
Figure 885. Transfer bus diagrams for I2C master receiver
(mandatory events only) .....
4247
Figure 886. Timeout intervals for tLOW:SEXT, tLOW:MEXT .....4251
Figure 887. Transfer sequence flow for SMBus slave transmitter N bytes + PEC .....4254
Figure 888. Transfer bus diagram for SMBus slave transmitter (SBC = 1) .....4255
Figure 889. Transfer sequence flow for SMBus slave receiver N bytes + PEC .....4256
Figure 890. Bus transfer diagrams for SMBus slave receiver (SBC = 1) .....4257
Figure 891. Bus transfer diagrams for SMBus master transmitter .....4258
Figure 892. Bus transfer diagrams for SMBus master receiver .....4260
Figure 893. I3C block diagram .....4289
Figure 894. I3C (primary) controller state and programming sequence diagram .....4293
Figure 895. I3C target state and programing sequence diagram .....4298
Figure 896. I3C CCC messages, as controller .....4312
Figure 897. I3C broadcast ENTDAACCC, as controller .....4313
Figure 898. I3C broadcast, direct read and direct write RSTACT CCC, as controller .....4314
Figure 899. I3C CCC messages, as target .....4316
Figure 900. I3C broadcast ENTDAACCC, as target .....4317
Figure 901. I3C broadcast DEFTGTS CCC, as target .....4318
Figure 902. I3C broadcast DEFGRPA CCC, as target .....4319
Figure 903. I3C private read/write messages, as controller .....4321
Figure 904. I3C private read/write messages, as target .....4322
Figure 905. Legacy I2C read/write messages, as controller .....4323
Figure 906. IBI transfer, as controller/target4324
Figure 907. Hot-join request transfer, as controller/target4325
Figure 908. Controller-role request transfer, as controller/target4326
Figure 909. C-FIFO management, as controller4327
Figure 910. TX-FIFO management, as controller4329
Figure 911. RX-FIFO management, as controller4331
Figure 912. S-FIFO management, as controller4334
Figure 913. RX-FIFO management, as target4335
Figure 914. TX-FIFO management with I3C_TGTTDR, as target4337
Figure 915. TX-FIFO management by software without I3C_TGTTDR
if reading less bytes than TX-FIFO size, as target
4339
Figure 916. USART block diagram4399
Figure 917. Word length programming4403
Figure 918. Configurable stop bits4405
Figure 919. TC/TXE behavior when transmitting4407
Figure 920. Start bit detection when oversampling by 16 or 84408
Figure 921. usart_ker_ck clock divider block diagram4411
Figure 922. Data sampling when oversampling by 164412
Figure 923. Data sampling when oversampling by 84413
Figure 924. Mute mode using Idle line detection4420
Figure 925. Mute mode using address mark detection4421
Figure 926. Break detection in LIN mode (11-bit break length - LBDL bit is set)4424
Figure 927. Break detection in LIN mode vs. Framing error detection4425
Figure 928. USART example of synchronous master transmission4426
Figure 929. USART data clock timing diagram in synchronous master mode
(M bits = 00)
4426
Figure 930. USART data clock timing diagram in synchronous master mode
(M bits = 01)
4427
Figure 931. USART data clock timing diagram in synchronous slave mode
(M bits = 00)
4428
Figure 932. ISO 7816-3 asynchronous protocol4430
Figure 933. Parity error detection using the 1.5 stop bits4432
Figure 934. IrDA SIR ENDEC block diagram4436
Figure 935. IrDA data modulation (3/16) - normal mode4436
Figure 936. Transmission using DMA4438
Figure 937. Reception using DMA4439
Figure 938. Hardware flow control between two USARTs4439
Figure 939. RS232 RTS flow control4440
Figure 940. RS232 CTS flow control4441
Figure 941. LPUART block diagram4491
Figure 942. LPUART word length programming4495
Figure 943. Configurable stop bits4497
Figure 944. TC/TXE behavior when transmitting4499
Figure 945. lpuart_ker_ck clock divider block diagram4503
Figure 946. Mute mode using Idle line detection4507
Figure 947. Mute mode using address mark detection4508
Figure 948. Transmission using DMA4510
Figure 949. Reception using DMA4511
Figure 950. Hardware flow control between two LPUARTs4512
Figure 951. RS232 RTS flow control4512
Figure 952. RS232 CTS flow control4513
Figure 953. SPI/I2S block diagram4550
Figure 954. Full-duplex single master/ single slave application . . . . .4554
Figure 955. Half-duplex single master/ single slave application . . . . .4554
Figure 956. Simplex single master / single slave application
(master in transmit-only / slave in receive-only mode) . . . . .
4555
Figure 957. Master and three independent slaves connected in star topology . . . . .4556
Figure 958. Master and three slaves connected in circular (daisy chain) topology . . . . .4558
Figure 959. Multimaster application . . . . .4559
Figure 960. Scheme of SS control logic. . . . .4561
Figure 961. Data flow timing control (SSOE = 1, SSOM = 0, SSM = 0) . . . . .4561
Figure 962. SS interleaving pulses between data (SSOE = 1, SSOM = 1, SSM = 0) . . . . .4562
Figure 963. Data clock timing diagram . . . . .4564
Figure 964. Data alignment when data size is not equal to 8, 16 or 32 bits . . . . .4565
Figure 965. Packing data in FIFO for transmission and reception for a full-featured instance . . . . .4574
Figure 966. TI mode transfer . . . . .4577
Figure 967. Optional configurations of the slave behavior when an underrun condition is detected . . . . .4579
Figure 968. Waveform examples . . . . .4587
Figure 969. Master I2S Philips protocol waveforms (16/32-bit full accuracy) . . . . .4588
Figure 970. I2S Philips standard waveforms . . . . .4588
Figure 971. Master MSB-justified 16- or 32-bit full-accuracy length . . . . .4589
Figure 972. Master MSB-justified 16- or 24-bit data length . . . . .4589
Figure 973. Slave MSB-justified 16-, 24- or 32-bit data length . . . . .4590
Figure 974. LSB-justified 16 or 24-bit data length . . . . .4590
Figure 975. Master PCM when the frame length is equal the data length . . . . .4591
Figure 976. Master PCM standard waveforms (16 or 24-bit data length) . . . . .4591
Figure 977. Slave PCM waveforms . . . . .4592
Figure 978. Startup sequence, I2S Philips standard, master. . . . .4595
Figure 979. Startup sequence, I2S Philips standard, slave . . . . .4596
Figure 980. Stop sequence, I2S Philips standard, master. . . . .4596
Figure 981. I2S clock generator architecture . . . . .4597
Figure 982. Data Format . . . . .4599
Figure 983. Handling of underrun situation . . . . .4601
Figure 984. Handling of overrun situation . . . . .4602
Figure 985. Frame error detection, with FIXCH = 0 . . . . .4603
Figure 986. Frame error detection, with FIXCH = 1 . . . . .4603
Figure 987. SAI functional block diagram . . . . .4633
Figure 988. Audio frame . . . . .4637
Figure 989. FS role is start of frame + channel side identification (FSDEF = TRIS = 1) . . . . .4639
Figure 990. FS role is start of frame (FSDEF = 0) . . . . .4640
Figure 991. Slot size configuration with FBOFF = 0 in SAI_xSLOTR . . . . .4641
Figure 992. First bit offset . . . . .4641
Figure 993. Audio block clock generator overview . . . . .4643
Figure 994. PDM typical connection and timing. . . . .4647
Figure 995. Detailed PDM interface block diagram . . . . .4648
Figure 996. Start-up sequence . . . . .4649
Figure 997. SAI_ADR format in TDM, 32-bit slot width . . . . .4650
Figure 998. SAI_ADR format in TDM, 16-bit slot width . . . . .4651
Figure 999. SAI_ADR format in TDM, 8-bit slot width . . . . .4652
Figure 1000. AC'97 audio frame . . . . .4655
Figure 1001. Example of typical AC'97 configuration on devices featuring at least
two embedded SAIs (three external AC'97 decoders) . . . . .
4656
Figure 1002. SPDIF format . . . . .4657
Figure 1003. SAI_xDR register ordering . . . . .4658
Figure 1004. Data companding hardware in an audio block in the SAI . . . . .4661
Figure 1005. Tristate strategy on SD output line on an inactive slot . . . . .4663
Figure 1006. Tristate on output data line in a protocol like I2S . . . . .4664
Figure 1007. Overrun detection error. . . . .4665
Figure 1008. FIFO underrun event . . . . .4665
Figure 1009. SPDIFRX block diagram . . . . .4702
Figure 1010. S/PDIF sub-frame format . . . . .4703
Figure 1011. S/PDIF block format . . . . .4704
Figure 1012. S/PDIF Preambles . . . . .4704
Figure 1013. Channel coding example . . . . .4705
Figure 1014. SPDIFRX decoder . . . . .4706
Figure 1015. Noise filtering and edge detection . . . . .4706
Figure 1016. Thresholds . . . . .4708
Figure 1017. Synchronization flowchart. . . . .4710
Figure 1018. Synchronization process scheduling . . . . .4711
Figure 1019. SPDIFRX States . . . . .4712
Figure 1020. SPDIFRX_FMTx_DR register format . . . . .4714
Figure 1021. Channel/user data format . . . . .4715
Figure 1022. S/PDIF overrun error when RXSTEO = 0 . . . . .4717
Figure 1023. S/PDIF overrun error when RXSTEO = 1 . . . . .4718
Figure 1024. SPDIFRX interface interrupt mapping diagram . . . . .4721
Figure 1025. CAN subsystem . . . . .4739
Figure 1026. FDCAN block diagram . . . . .4741
Figure 1027. Transceiver delay measurement . . . . .4746
Figure 1028. Pin control in bus monitoring mode . . . . .4748
Figure 1029. Pin control in loop back mode. . . . .4750
Figure 1030. CAN error state diagram. . . . .4751
Figure 1031. Message RAM configuration. . . . .4752
Figure 1032. Standard message ID filter path . . . . .4755
Figure 1033. Extended message ID filter path. . . . .4756
Figure 1034. Example of mixed configuration dedicated Tx buffers / Tx FIFO . . . . .4762
Figure 1035. Example of mixed configuration dedicated Tx buffers / Tx queue . . . . .4762
Figure 1036. Bit timing . . . . .4764
Figure 1037. Bypass operation . . . . .4766
Figure 1038. FSM calibration. . . . .4767
Figure 1039. Cycle time and global time synchronization . . . . .4782
Figure 1040. TTCAN level 0 and level 2 drift compensation . . . . .4783
Figure 1041. Level 0 schedule synchronization state machine . . . . .4790
Figure 1042. Level 0 master to slave relation . . . . .4791
Figure 1043. USB subsystem overview . . . . .4868
Figure 1044. USB2 host high-speed port block diagram . . . . .4870
Figure 1045. USB2 host high-speed port reset . . . . .4872
Figure 1046. USB3 DRD port block diagram . . . . .4878
Figure 1047. USB3 DRD port reset . . . . .4880
Figure 1048. VBUS connection diagram . . . . .4885
Figure 1049. USB Type-C implementation . . . . .4890
Figure 1050. USB Type-C and power delivery block diagram . . . . .4891
Figure 1051. USB Type-C and power delivery reset . . . . .4892
Figure 1052. USB3DR block diagram . . . . .4895
Figure 1053. USBH block diagram . . . . .4998
Figure 1054. UCPD block diagram . . . . .5014
Figure 1055. Clock division and timing elements. . . . .5015
Figure 1056.K-code transmission . . . . .5017
Figure 1057.Transmit order for various sizes of data . . . . .5019
Figure 1058.Packet format . . . . .5019
Figure 1059.Line format of Hard Reset. . . . .5020
Figure 1060.Line format of Cable Reset. . . . .5020
Figure 1061.BIST test data frame. . . . .5021
Figure 1062.BIST Carrier Mode 2 frame. . . . .5022
Figure 1063.UCPD BMC transmitter architecture. . . . .5022
Figure 1064.UCPD BMC receiver architecture . . . . .5024
Figure 1065.PCIE subsystem diagram . . . . .5052
Figure 1066.PCIE controller block diagram . . . . .5056
Figure 1067.COMBOPHY block diagram . . . . .5059
Figure 1068.Ethernet subsystem block diagram. . . . .5062
Figure 1069.ETHSS external signals (simplified view) . . . . .5063
Figure 1070.Ethernet subsystem internal signals . . . . .5064
Figure 1071.Ethernet high-level block diagram . . . . .5075
Figure 1072.DMA transmission flow (standard mode) . . . . .5078
Figure 1073.DMA transmission flow (OSP mode) . . . . .5080
Figure 1074.Receive DMA flow . . . . .5082
Figure 1075.Overview of MAC transmission flow . . . . .5085
Figure 1076.MAC reception flow . . . . .5087
Figure 1077.Packet filtering sequence . . . . .5104
Figure 1078.Networked time synchronization . . . . .5118
Figure 1079.Propagation delay calculation in clocks supporting
    peer-to-peer path correction . . . . .
5119
Figure 1080.System time update using fine correction method . . . . .5129
Figure 1081.Time aware shaper implementation for traffic scheduling. . . . .5141
Figure 1082.Implementing a guard band to avoid delays due to interfering frames . . . . .5142
Figure 1083.GCL governing gate close and open events block diagram
    (from IEEE 802.1 Qbv specifications) . . . . .
5143
Figure 1084.GCL and associated registers - BaseTime and CycleTime . . . . .5147
Figure 1085.GCL and associated registers - BaseTime and CycleTime list execution
    time > CycleTime . . . . .
5148
Figure 1086.Switching to a new Configuration that is Aligned with the Existing Configuration. . . . .5149
Figure 1087.Switching to the New List by Truncating the Current List . . . . .5151
Figure 1088.Switching to New List By Extending the Current List . . . . .5152
Figure 1089.mPacket formats. . . . .5156
Figure 1090.MAC data Alignment Feature . . . . .5161
Figure 1091.Time-based scheduler implementation. . . . .5169
Figure 1092.Time-based scheduling flow . . . . .5170
Figure 1093.TCP segmentation offload overview. . . . .5176
Figure 1094.TCP segmentation offload flow. . . . .5177
Figure 1095.Header and payload fields of segmented packets . . . . .5180
Figure 1096.Supported PHY interfaces . . . . .5192
Figure 1097.SMA Interface block . . . . .5193
Figure 1098.MDIO packet structure (Clause 45) . . . . .5194
Figure 1099.MDIO packet structure (Clause 22) . . . . .5195
Figure 1100.SMA write operation flow . . . . .5196
Figure 1101.Write data packet . . . . .5197
Figure 1102.Read data packet . . . . .5197
Figure 1103.Media independent interface (MII) signals . . . . .5199
Figure 1104.RMII block diagram. . . . .5201
Figure 1105. Transmission bit order . . . . .5202
Figure 1106. Receive bit order. . . . .5203
Figure 1107. RGMII block diagram and interface signals . . . . .5204
Figure 1108. LPI transitions (Transmit, 100 Mbds) . . . . .5213
Figure 1109. LPI Tx clock gating (when LPITCSE = 1) . . . . .5214
Figure 1110. LPI transitions (receive, 100 Mbps) . . . . .5215
Figure 1111. Descriptor ring structure . . . . .5247
Figure 1112. DMA descriptor ring . . . . .5248
Figure 1113. Descriptor tail pointer example 1 . . . . .5249
Figure 1114. Descriptor tail pointer example 2 . . . . .5249
Figure 1115. Transmit descriptor (read format) . . . . .5250
Figure 1116. Transmit descriptor write-back format. . . . .5255
Figure 1117. Transmit context descriptor format . . . . .5260
Figure 1118. Receive normal descriptor (read format) . . . . .5263
Figure 1119. Receive normal descriptor (write-back format). . . . .5266
Figure 1120. Receive context descriptor . . . . .5274
Figure 1121. Enhanced normal descriptor (read format). . . . .5276
Figure 1122. Enhanced normal descriptor (write format). . . . .5277
Figure 1123. Enhanced context descriptor (read format) . . . . .5278
Figure 1124. Enhanced context descriptor (write format) . . . . .5279
Figure 1125. Generation of ETH_DMAISR flags . . . . .5301
Figure 1126. Block diagram . . . . .5518
Figure 1127. FES overview . . . . .5522
Figure 1128. Ethernet frame formats . . . . .5523
Figure 1129. Redundancy tagged frame . . . . .5527
Figure 1130. Token bucket . . . . .5528
Figure 1131. Ethernet frame with preemption . . . . .5529
Figure 1132. FES block diagram . . . . .5530
Figure 1133. FES forwarding path (GMII/MII port). . . . .5531
Figure 1134. Ethernet frame timestamp point . . . . .5533
Figure 1135. Forwarding decision . . . . .5536
Figure 1136. IPO . . . . .5538
Figure 1137. Frame priority . . . . .5539
Figure 1138. Decoding Drop Eligibility of RX frame. . . . .5540
Figure 1139. Encoding Drop Eligibility for TX frame . . . . .5541
Figure 1140. Metering principle . . . . .5542
Figure 1141. Policing . . . . .5543
Figure 1142. Mapping frames to policers. . . . .5545
Figure 1143. Ethernet frame with Time Trailer . . . . .5547
Figure 1144. Ethernet frame with 8-bit Management Trailer . . . . .5548
Figure 1145. Ethernet frame with 16-bit Management Trailer . . . . .5548
Figure 1146. 16-bit Management Trailer with 8-bit offset . . . . .5549
Figure 1147. Static MAC Address table. . . . .5551
Figure 1148. Calculation of Hash functions for Static MAC Address table . . . . .5552
Figure 1149. MAC Address search and Forwarding decision . . . . .5554
Figure 1150. Frame Early Drop algorithm . . . . .5559
Figure 1151. Stream number . . . . .5562
Figure 1152. Pointers from SMAC table . . . . .5563
Figure 1153. Effect of FRER on the Forwarding Decision. . . . .5564
Figure 1154. FRTC interfaces . . . . .5567
Figure 1155. FSC, Schedulers and tables . . . . .5568
Figure 1156. Downcounter, emergency disable and scheduler. . . . .5569
Figure 1157.Starttime . . . . .5570
Figure 1158.FPTS interfaces . . . . .5571
Figure 1159.Internal block(s) . . . . .5572
Figure 1160.Base address pointers . . . . .5573
Figure 1161.Internal blocks. . . . .5574
Figure 1162.AHB2Avalon interfaces. . . . .5575
Figure 1163.RGMII adapter block diagram. . . . .5578
Figure 1164.System block diagram . . . . .5734
Figure 1165.Topology example . . . . .5736
Figure 1166.ACM block diagram . . . . .5737
Figure 1167.Frame format according to IEEE 802.1Q . . . . .5738
Figure 1168.Bypass module block diagram . . . . .5741
Figure 1169.Schedule execution example . . . . .5743
Figure 1170.Redundant schedule execution example . . . . .5744
Figure 1171.Hardware debug port block diagram. . . . .5746
Figure 1172.SERF overview . . . . .5754
Figure 1173.AXI SERD block diagram . . . . .5756
Figure 1174.AHB SERD for IP block diagram . . . . .5757
Figure 1175.AHB SERD for ICN block diagram . . . . .5758
Figure 1176.AHB SERDAB for AHB2APB block diagram . . . . .5759
Figure 1177.SERC block diagram . . . . .5759
Figure 1178.SERF with an RISUP . . . . .5760
Figure 1179.Block diagram of debug support infrastructure. . . . .5776
Figure 1180.Debug clock domains . . . . .5778
Figure 1181.Debug and access port connections. . . . .5783
Figure 1182.Debug APB CoreSight topology . . . . .5787
Figure 1183.CoreSight timestamp distribution . . . . .5789
Figure 1184.Embedded cross trigger . . . . .5790
Figure 1185.Mapping trigger inputs to outputs . . . . .5795
Figure 1186.Cross trigger configuration example . . . . .5796
Figure 1187.System trace macrocell . . . . .5800
Figure 1188.Cortex-M33 CoreSight topology . . . . .5831
Figure 1189.Cortex-M0+ CoreSight topology . . . . .5835