21. Cyclic redundancy check calculation unit (CRC) ..... 1226
| 21.1 | CRC introduction | 1226 |
| 21.2 | CRC main features | 1226 |
| 21.3 | CRC functional description | 1227 |
| 21.3.1 | CRC block diagram | 1227 |
| 21.3.2 | CRC internal signals | 1227 |
| 21.3.3 | CRC operation | 1227 |
| 21.4 | CRC registers | 1229 |
| 21.4.1 | CRC data register (CRC_DR) | 1229 |
| 21.4.2 | CRC independent data register (CRC_IDR) | 1229 |
| 21.4.3 | CRC control register (CRC_CR) | 1230 |
| 21.4.4 | CRC initial value (CRC_INIT) | 1231 |
| 21.4.5 | CRC polynomial (CRC_POL) | 1231 |
| 21.4.6 | CRC hardware configuration register (CRC_HWCFGR) | 1231 |
| 21.4.7 | CRC version register (CRC_VERR) | 1232 |
| 21.4.8 | CRC identification register (CRC_IPIDR) | 1232 |
| 21.4.9 | CRC size identification register (CRC_SIDR) | 1233 |
| 21.4.10 | CRC register map | 1234 |
| 22 | Flexible memory controller (FMC) | 1235 |
| 22.1 | FMC main features | 1235 |
| 22.2 | FMC implementation | 1236 |
| 22.3 | FMC block diagram | 1236 |
| 22.4 | FMC internal signals | 1237 |
| 22.5 | AHB interface | 1237 |
| 22.6 | AXI interface | 1238 |
| 22.6.1 | Supported memories and transactions | 1238 |
| 22.7 | External device address mapping | 1239 |
| 22.7.1 | NOR/PSRAM address mapping | 1240 |
| 22.7.2 | NAND flash memory address mapping | 1240 |
| 22.8 | NOR flash/PSRAM controller | 1242 |
| 22.8.1 | External memory interface signals | 1243 |
| 22.8.2 | Supported memories and transactions | 1245 |
| 22.8.3 | General timing rules | 1247 |
| 22.8.4 | NOR flash/PSRAM controller asynchronous transactions | 1247 |
| 22.8.5 | Synchronous transactions | 1267 |
| 22.8.6 | NOR/PSRAM controller registers | 1273 |
| 22.9 | NAND flash controller . . . . . | 1285 |
| 22.9.1 | External memory interface signals . . . . . | 1286 |
| 22.9.2 | NAND flash supported memories and transactions . . . . . | 1287 |
| 22.9.3 | Timing diagrams for NAND flash memory . . . . . | 1288 |
| 22.9.4 | NAND flash operations . . . . . | 1289 |
| 22.9.5 | NAND flash prewait function . . . . . | 1290 |
| 22.9.6 | NAND ECC controller . . . . . | 1290 |
| 22.9.7 | FMC command sequencer . . . . . | 1293 |
| 22.9.8 | NAND flash controller interrupt . . . . . | 1300 |
| 22.9.9 | NAND flash controller registers . . . . . | 1301 |
| 22.10 | FMC register map . . . . . | 1325 |
| 23 | Quad-SPI interface (QUADSPI) . . . . . | 1329 |
| 23.1 | Introduction . . . . . | 1329 |
| 23.2 | QUADSPI main features . . . . . | 1329 |
| 23.3 | QUADSPI functional description . . . . . | 1329 |
| 23.3.1 | QUADSPI block diagram . . . . . | 1329 |
| 23.3.2 | QUADSPI pins and internal signals . . . . . | 1330 |
| 23.3.3 | QUADSPI command sequence . . . . . | 1331 |
| 23.3.4 | QUADSPI signal interface protocol modes . . . . . | 1333 |
| 23.3.5 | QUADSPI indirect mode . . . . . | 1335 |
| 23.3.6 | QUADSPI automatic status-polling mode . . . . . | 1337 |
| 23.3.7 | QUADSPI memory-mapped mode . . . . . | 1337 |
| 23.3.8 | QUADSPI free-running clock mode . . . . . | 1338 |
| 23.3.9 | QUADSPI flash memory configuration . . . . . | 1338 |
| 23.3.10 | QUADSPI delayed data sampling . . . . . | 1339 |
| 23.3.11 | QUADSPI configuration . . . . . | 1339 |
| 23.3.12 | QUADSPI use . . . . . | 1340 |
| 23.3.13 | Sending the instruction only once . . . . . | 1341 |
| 23.3.14 | QUADSPI error management . . . . . | 1342 |
| 23.3.15 | QUADSPI busy bit and abort functionality . . . . . | 1342 |
| 23.3.16 | NCS behavior . . . . . | 1342 |
| 23.4 | QUADSPI interrupts . . . . . | 1344 |
| 23.5 | QUADSPI registers . . . . . | 1345 |
| 23.5.1 | QUADSPI control register (QUADSPI_CR) . . . . . | 1345 |
| 23.5.2 | QUADSPI device configuration register (QUADSPI_DCR) . . . . . | 1348 |
| 23.5.3 | QUADSPI status register (QUADSPI_SR) ..... | 1349 |
| 23.5.4 | QUADSPI flag clear register (QUADSPI_FCR) ..... | 1350 |
| 23.5.5 | QUADSPI data length register (QUADSPI_DLR) ..... | 1350 |
| 23.5.6 | QUADSPI communication configuration register (QUADSPI_CCR) .. | 1351 |
| 23.5.7 | QUADSPI address register (QUADSPI_AR) ..... | 1353 |
| 23.5.8 | QUADSPI alternate-byte register (QUADSPI_ABR) ..... | 1353 |
| 23.5.9 | QUADSPI data register (QUADSPI_DR) ..... | 1354 |
| 23.5.10 | QUADSPI polling status mask register (QUADSPI_PSMKR) ..... | 1354 |
| 23.5.11 | QUADSPI polling status match register (QUADSPI_PSMAR) ..... | 1355 |
| 23.5.12 | QUADSPI polling interval register (QUADSPI_PIR) ..... | 1355 |
| 23.5.13 | QUADSPI low-power timeout register (QUADSPI_LPTR) ..... | 1356 |
| 23.5.14 | QUADSPI hardware configuration register (QUADSPI_HWCFGR) .. | 1356 |
| 23.5.15 | QUADSPI version register (QUADSPI_VERR) ..... | 1356 |
| 23.5.16 | QUADSPI identification register (QUADSPI_IPIDR) ..... | 1357 |
| 23.5.17 | QUADSPI size identification register (QUADSPI_SIDR) ..... | 1357 |
| 23.5.18 | QUADSPI register map ..... | 1358 |
| 24 | Secure digital input/output MultiMediaCard interface (SDMMC) .. | 1360 |
| 24.1 | SDMMC main features ..... | 1360 |
| 24.2 | SDMMC implementation ..... | 1360 |
| 24.3 | SDMMC bus topology ..... | 1361 |
| 24.4 | SDMMC operation modes ..... | 1363 |
| 24.5 | SDMMC functional description ..... | 1364 |
| 24.5.1 | SDMMC block diagram ..... | 1364 |
| 24.5.2 | SDMMC pins and internal signals ..... | 1364 |
| 24.5.3 | General description ..... | 1365 |
| 24.5.4 | SDMMC adapter ..... | 1367 |
| 24.5.5 | SDMMC AHB slave interface ..... | 1389 |
| 24.5.6 | SDMMC AHB master interface ..... | 1390 |
| 24.5.7 | AHB and SDMMC_CK clock relation ..... | 1393 |
| 24.6 | Card functional description ..... | 1393 |
| 24.6.1 | SD I/O mode ..... | 1393 |
| 24.6.2 | CMD12 send timing ..... | 1401 |
| 24.6.3 | Sleep (CMD5) ..... | 1405 |
| 24.6.4 | Interrupt mode (Wait-IRQ) ..... | 1406 |
| 24.6.5 | Boot operation ..... | 1407 |
| 24.6.6 | Response R1b handling | 1410 |
| 24.6.7 | Reset and card cycle power | 1411 |
| 24.7 | Hardware flow control | 1412 |
| 24.8 | Ultra-high-speed phase I (UHS-I) voltage switch | 1413 |
| 24.9 | SDMMC interrupts | 1416 |
| 24.10 | SDMMC registers | 1417 |
| 24.10.1 | SDMMC power control register (SDMMC_POWER) | 1417 |
| 24.10.2 | SDMMC clock control register (SDMMC_CLKCR) | 1418 |
| 24.10.3 | SDMMC argument register (SDMMC_ARGR) | 1420 |
| 24.10.4 | SDMMC command register (SDMMC_CMDR) | 1420 |
| 24.10.5 | SDMMC command response register (SDMMC_RESPCMDR) | 1422 |
| 24.10.6 | SDMMC response x register (SDMMC_RESPxR) | 1423 |
| 24.10.7 | SDMMC data timer register (SDMMC_DTIMER) | 1423 |
| 24.10.8 | SDMMC data length register (SDMMC_DLENR) | 1424 |
| 24.10.9 | SDMMC data control register (SDMMC_DCTRL) | 1425 |
| 24.10.10 | SDMMC data counter register (SDMMC_DCNTR) | 1426 |
| 24.10.11 | SDMMC status register (SDMMC_STAR) | 1427 |
| 24.10.12 | SDMMC interrupt clear register (SDMMC_ICR) | 1430 |
| 24.10.13 | SDMMC mask register (SDMMC_MASKR) | 1432 |
| 24.10.14 | SDMMC acknowledgment timer register (SDMMC_ACKTIMER) | 1435 |
| 24.10.15 | SDMMC DMA control register (SDMMC_IDMACTRLR) | 1435 |
| 24.10.16 | SDMMC IDMA buffer size register (SDMMC_IDMABSIZE) | 1436 |
| 24.10.17 | SDMMC IDMA buffer base address register (SDMMC_IDMABASER) | 1437 |
| 24.10.18 | SDMMC IDMA linked list address register (SDMMC_IDMALAR) | 1437 |
| 24.10.19 | SDMMC IDMA linked list memory base register (SDMMC_IDMABAR) | 1438 |
| 24.10.20 | SDMMC data FIFO registers x (SDMMC_FIFORx) | 1439 |
| 24.10.21 | SDMMC version register (SDMMC_VERR) | 1439 |
| 24.10.22 | SDMMC identification register (SDMMC_IPIDR) | 1440 |
| 24.10.23 | SDMMC size identification register (SDMMC_SIDR) | 1440 |
| 24.10.24 | SDMMC register map | 1440 |
| 25 | Delay block (DLYB) | 1443 |
| 25.1 | DLYB introduction | 1443 |
| 25.2 | DLYB main features | 1443 |
| 25.3 | DLYB implementation | 1443 |
| 25.4 | DLYB functional description | 1443 |
| 25.4.1 | DLYB diagram | 1443 |
| 25.4.2 | DLYB pins and internal signals | 1444 |
| 25.4.3 | General description | 1444 |
| 25.4.4 | Delay line length configuration procedure | 1445 |
| 25.4.5 | Output clock phase configuration procedure | 1446 |
| 25.5 | DLYB registers | 1447 |
| 25.5.1 | DLYB control register (DLYB_CR) | 1447 |
| 25.5.2 | DLYB configuration register (DLYB_CFGR) | 1447 |
| 25.5.3 | DLYB register map | 1448 |
| 26 | Analog-to-digital converters (ADC1/2) | 1449 |
| 26.1 | ADC introduction | 1449 |
| 26.2 | ADC main features | 1449 |
| 26.3 | ADC implementation | 1450 |
| 26.4 | ADC functional description | 1452 |
| 26.4.1 | ADC block diagram | 1452 |
| 26.4.2 | ADC pins and internal signals | 1453 |
| 26.4.3 | ADC clocks | 1456 |
| 26.4.4 | ADC connectivity | 1458 |
| 26.4.5 | Slave AHB interface | 1460 |
| 26.4.6 | ADC Deep-power-down mode (DEEPPWD) and ADC voltage regulator (ADVREGEN) | 1460 |
| 26.4.7 | Single-ended and differential input channels | 1461 |
| 26.4.8 | Calibration (ADCAL, ADCALDIF, ADC_CALFACT) | 1461 |
| 26.4.9 | ADC on-off control (ADEN, ADDIS, ADRDY) | 1464 |
| 26.4.10 | Constraints when writing the ADC control bits | 1465 |
| 26.4.11 | Channel selection (ADC_SQRy, ADC_JSQR) | 1466 |
| 26.4.12 | Channel-wise programmable sampling time (SMPR1, SMPR2) | 1467 |
| 26.4.13 | Single conversion mode (CONT = 0) | 1469 |
| 26.4.14 | Continuous conversion mode (CONT = 1) | 1469 |
| 26.4.15 | Starting conversions (ADSTART, JADSTART) | 1470 |
| 26.4.16 | ADC timing | 1471 |
| 26.4.17 | Stopping an ongoing conversion (ADSTP, JADSTP) | 1472 |
| 26.4.18 | Conversion on external trigger and trigger polarity (EXTSEL, EXTEN, JEXTSEL, JEXTEN) | 1473 |
| 26.4.19 | Injected channel management | 1475 |
| 26.4.20 | Discontinuous mode (DISCEN, DISCNUM, JDISCEN) . . . . . | 1476 |
| 26.4.21 | Queue of context for injected conversions . . . . . | 1477 |
| 26.4.22 | Programmable resolution (RES) - fast conversion mode . . . . . | 1485 |
| 26.4.23 | End of conversion, end of sampling phase (EOC, JEOC, EOSMP) . . . . . | 1486 |
| 26.4.24 | End of conversion sequence (EOS, JEOS) . . . . . | 1486 |
| 26.4.25 | Timing diagrams example (single/continuous modes, hardware/software triggers) . . . . . | 1487 |
| 26.4.26 | Data management . . . . . | 1489 |
| 26.4.27 | Managing conversions using the DFSDM . . . . . | 1495 |
| 26.4.28 | Dynamic low-power features . . . . . | 1496 |
| 26.4.29 | Analog window watchdog (AWD1EN, JAWD1EN, AWD1SGL, AWD1CH, AWD2CH, AWD3CH, AWD_HTx, AWD_LTx, AWDx) . . . . . | 1501 |
| 26.4.30 | Oversampler . . . . . | 1505 |
| 26.4.31 | Temperature sensor . . . . . | 1511 |
| 26.4.32 | VBAT supply monitoring . . . . . | 1513 |
| 26.4.33 | Monitoring the internal voltage reference . . . . . | 1513 |
| 26.4.34 | Monitoring the supply voltage . . . . . | 1515 |
| 26.5 | ADC interrupts . . . . . | 1515 |
| 26.6 | ADC registers . . . . . | 1517 |
| 26.6.1 | ADC interrupt and status register (ADC_ISR) . . . . . | 1517 |
| 26.6.2 | ADC interrupt enable register (ADC_IER) . . . . . | 1519 |
| 26.6.3 | ADC control register (ADC_CR) . . . . . | 1521 |
| 26.6.4 | ADC configuration register (ADC_CFGR) . . . . . | 1524 |
| 26.6.5 | ADC configuration register 2 (ADC_CFGR2) . . . . . | 1528 |
| 26.6.6 | ADC sample time register 1 (ADC_SMPR1) . . . . . | 1531 |
| 26.6.7 | ADC sample time register 2 (ADC_SMPR2) . . . . . | 1531 |
| 26.6.8 | ADC watchdog threshold register 1 (ADC_TR1) . . . . . | 1532 |
| 26.6.9 | ADC watchdog threshold register 2 (ADC_TR2) . . . . . | 1533 |
| 26.6.10 | ADC watchdog threshold register 3 (ADC_TR3) . . . . . | 1534 |
| 26.6.11 | ADC regular sequence register 1 (ADC_SQR1) . . . . . | 1534 |
| 26.6.12 | ADC regular sequence register 2 (ADC_SQR2) . . . . . | 1535 |
| 26.6.13 | ADC regular sequence register 3 (ADC_SQR3) . . . . . | 1536 |
| 26.6.14 | ADC regular sequence register 4 (ADC_SQR4) . . . . . | 1537 |
| 26.6.15 | ADC regular data register (ADC_DR) . . . . . | 1538 |
| 26.6.16 | ADC injected sequence register (ADC_JSQR) . . . . . | 1538 |
| 26.6.17 | ADC offset y register (ADC_OFy) . . . . . | 1541 |
| 26.6.18 | ADC injected channel y data register (ADC_JDRy) . . . . . | 1542 |
| 26.6.19 | ADC analog watchdog 2 configuration register (ADC_AWD2CR) . . . | 1543 |
| 26.6.20 | ADC analog watchdog 3 configuration register (ADC_AWD3CR) . . . | 1543 |
| 26.6.21 | ADC Differential mode selection register (ADC_DIFSEL) . . . . . | 1544 |
| 26.6.22 | ADC calibration factors (ADC_CALFACT) . . . . . | 1545 |
| 26.6.23 | ADC option register (ADC_OR) . . . . . | 1545 |
| 26.7 | ADC common registers . . . . . | 1546 |
| 26.7.1 | ADC common control register (ADC_CCR) . . . . . | 1546 |
| 26.7.2 | ADC hardware configuration register (ADC_HWCFGR0) . . . . . | 1547 |
| 26.7.3 | ADC version register (ADC_VERR) . . . . . | 1548 |
| 26.7.4 | ADC identification register (ADC_IPDR) . . . . . | 1548 |
| 26.7.5 | ADC size identification register (ADC_SIDR) . . . . . | 1549 |
| 26.8 | ADC register map . . . . . | 1550 |
| 27 | Digital temperature sensor (DTS) . . . . . | 1554 |
| 27.1 | DTS introduction . . . . . | 1554 |
| 27.2 | DTS main features . . . . . | 1554 |
| 27.3 | DTS functional description . . . . . | 1555 |
| 27.3.1 | DTS block diagram . . . . . | 1555 |
| 27.3.2 | DTS internal signals . . . . . | 1555 |
| 27.3.3 | DTS block operation . . . . . | 1556 |
| 27.3.4 | Operating modes . . . . . | 1556 |
| 27.3.5 | Calibration . . . . . | 1556 |
| 27.3.6 | Prescaler . . . . . | 1556 |
| 27.3.7 | Temperature measurement principles . . . . . | 1557 |
| 27.3.8 | Sampling time . . . . . | 1558 |
| 27.3.9 | Quick measurement mode . . . . . | 1558 |
| 27.3.10 | Trigger input . . . . . | 1559 |
| 27.3.11 | On-off control and ready flag . . . . . | 1559 |
| 27.3.12 | Temperature measurement sequence . . . . . | 1560 |
| 27.4 | DTS low-power modes . . . . . | 1561 |
| 27.5 | DTS interrupts . . . . . | 1561 |
| 27.5.1 | Temperature window comparator . . . . . | 1561 |
| 27.5.2 | Synchronous interrupt . . . . . | 1561 |
| 27.5.3 | Asynchronous wake-up . . . . . | 1561 |
| 27.6 | DTS registers . . . . . | 1562 |
| 27.6.1 | Temperature sensor configuration register 1 (DTS_CFGR1) . . . . . | 1562 |
| 27.6.2 | Temperature sensor T0 value register 1 (DTS_T0VALR1) | 1564 |
| 27.6.3 | Temperature sensor ramp value register (DTS_RAMPVALR) | 1564 |
| 27.6.4 | Temperature sensor interrupt threshold register 1 (DTS_ITR1) | 1565 |
| 27.6.5 | Temperature sensor data register (DTS_DR) | 1565 |
| 27.6.6 | Temperature sensor status register (DTS_SR) | 1566 |
| 27.6.7 | Temperature sensor interrupt enable register (DTS_ITENR) | 1567 |
| 27.6.8 | Temperature sensor clear interrupt flag register (DTS_ICIFR) | 1568 |
| 27.6.9 | Temperature sensor option register (DTS_OR) | 1569 |
| 27.6.10 | DTS register map | 1570 |
| 28 | Voltage reference buffer (VREFBUF) | 1572 |
| 28.1 | VREFBUF introduction | 1572 |
| 28.2 | VREFBUF implementation | 1572 |
| 28.3 | VREFBUF functional description | 1572 |
| 28.4 | VREFBUF trimming | 1573 |
| 28.5 | VREFBUF registers | 1574 |
| 28.5.1 | VREFBUF control and status register (VREFBUF_CSR) | 1574 |
| 28.5.2 | VREFBUF calibration control register (VREFBUF_CCR) | 1575 |
| 28.5.3 | VREFBUF register map | 1575 |
| 29 | Digital filter for sigma delta modulators (DFSDM) | 1576 |
| 29.1 | Introduction | 1576 |
| 29.2 | DFSDM main features | 1577 |
| 29.3 | DFSDM implementation | 1578 |
| 29.4 | DFSDM functional description | 1579 |
| 29.4.1 | DFSDM block diagram | 1579 |
| 29.4.2 | DFSDM pins and internal signals | 1580 |
| 29.4.3 | DFSDM reset and clocks | 1581 |
| 29.4.4 | Serial channel transceivers | 1582 |
| 29.4.5 | Configuring the input serial interface | 1592 |
| 29.4.6 | Parallel data inputs | 1592 |
| 29.4.7 | Channel selection | 1594 |
| 29.4.8 | Digital filter configuration | 1595 |
| 29.4.9 | Integrator unit | 1596 |
| 29.4.10 | Analog watchdog | 1597 |
| 29.4.11 | Short-circuit detector | 1599 |
| 29.4.12 | Extreme detector ..... | 1600 |
| 29.4.13 | Data unit block ..... | 1600 |
| 29.4.14 | Signed data format ..... | 1601 |
| 29.4.15 | Launching conversions ..... | 1602 |
| 29.4.16 | Continuous and fast continuous modes ..... | 1602 |
| 29.4.17 | Request precedence ..... | 1603 |
| 29.4.18 | Power optimization in run mode ..... | 1604 |
| 29.5 | DFSDM interrupts ..... | 1604 |
| 29.6 | DFSDM DMA transfer ..... | 1606 |
| 29.7 | DFSDM channel y registers (y=0..3) ..... | 1606 |
| 29.7.1 | DFSDM channel y configuration register (DFSDM_CHyCFGR1) ... | 1606 |
| 29.7.2 | DFSDM channel y configuration register (DFSDM_CHyCFGR2) ... | 1608 |
| 29.7.3 | DFSDM channel y analog watchdog and short-circuit detector register (DFSDM_CHyAWSCDR) ..... | 1609 |
| 29.7.4 | DFSDM channel y watchdog filter data register (DFSDM_CHyWDATR) ..... | 1610 |
| 29.7.5 | DFSDM channel y data input register (DFSDM_CHyDATINR) .... | 1610 |
| 29.7.6 | DFSDM channel y delay register (DFSDM_CHyDLYR) ..... | 1611 |
| 29.8 | DFSDM filter x module registers (x=0..1) ..... | 1612 |
| 29.8.1 | DFSDM filter x control register 1 (DFSDM_FLTxCR1) ..... | 1612 |
| 29.8.2 | DFSDM filter x control register 2 (DFSDM_FLTxCR2) ..... | 1615 |
| 29.8.3 | DFSDM filter x interrupt and status register (DFSDM_FLTxISR) .... | 1616 |
| 29.8.4 | DFSDM filter x interrupt flag clear register (DFSDM_FLTxICR) .... | 1618 |
| 29.8.5 | DFSDM filter x injected channel group selection register (DFSDM_FLTxJCHGR) ..... | 1619 |
| 29.8.6 | DFSDM filter x control register (DFSDM_FLTxFCR) ..... | 1619 |
| 29.8.7 | DFSDM filter x data register for injected group (DFSDM_FLTxJDATAR) ..... | 1620 |
| 29.8.8 | DFSDM filter x data register for the regular channel (DFSDM_FLTxRDATAR) ..... | 1621 |
| 29.8.9 | DFSDM filter x analog watchdog high threshold register (DFSDM_FLTxAWHTR) ..... | 1622 |
| 29.8.10 | DFSDM filter x analog watchdog low threshold register (DFSDM_FLTxAWLTR) ..... | 1622 |
| 29.8.11 | DFSDM filter x analog watchdog status register (DFSDM_FLTxAWSR) ..... | 1623 |
| 29.8.12 | DFSDM filter x analog watchdog clear flag register (DFSDM_FLTxAWCFR) ..... | 1624 |
| 29.8.13 | DFSDM filter x extremes detector maximum register (DFSDM_FLTxEXMAX) . . . . . | 1624 |
| 29.8.14 | DFSDM filter x extremes detector minimum register (DFSDM_FLTxEXMIN) . . . . . | 1625 |
| 29.8.15 | DFSDM filter x conversion timer register (DFSDM_FLTxCNVTIMR) . | 1625 |
| 29.9 | DFSDM version registers . . . . . | 1627 |
| 29.9.1 | DFSDM hardware configuration register (DFSDM_HWCFGR) . . . . . | 1627 |
| 29.9.2 | DFSDM version register (DFSDM_VERR) . . . . . | 1627 |
| 29.9.3 | DFSDM identification register (DFSDM_IPIDR) . . . . . | 1628 |
| 29.9.4 | DFSDM size identification register (DFSDM_SIDR) . . . . . | 1628 |
| 29.9.5 | DFSDM register map . . . . . | 1629 |
| 30 | Digital camera interface pixel pipeline (DCMIPP) . . . . . | 1634 |
| 30.1 | DCMIPP introduction . . . . . | 1634 |
| 30.2 | DCMIPP main features . . . . . | 1636 |
| 30.3 | DCMIPP functional description . . . . . | 1637 |
| 30.3.1 | DCMIPP block diagram . . . . . | 1637 |
| 30.3.2 | DCMIPP pads and internal signals . . . . . | 1637 |
| 30.3.3 | DCMIPP reset and clocks . . . . . | 1638 |
| 30.3.4 | DCMIPP maximum resolution . . . . . | 1640 |
| 30.3.5 | DCMIPP minimum requirements for frame structure . . . . . | 1640 |
| 30.3.6 | Description of DCMIPP pixel format support . . . . . | 1640 |
| 30.4 | DCMIPP input and flow control . . . . . | 1641 |
| 30.4.1 | DCMIPP common configuration . . . . . | 1641 |
| 30.4.2 | Parallel input interface . . . . . | 1642 |
| 30.4.3 | Frame counter . . . . . | 1645 |
| 30.4.4 | Frame control . . . . . | 1645 |
| 30.4.5 | Pipe deactivation . . . . . | 1649 |
| 30.5 | Pipe0 (dump pipe) . . . . . | 1650 |
| 30.5.1 | Overview . . . . . | 1650 |
| 30.5.2 | Decimation . . . . . | 1650 |
| 30.5.3 | Crop/statistics selection/suppression . . . . . | 1651 |
| 30.5.4 | Dump counter . . . . . | 1652 |
| 30.5.5 | Double buffer mode . . . . . | 1653 |
| 30.5.6 | Pixel packing . . . . . | 1653 |
| 30.5.7 | Overrun detection . . . . . | 1654 |
| 30.6 | Pixel format description . . . . . | 1655 |
| 30.6.1 | Parallel interface formats | 1655 |
| 30.6.2 | Dump pipe formats | 1657 |
| 30.6.3 | AXI IP-Plug | 1658 |
| 30.7 | Shadow registers | 1660 |
| 30.8 | DCMIPP low power modes | 1661 |
| 30.9 | DCMIPP interrupts | 1662 |
| 30.9.1 | Free-running DCMIPP | 1662 |
| 30.9.2 | Interrupts | 1662 |
| 30.9.3 | Event pins | 1664 |
| 30.10 | DCMIPP registers | 1665 |
| 30.10.1 | DCMIPP IP-Plug global register 1 (DCMIPP_IPGR1) | 1665 |
| 30.10.2 | DCMIPP IP-Plug global register 2 (DCMIPP_IPGR2) | 1666 |
| 30.10.3 | DCMIPP IP-Plug global register 3 (DCMIPP_IPGR3) | 1666 |
| 30.10.4 | DCMIPP IP-Plug identification register (DCMIPP_IPGR8) | 1666 |
| 30.10.5 | DCMIPP IP-Plug Clientx register 1 (DCMIPP_IPCxR1) | 1667 |
| 30.10.6 | DCMIPP IP-Plug Clientx register 2 (DCMIPP_IPCxR2) | 1668 |
| 30.10.7 | DCMIPP IP-Plug Clientx register 3 (DCMIPP_IPCxR3) | 1668 |
| 30.10.8 | DCMIPP parallel interface control register (DCMIPP_PRCR) | 1669 |
| 30.10.9 | DCMIPP parallel interface embedded synchronization code register (DCMIPP_PRESCR) | 1670 |
| 30.10.10 | DCMIPP parallel interface embedded synchronization unmask register (DCMIPP PRESUR) | 1671 |
| 30.10.11 | DCMIPP parallel interface interrupt enable register (DCMIPP_PRIER) | 1672 |
| 30.10.12 | DCMIPP parallel interface status register (DCMIPP PRSR) | 1672 |
| 30.10.13 | DCMIPP parallel interface interrupt clear register (DCMIPP PRFCR) | 1673 |
| 30.10.14 | DCMIPP common IP HW configuration register (DCMIPP_CMHWCFGR) | 1674 |
| 30.10.15 | DCMIPP common configuration register (DCMIPP_CMCR) | 1674 |
| 30.10.16 | DCMIPP common frame counter register (DCMIPP_CMFRCR) | 1675 |
| 30.10.17 | DCMIPP common interrupt enable register (DCMIPP_CMIER) | 1675 |
| 30.10.18 | DCMIPP common status register 1 (DCMIPP_CMSR1) | 1676 |
| 30.10.19 | DCMIPP common status register 2 (DCMIPP_CMSR2) | 1677 |
| 30.10.20 | DCMIPP common interrupt clear register (DCMIPP_CMFCR) | 1678 |
| 30.10.21 | DCMIPP Pipe0 HW configuration register (DCMIPP_P0HWCFGR) | 1680 |
| 30.10.22 | DCMIPP Pipe0 flow selection configuration register (DCMIPP_P0FSCR) | 1680 |
| 30.10.23 DCMIPP Pipe0 flow control configuration register (DCMIPP_P0FCTCR) ..... | 1681 |
| 30.10.24 DCMIPP Pipe0 statistic/crop start register (DCMIPP_P0SCSTR) ..... | 1681 |
| 30.10.25 DCMIPP Pipe0 statistic/crop size register (DCMIPP_P0SCSZR) ..... | 1682 |
| 30.10.26 DCMIPP Pipe0 dump counter register (DCMIPP_P0DCCNTR) ..... | 1683 |
| 30.10.27 DCMIPP Pipe0 dump limit register (DCMIPP_P0DCLMTR) ..... | 1683 |
| 30.10.28 DCMIPP Pipe0 pixel packer configuration register (DCMIPP_P0PPCR) ..... | 1684 |
| 30.10.29 DCMIPP Pipe0 pixel packer Memory0 address register 1 (DCMIPP_P0PPM0AR1) ..... | 1685 |
| 30.10.30 DCMIPP Pipe0 pixel packer Memory0 address register 2 (DCMIPP_P0PPM0AR2) ..... | 1685 |
| 30.10.31 DCMIPP Pipe0 interrupt enable register (DCMIPP_P0IER) ..... | 1686 |
| 30.10.32 DCMIPP Pipe0 status register (DCMIPP_P0SR) ..... | 1686 |
| 30.10.33 DCMIPP Pipe0 interrupt clear register (DCMIPP_P0FCR) ..... | 1687 |
| 30.10.34 DCMIPP Pipe0 current flow control configuration register (DCMIPP_P0CFCTCR) ..... | 1688 |
| 30.10.35 DCMIPP Pipe0 current statistic/crop start register (DCMIPP_P0CSCSTR) ..... | 1689 |
| 30.10.36 DCMIPP Pipe0 current statistic/crop size register (DCMIPP_P0CSCSZR) ..... | 1689 |
| 30.10.37 DCMIPP Pipe0 current pixel packer configuration register (DCMIPP_P0CPPCR) ..... | 1690 |
| 30.10.38 DCMIPP Pipe0 current pixel packer Memory0 address register 1 (DCMIPP_P0CPPM0AR1) ..... | 1692 |
| 30.10.39 DCMIPP Pipe0 current pixel packer Memory0 address register 2 (DCMIPP_P0CPPM0AR2) ..... | 1692 |
| 30.10.40 DCMIPP hardware configuration register 3 (DCMIPP_HWCFGR3) ..... | 1693 |
| 30.10.41 DCMIPP hardware configuration register 2 (DCMIPP_HWCFGR2) ..... | 1693 |
| 30.10.42 DCMIPP hardware configuration register 1 (DCMIPP_HWCFGR1) ..... | 1694 |
| 30.10.43 DCMIPP version register (DCMIPP_VERR) ..... | 1695 |
| 30.10.44 DCMIPP identification register (DCMIPP_IPIDR) ..... | 1695 |
| 30.10.45 DCMIPP size identification register (DCMIPP_SIDR) ..... | 1695 |
| 30.11 DCMIPP register map ..... | 1697 |
| 31 LCD-TFT display controller (LTDC) ..... | 1701 |
| 31.1 LTDC introduction ..... | 1701 |
| 31.2 LTDC main features ..... | 1701 |
| 31.3 LTDC functional description ..... | 1702 |
| 31.3.1 LTDC block diagram ..... | 1702 |
| 31.3.2 | LTDC pins and internal signals | 1702 |
| 31.3.3 | LTDC reset and clocks | 1703 |
| 31.4 | LTDC configuration parameters | 1704 |
| 31.4.1 | AXI master | 1704 |
| 31.4.2 | Input layer definition and cropping | 1705 |
| 31.4.3 | Input pixel format | 1706 |
| 31.4.4 | YUV planar | 1708 |
| 31.4.5 | YUV-to-RGB color conversion | 1709 |
| 31.4.6 | Horizontal or vertical mirroring | 1710 |
| 31.4.7 | Default layer color | 1711 |
| 31.4.8 | Color look-up table (CLUT) | 1711 |
| 31.4.9 | Transparency color keying | 1712 |
| 31.4.10 | Display composition - windowing | 1712 |
| 31.4.11 | Display composition - blending | 1713 |
| 31.4.12 | Gamma correction | 1715 |
| 31.4.13 | YUV output conversion | 1715 |
| 31.4.14 | Dithering | 1716 |
| 31.4.15 | CRC hashing | 1717 |
| 31.4.16 | Display timing | 1717 |
| 31.4.17 | Output interface polarity | 1719 |
| 31.4.18 | Shadow registers | 1720 |
| 31.4.19 | General control | 1721 |
| 31.5 | LTDC interrupts | 1722 |
| 31.6 | LTDC programming procedure | 1723 |
| 31.7 | LTDC registers | 1723 |
| 31.7.1 | LTDC identification register (LTDC_IDR) | 1723 |
| 31.7.2 | LTDC layer count register (LTDC_LCR) | 1724 |
| 31.7.3 | LTDC synchronization size configuration register (LTDC_SSCR) | 1724 |
| 31.7.4 | LTDC back porch configuration register (LTDC_BPCR) | 1724 |
| 31.7.5 | LTDC active width configuration register (LTDC_AWCR) | 1725 |
| 31.7.6 | LTDC total width configuration register (LTDC_TWCR) | 1726 |
| 31.7.7 | LTDC global control register (LTDC_GCR) | 1726 |
| 31.7.8 | LTDC global configuration 1 register (LTDC_GC1R) | 1728 |
| 31.7.9 | LTDC global configuration 2 register (LTDC_GC2R) | 1729 |
| 31.7.10 | LTDC shadow reload configuration register (LTDC_SRCR) | 1730 |
| 31.7.11 | LTDC gamma correction configuration register (LTDC_GCCR) | 1730 |
| 31.7.12 | LTDC background color configuration register (LTDC_BCCR) | 1731 |
| 31.7.13 | LTDC interrupt enable register (LTDC_IER) ..... | 1732 |
| 31.7.14 | LTDC interrupt status register (LTDC_ISR) ..... | 1733 |
| 31.7.15 | LTDC interrupt clear register (LTDC_ICR) ..... | 1733 |
| 31.7.16 | LTDC line interrupt position configuration register (LTDC_LIPCR) .. | 1734 |
| 31.7.17 | LTDC current position status register (LTDC_CPSR) ..... | 1735 |
| 31.7.18 | LTDC current display status register (LTDC_CDSR) ..... | 1735 |
| 31.7.19 | LTDC external display control register (LTDC_EDCR) ..... | 1736 |
| 31.7.20 | LTDC interrupt enable register 2 (LTDC_IER2) ..... | 1736 |
| 31.7.21 | LTDC interrupt status register 2 (LTDC_ISR2) ..... | 1737 |
| 31.7.22 | LTDC interrupt clear register 2 (LTDC_ICR2) ..... | 1738 |
| 31.7.23 | LTDC line interrupt position configuration register 2 (LTDC_LIPCR2) | 1739 |
| 31.7.24 | LTDC expected CRC register (LTDC_ECRCR) ..... | 1739 |
| 31.7.25 | LTDC computed CRC register (LTDC_CCRCR) ..... | 1740 |
| 31.7.26 | LTDC FIFO underrun threshold register (LTDC_FUTR) ..... | 1740 |
| 31.7.27 | LTDC layer x configuration 0 register (LTDC_LxC0R) ..... | 1741 |
| 31.7.28 | LTDC layer x configuration 1 register (LTDC_LxC1R) ..... | 1742 |
| 31.7.29 | LTDC layer x reload control register (LTDC_LxRCR) ..... | 1742 |
| 31.7.30 | LTDC layer x control register (LTDC_LxCR) ..... | 1743 |
| 31.7.31 | LTDC layer x window horizontal position configuration register (LTDC_LxWHPCR) ..... | 1744 |
| 31.7.32 | LTDC layer x window vertical position configuration register (LTDC_LxWVPCR) ..... | 1745 |
| 31.7.33 | LTDC layer x color keying configuration register (LTDC_LxCKCR) ..... | 1745 |
| 31.7.34 | LTDC layer x pixel format configuration register (LTDC_LxPFCR) ..... | 1746 |
| 31.7.35 | LTDC layer x constant alpha configuration register (LTDC_LxCACR) ..... | 1746 |
| 31.7.36 | LTDC layer x default color configuration register (LTDC_LxDCCR) ..... | 1747 |
| 31.7.37 | LTDC layer x blending factors configuration register (LTDC_LxBFCR) ..... | 1747 |
| 31.7.38 | LTDC layer x burst length configuration register (LTDC_LxBLCR) ..... | 1748 |
| 31.7.39 | LTDC layer x planar configuration register (LTDC_LxPCR) ..... | 1749 |
| 31.7.40 | LTDC layer x color frame buffer address register (LTDC_LxCFBAR) ..... | 1750 |
| 31.7.41 | LTDC layer x color frame buffer length register (LTDC_LxCFBLR) ..... | 1751 |
| 31.7.42 | LTDC layer x color frame buffer line number register (LTDC_LxCFBLNR) ..... | 1751 |
| 31.7.43 | LTDC layer 1 auxiliary frame buffer address 0 register (LTDC_L1AFBA0R) ..... | 1752 |
| 31.7.44 | LTDC layer 1 auxiliary frame buffer address 1 register (LTDC_L1AFBA1R) ..... | 1752 |
| 31.7.45 | LTDC layer 1 auxiliary frame buffer length register (LTDC_L1AFBLR) ..... | 1753 |
| 31.7.46 | LTDC layer 1 auxiliary frame buffer line number register (LTDC_L1AFBLNR) ..... | 1753 |
| 31.7.47 | LTDC layer x CLUT write register (LTDC_LxCLUTWR) ..... | 1754 |
| 31.7.48 | LTDC layer x conversion YCbCr RGB 0 register (LTDC_LxCYR0R) .. | 1754 |
| 31.7.49 | LTDC layer x conversion YCbCr RGB 1 register (LTDC_LxCYR1R) .. | 1755 |
| 31.7.50 | LTDC layer x flexible pixel format 0 register (LTDC_LxFPF0R) .... | 1755 |
| 31.7.51 | LTDC layer x flexible pixel format 1 register (LTDC_LxFPF1R) .... | 1756 |
| 31.7.52 | LTDC register map ..... | 1756 |
| 32 | True random number generator (RNG) ..... | 1762 |
| 32.1 | RNG introduction ..... | 1762 |
| 32.2 | RNG main features ..... | 1762 |
| 32.3 | RNG functional description ..... | 1763 |
| 32.3.1 | RNG block diagram ..... | 1763 |
| 32.3.2 | RNG internal signals ..... | 1763 |
| 32.3.3 | Random number generation ..... | 1763 |
| 32.3.4 | RNG initialization ..... | 1766 |
| 32.3.5 | RNG operation ..... | 1767 |
| 32.3.6 | RNG clocking ..... | 1769 |
| 32.3.7 | Error management ..... | 1769 |
| 32.3.8 | RNG low-power use ..... | 1770 |
| 32.4 | RNG interrupts ..... | 1771 |
| 32.5 | RNG processing time ..... | 1771 |
| 32.6 | RNG entropy source validation ..... | 1772 |
| 32.6.1 | Introduction ..... | 1772 |
| 32.6.2 | Validation conditions ..... | 1772 |
| 32.7 | RNG registers ..... | 1773 |
| 32.7.1 | RNG control register (RNG_CR) ..... | 1773 |
| 32.7.2 | RNG status register (RNG_SR) ..... | 1775 |
| 32.7.3 | RNG data register (RNG_DR) ..... | 1776 |
| 32.7.4 | RNG noise source control register (RNG_NSCR) . . . . . | 1777 |
| 32.7.5 | RNG health test control register (RNG_HTCR) . . . . . | 1778 |
| 32.7.6 | RNG hardware configuration register (RNG_HWCFGR) . . . . . | 1778 |
| 32.7.7 | RNG version register (RNG_VERR) . . . . . | 1779 |
| 32.7.8 | RNG identification register (RNG_IPIDR) . . . . . | 1779 |
| 32.7.9 | RNG size identification register (RNG_SIDR) . . . . . | 1779 |
| 32.7.10 | RNG register map . . . . . | 1780 |
| 33 | Secure AES coprocessor (SAES) . . . . . | 1781 |
| 33.1 | Introduction . . . . . | 1781 |
| 33.2 | SAES main features . . . . . | 1782 |
| 33.3 | SAES implementation . . . . . | 1782 |
| 33.4 | SAES functional description . . . . . | 1782 |
| 33.4.1 | SAES block diagram . . . . . | 1782 |
| 33.4.2 | SAES internal signals . . . . . | 1783 |
| 33.4.3 | SAES cryptographic core . . . . . | 1784 |
| 33.4.4 | SAES procedure to perform a cipher operation . . . . . | 1789 |
| 33.4.5 | SAES decryption round key preparation . . . . . | 1792 |
| 33.4.6 | SAES ciphertext stealing and data padding . . . . . | 1793 |
| 33.4.7 | SAES task suspend and resume . . . . . | 1793 |
| 33.4.8 | SAES basic chaining modes (ECB, CBC) . . . . . | 1794 |
| 33.4.9 | SAES counter (CTR) mode . . . . . | 1799 |
| 33.4.10 | SAES Galois/counter mode (GCM) . . . . . | 1801 |
| 33.4.11 | SAES Galois message authentication code (GMAC) . . . . . | 1806 |
| 33.4.12 | SAES counter with CBC-MAC (CCM) . . . . . | 1807 |
| 33.4.13 | SAES operation with wrapped keys . . . . . | 1813 |
| 33.4.14 | SAES operation with shared keys . . . . . | 1816 |
| 33.4.15 | SAES data registers and data swapping . . . . . | 1818 |
| 33.4.16 | SAES key registers . . . . . | 1820 |
| 33.4.17 | SAES initialization vector registers . . . . . | 1822 |
| 33.4.18 | SAES DMA interface . . . . . | 1822 |
| 33.4.19 | SAES error management . . . . . | 1823 |
| 33.5 | SAES interrupts . . . . . | 1825 |
| 33.6 | SAES processing latency . . . . . | 1826 |
| 33.7 | SAES registers . . . . . | 1827 |
| 33.7.1 | SAES control register (SAES_CR) . . . . . | 1827 |
| 33.7.2 | SAES status register (SAES_SR) ..... | 1830 |
| 33.7.3 | SAES data input register (SAES_DINR) ..... | 1832 |
| 33.7.4 | SAES data output register (SAES_DOUTR) ..... | 1832 |
| 33.7.5 | SAES key register 0 (SAES_KEYR0) ..... | 1833 |
| 33.7.6 | SAES key register 1 (SAES_KEYR1) ..... | 1833 |
| 33.7.7 | SAES key register 2 (SAES_KEYR2) ..... | 1834 |
| 33.7.8 | SAES key register 3 (SAES_KEYR3) ..... | 1834 |
| 33.7.9 | SAES initialization vector register 0 (SAES_IVR0) ..... | 1834 |
| 33.7.10 | SAES initialization vector register 1 (SAES_IVR1) ..... | 1835 |
| 33.7.11 | SAES initialization vector register 2 (SAES_IVR2) ..... | 1835 |
| 33.7.12 | SAES initialization vector register 3 (SAES_IVR3) ..... | 1835 |
| 33.7.13 | SAES key register 4 (SAES_KEYR4) ..... | 1836 |
| 33.7.14 | SAES key register 5 (SAES_KEYR5) ..... | 1836 |
| 33.7.15 | SAES key register 6 (SAES_KEYR6) ..... | 1836 |
| 33.7.16 | SAES key register 7 (SAES_KEYR7) ..... | 1837 |
| 33.7.17 | SAES suspend registers (SAES_SUSPxR) ..... | 1837 |
| 33.7.18 | SAES interrupt enable register (SAES_IER) ..... | 1838 |
| 33.7.19 | SAES interrupt status register (SAES_ISR) ..... | 1839 |
| 33.7.20 | SAES interrupt clear register (SAES_ICR) ..... | 1840 |
| 33.7.21 | SAES hardware configuration register (SAES_HWCFGR) ..... | 1841 |
| 33.7.22 | SAES version register (SAES_VERR) ..... | 1841 |
| 33.7.23 | SAES identification register (SAES_IPIDR) ..... | 1842 |
| 33.7.24 | SAES size ID register (SAES_SIDR) ..... | 1842 |
| 33.7.25 | SAES register map ..... | 1842 |
| 34 | Cryptographic processor (CRYP) ..... | 1845 |
| 34.1 | Introduction ..... | 1845 |
| 34.2 | CRYP main features ..... | 1845 |
| 34.3 | CRYP implementation ..... | 1846 |
| 34.4 | CRYP functional description ..... | 1847 |
| 34.4.1 | CRYP block diagram ..... | 1847 |
| 34.4.2 | CRYP internal signals ..... | 1848 |
| 34.4.3 | CRYP DES/TDES cryptographic core ..... | 1848 |
| 34.4.4 | CRYP AES cryptographic core ..... | 1849 |
| 34.4.5 | CRYP procedure to perform a cipher operation ..... | 1855 |
| 34.4.6 | CRYP busy state ..... | 1857 |
| 34.4.7 | Preparing the CRYP AES key for decryption ..... | 1858 |
| 34.4.8 | CRYP stealing and data padding ..... | 1858 |
| 34.4.9 | CRYP suspend/resume operations ..... | 1859 |
| 34.4.10 | CRYP DES/TDES basic chaining modes (ECB, CBC) ..... | 1860 |
| 34.4.11 | CRYP AES basic chaining modes (ECB, CBC) ..... | 1865 |
| 34.4.12 | CRYP AES counter mode (AES-CTR) ..... | 1870 |
| 34.4.13 | CRYP AES Galois/counter mode (GCM) ..... | 1874 |
| 34.4.14 | CRYP AES Galois message authentication code (GMAC) ..... | 1879 |
| 34.4.15 | CRYP AES Counter with CBC-MAC (CCM) ..... | 1880 |
| 34.4.16 | AES key sharing with secure AES co-processor ..... | 1885 |
| 34.4.17 | CRYP data registers and data swapping ..... | 1886 |
| 34.4.18 | CRYP key registers ..... | 1890 |
| 34.4.19 | CRYP initialization vector registers ..... | 1892 |
| 34.4.20 | CRYP DMA interface ..... | 1892 |
| 34.4.21 | CRYP error management ..... | 1895 |
| 34.5 | CRYP interrupts ..... | 1895 |
| 34.6 | CRYP processing time ..... | 1896 |
| 34.7 | CRYP registers ..... | 1897 |
| 34.7.1 | CRYP control register (CRYP_CR) ..... | 1897 |
| 34.7.2 | CRYP status register (CRYP_SR) ..... | 1900 |
| 34.7.3 | CRYP data input register (CRYP_DIN) ..... | 1901 |
| 34.7.4 | CRYP data output register (CRYP_DOUT) ..... | 1902 |
| 34.7.5 | CRYP DMA control register (CRYP_DMACR) ..... | 1903 |
| 34.7.6 | CRYP interrupt mask set/clear register (CRYP_IMSCR) ..... | 1903 |
| 34.7.7 | CRYP raw interrupt status register (CRYP_RISR) ..... | 1904 |
| 34.7.8 | CRYP masked interrupt status register (CRYP_MISR) ..... | 1905 |
| 34.7.9 | CRYP key register 0L (CRYP_K0LR) ..... | 1905 |
| 34.7.10 | CRYP key register 0R (CRYP_K0RR) ..... | 1906 |
| 34.7.11 | CRYP key register 1L (CRYP_K1LR) ..... | 1906 |
| 34.7.12 | CRYP key register 1R (CRYP_K1RR) ..... | 1907 |
| 34.7.13 | CRYP key register 2L (CRYP_K2LR) ..... | 1907 |
| 34.7.14 | CRYP key register 2R (CRYP_K2RR) ..... | 1908 |
| 34.7.15 | CRYP key register 3L (CRYP_K3LR) ..... | 1908 |
| 34.7.16 | CRYP key register 3R (CRYP_K3RR) ..... | 1909 |
| 34.7.17 | CRYP initialization vector register 0L (CRYP_IV0LR) ..... | 1909 |
| 34.7.18 | CRYP initialization vector register 0R (CRYP_IV0RR) ..... | 1910 |
| 34.7.19 | CRYP initialization vector register 1L (CRYP_IV1LR) ..... | 1910 |
| 34.7.20 | CRYP initialization vector register 1R (CRYP_IV1RR) ..... | 1911 |
| 34.7.21 | CRYP context swap GCM-CCM registers (CRYP_CSGCMCCMxR) | 1911 |
| 34.7.22 | CRYP context swap GCM registers (CRYP_CSGCMxR) | 1912 |
| 34.7.23 | CRYP hardware configuration register (CRYP_HWCFGR) | 1912 |
| 34.7.24 | CRYP version register (CRYP_VERR) | 1913 |
| 34.7.25 | CRYP identification (CRYP_IPIDR) | 1913 |
| 34.7.26 | CRYP size identification register (CRYP_SIDR) | 1913 |
| 34.7.27 | CRYP register map | 1914 |
| 35 | Hash processor (HASH) | 1917 |
| 35.1 | HASH introduction | 1917 |
| 35.2 | HASH main features | 1917 |
| 35.3 | HASH implementation | 1918 |
| 35.4 | HASH functional description | 1918 |
| 35.4.1 | HASH block diagram | 1918 |
| 35.4.2 | HASH internal signals | 1919 |
| 35.4.3 | About secure hash algorithms | 1919 |
| 35.4.4 | Message data feeding | 1920 |
| 35.4.5 | Message digest computing | 1921 |
| 35.4.6 | Message padding | 1924 |
| 35.4.7 | HMAC operation | 1925 |
| 35.4.8 | HASH suspend/resume operations | 1927 |
| 35.4.9 | HASH DMA interface | 1929 |
| 35.4.10 | HASH error management | 1930 |
| 35.4.11 | HASH processing time | 1930 |
| 35.5 | HASH interrupts | 1930 |
| 35.6 | HASH registers | 1931 |
| 35.6.1 | HASH control register (HASH_CR) | 1931 |
| 35.6.2 | HASH data input register (HASH_DIN) | 1933 |
| 35.6.3 | HASH start register (HASH_STR) | 1934 |
| 35.6.4 | HASH digest registers | 1935 |
| 35.6.5 | HASH interrupt enable register (HASH_IMR) | 1937 |
| 35.6.6 | HASH status register (HASH_SR) | 1937 |
| 35.6.7 | HASH context swap registers | 1939 |
| 35.6.8 | HASH hardware configuration register (HASH_HWCFGR) | 1939 |
| 35.6.9 | HASH version register (HASH_VERR) | 1940 |
| 35.6.10 | HASH identification register (HASH_IPIDR) | 1940 |
| 35.6.11 | HASH size identification register (HASH_SIDR) . . . . . | 1941 |
| 35.6.12 | HASH register map . . . . . | 1941 |
| 36 | Public key accelerator (PKA) . . . . . | 1943 |
| 36.1 | PKA introduction . . . . . | 1943 |
| 36.2 | PKA main features . . . . . | 1943 |
| 36.3 | PKA implementation . . . . . | 1943 |
| 36.4 | PKA functional description . . . . . | 1944 |
| 36.4.1 | PKA block diagram . . . . . | 1944 |
| 36.4.2 | PKA internal signals . . . . . | 1944 |
| 36.4.3 | PKA reset and clocks . . . . . | 1944 |
| 36.4.4 | PKA public key acceleration . . . . . | 1945 |
| 36.4.5 | Typical applications for PKA . . . . . | 1947 |
| 36.4.6 | PKA procedure to perform an operation . . . . . | 1949 |
| 36.4.7 | PKA error management . . . . . | 1950 |
| 36.5 | PKA operating modes . . . . . | 1951 |
| 36.5.1 | Introduction . . . . . | 1951 |
| 36.5.2 | Montgomery parameter computation . . . . . | 1952 |
| 36.5.3 | Modular addition . . . . . | 1952 |
| 36.5.4 | Modular subtraction . . . . . | 1953 |
| 36.5.5 | Modular and Montgomery multiplication . . . . . | 1953 |
| 36.5.6 | Modular exponentiation . . . . . | 1954 |
| 36.5.7 | Modular inversion . . . . . | 1956 |
| 36.5.8 | Modular reduction . . . . . | 1956 |
| 36.5.9 | Arithmetic addition . . . . . | 1957 |
| 36.5.10 | Arithmetic subtraction . . . . . | 1957 |
| 36.5.11 | Arithmetic multiplication . . . . . | 1958 |
| 36.5.12 | Arithmetic comparison . . . . . | 1958 |
| 36.5.13 | RSA CRT exponentiation . . . . . | 1958 |
| 36.5.14 | Point on elliptic curve \(F_p\) check . . . . . | 1959 |
| 36.5.15 | ECC \(F_p\) scalar multiplication . . . . . | 1960 |
| 36.5.16 | ECDSA sign . . . . . | 1961 |
| 36.5.17 | ECDSA verification . . . . . | 1963 |
| 36.5.18 | ECC complete addition . . . . . | 1964 |
| 36.5.19 | ECC double base ladder . . . . . | 1964 |
| 36.5.20 | ECC projective to affine . . . . . | 1965 |
| 36.6 | Example of configurations and processing times . . . . . | 1966 |
| 36.6.1 | Supported elliptic curves . . . . . | 1966 |
| 36.6.2 | Computation times . . . . . | 1968 |
| 36.7 | PKA interrupts . . . . . | 1970 |
| 36.8 | PKA registers . . . . . | 1971 |
| 36.8.1 | PKA control register (PKA_CR) . . . . . | 1971 |
| 36.8.2 | PKA status register (PKA_SR) . . . . . | 1973 |
| 36.8.3 | PKA clear flag register (PKA_CLRFR) . . . . . | 1974 |
| 36.8.4 | PKA RAM . . . . . | 1974 |
| 36.8.5 | PKA hardware configuration register (PKA_HWCFGR) . . . . . | 1975 |
| 36.8.6 | PKA version register (PKA_VERR) . . . . . | 1975 |
| 36.8.7 | PKA identification register (PKA_IPIDR) . . . . . | 1975 |
| 36.8.8 | PKA size identification register (PKA_SIDR) . . . . . | 1976 |
| 36.8.9 | PKA register map . . . . . | 1977 |
| 37 | DDR memory cipher engine (DDRMCE) . . . . . | 1978 |
| 37.1 | MCE introduction . . . . . | 1978 |
| 37.2 | MCE main features . . . . . | 1978 |
| 37.3 | MCE implementation . . . . . | 1978 |
| 37.4 | MCE functional description . . . . . | 1979 |
| 37.4.1 | MCE block diagram . . . . . | 1979 |
| 37.4.2 | MCE internal signals . . . . . | 1979 |
| 37.4.3 | MCE programming . . . . . | 1979 |
| 37.4.4 | MCE reset and clocks . . . . . | 1980 |
| 37.4.5 | MCE block cipher encryption mode . . . . . | 1980 |
| 37.4.6 | MCE AXI traffic management . . . . . | 1981 |
| 37.4.7 | MCE encryption disable options . . . . . | 1981 |
| 37.4.8 | MCE error management . . . . . | 1981 |
| 37.5 | MCE interrupts . . . . . | 1981 |
| 37.6 | MCE registers . . . . . | 1982 |
| 37.6.1 | MCE configuration register (MCE_CR) . . . . . | 1982 |
| 37.6.2 | MCE status register (MCE_SR) . . . . . | 1982 |
| 37.6.3 | MCE illegal access status register (MCE_IASR) . . . . . | 1983 |
| 37.6.4 | MCE illegal access clear register (MCE_IACR) . . . . . | 1983 |
| 37.6.5 | MCE illegal access interrupt enable register (MCE_IAIER) . . . . . | 1984 |
| 37.6.6 | MCE privileged configuration register (MCE_PRIVCFGR) . . . . . | 1984 |
| 37.6.7 | MCE region configuration register (MCE_REGCR) . . . . . | 1985 |
| 37.6.8 | MCE start address register (MCE_SADDR) . . . . . | 1985 |
| 37.6.9 | MCE end address register (MCE_EADDR) . . . . . | 1986 |
| 37.6.10 | MCE master key x (MCE_MKEYRx) . . . . . | 1986 |
| 37.6.11 | MCE hardware configuration register 3 (MCE_HWCFGR3) . . . . . | 1987 |
| 37.6.12 | MCE hardware configuration register 2 (MCE_HWCFGR2) . . . . . | 1987 |
| 37.6.13 | MCE hardware configuration register 1 (MCE_HWCFGR1) . . . . . | 1988 |
| 37.6.14 | MCE version register (MCE_VERR) . . . . . | 1988 |
| 37.6.15 | MCE identification register (MCE_IPIDR) . . . . . | 1989 |
| 37.6.16 | MCE size identification register (MCE_SIDR) . . . . . | 1989 |
| 37.6.17 | MCE register map . . . . . | 1989 |
| 38 | Advanced-control timers (TIM1/TIM8) . . . . . | 1991 |
| 38.1 | TIM1/TIM8 introduction . . . . . | 1991 |
| 38.2 | TIM1/TIM8 main features . . . . . | 1991 |
| 38.3 | TIM1/TIM8 functional description . . . . . | 1993 |
| 38.3.1 | Time-base unit . . . . . | 1993 |
| 38.3.2 | Counter modes . . . . . | 1995 |
| 38.3.3 | Repetition counter . . . . . | 2006 |
| 38.3.4 | External trigger input . . . . . | 2008 |
| 38.3.5 | Clock selection . . . . . | 2009 |
| 38.3.6 | Capture/compare channels . . . . . | 2013 |
| 38.3.7 | Input capture mode . . . . . | 2015 |
| 38.3.8 | PWM input mode . . . . . | 2016 |
| 38.3.9 | Forced output mode . . . . . | 2017 |
| 38.3.10 | Output compare mode . . . . . | 2018 |
| 38.3.11 | PWM mode . . . . . | 2019 |
| 38.3.12 | Asymmetric PWM mode . . . . . | 2022 |
| 38.3.13 | Combined PWM mode . . . . . | 2023 |
| 38.3.14 | Combined 3-phase PWM mode . . . . . | 2024 |
| 38.3.15 | Complementary outputs and dead-time insertion . . . . . | 2025 |
| 38.3.16 | Using the break function . . . . . | 2027 |
| 38.3.17 | Bidirectional break inputs . . . . . | 2033 |
| 38.3.18 | Clearing the OCxREF signal on an external event . . . . . | 2034 |
| 38.3.19 | 6-step PWM generation . . . . . | 2036 |
| 38.3.20 | One-pulse mode | 2037 |
| 38.3.21 | Retriggerable one pulse mode | 2038 |
| 38.3.22 | Encoder interface mode | 2039 |
| 38.3.23 | UIF bit remapping | 2041 |
| 38.3.24 | Timer input XOR function | 2042 |
| 38.3.25 | Interfacing with Hall sensors | 2042 |
| 38.3.26 | Timer synchronization | 2045 |
| 38.3.27 | ADC synchronization | 2049 |
| 38.3.28 | DMA burst mode | 2049 |
| 38.3.29 | Debug mode | 2050 |
| 38.4 | TIM1/TIM8 registers | 2051 |
| 38.4.1 | TIMx control register 1 (TIMx_CR1)(x = 1, 8) | 2051 |
| 38.4.2 | TIMx control register 2 (TIMx_CR2)(x = 1, 8) | 2052 |
| 38.4.3 | TIMx slave mode control register (TIMx_SMCR)(x = 1, 8) | 2055 |
| 38.4.4 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 1, 8) | 2057 |
| 38.4.5 | TIMx status register (TIMx_SR)(x = 1, 8) | 2059 |
| 38.4.6 | TIMx event generation register (TIMx_EGR)(x = 1, 8) | 2061 |
| 38.4.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 1, 8) | 2062 |
| 38.4.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 1, 8) | 2063 |
| 38.4.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2)(x = 1, 8) | 2066 |
| 38.4.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 1, 8) | 2067 |
| 38.4.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 1, 8) | 2068 |
| 38.4.12 | TIMx counter (TIMx_CNT)(x = 1, 8) | 2072 |
| 38.4.13 | TIMx prescaler (TIMx_PSC)(x = 1, 8) | 2072 |
| 38.4.14 | TIMx auto-reload register (TIMx_ARR)(x = 1, 8) | 2072 |
| 38.4.15 | TIMx repetition counter register (TIMx_RCR)(x = 1, 8) | 2073 |
| 38.4.16 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 1, 8) | 2073 |
| 38.4.17 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 1, 8) | 2074 |
| 38.4.18 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 1, 8) | 2074 |
| 38.4.19 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 1, 8) | 2075 |
| 38.4.20 | TIMx break and dead-time register (TIMx_BDTR)(x = 1, 8) ..... | 2075 |
| 38.4.21 | TIMx DMA control register (TIMx_DCR)(x = 1, 8) ..... | 2079 |
| 38.4.22 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 1, 8) ..... | 2080 |
| 38.4.23 | TIMx capture/compare mode register 3 (TIMx_CCMR3)(x = 1, 8) ..... | 2081 |
| 38.4.24 | TIMx capture/compare register 5 (TIMx_CCR5)(x = 1, 8) ..... | 2082 |
| 38.4.25 | TIMx capture/compare register 6 (TIMx_CCR6)(x = 1, 8) ..... | 2083 |
| 38.4.26 | TIM1 alternate function option register 1 (TIM1_AF1) ..... | 2083 |
| 38.4.27 | TIM1 Alternate function register 2 (TIM1_AF2) ..... | 2084 |
| 38.4.28 | TIM8 Alternate function option register 1 (TIM8_AF1) ..... | 2085 |
| 38.4.29 | TIM8 Alternate function option register 2 (TIM8_AF2) ..... | 2086 |
| 38.4.30 | TIM1 timer input selection register (TIM1_TISEL) ..... | 2087 |
| 38.4.31 | TIM8 timer input selection register (TIM8_TISEL) ..... | 2088 |
| 38.4.32 | TIM1 register map ..... | 2089 |
| 38.4.33 | TIM8 register map ..... | 2091 |
| 39 | General-purpose timers (TIM2/TIM3/TIM4/TIM5) ..... | 2094 |
| 39.1 | TIM2/TIM3/TIM4/TIM5 introduction ..... | 2094 |
| 39.2 | TIM2/TIM3/TIM4/TIM5 main features ..... | 2094 |
| 39.3 | TIM2/TIM3/TIM4/TIM5 functional description ..... | 2096 |
| 39.3.1 | Time-base unit ..... | 2096 |
| 39.3.2 | Counter modes ..... | 2098 |
| 39.3.3 | Clock selection ..... | 2108 |
| 39.3.4 | Capture/Compare channels ..... | 2112 |
| 39.3.5 | Input capture mode ..... | 2113 |
| 39.3.6 | PWM input mode ..... | 2114 |
| 39.3.7 | Forced output mode ..... | 2115 |
| 39.3.8 | Output compare mode ..... | 2116 |
| 39.3.9 | PWM mode ..... | 2117 |
| 39.3.10 | Asymmetric PWM mode ..... | 2120 |
| 39.3.11 | Combined PWM mode ..... | 2121 |
| 39.3.12 | Clearing the OCxREF signal on an external event ..... | 2122 |
| 39.3.13 | One-pulse mode ..... | 2124 |
| 39.3.14 | Retriggerable one pulse mode ..... | 2125 |
| 39.3.15 | Encoder interface mode . . . . . | 2126 |
| 39.3.16 | UIF bit remapping . . . . . | 2128 |
| 39.3.17 | Timer input XOR function . . . . . | 2128 |
| 39.3.18 | Timers and external trigger synchronization . . . . . | 2129 |
| 39.3.19 | Timer synchronization . . . . . | 2132 |
| 39.3.20 | DMA burst mode . . . . . | 2137 |
| 39.3.21 | Debug mode . . . . . | 2138 |
| 39.4 | TIM2/TIM3/TIM4/TIM5 registers . . . . . | 2139 |
| 39.4.1 | TIMx control register 1 (TIMx_CR1)(x = 2 to 5) . . . . . | 2139 |
| 39.4.2 | TIMx control register 2 (TIMx_CR2)(x = 2 to 5) . . . . . | 2140 |
| 39.4.3 | TIMx slave mode control register (TIMx_SMCR)(x = 2 to 5) . . . . . | 2142 |
| 39.4.4 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 2 to 5) . . . . . | 2145 |
| 39.4.5 | TIMx status register (TIMx_SR)(x = 2 to 5) . . . . . | 2146 |
| 39.4.6 | TIMx event generation register (TIMx_EGR)(x = 2 to 5) . . . . . | 2147 |
| 39.4.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 2 to 5) . . . . . | 2148 |
| 39.4.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1) (x = 2 to 5) . . . . . | 2150 |
| 39.4.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2)(x = 2 to 5) . . . . . | 2152 |
| 39.4.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2) (x = 2 to 5) . . . . . | 2153 |
| 39.4.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 2 to 5) . . . . . | 2154 |
| 39.4.12 | TIMx counter (TIMx_CNT)(x = 2 to 5) . . . . . | 2155 |
| 39.4.13 | TIMx counter [alternate] (TIMx_CNT)(x = 2 to 5) . . . . . | 2156 |
| 39.4.14 | TIMx prescaler (TIMx_PSC)(x = 2 to 5) . . . . . | 2156 |
| 39.4.15 | TIMx auto-reload register (TIMx_ARR)(x = 2 to 5) . . . . . | 2157 |
| 39.4.16 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 2 to 5) . . . . . | 2157 |
| 39.4.17 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 2 to 5) . . . . . | 2157 |
| 39.4.18 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 2 to 5) . . . . . | 2158 |
| 39.4.19 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 2 to 5) . . . . . | 2158 |
| 39.4.20 | TIMx DMA control register (TIMx_DCR)(x = 2 to 5) . . . . . | 2159 |
| 39.4.21 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 2 to 5) . . . . . | 2160 |
| 39.4.22 | TIM2 alternate function option register 1 (TIM2_AF1) . . . . . | 2160 |
| 39.4.23 | TIM3 alternate function option register 1 (TIM3_AF1) . . . . . | 2160 |
| 39.4.24 | TIM4 alternate function option register 1 (TIM4_AF1) . . . . . | 2161 |
| 39.4.25 | TIM5 alternate function option register 1 (TIM5_AF1) . . . . . | 2161 |
| 39.4.26 | TIM2 timer input selection register (TIM2_TISEL) . . . . . | 2162 |
| 39.4.27 | TIM3 timer input selection register (TIM3_TISEL) . . . . . | 2163 |
| 39.4.28 | TIM4 timer input selection register (TIM4_TISEL) ..... | 2164 |
| 39.4.29 | TIM5 timer input selection register (TIM5_TISEL) ..... | 2164 |
| 39.4.30 | TIMx register map ..... | 2166 |
| 40 | General-purpose timers (TIM12/TIM13/TIM14) ..... | 2169 |
| 40.1 | TIM12/TIM13/TIM14 introduction ..... | 2169 |
| 40.2 | TIM12/TIM13/TIM14 main features ..... | 2169 |
| 40.2.1 | TIM12 main features ..... | 2169 |
| 40.2.2 | TIM13/TIM14 main features ..... | 2170 |
| 40.3 | TIM12/TIM13/TIM14 functional description ..... | 2172 |
| 40.3.1 | Time-base unit ..... | 2172 |
| 40.3.2 | Counter modes ..... | 2174 |
| 40.3.3 | Clock selection ..... | 2177 |
| 40.3.4 | Capture/compare channels ..... | 2179 |
| 40.3.5 | Input capture mode ..... | 2181 |
| 40.3.6 | PWM input mode (only for TIM12) ..... | 2182 |
| 40.3.7 | Forced output mode ..... | 2183 |
| 40.3.8 | Output compare mode ..... | 2184 |
| 40.3.9 | PWM mode ..... | 2185 |
| 40.3.10 | Combined PWM mode (TIM12 only) ..... | 2186 |
| 40.3.11 | One-pulse mode ..... | 2187 |
| 40.3.12 | Retriggerable one pulse mode (TIM12 only) ..... | 2189 |
| 40.3.13 | UIF bit remapping ..... | 2189 |
| 40.3.14 | Timer input XOR function ..... | 2190 |
| 40.3.15 | TIM12 external trigger synchronization ..... | 2190 |
| 40.3.16 | Slave mode – combined reset + trigger mode ..... | 2193 |
| 40.3.17 | Timer synchronization (TIM12) ..... | 2194 |
| 40.3.18 | Using timer output as trigger for other timers (TIM13/TIM14) ..... | 2194 |
| 40.3.19 | Debug mode ..... | 2194 |
| 40.4 | TIM12 registers ..... | 2194 |
| 40.4.1 | TIM12 control register 1 (TIM12_CR1) ..... | 2194 |
| 40.4.2 | TIM12 control register 2 (TIM12_CR2) ..... | 2195 |
| 40.4.3 | TIM12 slave mode control register (TIM12_SMCR) ..... | 2196 |
| 40.4.4 | TIM12 Interrupt enable register (TIM12_DIER) ..... | 2198 |
| 40.4.5 | TIM12 status register (TIM12_SR) ..... | 2198 |
| 40.4.6 | TIM12 event generation register (TIM12_EGR) ..... | 2199 |
| 40.4.7 | TIM12 capture/compare mode register 1 (TIM12_CCMR1) ..... | 2200 |
| 40.4.8 | TIM12 capture/compare mode register 1 [alternate] (TIM12_CCMR1) ..... | 2201 |
| 40.4.9 | TIM12 capture/compare enable register (TIM12_CCER) ..... | 2204 |
| 40.4.10 | TIM12 counter (TIM12_CNT) ..... | 2205 |
| 40.4.11 | TIM12 prescaler (TIM12_PSC) ..... | 2206 |
| 40.4.12 | TIM12 auto-reload register (TIM12_ARR) ..... | 2206 |
| 40.4.13 | TIM12 capture/compare register 1 (TIM12_CCR1) ..... | 2206 |
| 40.4.14 | TIM12 capture/compare register 2 (TIM12_CCR2) ..... | 2207 |
| 40.4.15 | TIM12 timer input selection register (TIM12_TISEL) ..... | 2207 |
| 40.4.16 | TIM12 register map ..... | 2208 |
| 40.5 | TIM13/TIM14 registers ..... | 2210 |
| 40.5.1 | TIMx control register 1 (TIMx_CR1)(x = 13 to 14) ..... | 2210 |
| 40.5.2 | TIMx Interrupt enable register (TIMx_DIER)(x = 13 to 14) ..... | 2211 |
| 40.5.3 | TIMx status register (TIMx_SR)(x = 13 to 14) ..... | 2211 |
| 40.5.4 | TIMx event generation register (TIMx_EGR)(x = 13 to 14) ..... | 2212 |
| 40.5.5 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 13 to 14) ..... | 2213 |
| 40.5.6 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 13 to 14) ..... | 2214 |
| 40.5.7 | TIMx capture/compare enable register (TIMx_CCER)(x = 13 to 14) ..... | 2216 |
| 40.5.8 | TIMx counter (TIMx_CNT)(x = 13 to 14) ..... | 2217 |
| 40.5.9 | TIMx prescaler (TIMx_PSC)(x = 13 to 14) ..... | 2218 |
| 40.5.10 | TIMx auto-reload register (TIMx_ARR)(x = 13 to 14) ..... | 2218 |
| 40.5.11 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 13 to 14) ..... | 2218 |
| 40.5.12 | TIM13 timer input selection register (TIM13_TISEL) ..... | 2219 |
| 40.5.13 | TIM14 timer input selection register (TIM14_TISEL) ..... | 2219 |
| 40.5.14 | TIM13/TIM14 register map ..... | 2220 |
| 41 | General-purpose timers (TIM15/TIM16/TIM17) ..... | 2222 |
| 41.1 | TIM15/TIM16/TIM17 introduction ..... | 2222 |
| 41.2 | TIM15 main features ..... | 2222 |
| 41.3 | TIM16/TIM17 main features ..... | 2223 |
| 41.4 | TIM15/TIM16/TIM17 functional description ..... | 2226 |
| 41.4.1 | Time-base unit ..... | 2226 |
| 41.4.2 | Counter modes ..... | 2228 |
| 41.4.3 | Repetition counter ..... | 2232 |
| 41.4.4 | Clock selection ..... | 2233 |
| 41.4.5 | Capture/compare channels ..... | 2235 |
| 41.4.6 | Input capture mode ..... | 2237 |
| 41.4.7 | PWM input mode (only for TIM15) ..... | 2238 |
| 41.4.8 | Forced output mode ..... | 2239 |
| 41.4.9 | Output compare mode ..... | 2240 |
| 41.4.10 | PWM mode ..... | 2241 |
| 41.4.11 | Combined PWM mode (TIM15 only) ..... | 2242 |
| 41.4.12 | Complementary outputs and dead-time insertion ..... | 2243 |
| 41.4.13 | Using the break function ..... | 2245 |
| 41.4.14 | Bidirectional break inputs ..... | 2250 |
| 41.4.15 | 6-step PWM generation ..... | 2251 |
| 41.4.16 | One-pulse mode ..... | 2253 |
| 41.4.17 | Retriggerable one pulse mode (TIM15 only) ..... | 2254 |
| 41.4.18 | UIF bit remapping ..... | 2255 |
| 41.4.19 | Timer input XOR function (TIM15 only) ..... | 2256 |
| 41.4.20 | External trigger synchronization (TIM15 only) ..... | 2257 |
| 41.4.21 | Slave mode – combined reset + trigger mode ..... | 2259 |
| 41.4.22 | DMA burst mode ..... | 2259 |
| 41.4.23 | Timer synchronization (TIM15) ..... | 2261 |
| 41.4.24 | Using timer output as trigger for other timers (TIM16/TIM17) ..... | 2261 |
| 41.4.25 | Debug mode ..... | 2261 |
| 41.5 | TIM15 registers ..... | 2262 |
| 41.5.1 | TIM15 control register 1 (TIM15_CR1) ..... | 2262 |
| 41.5.2 | TIM15 control register 2 (TIM15_CR2) ..... | 2263 |
| 41.5.3 | TIM15 slave mode control register (TIM15_SMCR) ..... | 2265 |
| 41.5.4 | TIM15 DMA/interrupt enable register (TIM15_DIER) ..... | 2266 |
| 41.5.5 | TIM15 status register (TIM15_SR) ..... | 2267 |
| 41.5.6 | TIM15 event generation register (TIM15_EGR) ..... | 2269 |
| 41.5.7 | TIM15 capture/compare mode register 1 (TIM15_CCMR1) ..... | 2270 |
| 41.5.8 | TIM15 capture/compare mode register 1 [alternate] (TIM15_CCMR1) ..... | 2271 |
| 41.5.9 | TIM15 capture/compare enable register (TIM15_CCER) ..... | 2274 |
| 41.5.10 | TIM15 counter (TIM15_CNT) ..... | 2277 |
| 41.5.11 | TIM15 prescaler (TIM15_PSC) ..... | 2277 |
| 41.5.12 | TIM15 auto-reload register (TIM15_ARR) ..... | 2277 |
| 41.5.13 | TIM15 repetition counter register (TIM15_RCR) ..... | 2278 |
| 41.5.14 | TIM15 capture/compare register 1 (TIM15_CCR1) ..... | 2278 |
| 41.5.15 | TIM15 capture/compare register 2 (TIM15_CCR2) . . . . . | 2279 |
| 41.5.16 | TIM15 break and dead-time register (TIM15_BDTR) . . . . . | 2279 |
| 41.5.17 | TIM15 DMA control register (TIM15_DCR) . . . . . | 2282 |
| 41.5.18 | TIM15 DMA address for full transfer (TIM15_DMAR) . . . . . | 2282 |
| 41.5.19 | TIM15 alternate register 1 (TIM15_AF1) . . . . . | 2283 |
| 41.5.20 | TIM15 input selection register (TIM15_TISEL) . . . . . | 2284 |
| 41.5.21 | TIM15 register map . . . . . | 2284 |
| 41.6 | TIM16/TIM17 registers . . . . . | 2287 |
| 41.6.1 | TIMx control register 1 (TIMx_CR1)(x = 16 to 17) . . . . . | 2287 |
| 41.6.2 | TIMx control register 2 (TIMx_CR2)(x = 16 to 17) . . . . . | 2288 |
| 41.6.3 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 16 to 17) . . . . | 2289 |
| 41.6.4 | TIMx status register (TIMx_SR)(x = 16 to 17) . . . . . | 2290 |
| 41.6.5 | TIMx event generation register (TIMx_EGR)(x = 16 to 17) . . . . . | 2291 |
| 41.6.6 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 16 to 17) . . . . . | 2292 |
| 41.6.7 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 16 to 17) . . . . . | 2293 |
| 41.6.8 | TIMx capture/compare enable register (TIMx_CCER)(x = 16 to 17) . . | 2295 |
| 41.6.9 | TIMx counter (TIMx_CNT)(x = 16 to 17) . . . . . | 2297 |
| 41.6.10 | TIMx prescaler (TIMx_PSC)(x = 16 to 17) . . . . . | 2298 |
| 41.6.11 | TIMx auto-reload register (TIMx_ARR)(x = 16 to 17) . . . . . | 2298 |
| 41.6.12 | TIMx repetition counter register (TIMx_RCR)(x = 16 to 17) . . . . . | 2299 |
| 41.6.13 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 16 to 17) . . . . . | 2299 |
| 41.6.14 | TIMx break and dead-time register (TIMx_BDTR)(x = 16 to 17) . . . . | 2300 |
| 41.6.15 | TIMx DMA control register (TIMx_DCR)(x = 16 to 17) . . . . . | 2303 |
| 41.6.16 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 16 to 17) . . . . | 2303 |
| 41.6.17 | TIM16 alternate function register 1 (TIM16_AF1) . . . . . | 2304 |
| 41.6.18 | TIM16 input selection register (TIM16_TISEL) . . . . . | 2304 |
| 41.6.19 | TIM17 alternate function register 1 (TIM17_AF1) . . . . . | 2305 |
| 41.6.20 | TIM17 input selection register (TIM17_TISEL) . . . . . | 2306 |
| 41.6.21 | TIM16/TIM17 register map . . . . . | 2307 |
| 42 | Basic timers (TIM6/TIM7) . . . . . | 2309 |
| 42.1 | TIM6/TIM7 introduction . . . . . | 2309 |
| 42.2 | TIM6/TIM7 main features . . . . . | 2309 |
| 42.3 | TIM6/TIM7 functional description . . . . . | 2310 |
| 42.3.1 | Time-base unit . . . . . | 2310 |
| 42.3.2 | Counting mode | 2312 |
| 42.3.3 | UIF bit remapping | 2315 |
| 42.3.4 | Clock source | 2315 |
| 42.3.5 | Debug mode | 2316 |
| 42.4 | TIM6/TIM7 registers | 2316 |
| 42.4.1 | TIMx control register 1 (TIMx_CR1)(x = 6 to 7) | 2316 |
| 42.4.2 | TIMx control register 2 (TIMx_CR2)(x = 6 to 7) | 2318 |
| 42.4.3 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 6 to 7) | 2318 |
| 42.4.4 | TIMx status register (TIMx_SR)(x = 6 to 7) | 2319 |
| 42.4.5 | TIMx event generation register (TIMx_EGR)(x = 6 to 7) | 2319 |
| 42.4.6 | TIMx counter (TIMx_CNT)(x = 6 to 7) | 2319 |
| 42.4.7 | TIMx prescaler (TIMx_PSC)(x = 6 to 7) | 2320 |
| 42.4.8 | TIMx auto-reload register (TIMx_ARR)(x = 6 to 7) | 2320 |
| 42.4.9 | TIMx register map | 2321 |
| 43 | Low-power timer (LPTIM) | 2322 |
| 43.1 | Introduction | 2322 |
| 43.2 | LPTIM main features | 2322 |
| 43.3 | LPTIM implementation | 2323 |
| 43.4 | LPTIM functional description | 2323 |
| 43.4.1 | LPTIM block diagram | 2323 |
| 43.4.2 | LPTIM pins and internal signals | 2325 |
| 43.4.3 | LPTIM input and trigger mapping | 2325 |
| 43.4.4 | LPTIM reset and clocks | 2328 |
| 43.4.5 | Glitch filter | 2328 |
| 43.4.6 | Prescaler | 2329 |
| 43.4.7 | Trigger multiplexer | 2330 |
| 43.4.8 | Operating mode | 2330 |
| 43.4.9 | Timeout function | 2332 |
| 43.4.10 | Waveform generation | 2332 |
| 43.4.11 | Register update | 2333 |
| 43.4.12 | Counter mode | 2334 |
| 43.4.13 | Timer enable | 2334 |
| 43.4.14 | Timer counter reset | 2335 |
| 43.4.15 | Encoder mode | 2335 |
| 43.4.16 | Debug mode | 2337 |
| 43.5 | LPTIM low-power modes | 2337 |
| 43.6 | LPTIM interrupts | 2338 |
| 43.7 | LPTIM registers | 2338 |
| 43.7.1 | LPTIM interrupt and status register (LPTIM_ISR) | 2339 |
| 43.7.2 | LPTIM interrupt clear register (LPTIM_ICR) | 2340 |
| 43.7.3 | LPTIM interrupt enable register (LPTIM_IER) | 2340 |
| 43.7.4 | LPTIM configuration register (LPTIM_CFGR) | 2341 |
| 43.7.5 | LPTIM control register (LPTIM_CR) | 2344 |
| 43.7.6 | LPTIM compare register (LPTIM_CMP) | 2346 |
| 43.7.7 | LPTIM autoreload register (LPTIM_ARR) | 2346 |
| 43.7.8 | LPTIM counter register (LPTIM_CNT) | 2347 |
| 43.7.9 | LPTIM3 option register (LPTIM3_OR) | 2347 |
| 43.7.10 | LPTIM configuration register 2 (LPTIM_CFGR2) | 2348 |
| 43.7.11 | LPTIM x peripheral hardware configuration register (LPTIMx_HWCFGR)(x = 1 to 5) | 2349 |
| 43.7.12 | LPTIM peripheral version identification register (LPTIM_VERR) | 2349 |
| 43.7.13 | LPTIM peripheral type identification register (LPTIM_PIDR) | 2350 |
| 43.7.14 | LPTIM registers map size identification register (LPTIM_SIDR) | 2350 |
| 43.7.15 | LPTIM register map | 2351 |
| 44 | System timer generator (STGEN) | 2353 |
| 44.1 | STGEN introduction | 2353 |
| 44.2 | STGEN main features | 2353 |
| 44.3 | STGEN functional description | 2353 |
| 44.3.1 | STGEN block diagram | 2354 |
| 44.4 | STGEN registers | 2355 |
| 44.4.1 | STGENC control register (STGENC_CNTCR) | 2355 |
| 44.4.2 | STGENC status register (STGENC_CNTSR) | 2355 |
| 44.4.3 | STGENC value lower register (STGENC_CNTCVL) | 2356 |
| 44.4.4 | STGENC value upper register (STGENC_CNTCVU) | 2356 |
| 44.4.5 | STGENC base frequency register (STGENC_CNTFID0) | 2357 |
| 44.4.6 | STGENC peripheral ID4 register (STGENC_PIDR4) | 2357 |
| 44.4.7 | STGENC peripheral ID5 register (STGENC_PIDR5) | 2358 |
| 44.4.8 | STGENC peripheral ID6 register (STGENC_PIDR6) | 2358 |
| 44.4.9 | STGENC peripheral ID7 register (STGENC_PIDR7) | 2358 |
| 44.4.10 | STGENC peripheral ID0 register (STGENC_PIDR0) | 2359 |
| 44.4.11 | STGENC peripheral ID1 register (STGENC_PIDR1) | 2359 |
| 44.4.12 | STGENC peripheral ID2 register (STGENC_PIDR2) ..... | 2359 |
| 44.4.13 | STGENC peripheral ID3 register (STGENC_PIDR3) ..... | 2360 |
| 44.4.14 | STGENC component ID0 register (STGENC_CIDR0) ..... | 2360 |
| 44.4.15 | STGENC component ID1 register (STGENC_CIDR1) ..... | 2361 |
| 44.4.16 | STGENC component ID2 register (STGENC_CIDR2) ..... | 2361 |
| 44.4.17 | STGENC component ID3 register (STGENC_CIDR3) ..... | 2362 |
| 44.4.18 | STGENR value lower register (STGENR_CNTCVL) ..... | 2362 |
| 44.4.19 | STGENR value upper register (STGENR_CNTCVU) ..... | 2362 |
| 44.4.20 | STGENR peripheral ID4 register (STGENR_PIDR4) ..... | 2363 |
| 44.4.21 | STGENR peripheral ID5 register (STGENR_PIDR5) ..... | 2363 |
| 44.4.22 | STGENR peripheral ID6 register (STGENR_PIDR6) ..... | 2363 |
| 44.4.23 | STGENR peripheral ID7 register (STGENR_PIDR7) ..... | 2364 |
| 44.4.24 | STGENR peripheral ID0 register (STGENR_PIDR0) ..... | 2364 |
| 44.4.25 | STGENR peripheral ID1 register (STGENR_PIDR1) ..... | 2364 |
| 44.4.26 | STGENR peripheral ID2 register (STGENR_PIDR2) ..... | 2365 |
| 44.4.27 | STGENR peripheral ID3 register (STGENR_PIDR3) ..... | 2365 |
| 44.4.28 | STGENR component ID0 register (STGENR_CIDR0) ..... | 2366 |
| 44.4.29 | STGENR component ID1 register (STGENR_CIDR1) ..... | 2366 |
| 44.4.30 | STGENR component ID2 register (STGENR_CIDR2) ..... | 2366 |
| 44.4.31 | STGENR component ID3 register (STGENR_CIDR3) ..... | 2367 |
| 44.4.32 | STGEN register map ..... | 2367 |
| 45 | Independent watchdog (IWDG) ..... | 2370 |
| 45.1 | IWDG introduction ..... | 2370 |
| 45.2 | IWDG main features ..... | 2370 |
| 45.3 | IWDG implementation ..... | 2370 |
| 45.4 | IWDG functional description ..... | 2371 |
| 45.4.1 | IWDG block diagram ..... | 2371 |
| 45.4.2 | IWDG internal signals ..... | 2372 |
| 45.4.3 | Software and hardware watchdog modes ..... | 2372 |
| 45.4.4 | Window option ..... | 2373 |
| 45.4.5 | Debug ..... | 2376 |
| 45.4.6 | Register access protection ..... | 2376 |
| 45.5 | IWDG low power modes ..... | 2376 |
| 45.6 | IWDG interrupts ..... | 2377 |
| 45.7 | IWDG registers ..... | 2378 |
| 45.7.1 | IWDG key register (IWDG_KR) . . . . . | 2378 |
| 45.7.2 | IWDG prescaler register (IWDG_PR) . . . . . | 2379 |
| 45.7.3 | IWDG reload register (IWDG_RLR) . . . . . | 2380 |
| 45.7.4 | IWDG status register (IWDG_SR) . . . . . | 2380 |
| 45.7.5 | IWDG window register (IWDG_WINR) . . . . . | 2381 |
| 45.7.6 | IWDG early wake-up interrupt register (IWDG_EWCR) . . . . . | 2382 |
| 45.7.7 | IWDG hardware configuration register (IWDG_HWCFGR) . . . . . | 2383 |
| 45.7.8 | IWDG version register (IWDG_VERR) . . . . . | 2384 |
| 45.7.9 | IWDG identification register (IWDG_IDR) . . . . . | 2385 |
| 45.7.10 | IWDG size identification register (IWDG_SIDR) . . . . . | 2385 |
| 45.7.11 | IWDG register map . . . . . | 2386 |
| 46 | Real-time clock (RTC) . . . . . | 2387 |
| 46.1 | RTC introduction . . . . . | 2387 |
| 46.2 | RTC main features . . . . . | 2387 |
| 46.3 | RTC functional description . . . . . | 2388 |
| 46.3.1 | RTC block diagram . . . . . | 2388 |
| 46.3.2 | RTC pins and internal signals . . . . . | 2390 |
| 46.3.3 | GPIOs controlled by the RTC and TAMP . . . . . | 2391 |
| 46.3.4 | RTC secure protection modes . . . . . | 2395 |
| 46.3.5 | RTC privilege protection modes . . . . . | 2396 |
| 46.3.6 | Clock and prescalers . . . . . | 2397 |
| 46.3.7 | Real-time clock and calendar . . . . . | 2399 |
| 46.3.8 | Calendar ultra-low power mode . . . . . | 2399 |
| 46.3.9 | Programmable alarms . . . . . | 2399 |
| 46.3.10 | Periodic auto-wake-up . . . . . | 2400 |
| 46.3.11 | RTC initialization and configuration . . . . . | 2401 |
| 46.3.12 | Reading the calendar . . . . . | 2403 |
| 46.3.13 | Resetting the RTC . . . . . | 2404 |
| 46.3.14 | RTC synchronization . . . . . | 2405 |
| 46.3.15 | RTC reference clock detection . . . . . | 2405 |
| 46.3.16 | RTC smooth digital calibration . . . . . | 2406 |
| 46.3.17 | Timestamp function . . . . . | 2408 |
| 46.3.18 | Calibration clock output . . . . . | 2409 |
| 46.3.19 | Tamper and alarm output . . . . . | 2410 |
| 46.4 | RTC low-power modes . . . . . | 2410 |
| 46.5 | RTC interrupts . . . . . | 2411 |
| 46.6 | RTC registers | 2412 |
| 46.6.1 | RTC time register (RTC_TR) | 2412 |
| 46.6.2 | RTC date register (RTC_DR) | 2413 |
| 46.6.3 | RTC subsecond register (RTC_SSR) | 2414 |
| 46.6.4 | RTC initialization control and status register (RTC_ICSR) | 2415 |
| 46.6.5 | RTC prescaler register (RTC_PRER) | 2417 |
| 46.6.6 | RTC wake-up timer register (RTC_WUTR) | 2418 |
| 46.6.7 | RTC control register (RTC_CR) | 2418 |
| 46.6.8 | RTC privilege mode control register (RTC_PRIVCFGR) | 2422 |
| 46.6.9 | RTC secure configuration register (RTC_SECCFGR) | 2424 |
| 46.6.10 | RTC write protection register (RTC_WPR) | 2425 |
| 46.6.11 | RTC calibration register (RTC_CALR) | 2426 |
| 46.6.12 | RTC shift control register (RTC_SHIFTR) | 2427 |
| 46.6.13 | RTC timestamp time register (RTC_TSTR) | 2428 |
| 46.6.14 | RTC timestamp date register (RTC_TSDR) | 2429 |
| 46.6.15 | RTC timestamp subsecond register (RTC_TSSSR) | 2430 |
| 46.6.16 | RTC alarm A register (RTC_ALRMAR) | 2430 |
| 46.6.17 | RTC alarm A subsecond register (RTC_ALRMASSR) | 2432 |
| 46.6.18 | RTC alarm B register (RTC_ALRMBR) | 2433 |
| 46.6.19 | RTC alarm B subsecond register (RTC_ALRMBSSR) | 2434 |
| 46.6.20 | RTC status register (RTC_SR) | 2435 |
| 46.6.21 | RTC nonsecure masked interrupt status register (RTC_MISR) | 2436 |
| 46.6.22 | RTC secure masked interrupt status register (RTC_SMISR) | 2437 |
| 46.6.23 | RTC status clear register (RTC_SCR) | 2438 |
| 46.6.24 | RTC option register (RTC_OR) | 2439 |
| 46.6.25 | RTC alarm A binary mode register (RTC_ALRABINR) | 2440 |
| 46.6.26 | RTC alarm B binary mode register (RTC_ALRBBINR) | 2440 |
| 46.6.27 | RTC hardware configuration register 2 (RTC_HWCFGR2) | 2441 |
| 46.6.28 | RTC hardware configuration register (RTC_HWCFGR1) | 2441 |
| 46.6.29 | RTC version register (RTC_VERR) | 2442 |
| 46.6.30 | RTC identification register (RTC_IPIDR) | 2443 |
| 46.6.31 | RTC size identification register (RTC_SIDR) | 2443 |
| 46.6.32 | RTC register map | 2444 |
| 47 | Tamper and backup registers (TAMP) | 2447 |
| 47.1 | TAMP introduction | 2447 |
| 47.2 | TAMP main features | 2448 |
| 47.3 | TAMP functional description | 2449 |
| 47.3.1 | TAMP block diagram | 2449 |
| 47.3.2 | TAMP pins and internal signals | 2450 |
| 47.3.3 | GPIOs controlled by the RTC and TAMP | 2453 |
| 47.3.4 | TAMP register write protection | 2453 |
| 47.3.5 | TAMP secure protection modes | 2453 |
| 47.3.6 | Backup registers protection zones | 2454 |
| 47.3.7 | TAMP privilege protection modes | 2454 |
| 47.3.8 | Boot hardware key (BHK) | 2455 |
| 47.3.9 | Tamper detection | 2455 |
| 47.3.10 | TAMP backup registers and other device secrets erase | 2455 |
| 47.3.11 | Tamper detection configuration and initialization | 2457 |
| 47.4 | TAMP low-power modes | 2463 |
| 47.5 | TAMP interrupts | 2464 |
| 47.6 | TAMP registers | 2465 |
| 47.6.1 | TAMP control register 1 (TAMP_CR1) | 2465 |
| 47.6.2 | TAMP control register 2 (TAMP_CR2) | 2467 |
| 47.6.3 | TAMP control register 3 (TAMP_CR3) | 2470 |
| 47.6.4 | TAMP filter control register (TAMP_FLTCR) | 2471 |
| 47.6.5 | TAMP active tamper control register 1 (TAMP_ATCR1) | 2473 |
| 47.6.6 | TAMP active tamper seed register (TAMP_ATSEEDR) | 2475 |
| 47.6.7 | TAMP active tamper output register (TAMP_ATOR) | 2476 |
| 47.6.8 | TAMP active tamper control register 2 (TAMP_ATCR2) | 2477 |
| 47.6.9 | TAMP secure configuration register (TAMP_SECCFGR) | 2480 |
| 47.6.10 | TAMP privilege configuration register (TAMP_PRIVCFGR) | 2482 |
| 47.6.11 | TAMP interrupt enable register (TAMP_IER) | 2483 |
| 47.6.12 | TAMP status register (TAMP_SR) | 2485 |
| 47.6.13 | TAMP nonsecure masked interrupt status register (TAMP_MISR) | 2487 |
| 47.6.14 | TAMP secure masked interrupt status register (TAMP_SMISR) | 2488 |
| 47.6.15 | TAMP status clear register (TAMP_SCR) | 2490 |
| 47.6.16 | TAMP monotonic counter 1 register (TAMP_COUNT1R) | 2492 |
| 47.6.17 | TAMP monotonic counter 2 register (TAMP_COUNT2R) | 2493 |
| 47.6.18 | TAMP option register (TAMP_OR) | 2493 |
| 47.6.19 | TAMP erase configuration register (TAMP_ERCFGR) | 2494 |
| 47.6.20 | TAMP backup x register (TAMP_BKPxR) | 2495 |
| 47.6.21 | TAMP hardware configuration register 2 (TAMP_HWCFGR2) | 2495 |
| 47.6.22 | TAMP hardware configuration register 1 (TAMP_HWCFGR1) | 2496 |
| 47.6.23 | TAMP version register (TAMP_VERR) ..... | 2497 |
| 47.6.24 | TAMP identification register (TAMP_IPIDR) ..... | 2497 |
| 47.6.25 | TAMP size identification register (TAMP_SIDR) ..... | 2498 |
| 47.6.26 | TAMP register map ..... | 2499 |
| 48 | Inter-integrated circuit interface (I2C) ..... | 2502 |
| 48.1 | I2C introduction ..... | 2502 |
| 48.2 | I2C main features ..... | 2502 |
| 48.3 | I2C implementation ..... | 2503 |
| 48.4 | I2C functional description ..... | 2503 |
| 48.4.1 | I2C block diagram ..... | 2504 |
| 48.4.2 | I2C pins and internal signals ..... | 2504 |
| 48.4.3 | I2C clock requirements ..... | 2505 |
| 48.4.4 | I2C mode selection ..... | 2505 |
| 48.4.5 | I2C initialization ..... | 2506 |
| 48.4.6 | I2C reset ..... | 2510 |
| 48.4.7 | I2C data transfer ..... | 2511 |
| 48.4.8 | I2C target mode ..... | 2513 |
| 48.4.9 | I2C controller mode ..... | 2522 |
| 48.4.10 | I2C_TIMINGR register configuration examples ..... | 2533 |
| 48.4.11 | SMBus specific features ..... | 2535 |
| 48.4.12 | SMBus initialization ..... | 2538 |
| 48.4.13 | SMBus I2C_TIMEOUTR register configuration examples ..... | 2540 |
| 48.4.14 | SMBus target mode ..... | 2540 |
| 48.4.15 | SMBus controller mode ..... | 2544 |
| 48.4.16 | Wake-up from Stop mode on address match ..... | 2547 |
| 48.4.17 | Error conditions ..... | 2548 |
| 48.5 | I2C in low-power modes ..... | 2550 |
| 48.6 | I2C interrupts ..... | 2550 |
| 48.7 | I2C DMA requests ..... | 2551 |
| 48.7.1 | Transmission using DMA ..... | 2551 |
| 48.7.2 | Reception using DMA ..... | 2551 |
| 48.8 | I2C debug modes ..... | 2551 |
| 48.9 | I2C registers ..... | 2552 |
| 48.9.1 | I2C control register 1 (I2C_CR1) ..... | 2552 |
| 48.9.2 | I2C control register 2 (I2C_CR2) ..... | 2554 |
| 48.9.3 | I2C own address 1 register (I2C_OAR1) ..... | 2556 |
| 48.9.4 | I2C own address 2 register (I2C_OAR2) ..... | 2557 |
| 48.9.5 | I2C timing register (I2C_TIMINGR) ..... | 2558 |
| 48.9.6 | I2C timeout register (I2C_TIMEOUTR) ..... | 2559 |
| 48.9.7 | I2C interrupt and status register (I2C_ISR) ..... | 2560 |
| 48.9.8 | I2C interrupt clear register (I2C_ICR) ..... | 2562 |
| 48.9.9 | I2C PEC register (I2C_PECR) ..... | 2563 |
| 48.9.10 | I2C receive data register (I2C_RXDR) ..... | 2563 |
| 48.9.11 | I2C transmit data register (I2C_TXDR) ..... | 2564 |
| 48.9.12 | I2C hardware configuration register (I2C_HWCFGR) ..... | 2564 |
| 48.9.13 | I2C version register (I2C_VERR) ..... | 2565 |
| 48.9.14 | I2C identification register (I2C_IPIDR) ..... | 2565 |
| 48.9.15 | I2C size identification register (I2C_SIDR) ..... | 2565 |
| 48.9.16 | I2C register map ..... | 2566 |
| 49 | Universal synchronous/asynchronous receiver transmitter (USART/UART) ..... | 2568 |
| 49.1 | USART introduction ..... | 2568 |
| 49.2 | USART main features ..... | 2569 |
| 49.3 | USART extended features ..... | 2570 |
| 49.4 | USART implementation ..... | 2570 |
| 49.5 | USART functional description ..... | 2571 |
| 49.5.1 | USART block diagram ..... | 2571 |
| 49.5.2 | USART signals ..... | 2572 |
| 49.5.3 | USART character description ..... | 2574 |
| 49.5.4 | USART FIFOs and thresholds ..... | 2576 |
| 49.5.5 | USART transmitter ..... | 2576 |
| 49.5.6 | USART receiver ..... | 2580 |
| 49.5.7 | USART baud rate generation ..... | 2587 |
| 49.5.8 | Tolerance of the USART receiver to clock deviation ..... | 2588 |
| 49.5.9 | USART auto baud rate detection ..... | 2590 |
| 49.5.10 | USART multiprocessor communication ..... | 2592 |
| 49.5.11 | USART Modbus communication ..... | 2594 |
| 49.5.12 | USART parity control ..... | 2595 |
| 49.5.13 | USART LIN (local interconnection network) mode ..... | 2596 |
| 49.5.14 | USART synchronous mode ..... | 2598 |
| 49.5.15 | USART single-wire half-duplex communication ..... | 2602 |
| 49.5.16 | USART receiver timeout | 2602 |
| 49.5.17 | USART smartcard mode | 2603 |
| 49.5.18 | USART IrDA SIR ENDEC block | 2607 |
| 49.5.19 | Continuous communication using USART and DMA | 2610 |
| 49.5.20 | RS232 hardware flow control and RS485 Driver Enable | 2612 |
| 49.5.21 | USART low-power management | 2615 |
| 49.6 | USART in low-power modes | 2618 |
| 49.7 | USART interrupts | 2619 |
| 49.8 | USART registers | 2620 |
| 49.8.1 | USART control register 1 (USART_CR1) | 2620 |
| 49.8.2 | USART control register 1 [alternate] (USART_CR1) | 2623 |
| 49.8.3 | USART control register 2 (USART_CR2) | 2627 |
| 49.8.4 | USART control register 3 (USART_CR3) | 2631 |
| 49.8.5 | USART baud rate register (USART_BRR) | 2635 |
| 49.8.6 | USART guard time and prescaler register (USART_GTPR) | 2635 |
| 49.8.7 | USART receiver timeout register (USART_RTOR) | 2636 |
| 49.8.8 | USART request register (USART_RQR) | 2637 |
| 49.8.9 | USART interrupt and status register (USART_ISR) | 2638 |
| 49.8.10 | USART interrupt and status register [alternate] (USART_ISR) | 2644 |
| 49.8.11 | USART interrupt flag clear register (USART_ICR) | 2649 |
| 49.8.12 | USART receive data register (USART_RDR) | 2651 |
| 49.8.13 | USART transmit data register (USART_TDR) | 2651 |
| 49.8.14 | USART prescaler register (USART_PRESC) | 2652 |
| 49.8.15 | USART hardware configuration register 2 (USART_HWCFGR2) | 2652 |
| 49.8.16 | USART hardware configuration register 1 (USART_HWCFGR1) | 2653 |
| 49.8.17 | USART version register (USART_VERR) | 2654 |
| 49.8.18 | USART Identification register (USART_IPIDR) | 2654 |
| 49.8.19 | USART Size Identification register (USART_SIDR) | 2654 |
| 49.8.20 | USART register map | 2656 |
| 50 | Serial peripheral interface (SPI) | 2658 |
| 50.1 | Introduction | 2658 |
| 50.2 | SPI main features | 2659 |
| 50.3 | SPI implementation | 2659 |
| 50.4 | SPI functional description | 2660 |
| 50.4.1 | SPI block diagram | 2660 |
| 50.4.2 | SPI signals . . . . . | 2661 |
| 50.4.3 | SPI communication general aspects . . . . . | 2661 |
| 50.4.4 | Communications between one master and one slave . . . . . | 2662 |
| 50.4.5 | Standard multislave communication . . . . . | 2664 |
| 50.4.6 | Multimaster communication . . . . . | 2667 |
| 50.4.7 | Slave select pin (NSS) management . . . . . | 2667 |
| 50.4.8 | Communication formats . . . . . | 2671 |
| 50.4.9 | Configuration of SPI . . . . . | 2673 |
| 50.4.10 | Procedure for enabling SPI . . . . . | 2674 |
| 50.4.11 | SPI data transmission and reception procedures . . . . . | 2674 |
| 50.4.12 | Procedure for disabling the SPI . . . . . | 2679 |
| 50.4.13 | Data packing . . . . . | 2680 |
| 50.4.14 | Communication using DMA (direct memory addressing) . . . . . | 2681 |
| 50.5 | SPI specific modes and control . . . . . | 2683 |
| 50.5.1 | TI mode . . . . . | 2683 |
| 50.5.2 | SPI error flags . . . . . | 2683 |
| 50.5.3 | CRC computation . . . . . | 2687 |
| 50.6 | Low-power mode management . . . . . | 2688 |
| 50.7 | SPI wake-up and interrupts . . . . . | 2691 |
| 50.8 | I2S main features . . . . . | 2692 |
| 50.9 | I2S functional description . . . . . | 2693 |
| 50.9.1 | I2S general description . . . . . | 2693 |
| 50.9.2 | Pin sharing with SPI function . . . . . | 2693 |
| 50.9.3 | Bitfields usable in I2S/PCM mode . . . . . | 2694 |
| 50.9.4 | Slave and master modes . . . . . | 2695 |
| 50.9.5 | Supported audio protocols . . . . . | 2695 |
| 50.9.6 | Additional Serial Interface Flexibility . . . . . | 2701 |
| 50.9.7 | Startup sequence . . . . . | 2703 |
| 50.9.8 | Stop sequence . . . . . | 2705 |
| 50.9.9 | Clock generator . . . . . | 2705 |
| 50.9.10 | Internal FIFOs . . . . . | 2708 |
| 50.9.11 | FIFOs status flags . . . . . | 2709 |
| 50.9.12 | Handling of underrun situation . . . . . | 2709 |
| 50.9.13 | Handling of overrun situation . . . . . | 2710 |
| 50.9.14 | Frame error detection . . . . . | 2711 |
| 50.9.15 | DMA Interface . . . . . | 2712 |
| 50.9.16 | Programing examples | 2714 |
| 50.10 | I2S wake-up and interrupts | 2716 |
| 50.11 | SPI/I2S registers | 2717 |
| 50.11.1 | SPI/I2S control register 1 (SPI_CR1) | 2717 |
| 50.11.2 | SPI control register 2 (SPI_CR2) | 2719 |
| 50.11.3 | SPI configuration register 1 (SPI_CFG1) | 2719 |
| 50.11.4 | SPI configuration register 2 (SPI_CFG2) | 2722 |
| 50.11.5 | SPI/I2S interrupt enable register (SPI_IER) | 2724 |
| 50.11.6 | SPI/I2S status register (SPI_SR) | 2725 |
| 50.11.7 | SPI/I2S interrupt/status flags clear register (SPI_IFCR) | 2728 |
| 50.11.8 | SPI/I2S transmit data register (SPI_TXDR) | 2729 |
| 50.11.9 | SPI/I2S receive data register (SPI_RXDR) | 2729 |
| 50.11.10 | SPI polynomial register (SPI_CRCPOLY) | 2730 |
| 50.11.11 | SPI transmitter CRC register (SPI_TXCRC) | 2730 |
| 50.11.12 | SPI receiver CRC register (SPI_RXCRC) | 2731 |
| 50.11.13 | SPI underrun data register (SPI_UDRDR) | 2732 |
| 50.11.14 | SPI/I2S configuration register (SPI_I2SCFGR) | 2732 |
| 50.11.15 | SPI/I2S hardware configuration register (SPI_I2S_HWCFGR) | 2734 |
| 50.11.16 | SPI/I2S version register (SPI_VERR) | 2735 |
| 50.11.17 | SPI/I2S identification register (SPI_IPIDR) | 2735 |
| 50.11.18 | SPI/I2S size identification register (SPI_SIDR) | 2736 |
| 50.12 | SPI register map and reset values | 2737 |
| 51 | Serial audio interface (SAI) | 2739 |
| 51.1 | SAI introduction | 2739 |
| 51.2 | SAI main features | 2739 |
| 51.3 | SAI implementation | 2740 |
| 51.4 | SAI functional description | 2741 |
| 51.4.1 | SAI block diagram | 2741 |
| 51.4.2 | SAI pins and internal signals | 2742 |
| 51.4.3 | Main SAI modes | 2743 |
| 51.4.4 | SAI synchronization mode | 2744 |
| 51.4.5 | Audio data size | 2745 |
| 51.4.6 | Frame synchronization | 2745 |
| 51.4.7 | Slot configuration | 2748 |
| 51.4.8 | SAI clock generator | 2750 |
| 51.4.9 | Internal FIFOs | 2753 |
| 51.4.10 | PDM interface | 2755 |
| 51.4.11 | AC'97 link controller | 2763 |
| 51.4.12 | SPDIF output | 2765 |
| 51.4.13 | Specific features | 2768 |
| 51.4.14 | Error flags | 2772 |
| 51.4.15 | Disabling the SAI | 2775 |
| 51.4.16 | SAI DMA interface | 2775 |
| 51.5 | SAI interrupts | 2776 |
| 51.6 | SAI registers | 2778 |
| 51.6.1 | SAI global configuration register (SAI_GCR) | 2778 |
| 51.6.2 | SAI configuration register 1 (SAI_ACR1) | 2778 |
| 51.6.3 | SAI configuration register 2 (SAI_ACR2) | 2781 |
| 51.6.4 | SAI frame configuration register (SAI_AFRCR) | 2783 |
| 51.6.5 | SAI slot register (SAI_ASLOTR) | 2784 |
| 51.6.6 | SAI interrupt mask register (SAI_AIM) | 2785 |
| 51.6.7 | SAI status register (SAI_ASR) | 2787 |
| 51.6.8 | SAI clear flag register (SAI_ACLRFR) | 2789 |
| 51.6.9 | SAI data register (SAI_ADR) | 2790 |
| 51.6.10 | SAI configuration register 1 (SAI_BCR1) | 2790 |
| 51.6.11 | SAI configuration register 2 (SAI_BCR2) | 2793 |
| 51.6.12 | SAI frame configuration register (SAI_BFRCR) | 2795 |
| 51.6.13 | SAI slot register (SAI_BSLOTR) | 2796 |
| 51.6.14 | SAI interrupt mask register (SAI_BIM) | 2797 |
| 51.6.15 | SAI status register (SAI_BSR) | 2798 |
| 51.6.16 | SAI clear flag register (SAI_BCLRFR) | 2800 |
| 51.6.17 | SAI data register (SAI_BDR) | 2801 |
| 51.6.18 | SAI PDM control register (SAI_PDMCR) | 2802 |
| 51.6.19 | SAI PDM delay register (SAI_PDMDLY) | 2803 |
| 51.6.20 | SAI hardware configuration register (SAI_HWCFGR) | 2805 |
| 51.6.21 | SAI version register (SAI_VERR) | 2806 |
| 51.6.22 | SAI identification register (SAI_IPIDR) | 2807 |
| 51.6.23 | SAI size identification register (SAI_SIDR) | 2807 |
| 51.6.24 | SAI register map | 2807 |
| 52 | SPDIF receiver interface (SPDIFRX) | 2810 |
| 52.1 | SPDIFRX interface introduction | 2810 |
| 52.2 | SPDIFRX main features . . . . . | 2810 |
| 52.3 | SPDIFRX functional description . . . . . | 2810 |
| 52.3.1 | SPDIFRX pins and internal signals . . . . . | 2811 |
| 52.3.2 | S/PDIF protocol (IEC-60958) . . . . . | 2812 |
| 52.3.3 | SPDIFRX decoder (SPDIFRX_DC) . . . . . | 2814 |
| 52.3.4 | SPDIFRX tolerance to clock deviation . . . . . | 2818 |
| 52.3.5 | SPDIFRX synchronization . . . . . | 2818 |
| 52.3.6 | SPDIFRX handling . . . . . | 2820 |
| 52.3.7 | Data reception management . . . . . | 2822 |
| 52.3.8 | Dedicated control flow . . . . . | 2824 |
| 52.3.9 | Reception errors . . . . . | 2825 |
| 52.3.10 | Clocking strategy . . . . . | 2827 |
| 52.3.11 | Symbol clock generation . . . . . | 2827 |
| 52.3.12 | DMA interface . . . . . | 2829 |
| 52.3.13 | Interrupt generation . . . . . | 2830 |
| 52.3.14 | Register protection . . . . . | 2831 |
| 52.4 | Programming procedures . . . . . | 2831 |
| 52.4.1 | Initialization phase . . . . . | 2832 |
| 52.4.2 | Handling of interrupts coming from SPDIFRX . . . . . | 2833 |
| 52.4.3 | Handling of interrupts coming from DMA . . . . . | 2833 |
| 52.5 | SPDIFRX interface registers . . . . . | 2834 |
| 52.5.1 | SPDIFRX control register (SPDIFRX_CR) . . . . . | 2834 |
| 52.5.2 | SPDIFRX interrupt mask register (SPDIFRX_IMR) . . . . . | 2836 |
| 52.5.3 | SPDIFRX status register (SPDIFRX_SR) . . . . . | 2837 |
| 52.5.4 | SPDIFRX interrupt flag clear register (SPDIFRX_IFCR) . . . . . | 2839 |
| 52.5.5 | SPDIFRX data input register (SPDIFRX_FMT0_DR) . . . . . | 2840 |
| 52.5.6 | SPDIFRX data input register (SPDIFRX_FMT1_DR) . . . . . | 2840 |
| 52.5.7 | SPDIFRX data input register (SPDIFRX_FMT2_DR) . . . . . | 2841 |
| 52.5.8 | SPDIFRX channel status register (SPDIFRX_CSR) . . . . . | 2842 |
| 52.5.9 | SPDIFRX debug information register (SPDIFRX_DIR) . . . . . | 2842 |
| 52.5.10 | SPDIFRX version register (SPDIFRX_VERR) . . . . . | 2843 |
| 52.5.11 | SPDIFRX identification register (SPDIFRX_IPIDR) . . . . . | 2843 |
| 52.5.12 | SPDIFRX size identification register (SPDIFRX_SIDR) . . . . . | 2844 |
| 52.5.13 | SPDIFRX interface register map . . . . . | 2844 |
| 53 | Controller area network with flexible data rate (FDCAN) . . . . . | 2846 |
| 53.1 | FDCAN introduction . . . . . | 2846 |
| 53.2 | FDCAN main features ..... | 2849 |
| 53.3 | TTCAN implementation ..... | 2849 |
| 53.4 | FDCAN functional description ..... | 2850 |
| 53.4.1 | Operating modes ..... | 2851 |
| 53.4.2 | Error management ..... | 2860 |
| 53.4.3 | Message RAM ..... | 2860 |
| 53.4.4 | FIFO acknowledge handling ..... | 2872 |
| 53.4.5 | Bit timing ..... | 2873 |
| 53.4.6 | Clock calibration on CAN ..... | 2874 |
| 53.4.7 | Application ..... | 2878 |
| 53.4.8 | TTCAN operations (FDCAN1 only) ..... | 2879 |
| 53.4.9 | TTCAN configuration ..... | 2880 |
| 53.4.10 | Message scheduling ..... | 2882 |
| 53.4.11 | TTCAN gap control ..... | 2889 |
| 53.4.12 | Stop watch ..... | 2890 |
| 53.4.13 | Local time, cycle time, global time, and external clock synchronization ..... | 2890 |
| 53.4.14 | TTCAN error level ..... | 2893 |
| 53.4.15 | TTCAN message handling ..... | 2894 |
| 53.4.16 | TTCAN interrupt and error handling ..... | 2897 |
| 53.4.17 | Level 0 ..... | 2898 |
| 53.4.18 | Synchronization to external time schedule ..... | 2900 |
| 53.4.19 | FDCAN Rx buffer and FIFO element ..... | 2901 |
| 53.4.20 | FDCAN Tx buffer element ..... | 2903 |
| 53.4.21 | FDCAN Tx event FIFO element ..... | 2905 |
| 53.4.22 | FDCAN standard message ID filter element ..... | 2906 |
| 53.4.23 | FDCAN extended message ID filter element ..... | 2908 |
| 53.4.24 | FDCAN trigger memory element ..... | 2909 |
| 53.5 | FDCAN registers ..... | 2911 |
| 53.5.1 | FDCAN core release register (FDCAN_CREL) ..... | 2911 |
| 53.5.2 | FDCAN Endian register (FDCAN_ENDN) ..... | 2911 |
| 53.5.3 | FDCAN data bit timing and prescaler register (FDCAN_DBTP) .... | 2911 |
| 53.5.4 | FDCAN test register (FDCAN_TEST) ..... | 2912 |
| 53.5.5 | FDCAN RAM watchdog register (FDCAN_RWD) ..... | 2913 |
| 53.5.6 | FDCAN CC control register (FDCAN_CCCR) ..... | 2914 |
| 53.5.7 | FDCAN nominal bit timing and prescaler register (FDCAN_NBTP) . | 2916 |
| 53.5.8 | FDCAN timestamp counter configuration register (FDCAN_TSCC) . | 2917 |
| 53.5.9 | FDCAN timestamp counter value register (FDCAN_TSCV) . . . . . | 2917 |
| 53.5.10 | FDCAN timeout counter configuration register (FDCAN_TOCC) . . . | 2918 |
| 53.5.11 | FDCAN timeout counter value register (FDCAN_TOCV) . . . . . | 2919 |
| 53.5.12 | FDCAN error counter register (FDCAN_ECR) . . . . . | 2919 |
| 53.5.13 | FDCAN protocol status register (FDCAN_PSR) . . . . . | 2920 |
| 53.5.14 | FDCAN transmitter delay compensation register (FDCAN_TDCR) . . | 2922 |
| 53.5.15 | FDCAN interrupt register (FDCAN_IR) . . . . . | 2922 |
| 53.5.16 | FDCAN interrupt enable register (FDCAN_IE) . . . . . | 2925 |
| 53.5.17 | FDCAN interrupt line select register (FDCAN_ILS) . . . . . | 2927 |
| 53.5.18 | FDCAN interrupt line enable register (FDCAN_ILE) . . . . . | 2928 |
| 53.5.19 | FDCAN global filter configuration register (FDCAN_GFC) . . . . . | 2929 |
| 53.5.20 | FDCAN standard ID filter configuration register (FDCAN_SIDFC) . . | 2930 |
| 53.5.21 | FDCAN extended ID filter configuration register (FDCAN_XIDFC) . . | 2931 |
| 53.5.22 | FDCAN extended ID and mask register (FDCAN_XIDAM) . . . . . | 2931 |
| 53.5.23 | FDCAN high priority message status register (FDCAN_HPMS) . . . . | 2932 |
| 53.5.24 | FDCAN new data 1 register (FDCAN_NDAT1) . . . . . | 2933 |
| 53.5.25 | FDCAN new data 2 register (FDCAN_NDAT2) . . . . . | 2933 |
| 53.5.26 | FDCAN Rx FIFO 0 configuration register (FDCAN_RXF0C) . . . . . | 2934 |
| 53.5.27 | FDCAN Rx FIFO 0 status register (FDCAN_RXF0S) . . . . . | 2934 |
| 53.5.28 | FDCAN Rx FIFO 0 acknowledge register (FDCAN_RXF0A) . . . . . | 2935 |
| 53.5.29 | FDCAN Rx buffer configuration register (FDCAN_RXBC) . . . . . | 2936 |
| 53.5.30 | FDCAN Rx FIFO 1 configuration register (FDCAN_RXF1C) . . . . . | 2936 |
| 53.5.31 | FDCAN Rx FIFO 1 status register (FDCAN_RXF1S) . . . . . | 2937 |
| 53.5.32 | FDCAN Rx FIFO 1 acknowledge register (FDCAN_RXF1A) . . . . . | 2938 |
| 53.5.33 | FDCAN Rx buffer element size configuration register (FDCAN_RXESC) . . . . . | 2938 |
| 53.5.34 | FDCAN Tx buffer configuration register (FDCAN_TXBC) . . . . . | 2939 |
| 53.5.35 | FDCAN Tx FIFO/queue status register (FDCAN_TXFQS) . . . . . | 2940 |
| 53.5.36 | FDCAN Tx buffer element size configuration register (FDCAN_TXESC) . . . . . | 2941 |
| 53.5.37 | FDCAN Tx buffer request pending register (FDCAN_TXBRP) . . . . . | 2942 |
| 53.5.38 | FDCAN Tx buffer add request register (FDCAN_TXBAR) . . . . . | 2942 |
| 53.5.39 | FDCAN Tx buffer cancellation request register (FDCAN_TXBCR) . . | 2943 |
| 53.5.40 | FDCAN Tx buffer transmission occurred register (FDCAN_TXBTO) . | 2943 |
| 53.5.41 | FDCAN Tx buffer cancellation finished register (FDCAN_TXBCF) . . | 2944 |
| 53.5.42 | FDCAN Tx buffer transmission interrupt enable register (FDCAN_TXBTIE) . . . . . | 2944 |
| 53.5.43 | FDCAN Tx buffer cancellation finished interrupt enable register (FDCAN_TXBCIE) ..... | 2945 |
| 53.5.44 | FDCAN Tx event FIFO configuration register (FDCAN_TXEFC) ..... | 2945 |
| 53.5.45 | FDCAN Tx event FIFO status register (FDCAN_TXEFS) ..... | 2946 |
| 53.5.46 | FDCAN Tx event FIFO acknowledge register (FDCAN_TXEFA) ..... | 2947 |
| 53.5.47 | FDCAN register map ..... | 2947 |
| 53.6 | TTCAN registers ..... | 2951 |
| 53.6.1 | FDCAN TT trigger memory configuration register (FDCAN_TTTMC) ..... | 2951 |
| 53.6.2 | FDCAN TT reference message configuration register (FDCAN_TTRMC) ..... | 2951 |
| 53.6.3 | FDCAN TT operation configuration register (FDCAN_TTOCF) ..... | 2952 |
| 53.6.4 | FDCAN TT matrix limits register (FDCAN_TTMLM) ..... | 2954 |
| 53.6.5 | FDCAN TUR configuration register (FDCAN_TURCF) ..... | 2955 |
| 53.6.6 | FDCAN TT operation control register (FDCAN_TTOCN) ..... | 2956 |
| 53.6.7 | FDCAN TT global time preset register (FDCAN_TTGTP) ..... | 2958 |
| 53.6.8 | FDCAN TT time mark register (FDCAN_TTTMK) ..... | 2958 |
| 53.6.9 | FDCAN TT interrupt register (FDCAN_TTIR) ..... | 2959 |
| 53.6.10 | FDCAN TT interrupt enable register (FDCAN_TTIE) ..... | 2961 |
| 53.6.11 | FDCAN TT interrupt line select register (FDCAN_TTILS) ..... | 2963 |
| 53.6.12 | FDCAN TT operation status register (FDCAN_TTOST) ..... | 2964 |
| 53.6.13 | FDCAN TUR numerator actual register (FDCAN_TURNA) ..... | 2966 |
| 53.6.14 | FDCAN TT local and global time register (FDCAN_TTLGT) ..... | 2967 |
| 53.6.15 | FDCAN TT cycle time and count register (FDCAN_TTCTC) ..... | 2967 |
| 53.6.16 | FDCAN TT capture time register (FDCAN_TTCPT) ..... | 2968 |
| 53.6.17 | FDCAN TT cycle sync mark register (FDCAN_TTCSM) ..... | 2968 |
| 53.6.18 | FDCAN TT trigger select register (FDCAN_TTTS) ..... | 2969 |
| 53.6.19 | FDCAN TT register map ..... | 2969 |
| 53.7 | CCU registers ..... | 2971 |
| 53.7.1 | Clock calibration unit core release register (FDCAN_CCU_CREL) .. | 2971 |
| 53.7.2 | Calibration configuration register (FDCAN_CCU_CCFG) ..... | 2971 |
| 53.7.3 | Calibration status register (FDCAN_CCU_CSTAT) ..... | 2973 |
| 53.7.4 | Calibration watchdog register (FDCAN_CCU_CWD) ..... | 2973 |
| 53.7.5 | Clock calibration unit interrupt register (FDCAN_CCU_IR) ..... | 2974 |
| 53.7.6 | Clock calibration unit interrupt enable register (FDCAN_CCU_IE) .. | 2975 |
| 53.7.7 | CCU register map ..... | 2975 |
| 54.1 | Introduction | 2977 |
| 54.2 | OTG main features | 2978 |
| 54.2.1 | General features | 2978 |
| 54.2.2 | Host-mode features | 2979 |
| 54.2.3 | Peripheral-mode features | 2979 |
| 54.3 | OTG implementation | 2980 |
| 54.4 | OTG functional description | 2981 |
| 54.4.1 | OTG block diagram | 2981 |
| 54.4.2 | OTG pin and internal signals | 2981 |
| 54.4.3 | OTG core | 2982 |
| 54.4.4 | OTG detections | 2982 |
| 54.4.5 | High-speed OTG PHY connected to OTG_HS | 2982 |
| 54.5 | OTG dual role device (DRD) | 2983 |
| 54.5.1 | ID line detection | 2983 |
| 54.5.2 | HNP dual role device | 2983 |
| 54.5.3 | SRP dual role device | 2984 |
| 54.6 | OTG as a USB peripheral | 2984 |
| 54.6.1 | SRP-capable peripheral | 2985 |
| 54.6.2 | Peripheral states | 2985 |
| 54.6.3 | Peripheral endpoints | 2986 |
| 54.7 | OTG as a USB host | 2988 |
| 54.7.1 | SRP-capable host | 2989 |
| 54.7.2 | USB host states | 2989 |
| 54.7.3 | Host channels | 2991 |
| 54.7.4 | Host scheduler | 2992 |
| 54.8 | OTG SOF trigger | 2993 |
| 54.8.1 | Host SOFs | 2993 |
| 54.8.2 | Peripheral SOFs | 2993 |
| 54.9 | OTG low-power modes | 2994 |
| 54.10 | OTG dynamic update of the OTG_HFIR register | 2995 |
| 54.11 | OTG data FIFOs | 2995 |
| 54.11.1 | FIFO allocation for DMA address register storage | 2995 |
| 54.11.2 | Peripheral FIFO architecture | 2997 |
| 54.11.3 | Host FIFO architecture | 2998 |
| 54.11.4 | FIFO RAM allocation | 2999 |
| 54.12 | OTG interrupts | 3001 |
| 54.13 | OTG control and status registers | 3003 |
| 54.13.1 | CSR memory map | 3003 |
| 54.14 | OTG registers | 3008 |
| 54.14.1 | OTG control and status register (OTG_GOTGCTL) | 3008 |
| 54.14.2 | OTG interrupt register (OTG_GOTGINT) | 3011 |
| 54.14.3 | OTG AHB configuration register (OTG_GAHBCFG) | 3012 |
| 54.14.4 | OTG USB configuration register (OTG_GUSBCFG) | 3014 |
| 54.14.5 | OTG reset register (OTG_GRSTCTL) | 3016 |
| 54.14.6 | OTG core interrupt register (OTG_GINTSTS) | 3017 |
| 54.14.7 | OTG interrupt mask register (OTG_GINTMSK) | 3022 |
| 54.14.8 | OTG receive status debug read register (OTG_GRXSTSR) | 3025 |
| 54.14.9 | OTG receive status debug read [alternate] (OTG_GRXSTSR) | 3026 |
| 54.14.10 | OTG status read and pop registers (OTG_GRXSTSP) | 3027 |
| 54.14.11 | OTG status read and pop registers [alternate] (OTG_GRXSTSP) | 3028 |
| 54.14.12 | OTG receive FIFO size register (OTG_GRXFSIZ) | 3029 |
| 54.14.13 | OTG host nonperiodic transmit FIFO size register (OTG_HNPTXFSIZ)/Endpoint 0 Transmit FIFO size (OTG_DIEPTXF0) | 3030 |
| 54.14.14 | OTG nonperiodic transmit FIFO/queue status register (OTG_HNPTXSTS) | 3031 |
| 54.14.15 | OTG general core configuration register (OTG_GCCFG) | 3032 |
| 54.14.16 | OTG core ID register (OTG_CID) | 3032 |
| 54.14.17 | OTG core LPM configuration register (OTG_GLPMCFG) | 3033 |
| 54.14.18 | OTG interrupt register (OTG_GDFIFOCFG) | 3037 |
| 54.14.19 | OTG host periodic transmit FIFO size register (OTG_HPTXFSIZ) | 3037 |
| 54.14.20 | OTG device IN endpoint transmit FIFO x size register (OTG_DIEPTXFx) | 3038 |
| 54.14.21 | Host-mode registers | 3038 |
| 54.14.22 | OTG host configuration register (OTG_HCFG) | 3039 |
| 54.14.23 | OTG host frame interval register (OTG_HFIR) | 3040 |
| 54.14.24 | OTG host frame number/frame time remaining register (OTG_HFNUM) | 3041 |
| 54.14.25 | OTG_Host periodic transmit FIFO/queue status register (OTG_HPTXSTS) | 3042 |
| 54.14.26 | OTG host all channels interrupt register (OTG_HAINT) | 3043 |
| 54.14.27 | OTG host all channels interrupt mask register (OTG_HAINTMSK) | 3043 |
| 54.14.28 OTG host frame list base address register (OTG_HFLBADDR) | 3044 |
| 54.14.29 OTG host port control and status register (OTG_HPRT) | 3044 |
| 54.14.30 OTG host channel x characteristics register (OTG_HCCHARx) | 3047 |
| 54.14.31 OTG host channel x split control register (OTG_HCSPLTx) | 3048 |
| 54.14.32 OTG host channel x interrupt register (OTG_HCINTx) | 3049 |
| 54.14.33 OTG host channel x interrupt mask register (OTG_HCINTMSKx) | 3050 |
| 54.14.34 OTG host channel x transfer size register (OTG_HCTSIZx) | 3052 |
| 54.14.35 OTG host channel x transfer size register (OTG_HCTSIZSGx) | 3053 |
| 54.14.36 OTG host channel x DMA address register in buffer DMA [alternate] (OTG_HCDMAx) | 3055 |
| 54.14.37 OTG host channel x DMA address register in scatter/gather DMA [alternate] (OTG_HCDMASGx) | 3055 |
| 54.14.38 OTG host channel-n DMA address buffer register (OTG_HCDMABx) | 3056 |
| 54.14.39 Device-mode registers | 3057 |
| 54.14.40 OTG device configuration register (OTG_DCFG) | 3057 |
| 54.14.41 OTG device control register (OTG_DCTL) | 3058 |
| 54.14.42 OTG device status register (OTG_DSTS) | 3061 |
| 54.14.43 OTG device IN endpoint common interrupt mask register (OTG_DIEPMSK) | 3062 |
| 54.14.44 OTG device OUT endpoint common interrupt mask register (OTG_DOEPMSK) | 3063 |
| 54.14.45 OTG device all endpoints interrupt register (OTG_DAINT) | 3064 |
| 54.14.46 OTG all endpoints interrupt mask register (OTG_DAINTMSK) | 3065 |
| 54.14.47 OTG device VBUS discharge time register (OTG_DVBUSDIS) | 3066 |
| 54.14.48 OTG device VBUS pulsing time register (OTG_DVBUSPULSE) | 3066 |
| 54.14.49 OTG device threshold control register (OTG_DTHRCTL) | 3067 |
| 54.14.50 OTG device IN endpoint FIFO empty interrupt mask register (OTG_DIEPEMPMSK) | 3068 |
| 54.14.51 OTG device IN endpoint x control register (OTG_DIEPCTLx) | 3068 |
| 54.14.52 OTG device IN endpoint x interrupt register (OTG_DIEPINTx) | 3071 |
| 54.14.53 OTG device IN endpoint 0 transfer size register (OTG_DIEPTSIZ0) | 3072 |
| 54.14.54 OTG device IN endpoint x DMA address register (OTG_DIEPDMAx) | 3073 |
| 54.14.55 OTG device IN endpoint transmit FIFO status register (OTG_DTXFSTSx) | 3073 |
| 54.14.56 | OTG device IN endpoint x transfer size register (OTG_DIEPTSIZx) . | 3074 |
| 54.14.57 | OTG device control OUT endpoint 0 control register (OTG_DOEPTCTL0) | 3075 |
| 54.14.58 | OTG device OUT endpoint x interrupt register (OTG_DOEINTx) .. | 3076 |
| 54.14.59 | OTG device OUT endpoint 0 transfer size register (OTG_DOEPTSIZ0) | 3078 |
| 54.14.60 | OTG device OUT endpoint x DMA address register (OTG_DOEPDMAx) | 3079 |
| 54.14.61 | OTG device OUT endpoint x control register (OTG_DOEPTCTLx) | 3079 |
| 54.14.62 | OTG device OUT endpoint x transfer size register (OTG_DOEPTSIZx) | 3082 |
| 54.14.63 | OTG power and clock gating control register (OTG_PCGCCTL) ... | 3083 |
| 54.14.64 | OTG register map | 3084 |
| 54.15 | OTG programming model | 3095 |
| 54.15.1 | Core initialization | 3095 |
| 54.15.2 | Host initialization | 3096 |
| 54.15.3 | Device initialization | 3097 |
| 54.15.4 | DMA mode | 3097 |
| 54.15.5 | Host programming model | 3098 |
| 54.15.6 | Device programming model | 3130 |
| 54.15.7 | Worst case response time | 3151 |
| 54.15.8 | OTG programming model | 3153 |
| 55 | USB HS PHY controller (USBPHYC) | 3159 |
| 55.1 | USBPHYC introduction | 3159 |
| 55.2 | USBPHYC main features | 3159 |
| 55.3 | USBPHYC functional description | 3159 |
| 55.3.1 | USBPHYC block diagram | 3159 |
| 55.3.2 | USBPHYC reset and clocks | 3160 |
| 55.3.3 | PLL control | 3160 |
| 55.4 | USBPHYC registers | 3162 |
| 55.4.1 | USBPHYC PLL control register (USBPHYC_PLL) | 3162 |
| 55.4.2 | USBPHYC misc control register (USBPHYC_MISC) | 3164 |
| 55.4.3 | USBPHYC PHY x MONITOR register (USBPHYC_MONITORx) ... | 3165 |
| 55.4.4 | USBPHYC PHY x TUNE register (USBPHYC_TUNEx) | 3166 |
| 55.4.5 | USBPHYC VERSION register (USBPHYC_VERR) | 3168 |
| 55.4.6 | USBPHYC register map | 3169 |
| 56 | USB_EHCI/USB_OHCI high/full-speed link controller (USBH) . . . . . | 3171 |
| 56.1 | Introduction . . . . . | 3171 |
| 56.2 | USBH main features . . . . . | 3171 |
| 56.3 | USBH functional description . . . . . | 3172 |
| 56.3.1 | USBH block diagram . . . . . | 3172 |
| 56.3.2 | USBH reset and clocks . . . . . | 3172 |
| 56.3.3 | Description of USBH packet buffer . . . . . | 3172 |
| 56.3.4 | Description of USBH root hub . . . . . | 3173 |
| 56.4 | USBH interrupts . . . . . | 3173 |
| 56.5 | USBH registers . . . . . | 3173 |
| 56.5.1 | USBH OHCI standard registers . . . . . | 3173 |
| 56.5.2 | USBH OHCI implementation register #6 (USBH_OHCI_INSNREG06) . . . . . | 3174 |
| 56.5.3 | USBH OHCI implementation register #7 (USBH_OHCI_INSNREG07) . . . . . | 3175 |
| 56.5.4 | USBH EHCI standard registers . . . . . | 3176 |
| 56.5.5 | USBH EHCI implementation register #1 (USBH_EHCI_INSNREG01) . . . . . | 3176 |
| 56.5.6 | USBH EHCI implementation register #2 (USBH_EHCI_INSNREG02) . . . . . | 3177 |
| 56.5.7 | USBH EHCI implementation register #3 (USBH_EHCI_INSNREG03) . . . . . | 3178 |
| 56.5.8 | USBH EHCI implementation register #4 (USBH_EHCI_INSNREG04) . . . . . | 3179 |
| 56.5.9 | USBH EHCI implementation register #5 (USBH_EHCI_INSNREG05) . . . . . | 3180 |
| 56.5.10 | USBH EHCI implementation register #6 (USBH_EHCI_INSNREG06) . . . . . | 3181 |
| 56.5.11 | USBH EHCI implementation register #7 (USBH_EHCI_INSNREG07) . . . . . | 3182 |
| 56.5.12 | USBH register map . . . . . | 3182 |
| 57 | Ethernet (ETH): gigabit media access control (GMAC) with DMA controller . . . . . | 3187 |
| 57.1 | Ethernet introduction . . . . . | 3187 |
| 57.2 | Ethernet main features . . . . . | 3187 |
| 57.2.1 | Standard compliance . . . . . | 3187 |
| 57.2.2 | MAC features . . . . . | 3187 |
| 57.2.3 | Transaction layer (MTL) features . . . . . | 3189 |
| 57.2.4 | DMA block features ..... | 3190 |
| 57.2.5 | Bus interface features ..... | 3191 |
| 57.2.6 | Generic queuing features ..... | 3191 |
| 57.3 | Ethernet pins and internal signals ..... | 3191 |
| 57.4 | Ethernet architecture ..... | 3193 |
| 57.4.1 | DMA controller ..... | 3194 |
| 57.4.2 | MTL ..... | 3201 |
| 57.4.3 | MAC ..... | 3201 |
| 57.4.4 | Multiple channels and queues support ..... | 3206 |
| 57.5 | Ethernet functional description: MAC ..... | 3209 |
| 57.5.1 | Double VLAN processing ..... | 3209 |
| 57.5.2 | Source address and VLAN insertion, replacement, or deletion ..... | 3211 |
| 57.5.3 | Packet filtering ..... | 3212 |
| 57.5.4 | IEEE 1588 timestamp support ..... | 3219 |
| 57.5.5 | Checksum offload engine ..... | 3244 |
| 57.5.6 | TCP segmentation offload ..... | 3250 |
| 57.5.7 | IPv4 ARP offload ..... | 3256 |
| 57.5.8 | Loopback ..... | 3257 |
| 57.5.9 | Flow control ..... | 3258 |
| 57.5.10 | MAC management counters ..... | 3260 |
| 57.5.11 | Interrupts generated by the MAC ..... | 3262 |
| 57.5.12 | MAC and MMC register descriptions ..... | 3262 |
| 57.6 | Ethernet functional description: PHY interfaces ..... | 3263 |
| 57.6.1 | Station management agent (SMA) ..... | 3263 |
| 57.6.2 | Media independent interface (MII) ..... | 3270 |
| 57.6.3 | Reduced media independent interface (RMII) ..... | 3271 |
| 57.6.4 | Reduced gigabit media independent interface (RGMII) ..... | 3274 |
| 57.7 | Ethernet low-power modes ..... | 3276 |
| 57.7.1 | Low-power management ..... | 3276 |
| 57.7.2 | Energy-efficient Ethernet (EEE) ..... | 3282 |
| 57.8 | Ethernet interrupts ..... | 3289 |
| 57.8.1 | DMA interrupts ..... | 3289 |
| 57.8.2 | MTL interrupts ..... | 3291 |
| 57.8.3 | MAC interrupts ..... | 3291 |
| 57.9 | Ethernet programming model ..... | 3292 |
| 57.9.1 | DMA initialization ..... | 3292 |
| 57.9.2 | MTL initialization | 3293 |
| 57.9.3 | MAC initialization | 3293 |
| 57.9.4 | Performing normal receive and transmit operation | 3294 |
| 57.9.5 | Stopping and starting transmission | 3295 |
| 57.9.6 | Programming guidelines for switching to new descriptor list in RxDMA | 3295 |
| 57.9.7 | Programming guidelines for switching the AXI clock frequency | 3296 |
| 57.9.8 | Programming guidelines for multichannel multiqueue operation | 3296 |
| 57.9.9 | Programming guidelines for GMII link state transitions | 3298 |
| 57.9.10 | Programming guidelines for IEEE 1588 timestamping | 3299 |
| 57.9.11 | Programming guidelines for PTP offload feature | 3300 |
| 57.9.12 | Programming guidelines for Energy Efficient Ethernet (EEE) | 3304 |
| 57.9.13 | Programming guidelines for flexible pulse-per-second (PPS) output | 3306 |
| 57.9.14 | Programming guidelines for IEEE 1588 auxiliary snapshot | 3308 |
| 57.9.15 | Programming guidelines for TSO | 3308 |
| 57.9.16 | Programming guidelines to perform VLAN filtering on the receiver | 3309 |
| 57.10 | Descriptors | 3310 |
| 57.10.1 | Descriptor overview | 3310 |
| 57.10.2 | Descriptor structure | 3310 |
| 57.10.3 | Transmit descriptor | 3314 |
| 57.10.4 | Receive descriptor | 3326 |
| 57.11 | Ethernet registers | 3338 |
| 57.11.1 | Ethernet register maps | 3338 |
| 57.11.2 | Ethernet DMA registers | 3338 |
| 57.11.3 | Ethernet MTL registers | 3365 |
| 57.11.4 | Ethernet MAC and MMC registers | 3378 |
| 58 | Hardware debug port (HDP) | 3480 |
| 58.1 | Features | 3480 |
| 58.2 | Block diagram | 3480 |
| 58.3 | Functional description | 3481 |
| 58.4 | HDP registers | 3484 |
| 58.4.1 | HDP control register (HDP_CTRL) | 3484 |
| 58.4.2 | HDP multiplexers control register (HDP_MUX) | 3484 |
| 58.4.3 | HDP read back value register (HDP_VAL) | 3485 |
| 58.4.4 | HDP general purpose output set register (HDP_GPOSET) | 3486 |
| 58.4.5 | HDP general purpose output clear register (HDP_GPOCLR) | 3486 |
| 58.4.6 | HDP general purpose output value register (HDP_GPOVAL) . . . . . | 3487 |
| 58.4.7 | HDP version register (HDP_VERR) . . . . . | 3487 |
| 58.4.8 | HDP IP identification register (HDP_IPIDR) . . . . . | 3488 |
| 58.4.9 | HDP size identification register (HDP_SIDR) . . . . . | 3488 |
| 58.4.10 | HDP register map . . . . . | 3488 |
| 59 | Debug support (DBG) . . . . . | 3490 |
| 59.1 | Introduction . . . . . | 3490 |
| 59.2 | Debug use cases . . . . . | 3491 |
| 59.3 | DBG block diagram . . . . . | 3492 |
| 59.4 | DBG pins . . . . . | 3492 |
| 59.5 | DBG power and clocking . . . . . | 3493 |
| 59.5.1 | DBG power domains . . . . . | 3493 |
| 59.5.2 | DBG clocks . . . . . | 3493 |
| 59.5.3 | Debug and low-power modes . . . . . | 3494 |
| 59.5.4 | DBG reset . . . . . | 3494 |
| 59.6 | Security . . . . . | 3494 |
| 59.6.1 | Authentication signals . . . . . | 3494 |
| 59.6.2 | JTAG/SWD tamper detection . . . . . | 3496 |
| 59.7 | Chip level TAP controller (CLTAPC) . . . . . | 3496 |
| 59.8 | Serial wire and JTAG debug port (SWJ-DP) . . . . . | 3497 |
| 59.8.1 | JTAG debug port . . . . . | 3498 |
| 59.8.2 | Serial Wire debug port . . . . . | 3501 |
| 59.8.3 | Debug port registers . . . . . | 3502 |
| 59.9 | Access ports . . . . . | 3511 |
| 59.9.1 | Authentication . . . . . | 3512 |
| 59.9.2 | MEM-AP registers . . . . . | 3513 |
| 59.10 | System debug features . . . . . | 3521 |
| 59.10.1 | System ROM tables . . . . . | 3521 |
| 59.10.2 | CoreSight™ global timestamp generator (TSGEN) . . . . . | 3531 |
| 59.10.3 | Cross trigger interface (CTI) and matrix (CTM) . . . . . | 3538 |
| 59.10.4 | Embedded trace FIFO (ETF) . . . . . | 3559 |
| 59.10.5 | Trace port interface unit (TPIU) . . . . . | 3579 |
| 59.10.6 | Microprocessor debug unit (DBGMCU) . . . . . | 3597 |
| 59.11 | Cortex®-A7 debug features . . . . . | 3609 |
| 59.11.1 | Cortex®-A7 debug unit . . . . . | 3610 |
| 59.11.2 | Cortex®-A7 performance monitoring unit (PMU) . . . . . | 3652 |
| 59.11.3 | Embedded trace macrocell (ETM) . . . . . | 3673 |
| 59.11.4 | Cross trigger interface (CTI) . . . . . | 3724 |
| 59.12 | References . . . . . | 3725 |
| 60 | Device electronic signature . . . . . | 3726 |
| 60.1 | Unique device ID register (96 bits) (UID) . . . . . | 3726 |
| 60.2 | Device Part Number (RPN) . . . . . | 3728 |
| 60.3 | Device Version . . . . . | 3729 |
| 61 | Important security notice . . . . . | 3730 |
| 62 | Revision history . . . . . | 3731 |
List of tables
| Table 1. | Memory map overview STM32MP13xx ..... | 122 |
| Table 2. | Master ports main characteristics ..... | 125 |
| Table 3. | Master ports security characteristics ..... | 126 |
| Table 4. | Slave ports main characteristics ..... | 127 |
| Table 5. | Slave ports security characteristics ..... | 128 |
| Table 6. | Multi-layer AHB master ports main characteristics ..... | 129 |
| Table 7. | Multi-layer AHB slave ports main characteristics ..... | 130 |
| Table 8. | AXIMC register map and reset values ..... | 145 |
| Table 9. | Register boundary addresses ..... | 155 |
| Table 10. | Debugger Register boundary addresses ..... | 163 |
| Table 11. | OTP modes definition ..... | 168 |
| Table 12. | OTP permanent write lock ..... | 171 |
| Table 13. | BSEC_DENABLE default values after reset ..... | 172 |
| Table 14. | Write access permissions ..... | 174 |
| Table 15. | Read access permissions ..... | 174 |
| Table 16. | BSEC register map and reset values ..... | 187 |
| Table 17. | OTP list words 0 to 31 ..... | 191 |
| Table 18. | OTP list words 32 to 95 ..... | 200 |
| Table 19. | DDRCTRL register map and reset values ..... | 298 |
| Table 20. | NSAID and AXI_ID mapping ..... | 315 |
| Table 21. | TZC register map and reset values ..... | 336 |
| Table 22. | DDRPHYC I/O list ..... | 343 |
| Table 23. | MSDLL control bits ..... | 346 |
| Table 24. | PHY latency ..... | 367 |
| Table 25. | DFI timing parameters ..... | 369 |
| Table 26. | DDRPHYC register map and reset values ..... | 413 |
| Table 27. | DDRPERFM signal sets ..... | 420 |
| Table 28. | Power control register map and reset values ..... | 429 |
| Table 29. | PWR pin overview ..... | 433 |
| Table 30. | VSW domain fonctions when VDD is present ..... | 440 |
| Table 31. | VSW domain functions when VBAT is present ..... | 440 |
| Table 32. | MPU Low-power mode summary ..... | 455 |
| Table 33. | PWR system mode summary ..... | 456 |
| Table 34. | System Low-power mode summary ..... | 456 |
| Table 35. | Functionalities depending on system operating mode ..... | 458 |
| Table 36. | PDDS low-power mode control ..... | 461 |
| Table 37. | Low-power mode exit flags ..... | 461 |
| Table 38. | MPU CSleep ..... | 463 |
| Table 39. | MPU CStop ..... | 464 |
| Table 40. | System Stop ..... | 466 |
| Table 41. | System LP-Stop ..... | 467 |
| Table 42. | System LPLV-Stop ..... | 468 |
| Table 43. | System LPLV-Stop2 ..... | 470 |
| Table 44. | Standby ..... | 473 |
| Table 45. | PWR status flags ..... | 477 |
| Table 46. | Register security overview ..... | 478 |
| Table 47. | Power control register map and reset values ..... | 491 |
| Table 48. | Pin overview ..... | 495 |
| Table 49. | Reset coverage summary . . . . . | 506 |
| Table 50. | RCC registers with specific reset and specific voltages . . . . . | 507 |
| Table 51. | Reset source identification (RCC_MP/BR_RSTSCLRR and PWR) . . . . . | 509 |
| Table 52. | Oscillator states versus system modes . . . . . | 514 |
| Table 53. | HSI, CSI and HSE states versus system modes . . . . . | 537 |
| Table 54. | Resources potentially reconfigured during clock restore sequence . . . . . | 542 |
| Table 55. | Peripheral clock distribution overview. . . . . | 544 |
| Table 56. | Kernel clock distribution versus peripherals . . . . . | 550 |
| Table 57. | Kernel clock settings examples for audio applications . . . . . | 551 |
| Table 58. | Ratio between clock timers and pclk . . . . . | 557 |
| Table 59. | Gating control of the aclk_1 clock. . . . . | 572 |
| Table 60. | DDRCKMOD control description . . . . . | 573 |
| Table 61. | DDRC low-power (DDRC-LP) states description . . . . . | 574 |
| Table 62. | Recommended configurations . . . . . | 579 |
| Table 63. | Peripheral clock enable details for MPU. . . . . | 586 |
| Table 64. | MPU mode details . . . . . | 587 |
| Table 65. | Bus clock enable details for AXIM . . . . . | 589 |
| Table 66. | Bus clock enable details for AHB5 and AHB6 . . . . . | 590 |
| Table 67. | Bus clock enable details for MLAHB and AHB4 . . . . . | 590 |
| Table 68. | Bus clock enable details for AHB2 and AHB1 . . . . . | 591 |
| Table 69. | Bus clock enable details for APB4 and APB[2:1] . . . . . | 591 |
| Table 70. | RCC security and peripherals/memories . . . . . | 595 |
| Table 71. | Interrupt sources and control . . . . . | 599 |
| Table 72. | Clock settings examples for MPU. . . . . | 609 |
| Table 73. | Clock setting examples for AXI, DDR and DCMIPP . . . . . | 610 |
| Table 74. | RCC register map and reset values . . . . . | 926 |
| Table 75. | Port bit configuration table . . . . . | 955 |
| Table 76. | GPIO secured bits . . . . . | 963 |
| Table 77. | GPIO register map and reset values . . . . . | 977 |
| Table 78. | Analog Switch Supply Voltage Settings . . . . . | 982 |
| Table 79. | High-speed low-voltage interfaces. . . . . | 983 |
| Table 80. | SYSCFG interface register map and reset values . . . . . | 1011 |
| Table 81. | STM32MP13xx secure and securable peripherals . . . . . | 1018 |
| Table 82. | STM32MP13xx TrustZone-aware peripherals . . . . . | 1019 |
| Table 83. | STM32MP13xx memory firewalls . . . . . | 1020 |
| Table 84. | STM32MP13xx TrustZone-capable bus masters . . . . . | 1020 |
| Table 85. | DECPROT assignment. . . . . | 1020 |
| Table 86. | ETZPC register map and reset values . . . . . | 1033 |
| Table 87. | Peripherals interconnect matrix . . . . . | 1036 |
| Table 88. | Peripherals interconnect matrix details. . . . . | 1037 |
| Table 89. | MDMA connections. . . . . | 1047 |
| Table 90. | MDMA internal input/output signals . . . . . | 1051 |
| Table 91. | MDMA interrupt requests . . . . . | 1057 |
| Table 92. | MDMA register map and reset values . . . . . | 1072 |
| Table 93. | Source and destination address . . . . . | 1078 |
| Table 94. | Source and destination address registers in double-buffer mode (DBM = 1). . . . . | 1083 |
| Table 95. | Packing/unpacking and endian behavior (bit PINC = MINC = 1) . . . . . | 1084 |
| Table 96. | Restriction on NDT versus PSIZE and MSIZE . . . . . | 1084 |
| Table 97. | FIFO threshold configurations . . . . . | 1087 |
| Table 98. | Possible DMA configurations . . . . . | 1091 |
| Table 99. | DMA interrupt requests. . . . . | 1093 |
| Table 100. | DMA register map and reset values | 1106 |
| Table 101. | DMAMUX1 and DMAMUX2 instantiation | 1112 |
| Table 102. | DMAMUX1: assignment of multiplexer inputs to resources | 1113 |
| Table 103. | DMAMUX1: assignment of trigger inputs to resources | 1114 |
| Table 104. | DMAMUX1: assignment of synchronization inputs to resources | 1114 |
| Table 105. | DMAMUX2: assignment of multiplexer inputs to resources | 1114 |
| Table 106. | DMAMUX2: assignment of trigger inputs to resources | 1115 |
| Table 107. | DMAMUX2: assignment of synchronization inputs to resources | 1116 |
| Table 108. | DMAMUX signals | 1117 |
| Table 109. | DMAMUX interrupts | 1121 |
| Table 110. | DMAMUX register map and reset values | 1129 |
| Table 111. | STM32MP13xx interrupt mapping for Cortex®-A7 GIC | 1132 |
| Table 112. | STM32MP13xx EXTI Events | 1137 |
| Table 113. | GICD register map and reset values | 1162 |
| Table 114. | GICC register map and reset values | 1175 |
| Table 115. | GICH register map and reset values | 1182 |
| Table 116. | GICV register map and reset values | 1190 |
| Table 117. | EXTI pin overview | 1193 |
| Table 118. | EVG pin overview | 1194 |
| Table 119. | EXTI event input configurations and register control | 1195 |
| Table 120. | Masking functionality | 1198 |
| Table 121. | Register security overview | 1199 |
| Table 122. | EXTI register map sections | 1200 |
| Table 123. | EXTI register map and reset values | 1222 |
| Table 124. | CRC internal input/output signals | 1227 |
| Table 125. | CRC register map and reset values | 1234 |
| Table 126. | FMC features | 1236 |
| Table 127. | FMC internal signals | 1237 |
| Table 128. | FMC memory regions (default mapping) | 1239 |
| Table 129. | NOR/PSRAM subregion selection | 1240 |
| Table 130. | NOR/PSRAM External memory address | 1240 |
| Table 131. | NAND memory mapping and timing registers | 1240 |
| Table 132. | NAND flash memory region selection | 1241 |
| Table 133. | NAND chip enable selection | 1241 |
| Table 134. | Programmable NOR/PSRAM access parameters | 1243 |
| Table 135. | Non-multiplexed I/O NOR flash memory | 1243 |
| Table 136. | 16-bit multiplexed I/O NOR flash memory | 1244 |
| Table 137. | Non-multiplexed I/Os PSRAM/SRAM | 1244 |
| Table 138. | 16-bit multiplexed I/O PSRAM | 1244 |
| Table 139. | NOR flash/PSRAM: Example of supported memories and transactions | 1245 |
| Table 140. | FMC_BCRx bitfields (mode 1) | 1249 |
| Table 141. | FMC_BTRx bitfields (mode 1) | 1249 |
| Table 142. | FMC_BCRx bitfields (mode A) | 1251 |
| Table 143. | FMC_BTRx bitfields (mode A) | 1252 |
| Table 144. | FMC_BWTRx bitfields (mode A) | 1252 |
| Table 145. | FMC_BCRx bitfields (mode 2/B) | 1255 |
| Table 146. | FMC_BTRx bitfields (mode 2/B) | 1255 |
| Table 147. | FMC_BWTRx bitfields (mode 2/B) | 1256 |
| Table 148. | FMC_BCRx bitfields (mode C) | 1258 |
| Table 149. | FMC_BTRx bitfields (mode C) | 1258 |
| Table 150. | FMC_BWTRx bitfields (mode C) | 1259 |
| Table 151. | FMC_BCRx bitfields (mode D) | 1260 |
| Table 152. | FMC_BTRx bitfields (mode D) ..... | 1261 |
| Table 153. | FMC_BWTRx bitfields (mode D) ..... | 1261 |
| Table 154. | FMC_BCRx bitfields (muxed mode) ..... | 1263 |
| Table 155. | FMC_BTRx bitfields (muxed mode) ..... | 1264 |
| Table 156. | FMC_BCRx bitfields (Synchronous multiplexed read mode) ..... | 1269 |
| Table 157. | FMC_BTRx bitfields (Synchronous multiplexed read mode) ..... | 1270 |
| Table 158. | FMC_BCRx bitfields (Synchronous multiplexed write mode) ..... | 1271 |
| Table 159. | FMC_BTRx bitfields (Synchronous multiplexed write mode) ..... | 1272 |
| Table 160. | Programmable NAND flash access parameters ..... | 1286 |
| Table 161. | 8-bit NAND flash memory ..... | 1286 |
| Table 162. | 16-bit NAND flash memory ..... | 1287 |
| Table 163. | Supported memories and transactions ..... | 1287 |
| Table 164. | Number of ECC parity bytes per sector ..... | 1292 |
| Table 165. | FMC NAND controller Interrupt request ..... | 1300 |
| Table 166. | HPR relevant bits ..... | 1306 |
| Table 167. | ECC result relevant bits ..... | 1307 |
| Table 168. | FMC register map ..... | 1325 |
| Table 169. | QUADSPI internal signals ..... | 1330 |
| Table 170. | QUADSPI pins ..... | 1330 |
| Table 171. | QUADSPI interrupt requests ..... | 1344 |
| Table 172. | QUADSPI register map and reset values ..... | 1358 |
| Table 173. | SDMMC features ..... | 1360 |
| Table 174. | SDMMC operation modes SD and SDIO ..... | 1363 |
| Table 175. | SDMMC operation modes eMMC ..... | 1363 |
| Table 176. | SDMMC internal input/output signals ..... | 1364 |
| Table 177. | SDMMC pins ..... | 1365 |
| Table 178. | SDMMC Command and data phase selection ..... | 1366 |
| Table 179. | Command token format ..... | 1372 |
| Table 180. | Short response with CRC token format ..... | 1373 |
| Table 181. | Short response without CRC token format ..... | 1373 |
| Table 182. | Long response with CRC token format ..... | 1373 |
| Table 183. | Specific Commands overview ..... | 1374 |
| Table 184. | Command path status flags ..... | 1375 |
| Table 185. | Command path error handling ..... | 1375 |
| Table 186. | Data token format ..... | 1383 |
| Table 187. | Data path status flags and clear bits ..... | 1383 |
| Table 188. | Data path error handling ..... | 1385 |
| Table 189. | Data FIFO access ..... | 1386 |
| Table 190. | Transmit FIFO status flags ..... | 1387 |
| Table 191. | Receive FIFO status flags ..... | 1388 |
| Table 192. | AHB and SDMMC_CK clock frequency relation ..... | 1393 |
| Table 193. | SDIO special operation control ..... | 1393 |
| Table 194. | 4-bit mode Start, interrupt, and CRC-status Signaling detection ..... | 1397 |
| Table 195. | CMD12 use cases ..... | 1402 |
| Table 196. | SDMMC interrupts ..... | 1416 |
| Table 197. | Response type and SDMMC_RESPxR registers ..... | 1423 |
| Table 198. | SDMMC register map ..... | 1440 |
| Table 199. | STM32MP13xx features ..... | 1443 |
| Table 200. | DLYB internal input/output signals ..... | 1444 |
| Table 201. | DLYB interconnection ..... | 1444 |
| Table 202. | Delay block control ..... | 1445 |
| Table 203. | DLYB register map and reset values ..... | 1448 |
| Table 204. | ADC features ..... | 1450 |
| Table 205. | ADC input/output pins ..... | 1453 |
| Table 206. | ADC internal input/output signals ..... | 1453 |
| Table 207. | ADC interconnection ..... | 1453 |
| Table 208. | Configuring the trigger polarity for regular external triggers ..... | 1473 |
| Table 209. | Configuring the trigger polarity for injected external triggers ..... | 1474 |
| Table 210. | TSAR timings depending on resolution ..... | 1486 |
| Table 211. | Offset computation versus data resolution ..... | 1489 |
| Table 212. | Analog watchdog channel selection ..... | 1501 |
| Table 213. | Analog watchdog 1 comparison ..... | 1502 |
| Table 214. | Analog watchdog 2 and 3 comparison ..... | 1502 |
| Table 215. | Maximum output results versus N and M (gray cells indicate truncation) ..... | 1506 |
| Table 216. | ADC interrupts ..... | 1516 |
| Table 217. | ADC global register map ..... | 1550 |
| Table 218. | ADC register map and reset values ..... | 1550 |
| Table 219. | ADC register map and reset values (master and slave ADC common registers) ..... | 1552 |
| Table 220. | DTS internal input/output signals ..... | 1555 |
| Table 221. | Sampling time configuration ..... | 1558 |
| Table 222. | Trigger configuration ..... | 1559 |
| Table 223. | Temperature sensor behavior in low-power modes ..... | 1561 |
| Table 224. | Interrupt control bits ..... | 1562 |
| Table 225. | DTS register map and reset values ..... | 1570 |
| Table 226. | VREFBUF typical values ..... | 1572 |
| Table 227. | VREF buffer modes ..... | 1573 |
| Table 228. | VREFBUF register map and reset values ..... | 1575 |
| Table 229. | DFSDM1 implementation ..... | 1578 |
| Table 230. | DFSDM external pins ..... | 1580 |
| Table 231. | DFSDM internal signals ..... | 1580 |
| Table 232. | DFSDM triggers connection ..... | 1580 |
| Table 233. | DFSDM break connection ..... | 1581 |
| Table 234. | Filter maximum output resolution (peak data values from filter output) for some FOSR values ..... | 1596 |
| Table 235. | Integrator maximum output resolution (peak data values from integrator output) for some IOSR values and FOSR = 256 and Sinc3 filter type (largest data) ..... | 1597 |
| Table 236. | DFSDM interrupt requests ..... | 1605 |
| Table 237. | DFSDM register map and reset values ..... | 1629 |
| Table 238. | Available pipeline ..... | 1634 |
| Table 239. | Glossary ..... | 1635 |
| Table 240. | DCMIPP input/output pads ..... | 1637 |
| Table 241. | DCMIPP input/output pins ..... | 1638 |
| Table 242. | DCMIPP clocks ..... | 1638 |
| Table 243. | DCMIPP resets ..... | 1638 |
| Table 244. | Parallel interface maximum resolution (80 MHz) ..... | 1639 |
| Table 245. | Supported pixel formats ..... | 1640 |
| Table 246. | DCMIPP_CMCR bit function ..... | 1641 |
| Table 247. | DCMIPP_PRCR bit function ..... | 1644 |
| Table 248. | DCMIPP_PRESCR and DCMIPP_PRESUR bit function ..... | 1645 |
| Table 249. | DCMIPP_PxFCTCR bit function ..... | 1647 |
| Table 250. | DCMIPP_P0PPCR bit function ..... | 1651 |
| Table 251. | DCMIPP_P0DCCNTR and DCMIPP_P0DCLMTR bit function ..... | 1653 |
| Table 252. | DCMIPP_PxPPCR bit function ..... | 1654 |
| Table 253. | Parallel interface input pixel formats | 1655 |
| Table 254. | Correspondence between index and DCMIPP_PRCR register values | 1656 |
| Table 255. | Parallel interface input pixel formats | 1657 |
| Table 256. | Dump pipe OUTPUT pixel formats | 1657 |
| Table 257. | Shadow and physical registers | 1660 |
| Table 258. | DCMIPP low power modes | 1661 |
| Table 259. | DCMIPP interrupts | 1664 |
| Table 260. | Event connection | 1664 |
| Table 261. | DCMIPP registers organization | 1665 |
| Table 262. | DCMIPP register map and reset values | 1697 |
| Table 263. | LTDC pins | 1702 |
| Table 264. | Clock domain for each register | 1703 |
| Table 265. | LTDC register access and updated durations | 1704 |
| Table 266. | Pixel data mapping versus color format | 1707 |
| Table 267. | LTDC interrupt requests | 1722 |
| Table 268. | LTDC register map and reset values | 1756 |
| Table 269. | RNG internal input/output signals | 1763 |
| Table 270. | RNG interrupt requests | 1771 |
| Table 271. | RNG initialization times | 1772 |
| Table 272. | RNG configurations | 1772 |
| Table 273. | Configuration selection | 1773 |
| Table 274. | RNG register map and reset map | 1780 |
| Table 275. | SAES internal input/output signals | 1783 |
| Table 276. | CTR mode initialization vector definition | 1800 |
| Table 277. | GCM last block definition | 1802 |
| Table 278. | Initialization of SAES_IVRx registers in GCM mode | 1803 |
| Table 279. | Initialization of SAES_IVRx registers in CCM mode | 1810 |
| Table 280. | Key endianness in SAES_KEYRx registers (128- or 256-bit key length) | 1820 |
| Table 281. | SAES interrupt requests | 1826 |
| Table 282. | Processing latency for ECB, CBC and CTR | 1826 |
| Table 283. | Processing latency for GCM and CCM (in SAES kernel clock cycles) | 1826 |
| Table 284. | SAES register map and reset values | 1842 |
| Table 285. | CRYP internal input/output signals | 1848 |
| Table 286. | Counter mode initialization vector | 1872 |
| Table 287. | GCM last block definition | 1875 |
| Table 288. | GCM mode IV registers initialization | 1875 |
| Table 289. | CCM mode IV registers initialization | 1882 |
| Table 290. | DES/TDES data swapping example | 1887 |
| Table 291. | AES data swapping example | 1888 |
| Table 292. | Key endianness in CRYP_KxR/LR registers (AES 128/192/256-bit keys) | 1890 |
| Table 293. | Key endianness in CRYP_KxR/LR registers (DES K1 and TDES K1/2/3) | 1891 |
| Table 294. | Initialization vector endianness in CRYP_IVx(L/R)R registers (AES) | 1892 |
| Table 295. | Initialization vector endianness in CRYP_IVx(L/R)R registers (DES/TDES) | 1892 |
| Table 296. | Cryptographic processor configuration for memory-to-peripheral DMA transfers | 1893 |
| Table 297. | Cryptographic processor configuration for peripheral-to-memory DMA transfers | 1893 |
| Table 298. | CRYP interrupt requests | 1896 |
| Table 299. | Processing latency for ECB, CBC and CTR | 1896 |
| Table 300. | Processing time (in clock cycle) for GCM and CCM per 128-bit block | 1897 |
| Table 301. | CRYP register map and reset values | 1914 |
| Table 302. | HASH internal input/output signals | 1919 |
| Table 303. | Information on supported hash algorithms . . . . . | 1919 |
| Table 304. | Hash processor outputs . . . . . | 1923 |
| Table 305. | Processing time (in clock cycle) . . . . . | 1930 |
| Table 306. | HASH interrupt requests . . . . . | 1931 |
| Table 307. | HASH1 register map and reset values . . . . . | 1941 |
| Table 308. | Internal input/output signals . . . . . | 1944 |
| Table 309. | PKA integer arithmetic functions list . . . . . | 1945 |
| Table 310. | PKA prime field (\(F_p\)) elliptic curve functions list . . . . . | 1946 |
| Table 311. | Example of 'a' curve coefficient for ECC \(F_p\) scalar . . . . . | 1952 |
| Table 312. | Montgomery parameter computation . . . . . | 1952 |
| Table 313. | Modular addition . . . . . | 1953 |
| Table 314. | Modular subtraction . . . . . | 1953 |
| Table 315. | Montgomery multiplication . . . . . | 1954 |
| Table 316. | Modular exponentiation (normal mode) . . . . . | 1955 |
| Table 317. | Modular exponentiation (fast mode) . . . . . | 1955 |
| Table 318. | Modular exponentiation (protected mode) . . . . . | 1956 |
| Table 319. | Modular inversion . . . . . | 1956 |
| Table 320. | Modular reduction . . . . . | 1957 |
| Table 321. | Arithmetic addition . . . . . | 1957 |
| Table 322. | Arithmetic subtraction . . . . . | 1957 |
| Table 323. | Arithmetic multiplication . . . . . | 1958 |
| Table 324. | Arithmetic comparison . . . . . | 1958 |
| Table 325. | CRT exponentiation . . . . . | 1959 |
| Table 326. | Point on elliptic curve \(F_p\) check . . . . . | 1960 |
| Table 327. | ECC \(F_p\) scalar multiplication . . . . . | 1960 |
| Table 328. | ECDSA sign - Inputs . . . . . | 1962 |
| Table 329. | ECDSA sign - Outputs . . . . . | 1962 |
| Table 330. | Extended ECDSA sign - additional outputs . . . . . | 1963 |
| Table 331. | ECDSA verification - inputs . . . . . | 1963 |
| Table 332. | ECDSA verification - outputs . . . . . | 1964 |
| Table 333. | ECC complete addition . . . . . | 1964 |
| Table 334. | ECC double base ladder . . . . . | 1965 |
| Table 335. | ECC projective to affine . . . . . | 1966 |
| Table 336. | Family of supported curves for ECC operations . . . . . | 1967 |
| Table 337. | Modular exponentiation . . . . . | 1968 |
| Table 338. | ECC scalar multiplication . . . . . | 1968 |
| Table 339. | ECDSA signature average computation time . . . . . | 1969 |
| Table 340. | ECDSA verification average computation times . . . . . | 1969 |
| Table 341. | ECC double base ladder average computation times . . . . . | 1969 |
| Table 342. | ECC projective to affine average computation times . . . . . | 1969 |
| Table 343. | ECC complete addition average computation times . . . . . | 1969 |
| Table 344. | Point on elliptic curve \(F_p\) check average computation times . . . . . | 1969 |
| Table 345. | Montgomery parameters average computation times . . . . . | 1970 |
| Table 346. | PKA interrupt requests . . . . . | 1970 |
| Table 347. | PKA register map and reset values . . . . . | 1977 |
| Table 348. | MCE internal input/output signals . . . . . | 1979 |
| Table 349. | MCE interrupt requests . . . . . | 1981 |
| Table 350. | MCE register map and reset values . . . . . | 1989 |
| Table 351. | Behavior of timer outputs versus BRK/BRK2 inputs . . . . . | 2032 |
| Table 352. | Break protection disarming conditions . . . . . | 2034 |
| Table 353. | Counting direction versus encoder signals . . . . . | 2040 |
| Table 354. | TIMx internal trigger connection . . . . . | 2057 |
| Table 355. | Output control bits for complementary OCx and OCxN channels with break feature . . . | 2071 |
| Table 356. | TIM1 register map and reset values . . . . . | 2089 |
| Table 357. | TIM8 register map and reset values . . . . . | 2091 |
| Table 358. | Counting direction versus encoder signals . . . . . | 2127 |
| Table 359. | TIMx internal trigger connection . . . . . | 2145 |
| Table 360. | Output control bit for standard OCx channels. . . . . | 2155 |
| Table 361. | TIM2/TIM3/TIM4/TIM5 register map and reset values . . . . . | 2166 |
| Table 362. | TIMx internal trigger connection . . . . . | 2197 |
| Table 363. | Output control bit for standard OCx channels. . . . . | 2205 |
| Table 364. | TIM12 register map and reset values . . . . . | 2208 |
| Table 365. | Output control bit for standard OCx channels. . . . . | 2217 |
| Table 366. | TIM13/TIM14 register map and reset values . . . . . | 2220 |
| Table 367. | Break protection disarming conditions . . . . . | 2250 |
| Table 368. | TIMx Internal trigger connection . . . . . | 2266 |
| Table 369. | Output control bits for complementary OCx and OCxN channels with break feature (TIM15) . . . . . | 2276 |
| Table 370. | TIM15 register map and reset values . . . . . | 2284 |
| Table 371. | Output control bits for complementary OCx and OCxN channels with break feature (TIM16/17) . . . . . | 2297 |
| Table 372. | TIM16/TIM17 register map and reset values . . . . . | 2307 |
| Table 373. | TIMx register map and reset values . . . . . | 2321 |
| Table 374. | STM32MP13xx LPTIM features . . . . . | 2323 |
| Table 375. | LPTIM input/output pins . . . . . | 2325 |
| Table 376. | LPTIM internal signals . . . . . | 2325 |
| Table 377. | LPTIM1 external trigger connection . . . . . | 2325 |
| Table 378. | LPTIM2 external trigger connection . . . . . | 2326 |
| Table 379. | LPTIM3 external trigger connection . . . . . | 2326 |
| Table 380. | LPTIM4 external trigger connection . . . . . | 2326 |
| Table 381. | LPTIM5 external trigger connection . . . . . | 2327 |
| Table 382. | LPTIM1 input 1 connection. . . . . | 2327 |
| Table 383. | LPTIM1 input 2 connection. . . . . | 2327 |
| Table 384. | LPTIM2 input 1 connection. . . . . | 2327 |
| Table 385. | LPTIM2 input 2 connection. . . . . | 2328 |
| Table 386. | LPTIM3 input 1 connection. . . . . | 2328 |
| Table 387. | Prescaler division ratios . . . . . | 2329 |
| Table 388. | Encoder counting scenarios . . . . . | 2336 |
| Table 389. | Effect of low-power modes on the LPTIM. . . . . | 2337 |
| Table 390. | Interrupt events. . . . . | 2338 |
| Table 391. | LPTIM register map and reset values. . . . . | 2351 |
| Table 392. | STGENC register map and reset values . . . . . | 2367 |
| Table 393. | STGENR register map and reset values . . . . . | 2368 |
| Table 394. | STM32MP13xx IWDG features . . . . . | 2370 |
| Table 395. | IWDG delays versus actions . . . . . | 2372 |
| Table 396. | IWDG internal input/output signals . . . . . | 2372 |
| Table 397. | Effect of low power modes on IWDG . . . . . | 2376 |
| Table 398. | IWDG interrupt request. . . . . | 2378 |
| Table 399. | IWDG register map and reset values . . . . . | 2386 |
| Table 400. | RTC input/output pins. . . . . | 2390 |
| Table 401. | RTC internal input/output signals . . . . . | 2390 |
| Table 402. | RTC interconnection. . . . . | 2391 |
| Table 403. | RTC pin PC13 configuration. . . . . | 2391 |
| Table 404. | PI1 configuration. . . . . | 2394 |
| Table 405. | RTC_OUT mapping | 2395 |
| Table 406. | Effect of low-power modes on RTC | 2410 |
| Table 407. | RTC pins functionality over modes | 2410 |
| Table 408. | Nonsecure interrupt requests | 2411 |
| Table 409. | Secure interrupt requests | 2411 |
| Table 410. | RTC register map and reset values | 2444 |
| Table 411. | TAMP input/output pins | 2450 |
| Table 412. | TAMP internal input/output signals | 2450 |
| Table 413. | TAMP interconnection | 2451 |
| Table 414. | Device resource x tamper protection | 2457 |
| Table 415. | Active tamper output change period | 2460 |
| Table 416. | Minimum ATPER value | 2461 |
| Table 417. | Active tamper filtered pulse duration | 2462 |
| Table 418. | Effect of low-power modes on TAMP | 2463 |
| Table 419. | TAMP pins functionality over modes | 2464 |
| Table 420. | Internal tampers functionality over modes | 2464 |
| Table 421. | Nonsecure interrupt requests | 2465 |
| Table 422. | Secure interrupt requests | 2465 |
| Table 423. | TAMP register map and reset values | 2499 |
| Table 424. | I2C implementation | 2503 |
| Table 425. | I2C input/output pins | 2504 |
| Table 426. | I2C internal input/output signals | 2505 |
| Table 427. | Comparison of analog and digital filters | 2507 |
| Table 428. | I2C-bus and SMBus specification data setup and hold times | 2509 |
| Table 429. | I2C configuration | 2513 |
| Table 430. | I2C-bus and SMBus specification clock timings | 2524 |
| Table 431. | Timing settings for fI2CCLK of 8 MHz | 2534 |
| Table 432. | Timing settings for fI2CCLK of 16 MHz | 2534 |
| Table 433. | Timing settings for fI2CCLK of 48 MHz | 2535 |
| Table 434. | SMBus timeout specifications | 2537 |
| Table 435. | SMBus with PEC configuration | 2539 |
| Table 436. | TIMEOUTA[11:0] for maximum tTIMEOUT of 25 ms | 2540 |
| Table 437. | TIMEOUTB[11:0] for maximum tLOW:SEXT and tLOW:MEXT of 8 ms | 2540 |
| Table 438. | TIMEOUTA[11:0] for maximum tIDLE of 50 µs | 2540 |
| Table 439. | Effect of low-power modes to I2C | 2550 |
| Table 440. | I2C interrupt requests | 2550 |
| Table 441. | I2C register map and reset values | 2566 |
| Table 442. | Instance implementation on STM32MP13xx | 2570 |
| Table 443. | USART features | 2570 |
| Table 444. | USART/UART input/output pins | 2573 |
| Table 445. | USART internal input/output signals | 2573 |
| Table 446. | Noise detection from sampled data | 2586 |
| Table 447. | Tolerance of the USART receiver when BRR [3:0] = 0000 | 2589 |
| Table 448. | Tolerance of the USART receiver when BRR[3:0] is different from 0000 | 2590 |
| Table 449. | USART frame formats | 2595 |
| Table 450. | Effect of low-power modes on the USART | 2618 |
| Table 451. | USART interrupt requests | 2619 |
| Table 452. | USART register map and reset values | 2656 |
| Table 453. | STM32MP13xx SPI features | 2659 |
| Table 454. | SPI wake-up and interrupt requests | 2691 |
| Table 455. | Bitfields usable in PCM/I2S mode | 2694 |
| Table 456. | WS and CK level before SPI/I2S is enabled when AFCNTR = 1 | 2702 |
| Table 457. | Serial data line swapping . . . . . | 2702 |
| Table 458. | CLKGEN programming examples for usual I2S frequencies . . . . . | 2707 |
| Table 459. | I2S interrupt requests . . . . . | 2716 |
| Table 460. | SPI register map and reset values . . . . . | 2737 |
| Table 461. | STM32MP13xx SAI features . . . . . | 2740 |
| Table 462. | SAI internal input/output signals . . . . . | 2742 |
| Table 463. | SAI input/output pins. . . . . | 2742 |
| Table 464. | External synchronization selection . . . . . | 2745 |
| Table 465. | MCLK_x activation conditions. . . . . | 2750 |
| Table 466. | Clock generator programming examples . . . . . | 2753 |
| Table 467. | SAI_A configuration for TDM mode . . . . . | 2760 |
| Table 468. | TDM frame configuration examples . . . . . | 2762 |
| Table 469. | SOPD pattern . . . . . | 2766 |
| Table 470. | Parity bit calculation . . . . . | 2766 |
| Table 471. | Audio sampling frequency versus symbol rates . . . . . | 2767 |
| Table 472. | SAI interrupt sources . . . . . | 2776 |
| Table 473. | SAI register map and reset values . . . . . | 2807 |
| Table 474. | SPDIFRX internal input/output signals . . . . . | 2811 |
| Table 475. | SPDIFRX pins. . . . . | 2811 |
| Table 476. | Transition sequence for preamble . . . . . | 2817 |
| Table 477. | Minimum spdifrx_ker_ck frequency versus audio sampling rate . . . . . | 2827 |
| Table 478. | Conditions of spdifrx_symb_ck generation. . . . . | 2828 |
| Table 479. | Bit field property versus SPDIFRX state. . . . . | 2831 |
| Table 480. | SPDIFRX interface register map and reset values . . . . . | 2844 |
| Table 481. | CAN subsystem I/O signals . . . . . | 2846 |
| Table 482. | CAN subsystem I/O pins. . . . . | 2847 |
| Table 483. | CAN triggers . . . . . | 2847 |
| Table 484. | Main features . . . . . | 2849 |
| Table 485. | DLC coding in FDCAN . . . . . | 2854 |
| Table 486. | Example of filter configuration for Rx buffers . . . . . | 2867 |
| Table 487. | Example of filter configuration for Debug messages . . . . . | 2868 |
| Table 488. | Possible configurations for frame transmission . . . . . | 2868 |
| Table 489. | Tx buffer/FIFO - Queue element size . . . . . | 2869 |
| Table 490. | First byte of level 1 reference message . . . . . | 2879 |
| Table 491. | First four bytes of level 2 reference message. . . . . | 2880 |
| Table 492. | First four bytes of level 0 reference message. . . . . | 2880 |
| Table 493. | TUR configuration example . . . . . | 2881 |
| Table 494. | System matrix, Node A. . . . . | 2886 |
| Table 495. | Trigger list, Node A. . . . . | 2887 |
| Table 496. | Number of data bytes transmitted with a reference message. . . . . | 2894 |
| Table 497. | Rx buffer and FIFO element . . . . . | 2901 |
| Table 498. | Rx buffer and FIFO element description. . . . . | 2901 |
| Table 499. | Tx buffer and FIFO element . . . . . | 2903 |
| Table 500. | Tx buffer element description . . . . . | 2903 |
| Table 501. | Tx Event FIFO element. . . . . | 2905 |
| Table 502. | Tx Event FIFO element description . . . . . | 2905 |
| Table 503. | Standard message ID filter element . . . . . | 2906 |
| Table 504. | Standard message ID filter element field description . . . . . | 2907 |
| Table 505. | Extended message ID filter element. . . . . | 2908 |
| Table 506. | Extended message ID filter element field description. . . . . | 2908 |
| Table 507. | Trigger memory element. . . . . | 2909 |
| Table 508. | Trigger memory element description . . . . . | 2909 |
| Table 509. | FDCAN register map and reset values . . . . . | 2947 |
| Table 510. | FDCAN TT register map and reset values . . . . . | 2969 |
| Table 511. | CCU register map and reset values . . . . . | 2975 |
| Table 512. | OTG speeds supported . . . . . | 2977 |
| Table 513. | OTG implementation. . . . . | 2980 |
| Table 514. | OTG input/output pins. . . . . | 2981 |
| Table 515. | OTG input/output signals . . . . . | 2982 |
| Table 516. | Compatibility of STM32 low power modes with the OTG . . . . . | 2994 |
| Table 517. | FIFO allocation for DMA address register storage (OTG_DIEPDMAx/DOEPDMAx and OTG_HCDMAx) . . . . . | 2996 |
| Table 518. | Core global control and status registers (CSRs). . . . . | 3003 |
| Table 519. | Host-mode control and status registers (CSRs) . . . . . | 3004 |
| Table 520. | Device-mode control and status registers . . . . . | 3006 |
| Table 521. | Data FIFO (DFIFO) access register map . . . . . | 3008 |
| Table 522. | Power and clock gating control and status registers . . . . . | 3008 |
| Table 523. | TRDT values. . . . . | 3015 |
| Table 524. | Minimum duration for soft disconnect. . . . . | 3060 |
| Table 525. | OTG register map and reset values . . . . . | 3084 |
| Table 526. | USBPHYC register map and reset values . . . . . | 3169 |
| Table 527. | USBH register map and reset values . . . . . | 3182 |
| Table 528. | Ethernet peripheral pins . . . . . | 3191 |
| Table 529. | Internal Ethernet input/output signals . . . . . | 3192 |
| Table 530. | Fixed priority scheme for DMA channels . . . . . | 3206 |
| Table 531. | Double VLAN processing features in Tx path. . . . . | 3210 |
| Table 532. | Double VLAN processing in Rx path . . . . . | 3210 |
| Table 533. | VLAN insertion or replacement based on VLTI bit . . . . . | 3212 |
| Table 534. | Destination address filtering . . . . . | 3215 |
| Table 535. | Source address filtering . . . . . | 3216 |
| Table 536. | VLAN match status . . . . . | 3217 |
| Table 537. | Ordinary clock: PTP messages for snapshot . . . . . | 3220 |
| Table 538. | End-to-end transparent clock: PTP messages for snapshot . . . . . | 3221 |
| Table 539. | Peer-to-peer transparent clock: PTP messages for snapshot. . . . . | 3221 |
| Table 540. | Egress and ingress latency for PHY interfaces . . . . . | 3225 |
| Table 541. | Minimum PTP clock frequency example. . . . . | 3226 |
| Table 542. | Message format defined in IEEE 1588-2008 . . . . . | 3226 |
| Table 543. | Message format defined in IEEE 1588-2008 . . . . . | 3227 |
| Table 544. | IPv6-UDP PTP packet fields required for control and status . . . . . | 3228 |
| Table 545. | Ethernet PTP packet fields required for control and status . . . . . | 3229 |
| Table 546. | Timestamp Snapshot Dependency on ETH_MACTSCR bits. . . . . | 3231 |
| Table 547. | PTP message generation criteria . . . . . | 3237 |
| Table 548. | Common PTP message header fields . . . . . | 3239 |
| Table 549. | MAC transmit PTP mode and one-step timestamping operation . . . . . | 3242 |
| Table 550. | Transmit checksum offload engine functions for different packet types . . . . . | 3246 |
| Table 551. | Receive checksum offload engine functions for different packet types . . . . . | 3249 |
| Table 552. | TSO: TCP and IP header fields . . . . . | 3253 |
| Table 553. | Pause packet fields. . . . . | 3258 |
| Table 554. | Tx MAC flow control . . . . . | 3259 |
| Table 555. | Rx MAC flow control . . . . . | 3259 |
| Table 556. | Size of the maximum receive packet . . . . . | 3262 |
| Table 557. | MCD clock selection . . . . . | 3264 |
| Table 558. | MDIO Clause 45 frame structure . . . . . | 3265 |
| Table 559. | MDIO Clause 22 frame structure . . . . . | 3266 |
| Table 560. | Remote wake-up packet filter register | 3279 |
| Table 561. | Description of the remote wake-up filter fields | 3279 |
| Table 562. | Remote wake-up packet and PMT interrupt generation | 3281 |
| Table 563. | Transfer complete interrupt behavior | 3290 |
| Table 564. | TDES0 normal descriptor (read format) | 3314 |
| Table 565. | TDES1 normal descriptor (read format) | 3315 |
| Table 566. | TDES2 normal descriptor (read format) | 3315 |
| Table 567. | TDES3 normal descriptor (read format) | 3316 |
| Table 568. | TDES0 normal descriptor (write-back format) | 3319 |
| Table 569. | TDES1 normal descriptor (write-back format) | 3319 |
| Table 570. | TDES2 normal descriptor (write-back format) | 3320 |
| Table 571. | TDES3 normal descriptor (write-back format) | 3320 |
| Table 572. | TDES0 context descriptor | 3323 |
| Table 573. | TDES1 context descriptor | 3324 |
| Table 574. | TDES2 context descriptor | 3324 |
| Table 575. | TDES3 context descriptor | 3324 |
| Table 576. | RDES0 normal descriptor (read format) | 3327 |
| Table 577. | RDES1 normal descriptor (read format) | 3327 |
| Table 578. | RDES2 normal descriptor (read format) | 3328 |
| Table 579. | RDES3 normal descriptor (read format) | 3328 |
| Table 580. | RDES0 normal descriptor (write-back format) | 3329 |
| Table 581. | RDES1 normal descriptor (write-back format) | 3330 |
| Table 582. | RDES2 normal descriptor (write-back format) | 3332 |
| Table 583. | RDES3 normal descriptor (write-back format) | 3333 |
| Table 584. | RDES0 context descriptor | 3336 |
| Table 585. | RDES1 context descriptor | 3337 |
| Table 586. | RDES2 context descriptor | 3337 |
| Table 587. | RDES3 context descriptor | 3337 |
| Table 588. | ETH_DMA common register map and reset values | 3361 |
| Table 589. | ETH_DMA_CH0 register map and reset values | 3362 |
| Table 590. | ETH_DMA_CH1 register map and reset values | 3364 |
| Table 591. | ETH_MTL register map and reset values | 3376 |
| Table 592. | Giant Packet Status based on S2KP and JE Bits | 3383 |
| Table 593. | Packet Length based on the CST and ACS bits | 3383 |
| Table 594. | Ethernet MAC register map and reset values | 3470 |
| Table 595. | HDP signal multiplexing | 3482 |
| Table 596. | HDP register map and reset values | 3488 |
| Table 597. | JTAG/Serial-wire debug port pins | 3492 |
| Table 598. | Trace port pins | 3492 |
| Table 599. | Trigger pins | 3492 |
| Table 600. | Authentication signal connectivity | 3495 |
| Table 601. | Authentication signal initial states | 3496 |
| Table 602. | CLTAPC registers | 3496 |
| Table 603. | JTAG-DP data registers | 3499 |
| Table 604. | Packet request | 3501 |
| Table 605. | ACK response | 3501 |
| Table 606. | Data transfer | 3501 |
| Table 607. | Debug port registers | 3503 |
| Table 608. | AP0 (system interconnect) authentication behavior | 3512 |
| Table 609. | AP1 (Debug APB) authentication behavior | 3512 |
| Table 610. | MEM-AP registers | 3513 |
| Table 611. | Debug subsystem ROM table | 3522 |
| Table 612. | Trace subsystem ROM table . . . . . | 3522 |
| Table 613. | Cortex-A7 subsystem ROM table . . . . . | 3523 |
| Table 614. | ROM table register map and reset values . . . . . | 3530 |
| Table 615. | TSGEN register map and reset values . . . . . | 3537 |
| Table 616. | Trace Subsystem CTI inputs . . . . . | 3539 |
| Table 617. | Trace Subsystem CTI outputs . . . . . | 3540 |
| Table 618. | Cortex®-A7 CTI inputs . . . . . | 3540 |
| Table 619. | Cortex®-A7 CTI outputs . . . . . | 3540 |
| Table 620. | CTI register map and reset values . . . . . | 3554 |
| Table 621. | ETF register map and reset values. . . . . | 3576 |
| Table 622. | TPIU register map and reset values . . . . . | 3594 |
| Table 623. | DBGMCU registers map and reset values . . . . . | 3608 |
| Table 624. | Debug unit register map and reset values . . . . . | 3647 |
| Table 625. | Performance monitoring unit registers map and reset values. . . . . | 3670 |
| Table 626. | ETM registers map and reset values . . . . . | 3718 |
| Table 627. | Document revision history . . . . . | 3731 |
List of figures
| Figure 1. | Bus interconnect for STM32MP13xx | 119 |
| Figure 2. | NIC-400 interconnect AXIM for STM32MP13xx | 124 |
| Figure 3. | Multi-layer AHB interconnect for STM32MP13xx | 129 |
| Figure 4. | Memory map | 154 |
| Figure 5. | BSEC block diagram | 166 |
| Figure 6. | Power-on and initial read timing diagram | 169 |
| Figure 7. | DDRCTRL block diagram | 206 |
| Figure 8. | TZC block diagram | 314 |
| Figure 9. | TZC example 1 | 316 |
| Figure 10. | TZC example 2 | 317 |
| Figure 11. | TZC example 3 | 318 |
| Figure 12. | DDRPHYC block diagram | 343 |
| Figure 13. | DDRPHY block diagram | 345 |
| Figure 14. | MDLL block diagram | 346 |
| Figure 15. | MSDLL block diagram | 346 |
| Figure 16. | ITMs block diagram | 348 |
| Figure 17. | ITMC_D2 for LPDDR2/3 | 349 |
| Figure 18. | ITMC_D2 for DDR3/3L | 350 |
| Figure 19. | ITMS and ITMD for DQ/DQS lanes | 351 |
| Figure 20. | PUBL block diagram | 353 |
| Figure 21. | DDRPHY initialization sequence | 355 |
| Figure 22. | Built-in DQS gate training flow | 359 |
| Figure 23. | Software DQS gate training flow | 361 |
| Figure 24. | Write timing with WL = 5, BL = 8 | 366 |
| Figure 25. | Read timing with WL = 5, BL = 8 | 367 |
| Figure 26. | DDRPERFM block diagram | 419 |
| Figure 27. | Power control block diagram | 432 |
| Figure 28. | Power supply overview | 436 |
| Figure 29. | Device startup supply sequence | 439 |
| Figure 30. | Backup domain | 442 |
| Figure 31. | Power-on reset/power-down reset waveform | 445 |
| Figure 32. | BOR thresholds | 446 |
| Figure 33. | Automatic domain Reset in Standby | 447 |
| Figure 34. | PVD thresholds | 448 |
| Figure 35. | AVD thresholds | 449 |
| Figure 36. | VBAT thresholds | 450 |
| Figure 37. | Temperature thresholds | 451 |
| Figure 38. | Power states and external regulator control | 460 |
| Figure 39. | Device low-power Stop supply sequence | 466 |
| Figure 40. | Device low-power LP-Stop supply sequence | 468 |
| Figure 41. | Device low-power LPLV-Stop supply sequence | 469 |
| Figure 42. | Device LPLV-Stop2 mode power control | 471 |
| Figure 43. | Device Standby mode power control | 474 |
| Figure 44. | Device VBAT mode power control | 475 |
| Figure 45. | PWR_ON and PWR_LP pins multiplexing | 477 |
| Figure 46. | RCC block diagram | 494 |
| Figure 47. | RCC reset graph | 497 |
| Figure 48. | Reset circuit overview | 500 |
| Figure 49. | Reset pulse control | 503 |
| Figure 50. | Reset delay control | 504 |
| Figure 51. | Reset source registers | 507 |
| Figure 52. | Startup, cold/warm reset and wakeup from any Stop mode sequences | 511 |
| Figure 53. | Top-level clock tree | 513 |
| Figure 54. | HSE clock source | 515 |
| Figure 55. | HSE clock generation | 515 |
| Figure 56. | HSI calibration flow | 518 |
| Figure 57. | CSI calibration flow | 519 |
| Figure 58. | LSE clock generation | 519 |
| Figure 59. | LSE and HSE CSS function | 523 |
| Figure 60. | PLL1 block diagram | 526 |
| Figure 61. | PLL2 block diagram | 526 |
| Figure 62. | PLL3 and PLL4 block diagram | 527 |
| Figure 63. | Spread spectrum modulation | 530 |
| Figure 64. | Triangular waveform generator | 532 |
| Figure 65. | Dynamic clock switching | 533 |
| Figure 66. | Core and busses clock generation | 535 |
| Figure 67. | Key signals controlling low-power modes | 537 |
| Figure 68. | Clock restore activation versus system mode | 539 |
| Figure 69. | Clock restore process activated after any system Stop mode | 541 |
| Figure 70. | Wake up from CStop process | 542 |
| Figure 71. | Peripheral clock distribution for SAIs and DFSDM | 552 |
| Figure 72. | Peripheral clock distribution for SPI/I2Ss and SPDIFRX | 553 |
| Figure 73. | Peripheral clock distribution for SPIs | 554 |
| Figure 74. | Peripheral clock distribution for I2Cs | 555 |
| Figure 75. | Peripheral clock distribution for UARTs, and USARTs | 556 |
| Figure 76. | Peripheral clock distribution for TIMs and LPTIMs | 558 |
| Figure 77. | Peripheral clock distribution for LTDC | 559 |
| Figure 78. | Peripheral clock distribution for QUADSPI and FMC | 559 |
| Figure 79. | Peripheral clock distribution for SDMMCs | 560 |
| Figure 80. | Peripheral clock distribution for USB | 561 |
| Figure 81. | Peripheral clock distribution for Ethernet | 562 |
| Figure 82. | Kernel clock distribution for RNG1 | 563 |
| Figure 83. | Kernel clock distribution for FDCAN | 564 |
| Figure 84. | Kernel clock distribution for ADCs and STGEN | 565 |
| Figure 85. | Kernel clock distribution for DCMIPP | 566 |
| Figure 86. | Kernel clock distribution for DTS | 566 |
| Figure 87. | Clock distribution for RTC | 567 |
| Figure 88. | Clock distribution for IWDG[2:1] | 568 |
| Figure 89. | Clock distribution for TZC | 570 |
| Figure 90. | Clock distribution for DDRC, DDRPHYC and DDRPERFM | 571 |
| Figure 91. | Entering and exiting self-refresh in ASR1 or ASR2 modes | 576 |
| Figure 92. | Entering and exiting self-refresh in HSR1 or HSR2 modes | 577 |
| Figure 93. | Allowed transitions between SSR, ASR and HSR modes | 578 |
| Figure 94. | Clock description for DBG and trace | 582 |
| Figure 95. | Clock description for IO compensation cell | 582 |
| Figure 96. | Peripheral kernel clock enable logic details | 585 |
| Figure 97. | MPU low-power interface | 588 |
| Figure 98. | MPU clock path | 600 |
| Figure 99. | PLL2 clock path | 602 |
| Figure 100. | MLAHB clock path | 604 |
| Figure 101. Exit from LP-Stop due to MPU event ..... | 615 |
| Figure 102. Fast clock restore ..... | 616 |
| Figure 103. Basic structure of an I/O port bit ..... | 954 |
| Figure 104. Basic structure of a 5-Volt tolerant I/O port bit ..... | 954 |
| Figure 105. Input floating/pull up/pull down configurations ..... | 959 |
| Figure 106. Output configuration ..... | 960 |
| Figure 107. Alternate function configuration ..... | 961 |
| Figure 108. High impedance-analog configuration ..... | 962 |
| Figure 109. I/O compensation control overview ..... | 980 |
| Figure 110. STM32MP13xx security architecture ..... | 1018 |
| Figure 111. MDMA block diagram ..... | 1051 |
| Figure 112. DMA block diagram ..... | 1076 |
| Figure 113. Peripheral-to-memory mode ..... | 1079 |
| Figure 114. Memory-to-peripheral mode ..... | 1080 |
| Figure 115. Memory-to-memory mode ..... | 1081 |
| Figure 116. FIFO structure ..... | 1086 |
| Figure 117. DMAMUX block diagram ..... | 1116 |
| Figure 118. Synchronization mode of the DMAMUX request line multiplexer channel ..... | 1119 |
| Figure 119. Event generation of the DMA request line multiplexer channel ..... | 1119 |
| Figure 120. GIC block diagram ..... | 1142 |
| Figure 121. EXTI block diagram ..... | 1193 |
| Figure 122. Configurable event trigger logic CPU wakeup ..... | 1196 |
| Figure 123. Direct event trigger logic CPU wakeup ..... | 1197 |
| Figure 124. EXTI mux GPIO selection ..... | 1198 |
| Figure 125. CRC calculation unit block diagram ..... | 1227 |
| Figure 126. FMC block diagram ..... | 1237 |
| Figure 127. Mode 1 read access waveforms ..... | 1248 |
| Figure 128. Mode 1 write access waveforms ..... | 1248 |
| Figure 129. Mode A read access waveforms ..... | 1250 |
| Figure 130. Mode A write access waveforms ..... | 1251 |
| Figure 131. Mode 2 and mode B read access waveforms ..... | 1253 |
| Figure 132. Mode 2 write access waveforms ..... | 1254 |
| Figure 133. Mode B write access waveforms ..... | 1254 |
| Figure 134. Mode C read access waveforms ..... | 1257 |
| Figure 135. Mode C write access waveforms ..... | 1257 |
| Figure 136. Mode D read access waveforms ..... | 1259 |
| Figure 137. Mode D write access waveforms ..... | 1260 |
| Figure 138. Muxed read access waveforms ..... | 1262 |
| Figure 139. Muxed write access waveforms ..... | 1263 |
| Figure 140. Asynchronous wait during a read access waveforms ..... | 1266 |
| Figure 141. Asynchronous wait during a write access waveforms ..... | 1266 |
| Figure 142. Wait configuration waveforms ..... | 1268 |
| Figure 143. Synchronous multiplexed read mode waveforms - NOR, PSRAM (CRAM) ..... | 1269 |
| Figure 144. Synchronous multiplexed write mode waveforms - PSRAM (CRAM) ..... | 1271 |
| Figure 145. NAND flash controller waveforms for common memory access ..... | 1288 |
| Figure 146. NAND flash controller waveforms for TCLR and TAR timings ..... | 1288 |
| Figure 147. Access to NAND flash memory ..... | 1290 |
| Figure 148. NAND flash page (2 Kbytes) layout with BCH ..... | 1294 |
| Figure 149. Example of 2 Kbyte page program sequence with 4-bit BCH ..... | 1295 |
| Figure 150. Chained-page read command timings ..... | 1297 |
| Figure 151. Example of 2-Kbyte page read sequence with 4-bit BCH ..... | 1298 |
| Figure 152. QUADSPI block diagram ..... | 1329 |
| Figure 153. | QUADSPI block diagram when dual-flash mode is enabled | 1330 |
| Figure 154. | Example of read command in quad-SPI mode | 1331 |
| Figure 155. | Example of a DDR command in quad-SPI mode | 1334 |
| Figure 156. | NCS when CKMODE = 0 (T = CLK period) | 1342 |
| Figure 157. | NCS when CKMODE = 1 in SDR mode (T = CLK period) | 1343 |
| Figure 158. | NCS when CKMODE = 1 in DDR mode (T = CLK period) | 1343 |
| Figure 159. | NCS when CKMODE = 1 with an abort (T = CLK period) | 1344 |
| Figure 160. | SDMMC “no response” and “no data” operations | 1361 |
| Figure 161. | SDMMC (multiple) block read operation | 1361 |
| Figure 162. | SDMMC (multiple) block write operation | 1362 |
| Figure 163. | SDMMC (sequential) stream read operation | 1362 |
| Figure 164. | SDMMC (sequential) stream write operation | 1362 |
| Figure 165. | SDMMC block diagram | 1364 |
| Figure 166. | SDMMC Command and data phase relation | 1366 |
| Figure 167. | Control unit | 1368 |
| Figure 168. | Command/response path | 1369 |
| Figure 169. | Command path state machine (CPSM) | 1370 |
| Figure 170. | Data path | 1376 |
| Figure 171. | DDR mode data packet clocking | 1377 |
| Figure 172. | DDR mode CRC status / boot acknowledgment clocking | 1377 |
| Figure 173. | Data path state machine (DPSM) | 1378 |
| Figure 174. | CLKMUX unit | 1389 |
| Figure 175. | Linked list structures | 1391 |
| Figure 176. | Asynchronous interrupt generation | 1394 |
| Figure 177. | Synchronous interrupt period data read | 1395 |
| Figure 178. | Synchronous interrupt period data write | 1395 |
| Figure 179. | Asynchronous interrupt period data read | 1396 |
| Figure 180. | Asynchronous interrupt period data write | 1397 |
| Figure 181. | Clock stop with SDMMC_CK for DS, HS, SDR12, SDR25 | 1400 |
| Figure 182. | Clock stop with SDMMC_CK for DDR50, SDR50, SDR104 | 1400 |
| Figure 183. | Read Wait with SDMMC_CK < 50 MHz | 1401 |
| Figure 184. | Read Wait with SDMMC_CK > 50 MHz | 1401 |
| Figure 185. | CMD12 stream timing | 1404 |
| Figure 186. | CMD5 Sleep Awake procedure | 1406 |
| Figure 187. | Normal boot mode operation | 1408 |
| Figure 188. | Alternative boot mode operation | 1409 |
| Figure 189. | Command response R1b busy signaling | 1410 |
| Figure 190. | SDMMC state control | 1411 |
| Figure 191. | Card cycle power / power up diagram | 1412 |
| Figure 192. | CMD11 signal voltage switch sequence | 1413 |
| Figure 193. | Voltage switch transceiver typical application | 1415 |
| Figure 194. | DLYB block diagram | 1444 |
| Figure 195. | ADC block diagram | 1452 |
| Figure 196. | ADC clock scheme | 1457 |
| Figure 197. | ADC1 connectivity | 1458 |
| Figure 198. | ADC2 connectivity | 1459 |
| Figure 199. | ADC calibration | 1462 |
| Figure 200. | Updating the ADC calibration factor | 1463 |
| Figure 201. | Mixing single-ended and differential channels | 1464 |
| Figure 202. | Enabling / disabling the ADC | 1465 |
| Figure 203. | Bulb mode timing diagram | 1468 |
| Figure 204. | Analog-to-digital conversion time | 1471 |
| Figure 205. Stopping ongoing regular conversions . . . . . | 1472 |
| Figure 206. Stopping ongoing regular and injected conversions . . . . . | 1473 |
| Figure 207. Trigger selection . . . . . | 1474 |
| Figure 208. Injected conversion latency . . . . . | 1476 |
| Figure 209. Example of ADC_JSQR queue of context (sequence change) . . . . . | 1479 |
| Figure 210. Example of ADC_JSQR queue of context (trigger change) . . . . . | 1479 |
| Figure 211. Example of ADC_JSQR queue of context with overflow before conversion. . . . . | 1480 |
| Figure 212. Example of ADC_JSQR queue of context with overflow during conversion . . . . . | 1480 |
| Figure 213. Example of ADC_JSQR queue of context with empty queue (case JQM = 0) . . . . . | 1481 |
| Figure 214. Example of ADC_JSQR queue of context with empty queue (JQM = 1) . . . . . | 1482 |
| Figure 215. Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 0) - JADSTP occurs during an ongoing conversion. . . . . | 1482 |
| Figure 216. Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 0) - JADSTP occurs during an ongoing conversion and a new trigger occurs . . . . . | 1483 |
| Figure 217. Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 0) - JADSTP occurs outside an ongoing conversion. . . . . | 1483 |
| Figure 218. Flushing ADC_JSQR queue of context by setting JADSTP = 1 (JQM = 1) . . . . . | 1484 |
| Figure 219. Flushing ADC_JSQR queue of context by setting ADDIS = 1 (JQM = 0) . . . . . | 1484 |
| Figure 220. Flushing ADC_JSQR queue of context by setting ADDIS = 1 (JQM = 1) . . . . . | 1485 |
| Figure 221. Single conversions of a sequence, software trigger . . . . . | 1487 |
| Figure 222. Continuous conversion of a sequence, software trigger. . . . . | 1487 |
| Figure 223. Single conversions of a sequence, hardware trigger . . . . . | 1488 |
| Figure 224. Continuous conversions of a sequence, hardware trigger . . . . . | 1488 |
| Figure 225. Right alignment (offset disabled, unsigned value) . . . . . | 1490 |
| Figure 226. Right alignment (offset enabled, signed value). . . . . | 1491 |
| Figure 227. Left alignment (offset disabled, unsigned value) . . . . . | 1491 |
| Figure 228. Left alignment (offset enabled, signed value). . . . . | 1492 |
| Figure 229. Example of overrun (OVRMOD = 0). . . . . | 1493 |
| Figure 230. Example of overrun (OVRMOD = 1). . . . . | 1494 |
| Figure 231. AUTODLY = 1, regular conversion in continuous mode, software trigger . . . . . | 1497 |
| Figure 232. AUTODLY = 1, regular HW conversions interrupted by injected conversions (DISCEN = 0; JDISCEN = 0) . . . . . | 1498 |
| Figure 233. AUTODLY = 1, regular HW conversions interrupted by injected conversions . . . . . (DISCEN = 1, JDISCEN = 1) . . . . . | 1499 |
| Figure 234. AUTODLY = 1, regular continuous conversions interrupted by injected conversions . . . . . | 1500 |
| Figure 235. AUTODLY = 1 in auto- injected mode (JAUTO = 1) . . . . . | 1500 |
| Figure 236. Analog watchdog guarded area . . . . . | 1501 |
| Figure 237. ADCy_AWDx_OUT signal generation (on all regular channels). . . . . | 1503 |
| Figure 238. ADCy_AWDx_OUT signal generation (AWDx flag not cleared by software) . . . . . | 1504 |
| Figure 239. ADCy_AWDx_OUT signal generation (on a single regular channel) . . . . . | 1504 |
| Figure 240. ADCy_AWDx_OUT signal generation (on all injected channels) . . . . . | 1504 |
| Figure 241. 20-bit to 16-bit result truncation . . . . . | 1506 |
| Figure 242. Numerical example with 5-bit shift and rounding . . . . . | 1506 |
| Figure 243. Triggered regular oversampling mode (TROVS bit = 1) . . . . . | 1508 |
| Figure 244. Regular oversampling modes (4x ratio) . . . . . | 1509 |
| Figure 245. Regular and injected oversampling modes used simultaneously . . . . . | 1510 |
| Figure 246. Triggered regular oversampling with injection . . . . . | 1510 |
| Figure 247. Oversampling in auto-injected mode . . . . . | 1511 |
| Figure 248. Temperature sensor channel block diagram . . . . . | 1512 |
| Figure 249. VBAT channel block diagram . . . . . | 1513 |
| Figure 250. VREFINT channel block diagram . . . . . | 1514 |
| Figure 251. Temperature sensor functional block diagram | 1555 |
| Figure 252. Method for low REF_CLK frequencies | 1557 |
| Figure 253. Method for high REF_CLK frequencies | 1557 |
| Figure 254. Temperature sensor sequence | 1560 |
| Figure 255. VREFBUF block diagram | 1572 |
| Figure 256. Single DFSDM block diagram | 1579 |
| Figure 257. Input channel pins redirection | 1583 |
| Figure 258. Channel transceiver timing diagrams | 1586 |
| Figure 259. Clock absence timing diagram for SPI | 1587 |
| Figure 260. Clock absence timing diagram for Manchester coding | 1588 |
| Figure 261. First conversion for Manchester coding (Manchester synchronization) | 1590 |
| Figure 262. DFSDM_CHyDATINR registers operation modes and assignment | 1594 |
| Figure 263. Example: Sinc3 filter response | 1596 |
| Figure 264. DCMIPP overview | 1634 |
| Figure 265. DCMIPP block diagram | 1637 |
| Figure 266. Snapshot (CPTMODE = 1) and Continuous (CPTMODE = 0) capture modes | 1647 |
| Figure 267. Pipe0 (dump) architecture overview | 1650 |
| Figure 268. LTDC block diagram | 1702 |
| Figure 269. Layer window programmable parameters | 1713 |
| Figure 270. Blending two layers | 1714 |
| Figure 271. LTDC synchronous timings | 1718 |
| Figure 272. RNG block diagram | 1763 |
| Figure 273. NIST SP800-90B entropy source model | 1764 |
| Figure 274. RNG initialization overview | 1767 |
| Figure 275. SAES block diagram | 1783 |
| Figure 276. ECB encryption and decryption principle | 1785 |
| Figure 277. CBC encryption and decryption principle | 1786 |
| Figure 278. CTR encryption and decryption principle | 1787 |
| Figure 279. GCM encryption and authentication principle | 1788 |
| Figure 280. GMAC authentication principle | 1788 |
| Figure 281. CCM encryption and authentication principle | 1789 |
| Figure 282. Example of suspend mode management | 1794 |
| Figure 283. ECB encryption | 1794 |
| Figure 284. ECB decryption | 1795 |
| Figure 285. CBC encryption | 1795 |
| Figure 286. CBC decryption | 1796 |
| Figure 287. ECB/CBC encryption (Mode 1) | 1797 |
| Figure 288. ECB/CBC decryption (Mode 3) | 1798 |
| Figure 289. Message construction in CTR mode | 1799 |
| Figure 290. CTR encryption | 1800 |
| Figure 291. CTR decryption | 1800 |
| Figure 292. Message construction in GCM | 1802 |
| Figure 293. GCM authenticated encryption | 1803 |
| Figure 294. Message construction in GMAC mode | 1806 |
| Figure 295. GMAC authentication mode | 1807 |
| Figure 296. Message construction in CCM mode | 1808 |
| Figure 297. CCM mode authenticated encryption | 1809 |
| Figure 298. Operation with wrapped keys in ECB and CBC modes | 1813 |
| Figure 299. Operation with wrapped keys in CTR mode | 1815 |
| Figure 300. Usage of Shared-key mode | 1817 |
| Figure 301. 128-bit block construction with respect to data swap | 1819 |
| Figure 302. Key protection mechanisms | 1821 |
| Figure 303. DMA transfer of a 128-bit data block during input phase ..... | 1822 |
| Figure 304. DMA transfer of a 128-bit data block during output phase ..... | 1823 |
| Figure 305. CRYP block diagram ..... | 1847 |
| Figure 306. AES-ECB mode overview ..... | 1850 |
| Figure 307. AES-CBC mode overview ..... | 1851 |
| Figure 308. AES-CTR mode overview ..... | 1852 |
| Figure 309. AES-GCM mode overview ..... | 1853 |
| Figure 310. AES-GMAC mode overview ..... | 1853 |
| Figure 311. AES-CCM mode overview ..... | 1854 |
| Figure 312. Example of suspend mode management ..... | 1859 |
| Figure 313. DES/TDES-ECB mode encryption ..... | 1860 |
| Figure 314. DES/TDES-ECB mode decryption ..... | 1861 |
| Figure 315. DES/TDES-CBC mode encryption ..... | 1862 |
| Figure 316. DES/TDES-CBC mode decryption ..... | 1863 |
| Figure 317. AES-ECB mode encryption ..... | 1865 |
| Figure 318. AES-ECB mode decryption ..... | 1866 |
| Figure 319. AES-CBC mode encryption ..... | 1867 |
| Figure 320. AES-CBC mode decryption ..... | 1868 |
| Figure 321. Message construction for the Counter mode ..... | 1870 |
| Figure 322. AES-CTR mode encryption ..... | 1871 |
| Figure 323. AES-CTR mode decryption ..... | 1872 |
| Figure 324. Message construction for the Galois/counter mode ..... | 1874 |
| Figure 325. Message construction for the Galois Message Authentication Code mode ..... | 1879 |
| Figure 326. Message construction for the Counter with CBC-MAC mode ..... | 1880 |
| Figure 327. 64-bit block construction according to the data type (IN FIFO) ..... | 1888 |
| Figure 328. 128-bit block construction according to the data type ..... | 1890 |
| Figure 329. HASH block diagram ..... | 1918 |
| Figure 330. Message data swapping feature ..... | 1921 |
| Figure 331. HASH suspend/resume mechanism ..... | 1927 |
| Figure 332. PKA block diagram ..... | 1944 |
| Figure 333. MCE block diagram ..... | 1979 |
| Figure 334. MCE implementation of block ciphers ..... | 1980 |
| Figure 335. Advanced-control timer block diagram ..... | 1992 |
| Figure 336. Counter timing diagram with prescaler division change from 1 to 2 ..... | 1994 |
| Figure 337. Counter timing diagram with prescaler division change from 1 to 4 ..... | 1994 |
| Figure 338. Counter timing diagram, internal clock divided by 1 ..... | 1996 |
| Figure 339. Counter timing diagram, internal clock divided by 2 ..... | 1996 |
| Figure 340. Counter timing diagram, internal clock divided by 4 ..... | 1997 |
| Figure 341. Counter timing diagram, internal clock divided by N ..... | 1997 |
| Figure 342. Counter timing diagram, update event when ARPE=0 (TIMx_ARR not preloaded) ..... | 1998 |
| Figure 343. Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded) ..... | 1998 |
| Figure 344. Counter timing diagram, internal clock divided by 1 ..... | 2000 |
| Figure 345. Counter timing diagram, internal clock divided by 2 ..... | 2000 |
| Figure 346. Counter timing diagram, internal clock divided by 4 ..... | 2001 |
| Figure 347. Counter timing diagram, internal clock divided by N ..... | 2001 |
| Figure 348. Counter timing diagram, update event when repetition counter is not used ..... | 2002 |
| Figure 349. Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 ..... | 2003 |
| Figure 350. Counter timing diagram, internal clock divided by 2 ..... | 2004 |
| Figure 351. Counter timing diagram, internal clock divided by 4, TIMx_ARR=0x36 ..... | 2004 |
| Figure 352. Counter timing diagram, internal clock divided by N ..... | 2005 |
| Figure 353. Counter timing diagram, update event with ARPE=1 (counter underflow) ..... | 2005 |
| Figure 354. Counter timing diagram, Update event with ARPE=1 (counter overflow) ..... | 2006 |
| Figure 355. | Update rate examples depending on mode and TIMx_RCR register settings | 2007 |
| Figure 356. | External trigger input block | 2008 |
| Figure 357. | TIM1/TIM8 ETR input circuitry | 2008 |
| Figure 358. | Control circuit in normal mode, internal clock divided by 1 | 2009 |
| Figure 359. | TI2 external clock connection example | 2010 |
| Figure 360. | Control circuit in external clock mode 1 | 2011 |
| Figure 361. | External trigger input block | 2011 |
| Figure 362. | Control circuit in external clock mode 2 | 2012 |
| Figure 363. | Capture/compare channel (example: channel 1 input stage) | 2013 |
| Figure 364. | Capture/compare channel 1 main circuit | 2013 |
| Figure 365. | Output stage of capture/compare channel (channel 1, idem ch. 2 and 3) | 2014 |
| Figure 366. | Output stage of capture/compare channel (channel 4) | 2014 |
| Figure 367. | Output stage of capture/compare channel (channel 5, idem ch. 6) | 2015 |
| Figure 368. | PWM input mode timing | 2017 |
| Figure 369. | Output compare mode, toggle on OC1 | 2019 |
| Figure 370. | Edge-aligned PWM waveforms (ARR=8) | 2020 |
| Figure 371. | Center-aligned PWM waveforms (ARR=8) | 2021 |
| Figure 372. | Generation of 2 phase-shifted PWM signals with 50% duty cycle | 2023 |
| Figure 373. | Combined PWM mode on channel 1 and 3 | 2024 |
| Figure 374. | 3-phase combined PWM signals with multiple trigger pulses per period | 2025 |
| Figure 375. | Complementary output with dead-time insertion | 2026 |
| Figure 376. | Dead-time waveforms with delay greater than the negative pulse | 2026 |
| Figure 377. | Dead-time waveforms with delay greater than the positive pulse | 2027 |
| Figure 378. | Break and Break2 circuitry overview | 2029 |
| Figure 379. | Various output behavior in response to a break event on BRK (OSSI = 1) | 2031 |
| Figure 380. | PWM output state following BRK and BRK2 pins assertion (OSSI=1) | 2032 |
| Figure 381. | PWM output state following BRK assertion (OSSI=0) | 2033 |
| Figure 382. | Output redirection (BRK2 request not represented) | 2034 |
| Figure 383. | Clearing TIMx OCxREF | 2035 |
| Figure 384. | 6-step generation, COM example (OSSR=1) | 2036 |
| Figure 385. | Example of one pulse mode | 2037 |
| Figure 386. | Retriggerable one pulse mode | 2039 |
| Figure 387. | Example of counter operation in encoder interface mode | 2040 |
| Figure 388. | Example of encoder interface mode with TI1FP1 polarity inverted | 2041 |
| Figure 389. | Measuring time interval between edges on 3 signals | 2042 |
| Figure 390. | Example of Hall sensor interface | 2044 |
| Figure 391. | Control circuit in reset mode | 2045 |
| Figure 392. | Control circuit in Gated mode | 2046 |
| Figure 393. | Control circuit in trigger mode | 2047 |
| Figure 394. | Control circuit in external clock mode 2 + trigger mode | 2048 |
| Figure 395. | General-purpose timer block diagram | 2095 |
| Figure 396. | Counter timing diagram with prescaler division change from 1 to 2 | 2097 |
| Figure 397. | Counter timing diagram with prescaler division change from 1 to 4 | 2097 |
| Figure 398. | Counter timing diagram, internal clock divided by 1 | 2098 |
| Figure 399. | Counter timing diagram, internal clock divided by 2 | 2099 |
| Figure 400. | Counter timing diagram, internal clock divided by 4 | 2099 |
| Figure 401. | Counter timing diagram, internal clock divided by N | 2100 |
| Figure 402. | Counter timing diagram, Update event when ARPE=0 (TIMx_ARR not preloaded) | 2100 |
| Figure 403. | Counter timing diagram, Update event when ARPE=1 (TIMx_ARR preloaded) | 2101 |
| Figure 404. | Counter timing diagram, internal clock divided by 1 | 2102 |
| Figure 405. | Counter timing diagram, internal clock divided by 2 | 2102 |
| Figure 406. | Counter timing diagram, internal clock divided by 4 | 2103 |
| Figure 407. Counter timing diagram, internal clock divided by N | 2103 |
| Figure 408. Counter timing diagram, Update event | 2104 |
| Figure 409. Counter timing diagram, internal clock divided by 1, TIMx_ARR=0x6 | 2105 |
| Figure 410. Counter timing diagram, internal clock divided by 2 | 2106 |
| Figure 411. Counter timing diagram, internal clock divided by 4, TIMx_ARR=0x36 | 2106 |
| Figure 412. Counter timing diagram, internal clock divided by N | 2107 |
| Figure 413. Counter timing diagram, Update event with ARPE=1 (counter underflow) | 2107 |
| Figure 414. Counter timing diagram, Update event with ARPE=1 (counter overflow) | 2108 |
| Figure 415. Control circuit in normal mode, internal clock divided by 1 | 2109 |
| Figure 416. TI2 external clock connection example | 2109 |
| Figure 417. Control circuit in external clock mode 1 | 2110 |
| Figure 418. External trigger input block | 2111 |
| Figure 419. Control circuit in external clock mode 2 | 2112 |
| Figure 420. Capture/Compare channel (example: channel 1 input stage) | 2112 |
| Figure 421. Capture/Compare channel 1 main circuit | 2113 |
| Figure 422. Output stage of Capture/Compare channel (channel 1) | 2113 |
| Figure 423. PWM input mode timing | 2115 |
| Figure 424. Output compare mode, toggle on OC1 | 2117 |
| Figure 425. Edge-aligned PWM waveforms (ARR=8) | 2118 |
| Figure 426. Center-aligned PWM waveforms (ARR=8) | 2119 |
| Figure 427. Generation of 2 phase-shifted PWM signals with 50% duty cycle | 2120 |
| Figure 428. Combined PWM mode on channels 1 and 3 | 2122 |
| Figure 429. Clearing TIMx OCxREF | 2123 |
| Figure 430. Example of one-pulse mode | 2124 |
| Figure 431. Retriggerable one-pulse mode | 2126 |
| Figure 432. Example of counter operation in encoder interface mode | 2127 |
| Figure 433. Example of encoder interface mode with TI1FP1 polarity inverted | 2128 |
| Figure 434. Control circuit in reset mode | 2129 |
| Figure 435. Control circuit in gated mode | 2130 |
| Figure 436. Control circuit in trigger mode | 2131 |
| Figure 437. Control circuit in external clock mode 2 + trigger mode | 2132 |
| Figure 438. Master/Slave timer example | 2133 |
| Figure 439. Master/slave connection example with 1 channel only timers | 2133 |
| Figure 440. Gating TIM2 with OC1REF of TIM3 | 2134 |
| Figure 441. Gating TIM2 with Enable of TIM3 | 2135 |
| Figure 442. Triggering TIM2 with update of TIM3 | 2136 |
| Figure 443. Triggering TIM2 with Enable of TIM3 | 2136 |
| Figure 444. Triggering TIM3 and TIM2 with TIM3 TI1 input | 2137 |
| Figure 445. General-purpose timer block diagram (TIM12) | 2170 |
| Figure 446. General-purpose timer block diagram (TIM13/TIM14) | 2171 |
| Figure 447. Counter timing diagram with prescaler division change from 1 to 2 | 2173 |
| Figure 448. Counter timing diagram with prescaler division change from 1 to 4 | 2173 |
| Figure 449. Counter timing diagram, internal clock divided by 1 | 2174 |
| Figure 450. Counter timing diagram, internal clock divided by 2 | 2175 |
| Figure 451. Counter timing diagram, internal clock divided by 4 | 2175 |
| Figure 452. Counter timing diagram, internal clock divided by N | 2176 |
| Figure 453. Counter timing diagram, update event when ARPE=0 (TIMx_ARR not preloaded) | 2176 |
| Figure 454. Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded) | 2177 |
| Figure 455. Control circuit in normal mode, internal clock divided by 1 | 2178 |
| Figure 456. TI2 external clock connection example | 2178 |
| Figure 457. Control circuit in external clock mode 1 ..... | 2179 |
| Figure 458. Capture/compare channel (example: channel 1 input stage) ..... | 2180 |
| Figure 459. Capture/compare channel 1 main circuit ..... | 2180 |
| Figure 460. Output stage of capture/compare channel (channel 1) ..... | 2181 |
| Figure 461. PWM input mode timing ..... | 2183 |
| Figure 462. Output compare mode, toggle on OC1 ..... | 2185 |
| Figure 463. Edge-aligned PWM waveforms (ARR=8) ..... | 2186 |
| Figure 464. Combined PWM mode on channel 1 and 2 ..... | 2187 |
| Figure 465. Example of one pulse mode ..... | 2188 |
| Figure 466. Retriggerable one pulse mode ..... | 2189 |
| Figure 467. Measuring time interval between edges on 2 signals ..... | 2190 |
| Figure 468. Control circuit in reset mode ..... | 2191 |
| Figure 469. Control circuit in gated mode ..... | 2192 |
| Figure 470. Control circuit in trigger mode ..... | 2192 |
| Figure 471. TIM15 block diagram ..... | 2224 |
| Figure 472. TIM16/TIM17 block diagram ..... | 2225 |
| Figure 473. Counter timing diagram with prescaler division change from 1 to 2 ..... | 2227 |
| Figure 474. Counter timing diagram with prescaler division change from 1 to 4 ..... | 2227 |
| Figure 475. Counter timing diagram, internal clock divided by 1 ..... | 2229 |
| Figure 476. Counter timing diagram, internal clock divided by 2 ..... | 2229 |
| Figure 477. Counter timing diagram, internal clock divided by 4 ..... | 2230 |
| Figure 478. Counter timing diagram, internal clock divided by N ..... | 2230 |
| Figure 479. Counter timing diagram, update event when ARPE=0 (TIMx_ARR not preloaded) ..... | 2231 |
| Figure 480. Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded) ..... | 2231 |
| Figure 481. Update rate examples depending on mode and TIMx_RCR register settings ..... | 2233 |
| Figure 482. Control circuit in normal mode, internal clock divided by 1 ..... | 2234 |
| Figure 483. TI2 external clock connection example ..... | 2234 |
| Figure 484. Control circuit in external clock mode 1 ..... | 2235 |
| Figure 485. Capture/compare channel (example: channel 1 input stage) ..... | 2236 |
| Figure 486. Capture/compare channel 1 main circuit ..... | 2236 |
| Figure 487. Output stage of capture/compare channel (channel 1) ..... | 2237 |
| Figure 488. Output stage of capture/compare channel (channel 2 for TIM15) ..... | 2237 |
| Figure 489. PWM input mode timing ..... | 2239 |
| Figure 490. Output compare mode, toggle on OC1 ..... | 2241 |
| Figure 491. Edge-aligned PWM waveforms (ARR=8) ..... | 2242 |
| Figure 492. Combined PWM mode on channel 1 and 2 ..... | 2243 |
| Figure 493. Complementary output with dead-time insertion ..... | 2244 |
| Figure 494. Dead-time waveforms with delay greater than the negative pulse ..... | 2244 |
| Figure 495. Dead-time waveforms with delay greater than the positive pulse ..... | 2245 |
| Figure 496. Break circuitry overview ..... | 2247 |
| Figure 497. Output behavior in response to a break ..... | 2249 |
| Figure 498. Output redirection ..... | 2251 |
| Figure 499. 6-step generation, COM example (OSSR=1) ..... | 2252 |
| Figure 500. Example of one pulse mode ..... | 2253 |
| Figure 501. Retriggerable one pulse mode ..... | 2255 |
| Figure 502. Measuring time interval between edges on 2 signals ..... | 2256 |
| Figure 503. Control circuit in reset mode ..... | 2257 |
| Figure 504. Control circuit in gated mode ..... | 2258 |
| Figure 505. Control circuit in trigger mode ..... | 2259 |
| Figure 506. Basic timer block diagram ..... | 2309 |
| Figure 507. Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 2311 |
| Figure 508. Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 2311 |
| Figure 509. Counter timing diagram, internal clock divided by 1 . . . . . | 2312 |
| Figure 510. Counter timing diagram, internal clock divided by 2 . . . . . | 2313 |
| Figure 511. Counter timing diagram, internal clock divided by 4 . . . . . | 2313 |
| Figure 512. Counter timing diagram, internal clock divided by N . . . . . | 2314 |
| Figure 513. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 2314 |
| Figure 514. Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded) . . . . . | 2315 |
| Figure 515. Control circuit in normal mode, internal clock divided by 1 . . . . . | 2316 |
| Figure 516. Low-power timer block diagram (LPTIM1 and LPTIM2) . . . . . | 2323 |
| Figure 517. Low-power timer block diagram (LPTIM3) . . . . . | 2324 |
| Figure 518. Low-power timer block diagram (LPTIM4 and LPTIM5) . . . . . | 2324 |
| Figure 519. Glitch filter timing diagram . . . . . | 2329 |
| Figure 520. LPTIM output waveform, single counting mode configuration . . . . . | 2331 |
| Figure 521. LPTIM output waveform, Single counting mode configuration and Set-once mode activated (WAVE bit is set) . . . . . | 2331 |
| Figure 522. LPTIM output waveform, Continuous counting mode configuration . . . . . | 2332 |
| Figure 523. Waveform generation . . . . . | 2333 |
| Figure 524. Encoder mode counting sequence . . . . . | 2337 |
| Figure 525. STGEN block diagram . . . . . | 2354 |
| Figure 526. Independent watchdog block diagram . . . . . | 2371 |
| Figure 527. Reset timing due to timeout . . . . . | 2373 |
| Figure 528. Reset timing due to refresh in the not allowed area . . . . . | 2374 |
| Figure 529. Changing PR, RL, and performing a refresh(1) . . . . . | 2375 |
| Figure 530. Independent watchdog interrupt timing diagram . . . . . | 2377 |
| Figure 531. RTC block diagram . . . . . | 2389 |
| Figure 532. TAMP block diagram . . . . . | 2449 |
| Figure 533. Backup registers protection zones . . . . . | 2454 |
| Figure 534. Tamper sampling with precharge pulse . . . . . | 2459 |
| Figure 535. Low level detection with precharge and filtering . . . . . | 2459 |
| Figure 536. Active tamper filtering . . . . . | 2461 |
| Figure 537. Block diagram . . . . . | 2504 |
| Figure 538. I2C-bus protocol . . . . . | 2506 |
| Figure 539. Setup and hold timings . . . . . | 2508 |
| Figure 540. I2C initialization flow . . . . . | 2510 |
| Figure 541. Data reception . . . . . | 2511 |
| Figure 542. Data transmission . . . . . | 2512 |
| Figure 543. Target initialization flow . . . . . | 2515 |
| Figure 544. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 0 . . . . . | 2517 |
| Figure 545. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 1 . . . . . | 2518 |
| Figure 546. Transfer bus diagrams for I2C target transmitter (mandatory events only) . . . . . | 2519 |
| Figure 547. Transfer sequence flow for I2C target receiver, NOSTRETCH = 0 . . . . . | 2520 |
| Figure 548. Transfer sequence flow for I2C target receiver, NOSTRETCH = 1 . . . . . | 2521 |
| Figure 549. Transfer bus diagrams for I2C target receiver (mandatory events only) . . . . . | 2521 |
| Figure 550. Controller clock generation . . . . . | 2523 |
| Figure 551. Controller initialization flow . . . . . | 2525 |
| Figure 552. 10-bit address read access with HEAD10R = 0 . . . . . | 2525 |
| Figure 553. 10-bit address read access with HEAD10R = 1 . . . . . | 2526 |
| Figure 554. Transfer sequence flow for I2C controller transmitter, N ≤ 255 bytes . . . . . | 2527 |
| Figure 555. Transfer sequence flow for I2C controller transmitter, N > 255 bytes. .... | 2528 |
| Figure 556. Transfer bus diagrams for I2C controller transmitter (mandatory events only) ..... | 2529 |
| Figure 557. Transfer sequence flow for I2C controller receiver, N ≤ 255 bytes ..... | 2531 |
| Figure 558. Transfer sequence flow for I2C controller receiver, N > 255 bytes. .... | 2532 |
| Figure 559. Transfer bus diagrams for I2C controller receiver (mandatory events only) ..... | 2533 |
| Figure 560. Timeout intervals for \(t_{\text{LOW:SEXT}}\), \(t_{\text{LOW:MEXT}}\) ..... | 2537 |
| Figure 561. Transfer sequence flow for SMBus target transmitter N bytes + PEC ..... | 2541 |
| Figure 562. Transfer bus diagram for SMBus target transmitter (SBC = 1) ..... | 2541 |
| Figure 563. Transfer sequence flow for SMBus target receiver N bytes + PEC ..... | 2543 |
| Figure 564. Bus transfer diagrams for SMBus target receiver (SBC = 1) ..... | 2544 |
| Figure 565. Bus transfer diagrams for SMBus controller transmitter ..... | 2545 |
| Figure 566. Bus transfer diagrams for SMBus controller receiver ..... | 2547 |
| Figure 567. USART block diagram ..... | 2571 |
| Figure 568. Word length programming ..... | 2575 |
| Figure 569. Configurable stop bits ..... | 2577 |
| Figure 570. TC/TXE behavior when transmitting ..... | 2580 |
| Figure 571. Start bit detection when oversampling by 16 or 8 ..... | 2581 |
| Figure 572. usart_ker_ck clock divider block diagram ..... | 2584 |
| Figure 573. Data sampling when oversampling by 16 ..... | 2585 |
| Figure 574. Data sampling when oversampling by 8 ..... | 2586 |
| Figure 575. Mute mode using Idle line detection ..... | 2593 |
| Figure 576. Mute mode using address mark detection ..... | 2594 |
| Figure 577. Break detection in LIN mode (11-bit break length - LBDL bit is set) ..... | 2597 |
| Figure 578. Break detection in LIN mode vs. Framing error detection ..... | 2598 |
| Figure 579. USART example of synchronous master transmission ..... | 2599 |
| Figure 580. USART data clock timing diagram in synchronous master mode (M bits = 00) ..... | 2599 |
| Figure 581. USART data clock timing diagram in synchronous master mode (M bits = 01) ..... | 2600 |
| Figure 582. USART data clock timing diagram in synchronous slave mode (M bits = 00) ..... | 2601 |
| Figure 583. ISO 7816-3 asynchronous protocol ..... | 2603 |
| Figure 584. Parity error detection using the 1.5 stop bits ..... | 2605 |
| Figure 585. IrDA SIR ENDEC block diagram ..... | 2609 |
| Figure 586. IrDA data modulation (3/16) - normal mode ..... | 2609 |
| Figure 587. Transmission using DMA ..... | 2611 |
| Figure 588. Reception using DMA ..... | 2612 |
| Figure 589. Hardware flow control between 2 USARTs ..... | 2612 |
| Figure 590. RS232 RTS flow control ..... | 2613 |
| Figure 591. RS232 CTS flow control ..... | 2614 |
| Figure 592. Wake-up event verified (wake-up event = address match, FIFO disabled) ..... | 2617 |
| Figure 593. Wake-up event not verified (wake-up event = address match, FIFO disabled) ..... | 2617 |
| Figure 594. SPI2S block diagram ..... | 2660 |
| Figure 595. Full-duplex single master/ single slave application ..... | 2662 |
| Figure 596. Half-duplex single master/ single slave application ..... | 2663 |
| Figure 597. Simplex single master/single slave application (master in transmit-only/ slave in receive-only mode) ..... | 2664 |
| Figure 598. Master and three independent slaves at star topology ..... | 2665 |
| Figure 599. Master and three slaves at circular (daisy chain) topology ..... | 2666 |
| Figure 600. Multimaster application . . . . . | 2667 |
| Figure 601. Scheme of slave select control logic . . . . . | 2669 |
| Figure 602. Data flow timing control (SSOE=1, SSOM=0, SSM=0) . . . . . | 2669 |
| Figure 603. NSS interleaving pulses between data (SSOE=1, SSOM=1, SSM=0) . . . . . | 2670 |
| Figure 604. Data clock timing diagram . . . . . | 2672 |
| Figure 605. Data alignment when data size is not equal to 8-bit, 16-bit or 32-bit . . . . . | 2673 |
| Figure 606. Packing data in FIFO for transmission and reception . . . . . | 2681 |
| Figure 607. TI mode transfer . . . . . | 2683 |
| Figure 608. Optional configurations of slave behavior at detection of underrun condition . . . . . | 2685 |
| Figure 609. Low-power mode application example . . . . . | 2689 |
| Figure 610. Waveform examples . . . . . | 2696 |
| Figure 611. Master I2S Philips protocol waveforms (16/32-bit full accuracy) . . . . . | 2697 |
| Figure 612. I2S Philips standard waveforms . . . . . | 2697 |
| Figure 613. Master MSB Justified 16-bit or 32-bit full-accuracy length . . . . . | 2698 |
| Figure 614. Master MSB justified 16 or 24-bit data length . . . . . | 2698 |
| Figure 615. Slave MSB justified . . . . . | 2699 |
| Figure 616. LSB justified 16 or 24-bit data length . . . . . | 2699 |
| Figure 617. Master PCM when the frame length is equal the data length . . . . . | 2700 |
| Figure 618. Master PCM standard waveforms (16 or 24-bit data length) . . . . . | 2700 |
| Figure 619. Slave PCM waveforms . . . . . | 2701 |
| Figure 620. Startup sequence, I2S Philips standard, master . . . . . | 2704 |
| Figure 621. Startup sequence, I2S Philips standard, slave . . . . . | 2704 |
| Figure 622. Stop sequence, I2S Philips standard, master . . . . . | 2705 |
| Figure 623. I2S clock generator architecture . . . . . | 2706 |
| Figure 624. Data Format . . . . . | 2708 |
| Figure 625. Handling of underrun situation . . . . . | 2710 |
| Figure 626. Handling of overrun situation . . . . . | 2711 |
| Figure 627. Frame error detection, with FIXCH=0 . . . . . | 2712 |
| Figure 628. Frame error detection, with FIXCH=1 . . . . . | 2712 |
| Figure 629. SAI functional block diagram . . . . . | 2741 |
| Figure 630. Audio frame . . . . . | 2745 |
| Figure 631. FS role is start of frame + channel side identification (FSDEF = TRIS = 1) . . . . . | 2747 |
| Figure 632. FS role is start of frame (FSDEF = 0) . . . . . | 2748 |
| Figure 633. Slot size configuration with FBOFF = 0 in SAI_xSLOTR . . . . . | 2749 |
| Figure 634. First bit offset . . . . . | 2749 |
| Figure 635. Audio block clock generator overview . . . . . | 2751 |
| Figure 636. PDM typical connection and timing . . . . . | 2755 |
| Figure 637. Detailed PDM interface block diagram . . . . . | 2756 |
| Figure 638. Start-up sequence . . . . . | 2757 |
| Figure 639. SAI_ADR format in TDM mode, 32-bit slot width . . . . . | 2758 |
| Figure 640. SAI_ADR format in TDM mode, 16-bit slot width . . . . . | 2759 |
| Figure 641. SAI_ADR format in TDM mode, 8-bit slot width . . . . . | 2760 |
| Figure 642. AC'97 audio frame . . . . . | 2763 |
| Figure 643. Example of typical AC'97 configuration on devices featuring at least two embedded SAIs (three external AC'97 decoders) . . . . . | 2764 |
| Figure 644. SPDIF format . . . . . | 2765 |
| Figure 645. SAI_xDR register ordering . . . . . | 2766 |
| Figure 646. Data companding hardware in an audio block in the SAI . . . . . | 2769 |
| Figure 647. Tristate strategy on SD output line on an inactive slot . . . . . | 2771 |
| Figure 648. Tristate on output data line in a protocol like I2S . . . . . | 2772 |
| Figure 649. Overrun detection error . . . . . | 2773 |
| Figure 650. FIFO underrun event . . . . . | 2773 |
| Figure 651. SPDIFRX block diagram ..... | 2811 |
| Figure 652. S/PDIF sub-frame format ..... | 2812 |
| Figure 653. S/PDIF block format ..... | 2813 |
| Figure 654. S/PDIF preambles ..... | 2813 |
| Figure 655. Channel coding example ..... | 2814 |
| Figure 656. SPDIFRX decoder ..... | 2815 |
| Figure 657. Noise filtering and edge detection ..... | 2815 |
| Figure 658. Thresholds ..... | 2817 |
| Figure 659. Synchronization flowchart ..... | 2819 |
| Figure 660. Synchronization process scheduling ..... | 2820 |
| Figure 661. SPDIFRX states ..... | 2821 |
| Figure 662. SPDIFRX_FMTx_DR register format ..... | 2823 |
| Figure 663. Channel/user data format ..... | 2824 |
| Figure 664. S/PDIF overrun error when RXSTEO = 0 ..... | 2826 |
| Figure 665. S/PDIF overrun error when RXSTEO = 1 ..... | 2827 |
| Figure 666. SPDIFRX interface interrupt mapping diagram ..... | 2830 |
| Figure 667. CAN subsystem ..... | 2848 |
| Figure 668. FDCAN block diagram ..... | 2850 |
| Figure 669. Transceiver delay measurement ..... | 2855 |
| Figure 670. Pin control in bus monitoring mode ..... | 2857 |
| Figure 671. Pin control in loop back mode ..... | 2859 |
| Figure 672. CAN error state diagram ..... | 2860 |
| Figure 673. Message RAM configuration ..... | 2861 |
| Figure 674. Standard message ID filter path ..... | 2864 |
| Figure 675. Extended message ID filter path ..... | 2865 |
| Figure 676. Example of mixed configuration dedicated Tx buffers / Tx FIFO ..... | 2871 |
| Figure 677. Example of mixed configuration dedicated Tx buffers / Tx queue ..... | 2871 |
| Figure 678. Bit timing ..... | 2873 |
| Figure 679. Bypass operation ..... | 2875 |
| Figure 680. FSM calibration ..... | 2876 |
| Figure 681. Cycle time and global time synchronization ..... | 2891 |
| Figure 682. TTCAN level 0 and level 2 drift compensation ..... | 2892 |
| Figure 683. Level 0 schedule synchronization state machine ..... | 2899 |
| Figure 684. Level 0 master to slave relation ..... | 2900 |
| Figure 685. OTG high-speed block diagram ..... | 2981 |
| Figure 686. OTG A-B device connection ..... | 2983 |
| Figure 687. OTG peripheral-only connection ..... | 2985 |
| Figure 688. OTG host-only connection ..... | 2989 |
| Figure 689. SOF connectivity (SOF trigger output to TIM and ITRx connection) ..... | 2993 |
| Figure 690. Updating OTG_HFIR dynamically (RLDCTRL = 1) ..... | 2995 |
| Figure 691. Device-mode FIFO address mapping and AHB FIFO access mapping ..... | 2997 |
| Figure 692. Host-mode FIFO address mapping and AHB FIFO access mapping ..... | 2998 |
| Figure 693. Interrupt hierarchy ..... | 3002 |
| Figure 694. Transmit FIFO write task ..... | 3100 |
| Figure 695. Receive FIFO read task ..... | 3101 |
| Figure 696. Normal bulk/control OUT/SETUP ..... | 3102 |
| Figure 697. Bulk/control IN transactions ..... | 3106 |
| Figure 698. Normal interrupt OUT ..... | 3109 |
| Figure 699. Normal interrupt IN ..... | 3114 |
| Figure 700. Isochronous OUT transactions ..... | 3116 |
| Figure 701. Isochronous IN transactions ..... | 3119 |
| Figure 702. Normal bulk/control OUT/SETUP transactions - DMA ..... | 3121 |
| Figure 703. Normal bulk/control IN transaction - DMA. . . . . | 3123 |
| Figure 704. Normal interrupt OUT transactions - DMA mode . . . . . | 3124 |
| Figure 705. Normal interrupt IN transactions - DMA mode . . . . . | 3125 |
| Figure 706. Normal isochronous OUT transaction - DMA mode . . . . . | 3126 |
| Figure 707. Normal isochronous IN transactions - DMA mode . . . . . | 3127 |
| Figure 708. Receive FIFO packet read . . . . . | 3133 |
| Figure 709. Processing a SETUP packet . . . . . | 3135 |
| Figure 710. Bulk OUT transaction . . . . . | 3142 |
| Figure 711. TRDT max timing case . . . . . | 3152 |
| Figure 712. A-device SRP . . . . . | 3153 |
| Figure 713. B-device SRP . . . . . | 3154 |
| Figure 714. A-device HNP . . . . . | 3155 |
| Figure 715. B-device HNP . . . . . | 3157 |
| Figure 716. USBPHYC block diagram . . . . . | 3160 |
| Figure 717. USBH block diagram . . . . . | 3172 |
| Figure 718. High-level Ethernet block diagram . . . . . | 3194 |
| Figure 719. DMA transmission flow (standard mode) . . . . . | 3196 |
| Figure 720. DMA transmission flow (OSP mode) . . . . . | 3198 |
| Figure 721. Receive DMA flow . . . . . | 3200 |
| Figure 722. Overview of MAC transmission flow . . . . . | 3203 |
| Figure 723. MAC reception flow . . . . . | 3205 |
| Figure 724. Packet filtering sequence . . . . . | 3213 |
| Figure 725. Networked time synchronization . . . . . | 3222 |
| Figure 726. Propagation delay calculation in clocks supporting peer-to-peer path correction . . . . . | 3223 |
| Figure 727. System time update using fine correction method . . . . . | 3233 |
| Figure 728. TCP segmentation offload overview . . . . . | 3250 |
| Figure 729. TCP segmentation offload flow . . . . . | 3251 |
| Figure 730. Header and payload fields of segmented packets . . . . . | 3254 |
| Figure 731. Supported PHY interfaces . . . . . | 3263 |
| Figure 732. SMA Interface block . . . . . | 3264 |
| Figure 733. MDIO packet structure (Clause 45) . . . . . | 3264 |
| Figure 734. MDIO packet structure (Clause 22) . . . . . | 3265 |
| Figure 735. SMA write operation flow . . . . . | 3267 |
| Figure 736. Write data packet . . . . . | 3268 |
| Figure 737. Read data packet . . . . . | 3268 |
| Figure 738. Media independent interface (MII) signals . . . . . | 3270 |
| Figure 739. RMII block diagram . . . . . | 3272 |
| Figure 740. Transmission bit order . . . . . | 3273 |
| Figure 741. Receive bit order . . . . . | 3274 |
| Figure 742. RGMII block diagram and interface signals . . . . . | 3275 |
| Figure 743. LPI transitions (Transmit, 100 Mbds) . . . . . | 3284 |
| Figure 744. LPI Tx clock gating (when LPITCSE = 1) . . . . . | 3285 |
| Figure 745. LPI transitions (receive, 100 Mbit/s) . . . . . | 3286 |
| Figure 746. Descriptor ring structure . . . . . | 3310 |
| Figure 747. DMA descriptor ring . . . . . | 3312 |
| Figure 748. Descriptor tail pointer example 1 . . . . . | 3312 |
| Figure 749. Descriptor tail pointer example 2 . . . . . | 3313 |
| Figure 750. Transmit descriptor (read format) . . . . . | 3314 |
| Figure 751. Transmit descriptor write-back format . . . . . | 3319 |
| Figure 752. Transmit context descriptor format . . . . . | 3323 |
| Figure 753. Receive normal descriptor (read format) . . . . . | 3327 |
| Figure 754. Receive normal descriptor (write-back format) . . . . . | 3329 |
| Figure 755. Receive context descriptor . . . . . | 3336 |
| Figure 756. Generation of ETH_DMAISR flags . . . . . | 3355 |
| Figure 757. Hardware debug port block diagram. . . . . | 3480 |
| Figure 758. Block diagram of debug support infrastructure . . . . . | 3492 |
| Figure 759. Debug clock domains . . . . . | 3493 |
| Figure 760. JTAG TAP state machine . . . . . | 3498 |
| Figure 761. SWD successful data transfer . . . . . | 3502 |
| Figure 762. Debug and access port connections. . . . . | 3511 |
| Figure 763. Debug APB CoreSight™ topology . . . . . | 3525 |
| Figure 764. CoreSight™ timestamp distribution . . . . . | 3531 |
| Figure 765. Embedded cross trigger . . . . . | 3539 |
| Figure 766. Mapping trigger inputs to outputs . . . . . | 3541 |