RM0481-STM32H523-533-543-553-562-563-573
This document is addressed to application developers. It provides complete information on how to use the STM32H523xx, STM32H533xx, STM32H543xx, STM32H553xx, STM32H562xx, STM32H563xx, and STM32H573xx microcontrollers memory and peripherals.
For ordering information, mechanical and electrical device characteristics, refer to the corresponding datasheets.
For information on the Arm® Cortex®-M33 core, refer to the corresponding Arm® Technical Reference Manuals available on http://infocenter.arm.com.
Related documents
- • STM32H523/533xx datasheet
- • STM32H543/553xx datasheet
- • STM32H562/563xx datasheet
- • STM32H573xx datasheet
- • STM32H523/533xx errata sheet
- • STM32H543/553xx errata sheet
- • STM32H562/563/573xx errata sheets
- • STM32 Cortex®-M33 MCUs programming manual
Contents
| 1 | Documentation conventions | 119 |
| 1.1 | General information | 119 |
| 1.2 | List of abbreviations for registers | 119 |
| 1.3 | Register reset value | 120 |
| 1.4 | Glossary | 120 |
| 2 | Memory and bus architecture | 121 |
| 2.1 | System architecture | 121 |
| 2.1.1 | Fast C-bus | 122 |
| 2.1.2 | Slow C-bus | 123 |
| 2.1.3 | S-bus | 123 |
| 2.1.4 | DCache S-bus | 123 |
| 2.1.5 | GPDMA1 and GPDMA2 buses | 123 |
| 2.1.6 | SDMMC1 and SDMMC2 controllers DMA buses | 123 |
| 2.1.7 | BusMatrix | 123 |
| 2.1.8 | AHB/APB bridges | 124 |
| 2.1.9 | Ethernet MAC | 124 |
| 2.2 | TrustZone security architecture | 124 |
| 2.2.1 | Default TrustZone security state | 124 |
| 2.2.2 | TrustZone peripheral classification | 125 |
| 2.3 | Memory organization | 130 |
| 2.3.1 | Introduction | 130 |
| 2.3.2 | Memory map and register boundary addresses | 131 |
| 2.3.3 | Embedded SRAMs | 147 |
| 2.3.4 | Flash memory overview | 147 |
| 2.3.5 | Boot modes | 147 |
| 3 | System security | 149 |
| 3.1 | Key security features | 149 |
| 3.2 | Secure install | 150 |
| 3.3 | Secure boot | 151 |
| 3.3.1 | Unique boot entry | 151 |
| 3.3.2 | Immutable root of trust in system flash memory | 152 |
| 3.4 | Secure update ..... | 152 |
| 3.5 | Resource isolation using hide protection levels ..... | 153 |
| 3.6 | Resource isolation using TrustZone ..... | 153 |
| 3.6.1 | TrustZone security architecture ..... | 154 |
| 3.6.2 | Armv8-M security extension of Cortex-M33 ..... | 154 |
| 3.6.3 | Memory and peripheral allocation using IDAU/SAU ..... | 154 |
| 3.6.4 | Memory and peripheral allocation using GTZC ..... | 156 |
| 3.6.5 | Managing security in TrustZone-aware peripherals ..... | 160 |
| 3.6.6 | Activating TrustZone security ..... | 166 |
| 3.6.7 | Deactivating TrustZone security ..... | 167 |
| 3.7 | Other resources isolation ..... | 168 |
| 3.7.1 | Temporal isolation using secure hide protection (HDP) ..... | 168 |
| 3.7.2 | Resource isolation using Cortex privileged mode ..... | 168 |
| 3.8 | Secure execution ..... | 172 |
| 3.8.1 | Memory protection unit (MPU) ..... | 172 |
| 3.8.2 | Embedded flash memory write protection ..... | 173 |
| 3.8.3 | Tamper detection and response ..... | 173 |
| 3.9 | Secure storage ..... | 175 |
| 3.9.1 | Hardware secret key management ..... | 176 |
| 3.9.2 | Unique ID ..... | 177 |
| 3.10 | Crypto engines ..... | 177 |
| 3.10.1 | Crypto engines features ..... | 177 |
| 3.10.2 | Secure AES co-processor (SAES) ..... | 178 |
| 3.10.3 | On-the-fly decryption engine (OTFDEC) ..... | 179 |
| 3.11 | Product life cycle ..... | 179 |
| 3.11.1 | Product configurations and security services ..... | 181 |
| 3.11.2 | Life cycle management ..... | 181 |
| 3.11.3 | Recommended product settings ..... | 184 |
| 3.12 | Software intellectual property protection and collaborative development ..... | 184 |
| 3.12.1 | Software intellectual property protection ..... | 186 |
| 3.12.2 | Software intellectual property protection with OTFDEC ..... | 186 |
| 3.12.3 | Other software intellectual property protections ..... | 188 |
| 4 | Boot modes ..... | 189 |
| 4.1 | STM32H523/43/62/63xx boot modes ..... | 190 |
| 4.2 | STM32H533/53/73xx boot modes ..... | 191 |
| 5 | Global TrustZone® controller (GTZC) ..... | 192 |
| 5.1 | GTZC introduction ..... | 192 |
| 5.2 | GTZC main features ..... | 192 |
| 5.3 | GTZC implementation ..... | 194 |
| 5.4 | GTZC functional description ..... | 196 |
| 5.4.1 | GTZC block diagram ..... | 196 |
| 5.4.2 | Illegal access definition ..... | 197 |
| 5.4.3 | TrustZone security controller (TZSC) ..... | 198 |
| 5.4.4 | Memory protection controller - block based (MPCBB) ..... | 199 |
| 5.4.5 | TrustZone illegal access controller (TZIC) ..... | 200 |
| 5.4.6 | Power-on/reset state ..... | 200 |
| 5.5 | GTZC interrupts ..... | 200 |
| 5.6 | GTZC1 TZSC registers ..... | 201 |
| 5.6.1 | GTZC1 TZSC control register (GTZC1_TZSC_CR) ..... | 201 |
| 5.6.2 | GTZC1 TZSC secure configuration register 1 (GTZC1_TZSC_SECCFGR1) ..... | 201 |
| 5.6.3 | GTZC1 TZSC secure configuration register 2 (GTZC1_TZSC_SECCFGR2) ..... | 204 |
| 5.6.4 | GTZC1 TZSC secure configuration register 3 (GTZC1_TZSC_SECCFGR3) ..... | 206 |
| 5.6.5 | GTZC1 TZSC privilege configuration register 1 (GTZC1_TZSC_PRIVCFGR1) ..... | 209 |
| 5.6.6 | GTZC1 TZSC privilege configuration register 2 (GTZC1_TZSC_PRIVCFGR2) ..... | 211 |
| 5.6.7 | GTZC1 TZSC privilege configuration register 3 (GTZC1_TZSC_PRIVCFGR3) ..... | 213 |
| 5.6.8 | GTZC1 TZSC memory x subregion A watermark configuration register (GTZC1_TZSC_MPCWMxACFGR) ..... | 216 |
| 5.6.9 | GTZC1 TZSC memory x subregion A watermark register (GTZC1_TZSC_MPCWMxAR) ..... | 217 |
| 5.6.10 | GTZC1 TZSC memory x subregion B watermark configuration register (GTZC1_TZSC_MPCWMxBCFGR) ..... | 217 |
| 5.6.11 | GTZC1 TZSC memory x subregion B watermark register (GTZC1_TZSC_MPCWMxBR) ..... | 218 |
| 5.6.12 | GTZC1 TZSC register map ..... | 220 |
| 5.7 | GTZC1 TZIC registers ..... | 222 |
| 5.7.1 | GTZC1 TZIC interrupt enable register 1 (GTZC1_TZIC_IER1) ..... | 222 |
| 5.7.2 | GTZC1 TZIC interrupt enable register 2 (GTZC1_TZIC_IER2) ..... | 224 |
| 5.7.3 | GTZC1 TZIC interrupt enable register 3 (GTZC1_TZIC_IER3) ..... | 226 |
| 5.7.4 | GTZC1 TZIC interrupt enable register 4 (GTZC1_TZIC_IER4) . . . . . | 229 |
| 5.7.5 | GTZC1 TZIC status register 1 (GTZC1_TZIC_SR1) . . . . . | 231 |
| 5.7.6 | GTZC1 TZIC status register 2 (GTZC1_TZIC_SR2) . . . . . | 233 |
| 5.7.7 | GTZC1 TZIC status register 3 (GTZC1_TZIC_SR3) . . . . . | 236 |
| 5.7.8 | GTZC1 TZIC status register 4 (GTZC1_TZIC_SR4) . . . . . | 238 |
| 5.7.9 | GTZC1 TZIC flag clear register 1 (GTZC1_TZIC_FCR1) . . . . . | 240 |
| 5.7.10 | GTZC1 TZIC flag clear register 2 (GTZC1_TZIC_FCR2) . . . . . | 242 |
| 5.7.11 | GTZC1 TZIC flag clear register 3 (GTZC1_TZIC_FCR3) . . . . . | 244 |
| 5.7.12 | GTZC1 TZIC flag clear register 4 (GTZC1_TZIC_FCR4) . . . . . | 246 |
| 5.7.13 | GTZC1 TZIC register map . . . . . | 249 |
| 5.8 | GTZC1 MPCBBz registers (z = 1 to 3) . . . . . | 251 |
| 5.8.1 | GTZC1 SRAMz MPCBB control register (GTZC1_MPCBBz_CR) (z = 1 to 3) . . . . . | 251 |
| 5.8.2 | GTZC1 SRAMz MPCBB configuration lock register 1 (GTZC1_MPCBBz_CFGLOCK1) (z = 1 to 3) . . . . . | 251 |
| 5.8.3 | GTZC1 SRAMz MPCBB security configuration for super-block x register (GTZC1_MPCBBz_SECCFGRx) (z = 1 to 3) . . . . . | 252 |
| 5.8.4 | GTZC1 SRAMz MPCBB privileged configuration for super-block x register (GTZC1_MPCBBz_PRIVCFGRx) (z = 1 to 3) . . . . . | 252 |
| 5.8.5 | GTZC1 MPCBBz register map (z = 1 to 3) . . . . . | 253 |
| 6 | RAMs configuration controller (RAMCFG) . . . . . | 254 |
| 6.1 | RAMCFG introduction . . . . . | 254 |
| 6.2 | RAMCFG main features . . . . . | 254 |
| 6.3 | RAMCFG functional description . . . . . | 254 |
| 6.3.1 | Internal SRAMs features . . . . . | 254 |
| 6.3.2 | Error code correction (SRAM2, SRAM3, BKPSRAM) . . . . . | 255 |
| 6.3.3 | Write protection (SRAM2) . . . . . | 258 |
| 6.3.4 | Software erase . . . . . | 259 |
| 6.4 | RAMCFG low-power modes . . . . . | 259 |
| 6.5 | RAMCFG interrupts . . . . . | 259 |
| 6.6 | RAMCFG registers . . . . . | 260 |
| 6.6.1 | RAMCFG memory x control register (RAMCFG_MxCR) . . . . . | 260 |
| 6.6.2 | RAMCFG memory x interrupt enable register (RAMCFG_MxIER) . . . | 260 |
| 6.6.3 | RAMCFG memory interrupt status register (RAMCFG_MxISR) . . . . | 261 |
| 6.6.4 | RAMCFG memory x ECC single error address register (RAMCFG_MxSEAR) . . . . . | 262 |
| 6.6.5 | RAMCFG memory x ECC double error address register (RAMCFG_MxDEAR) ..... | 262 |
| 6.6.6 | RAMCFG memory x interrupt clear register x (RAMCFG_MxICR) ... | 262 |
| 6.6.7 | RAMCFG memory 2 write protection register 1 (RAMCFG_M2WPR1) ..... | 263 |
| 6.6.8 | RAMCFG memory 2 write protection register 2 (RAMCFG_M2WPR2) ..... | 263 |
| 6.6.9 | RAMCFG memory 2 write protection register 3 (RAMCFG_M2WPR3) ..... | 264 |
| 6.6.10 | RAMCFG memory x ECC key register (RAMCFG_MxECCKEYR) ... | 264 |
| 6.6.11 | RAMCFG memory x erase key register (RAMCFG_MxERKEYR) ... | 265 |
| 6.6.12 | RAMCFG register map ..... | 266 |
| 7 | Embedded flash memory (FLASH) ..... | 269 |
| 7.1 | FLASH introduction ..... | 269 |
| 7.2 | FLASH main features ..... | 269 |
| 7.3 | FLASH functional description ..... | 270 |
| 7.3.1 | FLASH block diagram ..... | 270 |
| 7.3.2 | FLASH signals ..... | 271 |
| 7.3.3 | Flash memory architecture and usage ..... | 272 |
| 7.3.4 | FLASH read operations ..... | 274 |
| 7.3.5 | FLASH program operations ..... | 276 |
| 7.3.6 | FLASH erase operations ..... | 279 |
| 7.3.7 | FLASH parallel operations ..... | 282 |
| 7.3.8 | FLASH error protections ..... | 283 |
| 7.3.9 | OTP and RO memory access ..... | 283 |
| 7.3.10 | Flash high-cycle data ..... | 285 |
| 7.3.11 | Flash bank swapping ..... | 287 |
| 7.3.12 | FLASH reset and clocks ..... | 291 |
| 7.4 | FLASH option bytes ..... | 292 |
| 7.4.1 | About option bytes ..... | 292 |
| 7.4.2 | Option bytes loading ..... | 292 |
| 7.4.3 | Option bytes modification ..... | 293 |
| 7.4.4 | Description of user and system option bytes ..... | 296 |
| 7.4.5 | Description of data protection option bytes ..... | 297 |
| 7.4.6 | Description of boot address option bytes ..... | 297 |
| 7.4.7 | Specific rules for modifying option bytes ..... | 298 |
| 7.5 | Option bytes key (OBK) management ..... | 300 |
| 7.5.1 | OBK loading . . . . . | 300 |
| 7.5.2 | OBK access per HDPL level . . . . . | 300 |
| 7.5.3 | OBK programming sequence . . . . . | 301 |
| 7.5.4 | OBK programming finite state machine . . . . . | 302 |
| 7.5.5 | OBK swap sector . . . . . | 303 |
| 7.5.6 | OBK alternate sector erase . . . . . | 305 |
| 7.6 | FLASH security and protections . . . . . | 305 |
| 7.6.1 | TrustZone security protection . . . . . | 306 |
| 7.6.2 | Hide protection (HDP) . . . . . | 308 |
| 7.6.3 | Block-based secure flash memory area protection . . . . . | 310 |
| 7.6.4 | Block-based privileged flash memory area protection . . . . . | 311 |
| 7.6.5 | Flash memory register privileged and unprivileged modes . . . . . | 312 |
| 7.6.6 | Flash memory banks attributes in case of bank swap . . . . . | 313 |
| 7.6.7 | Flash memory configuration protection . . . . . | 314 |
| 7.6.8 | Write protection . . . . . | 315 |
| 7.6.9 | Flash high-cycle data protections . . . . . | 315 |
| 7.6.10 | Life cycle management . . . . . | 317 |
| 7.6.11 | Product state transitions . . . . . | 318 |
| 7.6.12 | OBK protection . . . . . | 320 |
| 7.6.13 | One-time-programmable and read-only memory protections . . . . . | 321 |
| 7.7 | System memory . . . . . | 322 |
| 7.7.1 | Introduction . . . . . | 322 |
| 7.7.2 | RSS user functions . . . . . | 322 |
| 7.8 | FLASH low-power modes . . . . . | 329 |
| 7.9 | FLASH error management . . . . . | 330 |
| 7.9.1 | Introduction . . . . . | 330 |
| 7.9.2 | Nonsecure write protection error (WRPERR) . . . . . | 330 |
| 7.9.3 | Secure write protection error (WRPERR) . . . . . | 331 |
| 7.9.4 | Non secure programming sequence error (PGSERR) . . . . . | 332 |
| 7.9.5 | Secure programming sequence error (PGSERR) . . . . . | 333 |
| 7.9.6 | Nonsecure strobe error (STRBERR) . . . . . | 334 |
| 7.9.7 | Secure strobe error (STRBERR) . . . . . | 334 |
| 7.9.8 | Nonsecure inconsistency error (INCERR) . . . . . | 334 |
| 7.9.9 | Secure inconsistency error (INCERR) . . . . . | 335 |
| 7.9.10 | Error correction code error (ECCC, ECCD) . . . . . | 336 |
| 7.9.11 | Illegal access (ILAFM/ILAP) . . . . . | 337 |
| 7.9.12 | Option byte change error (OPTCHANGEERR) . . . . . | 337 |
| 7.9.13 | Miscellaneous HardFault errors ..... | 338 |
| 7.9.14 | OBK error cases (OBKERR, OBKWERR) ..... | 338 |
| 7.10 | FLASH interrupts ..... | 339 |
| 7.11 | FLASH registers ..... | 341 |
| 7.11.1 | FLASH access control register (FLASH_ACR) ..... | 341 |
| 7.11.2 | FLASH nonsecure key register (FLASH_NSKEYR) ..... | 342 |
| 7.11.3 | FLASH secure key register (FLASH_SECKEYR) ..... | 342 |
| 7.11.4 | FLASH option key register (FLASH_OPTKEYR) ..... | 343 |
| 7.11.5 | FLASH nonsecure OBK key register (FLASH_NSOBKKEYR) ..... | 343 |
| 7.11.6 | FLASH secure OBK key register (FLASH_SECOBKKEYR) ..... | 343 |
| 7.11.7 | FLASH operation status register (FLASH_OPSR) ..... | 344 |
| 7.11.8 | FLASH option control register (FLASH_OPTCR) ..... | 345 |
| 7.11.9 | FLASH nonsecure status register (FLASH_NSSR) ..... | 346 |
| 7.11.10 | FLASH secure status register (FLASH_SECSR) ..... | 348 |
| 7.11.11 | FLASH nonsecure control register (FLASH_NSCR) ..... | 350 |
| 7.11.12 | FLASH secure control register (FLASH_SECCR) ..... | 352 |
| 7.11.13 | FLASH nonsecure clear control register (FLASH_NSCCR) ..... | 355 |
| 7.11.14 | FLASH secure clear control register (FLASH_SECCCR) ..... | 356 |
| 7.11.15 | FLASH privilege configuration register (FLASH_PRIVCFGR) ..... | 357 |
| 7.11.16 | FLASH nonsecure OBK configuration register (FLASH_NSOBKCFGR) ..... | 357 |
| 7.11.17 | FLASH secure OBK configuration register (FLASH_SECOBKCFGR) ..... | 358 |
| 7.11.18 | FLASH HDP extension register (FLASH_HDPEXTR) ..... | 359 |
| 7.11.19 | FLASH option status register (FLASH_OPTSR_CUR) ..... | 360 |
| 7.11.20 | FLASH option status register (FLASH_OPTSR_PRG) ..... | 362 |
| 7.11.21 | FLASH nonsecure EPOCH register (FLASH_NSEPOCHR_CUR) ..... | 363 |
| 7.11.22 | FLASH secure EPOCH register (FLASH_SECEPOCHR_CUR) ..... | 364 |
| 7.11.23 | FLASH option status register 2 (FLASH_OPTSR2_CUR) ..... | 364 |
| 7.11.24 | FLASH option status register 2 (FLASH_OPTSR2_PRG) ..... | 365 |
| 7.11.25 | FLASH nonsecure boot register (FLASH_NSBOOTR_CUR) ..... | 367 |
| 7.11.26 | FLASH nonsecure boot register (FLASH_NSBOOTR_PRG) ..... | 367 |
| 7.11.27 | FLASH secure boot register (FLASH_SECBOTR_CUR) ..... | 368 |
| 7.11.28 | FLASH secure boot register (FLASH_BOOTR_PRG) ..... | 368 |
| 7.11.29 | FLASH nonsecure OTP block lock (FLASH_OTPBLR_CUR) ..... | 369 |
| 7.11.30 | FLASH nonsecure OTP block lock (FLASH_OTPBLR_PRG) ..... | 369 |
| 7.11.31 | FLASH secure block based register for Bank1 (FLASH_SECBB1Rx) ..... | 370 |
| 7.11.32 | FLASH privilege block based register for Bank1 (FLASH_PRIVBB1Rx) ..... | 370 |
| 7.11.33 | FLASH security watermark for Bank1 (FLASH_SECWM1R_CUR) .. | 371 |
| 7.11.34 | FLASH security watermark for Bank1 (FLASH_SECWM1R_PRG) .. | 371 |
| 7.11.35 | FLASH write sector group protection for Bank1 (FLASH_WRP1R_CUR) ..... | 372 |
| 7.11.36 | FLASH write sector group protection for Bank1 (FLASH_WRP1R_PRG) ..... | 373 |
| 7.11.37 | FLASH data sector configuration Bank1 (FLASH_EDATA1R_CUR) .. | 373 |
| 7.11.38 | FLASH data sector configuration Bank1 (FLASH_EDATA1R_PRG) .. | 374 |
| 7.11.39 | FLASH HDP Bank1 configuration (FLASH_HDP1R_CUR) ..... | 375 |
| 7.11.40 | FLASH HDP Bank1 configuration (FLASH_HDP1R_PRG) ..... | 375 |
| 7.11.41 | FLASH ECC correction register (FLASH_ECCCORR) ..... | 376 |
| 7.11.42 | FLASH ECC detection register (FLASH_ECCDETR) ..... | 377 |
| 7.11.43 | FLASH ECC data (FLASH_ECCDR) ..... | 378 |
| 7.11.44 | FLASH secure block-based register for Bank2 (FLASH_SECBB2Rx) | 378 |
| 7.11.45 | FLASH privilege block-based register for Bank2 (FLASH_PRIVBB2Rx) ..... | 379 |
| 7.11.46 | FLASH security watermark for Bank2 (FLASH_SECWM2R_CUR) .. | 379 |
| 7.11.47 | FLASH security watermark for Bank2 (FLASH_SECWM2R_PRG) .. | 380 |
| 7.11.48 | FLASH write sector group protection for Bank2 (FLASH_WRP2R_CUR) ..... | 380 |
| 7.11.49 | FLASH write sector group protection for Bank2 (FLASH_WRP2R_PRG) ..... | 381 |
| 7.11.50 | FLASH data sectors configuration Bank2 (FLASH_EDATA2R_CUR) .. | 382 |
| 7.11.51 | FLASH data sector configuration Bank2 (FLASH_EDATA2R_PRG) .. | 382 |
| 7.11.52 | FLASH HDP Bank2 configuration (FLASH_HDP2R_CUR) ..... | 383 |
| 7.11.53 | FLASH HDP Bank2 configuration (FLASH_HDP2R_PRG) ..... | 383 |
| 7.12 | FLASH register map and reset values ..... | 385 |
| 8 | Instruction cache (ICACHE) ..... | 390 |
| 8.1 | ICACHE introduction ..... | 390 |
| 8.2 | ICACHE main features ..... | 390 |
| 8.3 | ICACHE implementation ..... | 391 |
| 8.4 | ICACHE functional description ..... | 391 |
| 8.4.1 | ICACHE block diagram ..... | 392 |
| 8.4.2 | ICACHE reset and clocks ..... | 392 |
| 8.4.3 | ICACHE TAG memory ..... | 393 |
| 8.4.4 | Direct-mapped ICACHE (1-way cache) ..... | 394 |
| 8.4.5 | ICACHE enable ..... | 395 |
| 8.4.6 | Cacheable and noncacheable traffic ..... | 395 |
| 8.4.7 | Address remapping ..... | 396 |
| 8.4.8 | Cacheable accesses ..... | 398 |
| 8.4.9 | Dual-master cache ..... | 399 |
| 8.4.10 | ICACHE security ..... | 399 |
| 8.4.11 | ICACHE maintenance ..... | 399 |
| 8.4.12 | ICACHE performance monitoring ..... | 400 |
| 8.4.13 | ICACHE boot ..... | 400 |
| 8.5 | ICACHE low-power modes ..... | 400 |
| 8.6 | ICACHE error management and interrupts ..... | 401 |
| 8.7 | ICACHE registers ..... | 401 |
| 8.7.1 | ICACHE control register (ICACHE_CR) ..... | 401 |
| 8.7.2 | ICACHE status register (ICACHE_SR) ..... | 402 |
| 8.7.3 | ICACHE interrupt enable register (ICACHE_IER) ..... | 403 |
| 8.7.4 | ICACHE flag clear register (ICACHE_FCR) ..... | 403 |
| 8.7.5 | ICACHE hit monitor register (ICACHE_HMONR) ..... | 404 |
| 8.7.6 | ICACHE miss monitor register (ICACHE_MMONR) ..... | 404 |
| 8.7.7 | ICACHE region x configuration register (ICACHE_CRRx) ..... | 404 |
| 8.7.8 | ICACHE register map ..... | 405 |
| 9 | Data cache (DCACHE) ..... | 407 |
| 9.1 | DCACHE introduction ..... | 407 |
| 9.2 | DCACHE main features ..... | 407 |
| 9.3 | DCACHE implementation ..... | 408 |
| 9.4 | DCACHE functional description ..... | 408 |
| 9.4.1 | DCACHE block diagram ..... | 409 |
| 9.4.2 | DCACHE reset and clocks ..... | 409 |
| 9.4.3 | DCACHE TAG memory ..... | 410 |
| 9.4.4 | DCACHE enable ..... | 412 |
| 9.4.5 | Cacheable and noncacheable traffic ..... | 412 |
| 9.4.6 | Cacheable accesses ..... | 413 |
| 9.4.7 | DCACHE security ..... | 415 |
| 9.4.8 | DCACHE maintenance ..... | 415 |
| 9.4.9 | DCACHE performance monitoring ..... | 417 |
| 9.4.10 | DCACHE boot | 417 |
| 9.5 | DCACHE low-power modes | 418 |
| 9.6 | DCACHE error management and interrupts | 418 |
| 9.7 | DCACHE registers | 419 |
| 9.7.1 | DCACHE control register (DCACHE_CR) | 419 |
| 9.7.2 | DCACHE status register (DCACHE_SR) | 420 |
| 9.7.3 | DCACHE interrupt enable register (DCACHE_IER) | 421 |
| 9.7.4 | DCACHE flag clear register (DCACHE_FCR) | 422 |
| 9.7.5 | DCACHE read-hit monitor register (DCACHE_RHMONR) | 422 |
| 9.7.6 | DCACHE read-miss monitor register (DCACHE_RMMONR) | 423 |
| 9.7.7 | DCACHE write-hit monitor register (DCACHE_WHMONR) | 423 |
| 9.7.8 | DCACHE write-miss monitor register (DCACHE_WMMONR) | 423 |
| 9.7.9 | DCACHE command range start address register (DCACHE_CMDRSADDRR) | 424 |
| 9.7.10 | DCACHE command range end address register (DCACHE_CMDREADDRR) | 424 |
| 9.7.11 | DCACHE register map | 424 |
| 10 | Power control (PWR) | 426 |
| 10.1 | PWR introduction | 426 |
| 10.2 | PWR main features | 426 |
| 10.3 | PWR pins and internal signals | 427 |
| 10.4 | PWR power supplies and supply domains | 428 |
| 10.4.1 | External power supplies | 430 |
| 10.4.2 | Internal regulators | 431 |
| 10.4.3 | Power-up and power-down power sequences | 433 |
| 10.4.4 | Independent analog peripherals supply | 433 |
| 10.4.5 | Independent I/O supply rail | 434 |
| 10.4.6 | Independent USB transceivers supply | 434 |
| 10.4.7 | Backup domain | 435 |
| 10.5 | PWR system supply voltage regulation | 436 |
| 10.5.1 | SMPS and LDO embedded regulators | 436 |
| 10.5.2 | VCORE supply versus reset, voltage scaling, and low-power modes | 437 |
| 10.5.3 | Embedded voltage regulator operating modes | 437 |
| 10.6 | PWR power supply and temperature supervision | 437 |
| 10.6.1 | Power-on reset (POR)/power-down reset (PDR) | 438 |
| 10.6.2 | Brownout reset (BOR) | 438 |
| 10.6.3 | Programmable voltage detector (PVD) ..... | 439 |
| 10.6.4 | Analog voltage detector (AVD) ..... | 440 |
| 10.6.5 | VDDIO2 voltage monitor (IO2VM) ..... | 441 |
| 10.6.6 | Backup domain voltage monitoring ..... | 441 |
| 10.6.7 | Temperature monitoring ..... | 442 |
| 10.7 | PWR management ..... | 443 |
| 10.7.1 | Voltage scaling ..... | 443 |
| 10.7.2 | Power management examples ..... | 444 |
| 10.8 | Power modes ..... | 445 |
| 10.8.1 | Slowing down system clocks ..... | 449 |
| 10.8.2 | Peripheral clock gating ..... | 449 |
| 10.8.3 | Low-power modes ..... | 449 |
| 10.8.4 | Sleep mode ..... | 450 |
| 10.8.5 | Stop mode ..... | 451 |
| 10.8.6 | Standby mode ..... | 453 |
| 10.8.7 | Power modes output pins ..... | 456 |
| 10.9 | PWR security and privileged protection ..... | 457 |
| 10.9.1 | PWR security protection ..... | 457 |
| 10.9.2 | PWR privileged protection ..... | 458 |
| 10.10 | PWR interrupts ..... | 459 |
| 10.11 | PWR registers ..... | 460 |
| 10.11.1 | PWR power mode control register (PWR_PMCR) ..... | 460 |
| 10.11.2 | PWR power mode control register [alternate] (PWR_PMCR) ..... | 462 |
| 10.11.3 | PWR power mode control register [alternate] (PWR_PMCR) ..... | 464 |
| 10.11.4 | PWR status register (PWR_PMSR) ..... | 466 |
| 10.11.5 | PWR voltage scaling control register (PWR_VOSCR) ..... | 466 |
| 10.11.6 | PWR voltage scaling status register (PWR_VOSSR) ..... | 467 |
| 10.11.7 | PWR Backup domain control register (PWR_BDCR) ..... | 468 |
| 10.11.8 | PWR Backup domain control register (PWR_DBPCR) ..... | 469 |
| 10.11.9 | PWR Backup domain status register (PWR_BDSR) ..... | 469 |
| 10.11.10 | PWR USB Type-C power delivery register (PWR_UCPDR) ..... | 470 |
| 10.11.11 | PWR supply configuration control register (PWR_SCCR) ..... | 470 |
| 10.11.12 | PWR voltage monitor control register (PWR_VMCR) ..... | 471 |
| 10.11.13 | PWR USB supply control register (PWR_USBSCR) ..... | 472 |
| 10.11.14 | PWR voltage monitor status register (PWR_VMSR) ..... | 473 |
| 10.11.15 | PWR wake-up status clear register (PWR_WUSCR) ..... | 474 |
| 10.11.16 | PWR wake-up status register (PWR_WUSR) ..... | 474 |
| 10.11.17 | PWR wake-up configuration register (PWR_WUCR) ..... | 475 |
| 10.11.18 | PWR I/O retention register (PWR_IORETR) ..... | 475 |
| 10.11.19 | PWR security configuration register (PWR_SECCFGR) ..... | 476 |
| 10.11.20 | PWR privilege configuration register (PWR_PRIVCFGR) ..... | 477 |
| 10.11.21 | PWR register map ..... | 478 |
| 11 | Reset and clock control (RCC) ..... | 480 |
| 11.1 | RCC introduction ..... | 480 |
| 11.2 | RCC pins and internal signals ..... | 480 |
| 11.3 | RCC reset functional description ..... | 480 |
| 11.3.1 | Power reset ..... | 480 |
| 11.3.2 | System reset ..... | 481 |
| 11.3.3 | Backup domain reset ..... | 482 |
| 11.3.4 | Reset source identification ..... | 482 |
| 11.4 | RCC clocks functional description ..... | 483 |
| 11.4.1 | HSE clock ..... | 486 |
| 11.4.2 | HSI clock ..... | 487 |
| 11.4.3 | CSI oscillator ..... | 488 |
| 11.4.4 | HSI48 clock ..... | 489 |
| 11.4.5 | PLL description ..... | 489 |
| 11.4.6 | LSE clock ..... | 493 |
| 11.4.7 | LSI clock ..... | 494 |
| 11.4.8 | System clock (SYSCLK) selection ..... | 494 |
| 11.4.9 | Handling clock generators in stop and standby modes ..... | 495 |
| 11.4.10 | Clock security system (CSS) ..... | 496 |
| 11.4.11 | Clock output generation (MCO1/MCO2) ..... | 497 |
| 11.4.12 | Kernel clock selection ..... | 498 |
| 11.4.13 | RTC and TAMP clock ..... | 503 |
| 11.4.14 | Timer clock ..... | 503 |
| 11.4.15 | Watchdog clock ..... | 504 |
| 11.4.16 | Peripherals clock gating and autonomous mode ..... | 504 |
| 11.5 | RCC security and privilege functional description ..... | 504 |
| 11.5.1 | RCC TrustZone security protection modes ..... | 504 |
| 11.5.2 | RCC privilege protection modes ..... | 507 |
| 11.6 | RCC low-power modes ..... | 508 |
| 11.7 | RCC interrupts | 509 |
| 11.8 | RCC registers | 511 |
| 11.8.1 | RCC clock control register (RCC_CR) | 511 |
| 11.8.2 | RCC HSI calibration register (RCC_HSICFGR) | 514 |
| 11.8.3 | RCC clock recovery RC register (RCC_CRRCR) | 515 |
| 11.8.4 | RCC CSI calibration register (RCC_CSICFGR) | 515 |
| 11.8.5 | RCC clock configuration register1 (RCC_CFGR1) | 516 |
| 11.8.6 | RCC CPU domain clock configuration register 2 (RCC_CFGR2) | 518 |
| 11.8.7 | RCC PLL clock source selection register (RCC_PLL1CFGR) | 521 |
| 11.8.8 | RCC PLL clock source selection register (RCC_PLL2CFGR) | 523 |
| 11.8.9 | RCC PLL clock source selection register (RCC_PLL3CFGR) | 524 |
| 11.8.10 | RCC PLL1 dividers register (RCC_PLL1DIVR) | 526 |
| 11.8.11 | RCC PLL1 fractional divider register (RCC_PLL1FRACR) | 527 |
| 11.8.12 | RCC PLL2 dividers register (RCC_PLL2DIVR) | 528 |
| 11.8.13 | RCC PLL2 fractional divider register (RCC_PLL2FRACR) | 529 |
| 11.8.14 | RCC PLL3 dividers register (RCC_PLL3DIVR) | 530 |
| 11.8.15 | RCC PLL3 fractional divider register (RCC_PLL3FRACR) | 531 |
| 11.8.16 | RCC clock source interrupt enable register (RCC_CIER) | 532 |
| 11.8.17 | RCC clock source interrupt flag register (RCC_CIFR) | 533 |
| 11.8.18 | RCC clock source interrupt clear register (RCC_CICR) | 535 |
| 11.8.19 | RCC AHB1 reset register (RCC_AHB1RSTR) | 536 |
| 11.8.20 | RCC AHB2 peripheral reset register (RCC_AHB2RSTR) | 537 |
| 11.8.21 | RCC AHB4 peripheral reset register (RCC_AHB4RSTR) | 540 |
| 11.8.22 | RCC APB1 peripheral low reset register (RCC_APB1LRSTR) | 541 |
| 11.8.23 | RCC APB1 peripheral high reset register (RCC_APB1HRSTR) | 544 |
| 11.8.24 | RCC APB2 peripheral reset register (RCC_APB2RSTR) | 545 |
| 11.8.25 | RCC APB3 peripheral reset register (RCC_APB3RSTR) | 547 |
| 11.8.26 | RCC AHB1 peripherals clock register (RCC_AHB1ENR) | 549 |
| 11.8.27 | RCC AHB2 peripheral clock register (RCC_AHB2ENR) | 551 |
| 11.8.28 | RCC AHB4 peripheral clock register (RCC_AHB4ENR) | 554 |
| 11.8.29 | RCC APB1 peripheral clock register (RCC_APB1LENR) | 555 |
| 11.8.30 | RCC APB1 peripheral clock register (RCC_APB1HENR) | 558 |
| 11.8.31 | RCC APB2 peripheral clock register (RCC_APB2ENR) | 559 |
| 11.8.32 | RCC APB3 peripheral clock register (RCC_APB3ENR) | 561 |
| 11.8.33 | RCC AHB1 sleep clock register (RCC_AHB1LPENR) | 563 |
| 11.8.34 | RCC AHB2 sleep clock register (RCC_AHB2LPENR) | 565 |
| 11.8.35 | RCC AHB4 sleep clock register (RCC_AHB4LPENR) | 568 |
| 11.8.36 | RCC APB1 sleep clock register (RCC_APB1LLPENR) . . . . . | 569 |
| 11.8.37 | RCC APB1 sleep clock register (RCC_APB1HLPENR) . . . . . | 573 |
| 11.8.38 | RCC APB2 sleep clock register (RCC_APB2LPENR) . . . . . | 574 |
| 11.8.39 | RCC APB3 sleep clock register (RCC_APB3LPENR) . . . . . | 576 |
| 11.8.40 | RCC kernel clock configuration register (RCC_CCIPR1) . . . . . | 578 |
| 11.8.41 | RCC kernel clock configuration register (RCC_CCIPR2) . . . . . | 581 |
| 11.8.42 | RCC kernel clock configuration register (RCC_CCIPR3) . . . . . | 583 |
| 11.8.43 | RCC kernel clock configuration register (RCC_CCIPR4) . . . . . | 586 |
| 11.8.44 | RCC kernel clock configuration register (RCC_CCIPR5) . . . . . | 588 |
| 11.8.45 | RCC Backup domain control register (RCC_BDCR) . . . . . | 590 |
| 11.8.46 | RCC reset status register (RCC_RSR) . . . . . | 592 |
| 11.8.47 | RCC secure configuration register (RCC_SECCFGR) . . . . . | 593 |
| 11.8.48 | RCC privilege configuration register (RCC_PRIVCFGR) . . . . . | 595 |
| 11.9 | RCC register map . . . . . | 597 |
| 12 | Clock recovery system (CRS) . . . . . | 603 |
| 12.1 | CRS introduction . . . . . | 603 |
| 12.2 | CRS main features . . . . . | 603 |
| 12.3 | CRS implementation . . . . . | 603 |
| 12.4 | CRS functional description . . . . . | 604 |
| 12.4.1 | CRS block diagram . . . . . | 604 |
| 12.4.2 | CRS internal signals . . . . . | 604 |
| 12.4.3 | Synchronization input . . . . . | 605 |
| 12.4.4 | Frequency error measurement . . . . . | 605 |
| 12.4.5 | Frequency error evaluation and automatic trimming . . . . . | 606 |
| 12.4.6 | CRS initialization and configuration . . . . . | 607 |
| 12.5 | CRS in low-power modes . . . . . | 608 |
| 12.6 | CRS interrupts . . . . . | 608 |
| 12.7 | CRS registers . . . . . | 608 |
| 12.7.1 | CRS control register (CRS_CR) . . . . . | 608 |
| 12.7.2 | CRS configuration register (CRS_CFGR) . . . . . | 610 |
| 12.7.3 | CRS interrupt and status register (CRS_ISR) . . . . . | 611 |
| 12.7.4 | CRS interrupt flag clear register (CRS_ICR) . . . . . | 613 |
| 12.7.5 | CRS register map . . . . . | 613 |
| 13 | General-purpose I/Os (GPIO) . . . . . | 615 |
| 13.1 | GPIO introduction . . . . . | 615 |
| 13.2 | GPIO main features . . . . . | 615 |
| 13.3 | GPIO functional description . . . . . | 615 |
| 13.3.1 | General-purpose I/O (GPIO) . . . . . | 617 |
| 13.3.2 | I/O pin alternate function multiplexer and mapping . . . . . | 618 |
| 13.3.3 | I/O port control registers . . . . . | 619 |
| 13.3.4 | I/O data bitwise handling . . . . . | 619 |
| 13.3.5 | GPIO locking mechanism . . . . . | 619 |
| 13.3.6 | I/O alternate function input/output . . . . . | 620 |
| 13.3.7 | External interrupt/wake-up lines . . . . . | 620 |
| 13.3.8 | Input configuration . . . . . | 620 |
| 13.3.9 | Output configuration . . . . . | 621 |
| 13.3.10 | Alternate function configuration . . . . . | 621 |
| 13.3.11 | Analog configuration . . . . . | 622 |
| 13.3.12 | Using the HSE or LSE oscillator pins as GPIOs . . . . . | 622 |
| 13.3.13 | Using the GPIO pins in the RTC supply domain . . . . . | 623 |
| 13.3.14 | I/Os state retention during standby mode . . . . . | 623 |
| 13.3.15 | TrustZone security . . . . . | 623 |
| 13.3.16 | Privileged and unprivileged modes . . . . . | 624 |
| 13.3.17 | High-speed low-voltage mode (HSLV) . . . . . | 624 |
| 13.3.18 | I/O compensation cell . . . . . | 625 |
| 13.4 | GPIO registers . . . . . | 626 |
| 13.4.1 | GPIO port mode register (GPIOx_MODER) (x = A to I) . . . . . | 626 |
| 13.4.2 | GPIO port output type register (GPIOx_OTYPER) (x = A to I) . . . . . | 626 |
| 13.4.3 | GPIO port output speed register (GPIOx_OSPEEDR) (x = A to I) . . . . . | 627 |
| 13.4.4 | GPIO port pull-up/pull-down register (GPIOx_PUPDR) (x = A to I) . . . . . | 627 |
| 13.4.5 | GPIO port input data register (GPIOx_IDR) (x = A to I) . . . . . | 628 |
| 13.4.6 | GPIO port output data register (GPIOx_ODR) (x = A to I) . . . . . | 628 |
| 13.4.7 | GPIO port bit set/reset register (GPIOx_BSRR) (x = A to I) . . . . . | 629 |
| 13.4.8 | GPIO port configuration lock register (GPIOx_LCKR) (x = A to I) . . . . . | 629 |
| 13.4.9 | GPIO alternate function low register (GPIOx_AFRL) (x = A to I) . . . . . | 630 |
| 13.4.10 | GPIO alternate function high register (GPIOx_AFRH) (x = A to H) . . . . . | 631 |
| 13.4.11 | GPIO port bit reset register (GPIOx_BRR) (x = A to I) . . . . . | 632 |
| 13.4.12 | GPIO high-speed low-voltage register (GPIOx_HSLVR) (x = A to I) . . . . . | 632 |
| 13.4.13 | GPIO secure configuration register (GPIOx_SECCFGR) (x = A to I) . . . . . | 633 |
| 13.4.14 | GPIO register map . . . . . | 634 |
| 14 | System configuration, boot, and security (SBS) | 636 |
| 14.1 | SBS introduction | 636 |
| 14.2 | SBS main features | 636 |
| 14.3 | SBS functional description | 637 |
| 14.3.1 | SBS block diagram | 637 |
| 14.3.2 | SBS signals | 638 |
| 14.3.3 | SBS reset and clocks | 638 |
| 14.3.4 | SBS system configuration | 639 |
| 14.3.5 | SBS boot control | 640 |
| 14.3.6 | SBS debug control | 643 |
| 14.3.7 | SBS hardware secure storage control | 645 |
| 14.4 | SBS interrupts | 647 |
| 14.5 | SBS registers | 647 |
| 14.5.1 | SBS temporal isolation control register (SBS_HDPLCR) | 647 |
| 14.5.2 | SBS temporal isolation status register (SBS_HDPLSR) | 647 |
| 14.5.3 | SBS next HDPL control register (SBS_NEXTHDPLCR) | 648 |
| 14.5.4 | SBS debug control register (SBS_DBGCR) | 648 |
| 14.5.5 | SBS debug lock register (SBS_DBGLOCKR) | 649 |
| 14.5.6 | SBS RSS command register (SBS_RSSCMDR) | 650 |
| 14.5.7 | SBS EPOCH selection control register (SBS_EPOCHSELCR) | 650 |
| 14.5.8 | SBS security mode configuration control register (SBS_SECCFGR) | 651 |
| 14.5.9 | SBS product mode and configuration register (SBS_PMCR) | 651 |
| 14.5.10 | SBS product mode and configuration register [alternate] (SBS_PMCR) | 653 |
| 14.5.11 | SBS FPU interrupt mask register (SBS_FPUIMR) | 654 |
| 14.5.12 | SBS memory erase status register (SBS_MESR) | 655 |
| 14.5.13 | SBS compensation cell for I/Os control and status register (SBS_CCCSR) | 656 |
| 14.5.14 | SBS compensation cell for I/Os value register (SBS_CCVALR) | 657 |
| 14.5.15 | SBS compensation cell for I/Os software code register (SBS_CCWCR) | 657 |
| 14.5.16 | SBS Class B register (SBS_CFGR2) | 658 |
| 14.5.17 | SBS CPU nonsecure lock register (SBS_CNSLCKR) | 659 |
| 14.5.18 | SBS CPU secure lock register (SBS_CSLCKR) | 660 |
| 14.5.19 | SBS flitf ECC NMI mask register (SBS_ECCNMIR) | 661 |
| 14.5.20 | SBS register map | 662 |
| 15 | Peripherals interconnect matrix | 664 |
| 15.1 | Interconnect matrix introduction | 664 |
| 15.2 | Connection summary | 664 |
| 15.3 | Interconnection details | 666 |
| 15.3.1 | Master to slave interconnection for timers | 666 |
| 15.3.2 | Triggers to ADCs | 666 |
| 15.3.3 | ADC analog watchdogs as triggers to timers and PLAY | 667 |
| 15.3.4 | Triggers to DAC | 668 |
| 15.3.5 | Clock sources to timers | 668 |
| 15.3.6 | Triggers to low-power timers | 669 |
| 15.3.7 | RTC wake-up as inputs to timers | 670 |
| 15.3.8 | System errors as break signals to timers | 670 |
| 15.3.9 | Triggers for communication peripherals | 671 |
| 15.3.10 | Triggers to GPDMA1/2 | 671 |
| 15.3.11 | Internal analog signals to analog peripherals | 672 |
| 15.3.12 | Clock source for the DAC sample and hold mode | 672 |
| 15.3.13 | Internal tamper sources | 672 |
| 15.3.14 | Output from tamper to RTC | 672 |
| 15.3.15 | Encryption keys to AES/SAES | 673 |
| 15.3.16 | Comparators as inputs, trigger, or break signals to timers1 | 673 |
| 15.3.17 | Blanking sources to comparators | 674 |
| 15.3.18 | Play as input to timers | 675 |
| 15.3.19 | Clock source to PLAY | 675 |
| 15.3.20 | Inputs to PLAY | 675 |
| 15.3.21 | Triggers to DTS | 676 |
| 16 | General purpose direct memory access controller (GPDMA) | 677 |
| 16.1 | GPDMA introduction | 677 |
| 16.2 | GPDMA main features | 677 |
| 16.3 | GPDMA implementation | 678 |
| 16.3.1 | GPDMA instances | 678 |
| 16.3.2 | GPDMA channels | 678 |
| 16.3.3 | GPDMA in low-power modes | 679 |
| 16.3.4 | GPDMA requests | 679 |
| 16.3.5 | GPDMA block requests | 684 |
| 16.3.6 | GPDMA channels with peripheral early termination | 684 |
| 16.3.7 | GPDMA triggers ..... | 685 |
| 16.4 | GPDMA functional description ..... | 687 |
| 16.4.1 | GPDMA block diagram ..... | 687 |
| 16.4.2 | GPDMA channel state and direct programming without any linked-list ..... | 688 |
| 16.4.3 | GPDMA channel suspend and resume ..... | 689 |
| 16.4.4 | GPDMA channel abort and restart ..... | 690 |
| 16.4.5 | GPDMA linked-list data structure ..... | 691 |
| 16.4.6 | Linked-list item transfer execution ..... | 694 |
| 16.4.7 | GPDMA channel state and linked-list programming in run-to-completion mode ..... | 694 |
| 16.4.8 | GPDMA channel state and linked-list programming in link step mode ..... | 698 |
| 16.4.9 | GPDMA channel state and linked-list programming ..... | 705 |
| 16.4.10 | GPDMA FIFO-based transfers ..... | 707 |
| 16.4.11 | GPDMA transfer request and arbitration ..... | 714 |
| 16.4.12 | GPDMA triggered transfer ..... | 718 |
| 16.4.13 | GPDMA circular buffering with linked-list programming ..... | 719 |
| 16.4.14 | GPDMA transfer in peripheral flow-control mode ..... | 721 |
| 16.4.15 | GPDMA secure/nonsecure channel ..... | 722 |
| 16.4.16 | GPDMA privileged/unprivileged channel ..... | 723 |
| 16.4.17 | GPDMA error management ..... | 723 |
| 16.5 | GPDMA in debug mode ..... | 725 |
| 16.6 | GPDMA in low-power modes ..... | 725 |
| 16.7 | GPDMA interrupts ..... | 726 |
| 16.8 | GPDMA registers ..... | 727 |
| 16.8.1 | GPDMA secure configuration register (GPDMA_SECCFGR) ..... | 727 |
| 16.8.2 | GPDMA privileged configuration register (GPDMA_PRIVCFGR) .... | 728 |
| 16.8.3 | GPDMA configuration lock register (GPDMA_RCFGLOCKR) ..... | 728 |
| 16.8.4 | GPDMA nonsecure masked interrupt status register (GPDMA_MISR) ..... | 729 |
| 16.8.5 | GPDMA secure masked interrupt status register (GPDMA_SMISR) .. | 730 |
| 16.8.6 | GPDMA channel x linked-list base address register (GPDMA_CxLBAR) ..... | 730 |
| 16.8.7 | GPDMA channel x flag clear register (GPDMA_CxFCR) ..... | 731 |
| 16.8.8 | GPDMA channel x status register (GPDMA_CxSR) ..... | 732 |
| 16.8.9 | GPDMA channel x control register (GPDMA_CxCR) ..... | 733 |
| 16.8.10 | GPDMA channel x transfer register 1 (GPDMA_CxTR1) ..... | 735 |
| 16.8.11 | GPDMA channel x transfer register 2 (GPDMA_CxTR2) . . . . . | 739 |
| 16.8.12 | GPDMA channel x block register 1 (GPDMA_CxBR1) . . . . . | 743 |
| 16.8.13 | GPDMA channel x alternate block register 1 (GPDMA_CxBR1) . . . . . | 744 |
| 16.8.14 | GPDMA channel x source address register (GPDMA_CxSAR) . . . . . | 747 |
| 16.8.15 | GPDMA channel x destination address register (GPDMA_CxDAR) . . . . . | 749 |
| 16.8.16 | GPDMA channel x transfer register 3 (GPDMA_CxTR3) . . . . . | 750 |
| 16.8.17 | GPDMA channel x block register 2 (GPDMA_CxBR2) . . . . . | 751 |
| 16.8.18 | GPDMA channel x linked-list address register (GPDMA_CxLLR) . . . . . | 752 |
| 16.8.19 | GPDMA channel x alternate linked-list address register (GPDMA_CxLLR) . . . . . | 754 |
| 16.8.20 | GPDMA register map . . . . . | 755 |
| 17 | Nested vectored interrupt controller (NVIC) . . . . . | 758 |
| 17.1 | NVIC main features . . . . . | 758 |
| 17.2 | SysTick calibration value register . . . . . | 758 |
| 17.3 | Interrupt and exception vectors . . . . . | 759 |
| 18 | Extended interrupts and event controller (EXTI) . . . . . | 775 |
| 18.1 | EXTI introduction . . . . . | 775 |
| 18.2 | EXTI main features . . . . . | 775 |
| 18.3 | EXTI block diagram . . . . . | 776 |
| 18.3.1 | EXTI connections between peripherals and CPU . . . . . | 777 |
| 18.3.2 | EXTI interrupt/event mapping . . . . . | 777 |
| 18.4 | EXTI functional description . . . . . | 779 |
| 18.4.1 | EXTI configurable event input wake-up . . . . . | 780 |
| 18.4.2 | EXTI direct event input wake-up . . . . . | 780 |
| 18.4.3 | EXTI mux selection . . . . . | 781 |
| 18.5 | EXTI functional behavior . . . . . | 781 |
| 18.6 | EXTI event protection . . . . . | 782 |
| 18.6.1 | EXTI security protection . . . . . | 783 |
| 18.6.2 | EXTI privilege protection . . . . . | 783 |
| 18.7 | EXTI registers . . . . . | 784 |
| 18.7.1 | EXTI rising trigger selection register (EXTI_RTSR1) . . . . . | 784 |
| 18.7.2 | EXTI falling trigger selection register (EXTI_FTSR1) . . . . . | 784 |
| 18.7.3 | EXTI software interrupt event register (EXTI_SWIER1) . . . . . | 785 |
| 18.7.4 | EXTI rising edge pending register (EXTI_RPR1) . . . . . | 786 |
| 18.7.5 | EXTI falling edge pending register (EXTI_FPR1) . . . . . | 786 |
| 18.7.6 | EXTI security configuration register (EXTI_SECCFGR1) . . . . . | 787 |
| 18.7.7 | EXTI privilege configuration register (EXTI_PRIVCFGR1) . . . . . | 788 |
| 18.7.8 | EXTI rising trigger selection register 2 (EXTI_RTSR2) . . . . . | 788 |
| 18.7.9 | EXTI falling trigger selection register 2 (EXTI_FTSR2) . . . . . | 790 |
| 18.7.10 | EXTI software interrupt event register 2 (EXTI_SWIER2) . . . . . | 792 |
| 18.7.11 | EXTI rising edge pending register 2 (EXTI_RPR2) . . . . . | 795 |
| 18.7.12 | EXTI falling edge pending register 2 (EXTI_FPR2) . . . . . | 797 |
| 18.7.13 | EXTI security configuration register 2 (EXTI_SECCFGR2) . . . . . | 799 |
| 18.7.14 | EXTI privilege configuration register 2 (EXTI_PRIVCFGR2) . . . . . | 800 |
| 18.7.15 | EXTI rising trigger selection register 3 (EXTI_RTSR3) . . . . . | 801 |
| 18.7.16 | EXTI falling trigger selection register 3 (EXTI_FTSR3) . . . . . | 802 |
| 18.7.17 | EXTI software interrupt event register 3 (EXTI_SWIER3) . . . . . | 803 |
| 18.7.18 | EXTI rising edge pending register 3 (EXTI_RPR3) . . . . . | 804 |
| 18.7.19 | EXTI falling edge pending register 3 (EXTI_FPR3) . . . . . | 805 |
| 18.7.20 | EXTI security configuration register 3 (EXTI_SECCFGR3) . . . . . | 806 |
| 18.7.21 | EXTI privilege configuration register 3 (EXTI_PRIVCFGR3) . . . . . | 806 |
| 18.7.22 | EXTI external interrupt selection register (EXTI_EXTICR1) . . . . . | 807 |
| 18.7.23 | EXTI external interrupt selection register (EXTI_EXTICR2) . . . . . | 809 |
| 18.7.24 | EXTI external interrupt selection register (EXTI_EXTICR3) . . . . . | 811 |
| 18.7.25 | EXTI external interrupt selection register (EXTI_EXTICR4) . . . . . | 813 |
| 18.7.26 | EXTI lock register (EXTI_LOCKR) . . . . . | 815 |
| 18.7.27 | EXTI CPU wake-up with interrupt mask register (EXTI_IMR1) . . . . . | 816 |
| 18.7.28 | EXTI CPU wake-up with event mask register (EXTI_EMR1) . . . . . | 816 |
| 18.7.29 | EXTI CPU wake-up with interrupt mask register 2 (EXTI_IMR2) . . . . . | 817 |
| 18.7.30 | EXTI CPU wake-up with event mask register 2 (EXTI_EMR2) . . . . . | 818 |
| 18.7.31 | EXTI CPU wake-up with interrupt mask register 3 (EXTI_IMR3) . . . . . | 820 |
| 18.7.32 | EXTI CPU wake-up with event mask register 3 (EXTI_EMR3) . . . . . | 821 |
| 18.7.33 | EXTI register map . . . . . | 822 |
| 19 | Cyclic redundancy check calculation unit (CRC) . . . . . | 825 |
| 19.1 | CRC introduction . . . . . | 825 |
| 19.2 | CRC main features . . . . . | 825 |
| 19.3 | CRC implementation . . . . . | 825 |
| 19.4 | CRC functional description . . . . . | 826 |
| 19.4.1 | CRC block diagram . . . . . | 826 |
| 19.4.2 | CRC internal signals . . . . . | 826 |
| 19.4.3 | CRC operation ..... | 826 |
| 19.5 | CRC registers ..... | 828 |
| 19.5.1 | CRC data register (CRC_DR) ..... | 828 |
| 19.5.2 | CRC independent data register (CRC_IDR) ..... | 828 |
| 19.5.3 | CRC control register (CRC_CR) ..... | 829 |
| 19.5.4 | CRC initial value (CRC_INIT) ..... | 830 |
| 19.5.5 | CRC polynomial (CRC_POL) ..... | 830 |
| 19.5.6 | CRC register map ..... | 831 |
| 20 | CORDIC coprocessor (CORDIC) ..... | 832 |
| 20.1 | CORDIC introduction ..... | 832 |
| 20.2 | CORDIC main features ..... | 832 |
| 20.3 | CORDIC functional description ..... | 832 |
| 20.3.1 | General description ..... | 832 |
| 20.3.2 | CORDIC functions ..... | 833 |
| 20.3.3 | Fixed point representation ..... | 839 |
| 20.3.4 | Scaling factor ..... | 840 |
| 20.3.5 | Precision ..... | 840 |
| 20.3.6 | Zero-overhead mode ..... | 843 |
| 20.3.7 | Polling mode ..... | 844 |
| 20.3.8 | Interrupt mode ..... | 845 |
| 20.3.9 | DMA mode ..... | 845 |
| 20.4 | CORDIC registers ..... | 846 |
| 20.4.1 | CORDIC control/status register (CORDIC_CSR) ..... | 846 |
| 20.4.2 | CORDIC argument register (CORDIC_WDATA) ..... | 848 |
| 20.4.3 | CORDIC result register (CORDIC_RDATA) ..... | 849 |
| 20.4.4 | CORDIC register map ..... | 849 |
| 21 | Filter math accelerator (FMAC) ..... | 850 |
| 21.1 | FMAC introduction ..... | 850 |
| 21.2 | FMAC main features ..... | 850 |
| 21.3 | FMAC functional description ..... | 851 |
| 21.3.1 | General description ..... | 851 |
| 21.3.2 | Local memory and buffers ..... | 852 |
| 21.3.3 | Input buffers ..... | 852 |
| 21.3.4 | Output buffer ..... | 855 |
| 21.3.5 | Initialization functions ..... | 857 |
| 21.3.6 | Filter functions ..... | 858 |
| 21.3.7 | Fixed point representation ..... | 862 |
| 21.3.8 | Implementing FIR filters with the FMAC ..... | 862 |
| 21.3.9 | Implementing IIR filters with the FMAC ..... | 864 |
| 21.3.10 | Examples of filter initialization ..... | 866 |
| 21.3.11 | Examples of filter operation ..... | 867 |
| 21.3.12 | Filter design tips ..... | 869 |
| 21.4 | FMAC registers ..... | 870 |
| 21.4.1 | FMAC X1 buffer configuration register (FMAC_X1BUFCFG) ..... | 870 |
| 21.4.2 | FMAC X2 buffer configuration register (FMAC_X2BUFCFG) ..... | 870 |
| 21.4.3 | FMAC Y buffer configuration register (FMAC_YBUFCFG) ..... | 871 |
| 21.4.4 | FMAC parameter register (FMAC_PARAM) ..... | 872 |
| 21.4.5 | FMAC control register (FMAC_CR) ..... | 873 |
| 21.4.6 | FMAC status register (FMAC_SR) ..... | 874 |
| 21.4.7 | FMAC write data register (FMAC_WDATA) ..... | 875 |
| 21.4.8 | FMAC read data register (FMAC_RDATA) ..... | 876 |
| 21.4.9 | FMAC register map ..... | 876 |
| 22 | Programmable logic array (PLAY) ..... | 878 |
| 22.1 | PLAY introduction ..... | 878 |
| 22.2 | PLAY main features ..... | 878 |
| 22.3 | PLAY functional description ..... | 879 |
| 22.3.1 | PLAY block diagram ..... | 879 |
| 22.3.2 | PLAY pins and internal signals ..... | 879 |
| 22.3.3 | PLAY reset and clocks ..... | 882 |
| 22.3.4 | Input selection ..... | 882 |
| 22.3.5 | Input filtering and edge detection ..... | 883 |
| 22.3.6 | Software programmable inputs ..... | 885 |
| 22.3.7 | Logic elements ..... | 886 |
| 22.3.8 | Input interconnect ..... | 889 |
| 22.3.9 | Output interconnect ..... | 894 |
| 22.3.10 | Flags ..... | 895 |
| 22.3.11 | Miscellaneous status bits ..... | 896 |
| 22.4 | PLAY in low-power modes ..... | 896 |
| 22.5 | PLAY interrupts ..... | 896 |
| 22.6 | PLAY registers | 897 |
| 22.6.1 | PLAY configuration control register (PLAY_CFGCR) | 898 |
| 22.6.2 | PLAY security attributes configuration register (PLAY_SECCFGR) | 898 |
| 22.6.3 | PLAY privilege attributes configuration register (PLAY_PRIVCFGR) | 899 |
| 22.6.4 | PLAY filter x configuration register (PLAY_FILTxCFG) | 900 |
| 22.6.5 | PLAY logic element x configuration register 1 (PLAY_LExCFG1) | 901 |
| 22.6.6 | PLAY logic element x configuration register 2 (PLAY_LExCFG2) | 901 |
| 22.6.7 | PLAY output x configuration register (PLAY_OUTxCFG) | 902 |
| 22.6.8 | PLAY software input status register (PLAY_SWIN) | 903 |
| 22.6.9 | PLAY software input set register (PLAY_SWINSET) | 903 |
| 22.6.10 | PLAY software input clear register (PLAY_SWINCLR) | 904 |
| 22.6.11 | PLAY output status register (PLAY_OSR) | 905 |
| 22.6.12 | PLAY flag status register (PLAY_FLSTAT) | 905 |
| 22.6.13 | PLAY flag set register (PLAY_FLSET) | 906 |
| 22.6.14 | PLAY flag clear register (PLAY_FLCLR) | 907 |
| 22.6.15 | PLAY flag interrupt enable register (PLAY_FLIER) | 907 |
| 22.6.16 | PLAY flag control register (PLAY_FLCTL) | 908 |
| 22.6.17 | PLAY miscellaneous status register (PLAY_MSR) | 909 |
| 22.6.18 | PLAY interrupt status register (PLAY_ISR) | 909 |
| 22.6.19 | PLAY interrupt clear register (PLAY_ICR) | 910 |
| 22.6.20 | PLAY interrupt enable register (PLAY_IER) | 911 |
| 22.7 | PLAY register map | 911 |
| 23 | Flexible memory controller (FMC) | 914 |
| 23.1 | FMC introduction | 914 |
| 23.2 | FMC main features | 914 |
| 23.3 | FMC block diagram | 915 |
| 23.4 | AHB interface | 916 |
| 23.4.1 | Supported memories and transactions | 917 |
| 23.5 | External device address mapping | 918 |
| 23.5.1 | NOR/PSRAM address mapping | 919 |
| 23.5.2 | NAND flash memory address mapping | 919 |
| 23.5.3 | SDRAM address mapping | 920 |
| 23.6 | NOR flash/PSRAM controller | 922 |
| 23.6.1 | External memory interface signals | 924 |
| 23.6.2 | Supported memories and transactions | 926 |
| 23.6.3 | General timing rules . . . . . | 927 |
| 23.6.4 | NOR flash/PSRAM controller asynchronous transactions . . . . . | 927 |
| 23.6.5 | Synchronous transactions . . . . . | 945 |
| 23.6.6 | NOR/PSRAM controller registers . . . . . | 952 |
| 23.7 | NAND flash controller . . . . . | 960 |
| 23.7.1 | External memory interface signals . . . . . | 960 |
| 23.7.2 | NAND flash supported memories and transactions . . . . . | 961 |
| 23.7.3 | Timing diagrams for NAND flash memory . . . . . | 962 |
| 23.7.4 | NAND flash operations . . . . . | 963 |
| 23.7.5 | NAND flash prewait functionality . . . . . | 963 |
| 23.7.6 | Computation of the error correction code (ECC) in NAND flash memory . . . . . | 964 |
| 23.7.7 | NAND flash controller registers . . . . . | 965 |
| 23.8 | SDRAM controller . . . . . | 971 |
| 23.8.1 | SDRAM controller main features . . . . . | 971 |
| 23.8.2 | SDRAM External memory interface signals . . . . . | 971 |
| 23.8.3 | SDRAM controller functional description . . . . . | 972 |
| 23.8.4 | Low-power modes . . . . . | 978 |
| 23.8.5 | SDRAM controller registers . . . . . | 981 |
| 23.8.6 | FMC register map . . . . . | 987 |
| 24 | Octo-SPI interface (OCTOSPI) . . . . . | 990 |
| 24.1 | OCTOSPI introduction . . . . . | 990 |
| 24.2 | OCTOSPI main features . . . . . | 990 |
| 24.3 | OCTOSPI implementation . . . . . | 991 |
| 24.4 | OCTOSPI functional description . . . . . | 992 |
| 24.4.1 | OCTOSPI block diagram . . . . . | 992 |
| 24.4.2 | OCTOSPI pins and internal signals . . . . . | 993 |
| 24.4.3 | OCTOSPI interface to memory modes . . . . . | 994 |
| 24.4.4 | OCTOSPI regular-command protocol . . . . . | 994 |
| 24.4.5 | OCTOSPI regular-command protocol signal interface . . . . . | 998 |
| 24.4.6 | HyperBus protocol . . . . . | 1001 |
| 24.4.7 | Specific features . . . . . | 1005 |
| 24.4.8 | OCTOSPI operating mode introduction . . . . . | 1006 |
| 24.4.9 | OCTOSPI indirect mode . . . . . | 1006 |
| 24.4.10 | OCTOSPI automatic status-polling mode . . . . . | 1008 |
| 24.4.11 | OCTOSPI memory-mapped mode . . . . . | 1009 |
| 24.4.12 | OCTOSPI configuration introduction ..... | 1010 |
| 24.4.13 | OCTOSPI system configuration ..... | 1010 |
| 24.4.14 | OCTOSPI device configuration ..... | 1011 |
| 24.4.15 | OCTOSPI regular-command mode configuration ..... | 1014 |
| 24.4.16 | OCTOSPI HyperBus protocol configuration ..... | 1016 |
| 24.4.17 | OCTOSPI error management ..... | 1017 |
| 24.4.18 | OCTOSPI BUSY and ABORT ..... | 1017 |
| 24.4.19 | OCTOSPI reconfiguration or deactivation ..... | 1018 |
| 24.4.20 | NCS behavior ..... | 1018 |
| 24.5 | Address alignment and data number ..... | 1020 |
| 24.6 | OCTOSPI interrupts ..... | 1021 |
| 24.7 | OCTOSPI registers ..... | 1021 |
| 24.7.1 | OCTOSPI control register (OCTOSPI_CR) ..... | 1021 |
| 24.7.2 | OCTOSPI device configuration register 1 (OCTOSPI_DCR1) ..... | 1024 |
| 24.7.3 | OCTOSPI device configuration register 2 (OCTOSPI_DCR2) ..... | 1026 |
| 24.7.4 | OCTOSPI device configuration register 3 (OCTOSPI_DCR3) ..... | 1027 |
| 24.7.5 | OCTOSPI device configuration register 4 (OCTOSPI_DCR4) ..... | 1027 |
| 24.7.6 | OCTOSPI status register (OCTOSPI_SR) ..... | 1028 |
| 24.7.7 | OCTOSPI flag clear register (OCTOSPI_FCR) ..... | 1029 |
| 24.7.8 | OCTOSPI data length register (OCTOSPI_DLR) ..... | 1030 |
| 24.7.9 | OCTOSPI address register (OCTOSPI_AR) ..... | 1030 |
| 24.7.10 | OCTOSPI data register (OCTOSPI_DR) ..... | 1031 |
| 24.7.11 | OCTOSPI polling status mask register (OCTOSPI_PSMKR) ..... | 1031 |
| 24.7.12 | OCTOSPI polling status match register (OCTOSPI_PSMAR) ..... | 1032 |
| 24.7.13 | OCTOSPI polling interval register (OCTOSPI_PIR) ..... | 1032 |
| 24.7.14 | OCTOSPI communication configuration register (OCTOSPI_CCR) ..... | 1032 |
| 24.7.15 | OCTOSPI timing configuration register (OCTOSPI_TCR) ..... | 1034 |
| 24.7.16 | OCTOSPI instruction register (OCTOSPI_IR) ..... | 1035 |
| 24.7.17 | OCTOSPI alternate bytes register (OCTOSPI_ABR) ..... | 1035 |
| 24.7.18 | OCTOSPI low-power timeout register (OCTOSPI_LPTR) ..... | 1036 |
| 24.7.19 | OCTOSPI wrap communication configuration register (OCTOSPI_WPCCR) ..... | 1036 |
| 24.7.20 | OCTOSPI wrap timing configuration register (OCTOSPI_WPTCR) ..... | 1038 |
| 24.7.21 | OCTOSPI wrap instruction register (OCTOSPI_WPIR) ..... | 1039 |
| 24.7.22 | OCTOSPI wrap alternate bytes register (OCTOSPI_WPABR) ..... | 1039 |
| 24.7.23 | OCTOSPI write communication configuration register (OCTOSPI_WCCR) ..... | 1040 |
| 24.7.24 | OCTOSPI write timing configuration register (OCTOSPI_WTCR) . . . | 1042 |
| 24.7.25 | OCTOSPI write instruction register (OCTOSPI_WIR) . . . . . | 1042 |
| 24.7.26 | OCTOSPI write alternate bytes register (OCTOSPI_WABR) . . . . . | 1043 |
| 24.7.27 | OCTOSPI HyperBus latency configuration register (OCTOSPI_HLCR) . . . . . | 1043 |
| 24.7.28 | OCTOSPI register map . . . . . | 1044 |
| 25 | Octo-SPI interface (OCTOSPI) . . . . . | 1047 |
| 25.1 | OCTOSPI introduction . . . . . | 1047 |
| 25.2 | OCTOSPI main features . . . . . | 1047 |
| 25.3 | OCTOSPI implementation . . . . . | 1048 |
| 25.4 | OCTOSPI functional description . . . . . | 1049 |
| 25.4.1 | OCTOSPI block diagram . . . . . | 1049 |
| 25.4.2 | OCTOSPI pins and internal signals . . . . . | 1050 |
| 25.4.3 | OCTOSPI interface to memory modes . . . . . | 1051 |
| 25.4.4 | OCTOSPI regular-command protocol . . . . . | 1051 |
| 25.4.5 | OCTOSPI regular-command protocol signal interface . . . . . | 1055 |
| 25.4.6 | HyperBus protocol . . . . . | 1058 |
| 25.4.7 | Specific features . . . . . | 1062 |
| 25.4.8 | OCTOSPI operating mode introduction . . . . . | 1063 |
| 25.4.9 | OCTOSPI indirect mode . . . . . | 1063 |
| 25.4.10 | OCTOSPI automatic status-polling mode . . . . . | 1065 |
| 25.4.11 | OCTOSPI memory-mapped mode . . . . . | 1066 |
| 25.4.12 | OCTOSPI configuration introduction . . . . . | 1067 |
| 25.4.13 | OCTOSPI system configuration . . . . . | 1067 |
| 25.4.14 | OCTOSPI device configuration . . . . . | 1068 |
| 25.4.15 | OCTOSPI regular-command mode configuration . . . . . | 1071 |
| 25.4.16 | OCTOSPI HyperBus protocol configuration . . . . . | 1073 |
| 25.4.17 | OCTOSPI error management . . . . . | 1074 |
| 25.4.18 | OCTOSPI BUSY and ABORT . . . . . | 1074 |
| 25.4.19 | OCTOSPI reconfiguration or deactivation . . . . . | 1075 |
| 25.4.20 | NCS behavior . . . . . | 1075 |
| 25.4.21 | Software control of two external memories . . . . . | 1077 |
| 25.4.22 | Hardware-controlled extended memory support . . . . . | 1077 |
| 25.5 | Address alignment and data number . . . . . | 1078 |
| 25.6 | OCTOSPI interrupts . . . . . | 1079 |
| 25.7 | OCTOSPI registers . . . . . | 1080 |
| 25.7.1 | OCTOSPI control register (OCTOSPI_CR) ..... | 1080 |
| 25.7.2 | OCTOSPI device configuration register 1 (OCTOSPI_DCR1) ..... | 1083 |
| 25.7.3 | OCTOSPI device configuration register 2 (OCTOSPI_DCR2) ..... | 1085 |
| 25.7.4 | OCTOSPI device configuration register 3 (OCTOSPI_DCR3) ..... | 1086 |
| 25.7.5 | OCTOSPI device configuration register 4 (OCTOSPI_DCR4) ..... | 1087 |
| 25.7.6 | OCTOSPI status register (OCTOSPI_SR) ..... | 1087 |
| 25.7.7 | OCTOSPI flag clear register (OCTOSPI_FCR) ..... | 1088 |
| 25.7.8 | OCTOSPI data length register (OCTOSPI_DLR) ..... | 1089 |
| 25.7.9 | OCTOSPI address register (OCTOSPI_AR) ..... | 1089 |
| 25.7.10 | OCTOSPI data register (OCTOSPI_DR) ..... | 1090 |
| 25.7.11 | OCTOSPI polling status mask register (OCTOSPI_PSMKR) ..... | 1090 |
| 25.7.12 | OCTOSPI polling status match register (OCTOSPI_PSMAR) ..... | 1091 |
| 25.7.13 | OCTOSPI polling interval register (OCTOSPI_PIR) ..... | 1091 |
| 25.7.14 | OCTOSPI communication configuration register (OCTOSPI_CCR) .. | 1092 |
| 25.7.15 | OCTOSPI timing configuration register (OCTOSPI_TCR) ..... | 1094 |
| 25.7.16 | OCTOSPI instruction register (OCTOSPI_IR) ..... | 1094 |
| 25.7.17 | OCTOSPI alternate bytes register (OCTOSPI_ABR) ..... | 1095 |
| 25.7.18 | OCTOSPI low-power timeout register (OCTOSPI_LPTR) ..... | 1095 |
| 25.7.19 | OCTOSPI wrap communication configuration register (OCTOSPI_WPCCR) ..... | 1096 |
| 25.7.20 | OCTOSPI wrap timing configuration register (OCTOSPI_WPTCR) .. | 1098 |
| 25.7.21 | OCTOSPI wrap instruction register (OCTOSPI_WPIR) ..... | 1098 |
| 25.7.22 | OCTOSPI wrap alternate bytes register (OCTOSPI_WPABR) ..... | 1099 |
| 25.7.23 | OCTOSPI write communication configuration register (OCTOSPI_WCCR) ..... | 1099 |
| 25.7.24 | OCTOSPI write timing configuration register (OCTOSPI_WTCR) .. | 1101 |
| 25.7.25 | OCTOSPI write instruction register (OCTOSPI_WIR) ..... | 1102 |
| 25.7.26 | OCTOSPI write alternate bytes register (OCTOSPI_WABR) ..... | 1102 |
| 25.7.27 | OCTOSPI HyperBus latency configuration register (OCTOSPI_HLCR) ..... | 1103 |
| 25.7.28 | OCTOSPI register map ..... | 1103 |
| 26 | Secure digital input/output MultiMediaCard interface (SDMMC) .. | 1107 |
| 26.1 | SDMMC main features ..... | 1107 |
| 26.2 | SDMMC implementation ..... | 1107 |
| 26.3 | SDMMC bus topology ..... | 1108 |
| 26.4 | SDMMC operation modes ..... | 1110 |
| 26.5 | SDMMC functional description | 1111 |
| 26.5.1 | SDMMC block diagram | 1111 |
| 26.5.2 | SDMMC pins and internal signals | 1111 |
| 26.5.3 | General description | 1112 |
| 26.5.4 | SDMMC adapter | 1114 |
| 26.5.5 | SDMMC AHB slave interface | 1136 |
| 26.5.6 | SDMMC AHB master interface | 1137 |
| 26.5.7 | AHB and SDMMC_CK clock relation | 1140 |
| 26.6 | Card functional description | 1140 |
| 26.6.1 | SD I/O mode | 1140 |
| 26.6.2 | CMD12 send timing | 1148 |
| 26.6.3 | Sleep (CMD5) | 1152 |
| 26.6.4 | Interrupt mode (Wait-IRQ) | 1153 |
| 26.6.5 | Boot operation | 1154 |
| 26.6.6 | Response R1b handling | 1157 |
| 26.6.7 | Reset and card cycle power | 1158 |
| 26.7 | Hardware flow control | 1159 |
| 26.8 | Ultra-high-speed phase I (UHS-I) voltage switch | 1159 |
| 26.9 | SDMMC interrupts | 1163 |
| 26.10 | SDMMC registers | 1164 |
| 26.10.1 | SDMMC power control register (SDMMC_POWER) | 1164 |
| 26.10.2 | SDMMC clock control register (SDMMC_CLKCR) | 1165 |
| 26.10.3 | SDMMC argument register (SDMMC_ARGR) | 1167 |
| 26.10.4 | SDMMC command register (SDMMC_CMDR) | 1167 |
| 26.10.5 | SDMMC command response register (SDMMC_RESPCMDR) | 1169 |
| 26.10.6 | SDMMC response x register (SDMMC_RESPxR) | 1170 |
| 26.10.7 | SDMMC data timer register (SDMMC_DTIMER) | 1170 |
| 26.10.8 | SDMMC data length register (SDMMC_DLENR) | 1171 |
| 26.10.9 | SDMMC data control register (SDMMC_DCTRL) | 1172 |
| 26.10.10 | SDMMC data counter register (SDMMC_DCNTR) | 1173 |
| 26.10.11 | SDMMC status register (SDMMC_STAR) | 1174 |
| 26.10.12 | SDMMC interrupt clear register (SDMMC_ICR) | 1177 |
| 26.10.13 | SDMMC mask register (SDMMC_MASKR) | 1179 |
| 26.10.14 | SDMMC acknowledgment timer register (SDMMC_ACKTIMER) | 1182 |
| 26.10.15 | SDMMC DMA control register (SDMMC_IDMACTRLR) | 1182 |
| 26.10.16 | SDMMC IDMA buffer size register (SDMMC_IDMABSIZER) | 1183 |
| 26.10.17 | SDMMC IDMA buffer base address register (SDMMC_IDMABASER) ..... | 1184 |
| 26.10.18 | SDMMC IDMA linked list address register (SDMMC_IDMALAR) ..... | 1184 |
| 26.10.19 | SDMMC IDMA linked list memory base register (SDMMC_IDMABAR) ..... | 1185 |
| 26.10.20 | SDMMC data FIFO registers x (SDMMC_FIFORx) ..... | 1186 |
| 26.10.21 | SDMMC register map ..... | 1186 |
| 27 | Delay block (DLYB) ..... | 1189 |
| 27.1 | DLYB introduction ..... | 1189 |
| 27.2 | DLYB main features ..... | 1189 |
| 27.3 | DLYB implementation ..... | 1189 |
| 27.4 | DLYB functional description ..... | 1189 |
| 27.4.1 | DLYB diagram ..... | 1189 |
| 27.4.2 | DLYB pins and internal signals ..... | 1190 |
| 27.4.3 | General description ..... | 1190 |
| 27.4.4 | Delay line length configuration procedure ..... | 1191 |
| 27.4.5 | Output clock phase configuration procedure ..... | 1192 |
| 27.5 | DLYB registers ..... | 1192 |
| 27.5.1 | DLYB control register (DLYB_CR) ..... | 1192 |
| 27.5.2 | DLYB configuration register (DLYB_CFGR) ..... | 1193 |
| 27.5.3 | DLYB register map ..... | 1194 |
| 28 | Analog-to-digital converters (ADC1/2/3) ..... | 1195 |
| 28.1 | ADC introduction ..... | 1195 |
| 28.2 | ADC main features ..... | 1195 |
| 28.3 | ADC implementation ..... | 1197 |
| 28.4 | ADC functional description ..... | 1198 |
| 28.4.1 | ADC block diagram ..... | 1198 |
| 28.4.2 | ADC pins and internal signals ..... | 1199 |
| 28.4.3 | ADC clocks ..... | 1202 |
| 28.4.4 | ADC connectivity ..... | 1204 |
| 28.4.5 | Slave AHB interface ..... | 1207 |
| 28.4.6 | ADC Deep-power-down mode (DEEPPWD) and ADC voltage regulator (ADVREGEN) ..... | 1207 |
| 28.4.7 | Single-ended and differential input channels ..... | 1208 |
| 28.4.8 | Calibration (ADCAL, ADCALDIF, ADC_CALFACT) ..... | 1208 |
| 28.4.9 | ADC on-off control (ADEN, ADDIS, ADRDY) . . . . . | 1211 |
| 28.4.10 | Constraints when writing the ADC control bits . . . . . | 1212 |
| 28.4.11 | Channel selection (ADC_SQRy, ADC_JSQR) . . . . . | 1213 |
| 28.4.12 | Channel-wise programmable sampling time (SMPR1, SMPR2) . . . . . | 1214 |
| 28.4.13 | Single conversion mode (CONT = 0) . . . . . | 1216 |
| 28.4.14 | Continuous conversion mode (CONT = 1) . . . . . | 1216 |
| 28.4.15 | Starting conversions (ADSTART, JADSTART) . . . . . | 1217 |
| 28.4.16 | ADC timing . . . . . | 1218 |
| 28.4.17 | Stopping an ongoing conversion (ADSTP, JADSTP) . . . . . | 1219 |
| 28.4.18 | Conversion on external trigger and trigger polarity (EXTSEL, EXTEN, JEXTSEL, JEXTEN) . . . . . | 1220 |
| 28.4.19 | Injected channel management . . . . . | 1222 |
| 28.4.20 | Discontinuous mode (DISCEN, DISCNUM, JDISCEN) . . . . . | 1223 |
| 28.4.21 | Queue of context for injected conversions . . . . . | 1224 |
| 28.4.22 | Programmable resolution (RES) - fast conversion mode . . . . . | 1232 |
| 28.4.23 | End of conversion, end of sampling phase (EOC, JEOC, EOSMP) . . . . . | 1233 |
| 28.4.24 | End of conversion sequence (EOS, JEOS) . . . . . | 1233 |
| 28.4.25 | Timing diagrams example (single/continuous modes, hardware/software triggers) . . . . . | 1234 |
| 28.4.26 | Data management . . . . . | 1236 |
| 28.4.27 | Dynamic low-power features . . . . . | 1242 |
| 28.4.28 | Analog window watchdog (AWD1EN, JAWD1EN, AWD1SGL, AWD1CH, AWD2CH, AWD3CH, AWD_HTx, AWD_LTx, AWDx) . . . . . | 1247 |
| 28.4.29 | Oversampler . . . . . | 1251 |
| 28.4.30 | Dual ADC modes . . . . . | 1258 |
| 28.4.31 | Temperature sensor . . . . . | 1271 |
| 28.4.32 | VBAT supply monitoring . . . . . | 1273 |
| 28.4.33 | Monitoring the internal voltage reference . . . . . | 1274 |
| 28.4.34 | Monitoring the supply voltage . . . . . | 1275 |
| 28.5 | ADC interrupts . . . . . | 1276 |
| 28.6 | ADC registers (for each ADC) . . . . . | 1277 |
| 28.6.1 | ADC interrupt and status register (ADC_ISR) . . . . . | 1277 |
| 28.6.2 | ADC interrupt enable register (ADC_IER) . . . . . | 1279 |
| 28.6.3 | ADC control register (ADC_CR) . . . . . | 1281 |
| 28.6.4 | ADC configuration register (ADC_CFGR) . . . . . | 1284 |
| 28.6.5 | ADC configuration register 2 (ADC_CFGR2) . . . . . | 1289 |
| 28.6.6 | ADC sample time register 1 (ADC_SMPR1) . . . . . | 1291 |
| 28.6.7 | ADC sample time register 2 (ADC_SMPR2) . . . . . | 1292 |
| 28.6.8 | ADC watchdog threshold register 1 (ADC_TR1) . . . . . | 1293 |
| 28.6.9 | ADC watchdog threshold register 2 (ADC_TR2) . . . . . | 1294 |
| 28.6.10 | ADC watchdog threshold register 3 (ADC_TR3) . . . . . | 1295 |
| 28.6.11 | ADC regular sequence register 1 (ADC_SQR1) . . . . . | 1295 |
| 28.6.12 | ADC regular sequence register 2 (ADC_SQR2) . . . . . | 1296 |
| 28.6.13 | ADC regular sequence register 3 (ADC_SQR3) . . . . . | 1297 |
| 28.6.14 | ADC regular sequence register 4 (ADC_SQR4) . . . . . | 1298 |
| 28.6.15 | ADC regular data register (ADC_DR) . . . . . | 1299 |
| 28.6.16 | ADC injected sequence register (ADC_JSQR) . . . . . | 1299 |
| 28.6.17 | ADC offset y register (ADC_OFy) . . . . . | 1302 |
| 28.6.18 | ADC injected channel y data register (ADC_JDRy) . . . . . | 1303 |
| 28.6.19 | ADC analog watchdog 2 configuration register (ADC_AWD2CR) . . . | 1304 |
| 28.6.20 | ADC analog watchdog 3 configuration register (ADC_AWD3CR) . . . | 1304 |
| 28.6.21 | ADC Differential mode selection register (ADC_DIFSEL) . . . . . | 1305 |
| 28.6.22 | ADC calibration factors (ADC_CALFACT) . . . . . | 1306 |
| 28.6.23 | ADC option register (ADC_OR) . . . . . | 1306 |
| 28.7 | ADC common registers . . . . . | 1307 |
| 28.7.1 | ADC common status register (ADC_CSR) . . . . . | 1307 |
| 28.7.2 | ADC common control register (ADC_CCR) . . . . . | 1309 |
| 28.7.3 | ADC common regular data register for dual mode (ADC_CDR) . . . . | 1312 |
| 28.8 | ADC register map . . . . . | 1313 |
| 29 | Digital temperature sensor (DTS) . . . . . | 1317 |
| 29.1 | DTS introduction . . . . . | 1317 |
| 29.2 | DTS main features . . . . . | 1317 |
| 29.3 | DTS functional description . . . . . | 1318 |
| 29.3.1 | DTS block diagram . . . . . | 1318 |
| 29.3.2 | DTS internal signals . . . . . | 1318 |
| 29.3.3 | DTS block operation . . . . . | 1319 |
| 29.3.4 | Operating modes . . . . . | 1319 |
| 29.3.5 | Calibration . . . . . | 1319 |
| 29.3.6 | Prescaler . . . . . | 1319 |
| 29.3.7 | Temperature measurement principles . . . . . | 1320 |
| 29.3.8 | Sampling time . . . . . | 1321 |
| 29.3.9 | Quick measurement mode . . . . . | 1321 |
| 29.3.10 | Trigger input . . . . . | 1322 |
| 29.3.11 | On-off control and ready flag . . . . . | 1322 |
| 29.3.12 | Temperature measurement sequence ..... | 1323 |
| 29.4 | DTS low-power modes ..... | 1324 |
| 29.5 | DTS interrupts ..... | 1324 |
| 29.5.1 | Temperature window comparator ..... | 1324 |
| 29.5.2 | Synchronous interrupt ..... | 1324 |
| 29.5.3 | Asynchronous wake-up ..... | 1324 |
| 29.6 | DTS registers ..... | 1325 |
| 29.6.1 | Temperature sensor configuration register 1 (DTS_CFGR1) ..... | 1325 |
| 29.6.2 | Temperature sensor T0 value register 1 (DTS_T0VALR1) ..... | 1327 |
| 29.6.3 | Temperature sensor ramp value register (DTS_RAMPVALR) ..... | 1327 |
| 29.6.4 | Temperature sensor interrupt threshold register 1 (DTS_ITR1) .... | 1328 |
| 29.6.5 | Temperature sensor data register (DTS_DR) ..... | 1328 |
| 29.6.6 | Temperature sensor status register (DTS_SR) ..... | 1329 |
| 29.6.7 | Temperature sensor interrupt enable register (DTS_ITENR) ..... | 1330 |
| 29.6.8 | Temperature sensor clear interrupt flag register (DTS_ICIFR) .... | 1331 |
| 29.6.9 | Temperature sensor option register (DTS_OR) ..... | 1332 |
| 29.6.10 | DTS register map ..... | 1333 |
| 30 | Digital-to-analog converter (DAC) ..... | 1335 |
| 30.1 | DAC introduction ..... | 1335 |
| 30.2 | DAC main features ..... | 1335 |
| 30.3 | DAC implementation ..... | 1336 |
| 30.4 | DAC functional description ..... | 1337 |
| 30.4.1 | DAC block diagram ..... | 1337 |
| 30.4.2 | DAC pins and internal signals ..... | 1338 |
| 30.4.3 | DAC clocks ..... | 1339 |
| 30.4.4 | DAC channel enable ..... | 1339 |
| 30.4.5 | DAC data format ..... | 1339 |
| 30.4.6 | DAC conversion ..... | 1341 |
| 30.4.7 | DAC output voltage ..... | 1342 |
| 30.4.8 | DAC trigger selection ..... | 1342 |
| 30.4.9 | DMA requests ..... | 1343 |
| 30.4.10 | Noise generation ..... | 1344 |
| 30.4.11 | Triangle-wave generation ..... | 1345 |
| 30.4.12 | DAC channel modes ..... | 1346 |
| 30.4.13 | DAC channel buffer calibration ..... | 1349 |
| 30.4.14 | DAC channel conversion modes ..... | 1350 |
| 30.4.15 | Dual DAC channel conversion modes (if dual channels are available) ..... | 1351 |
| 30.5 | DAC in low-power modes ..... | 1355 |
| 30.6 | DAC interrupts ..... | 1355 |
| 30.7 | DAC registers ..... | 1356 |
| 30.7.1 | DAC control register (DAC_CR) ..... | 1356 |
| 30.7.2 | DAC software trigger register (DAC_SWTRGR) ..... | 1359 |
| 30.7.3 | DAC channel1 12-bit right-aligned data holding register (DAC_DHR12R1) ..... | 1360 |
| 30.7.4 | DAC channel1 12-bit left aligned data holding register (DAC_DHR12L1) ..... | 1361 |
| 30.7.5 | DAC channel1 8-bit right aligned data holding register (DAC_DHR8R1) ..... | 1361 |
| 30.7.6 | DAC channel2 12-bit right aligned data holding register (DAC_DHR12R2) ..... | 1362 |
| 30.7.7 | DAC channel2 12-bit left aligned data holding register (DAC_DHR12L2) ..... | 1362 |
| 30.7.8 | DAC channel2 8-bit right-aligned data holding register (DAC_DHR8R2) ..... | 1363 |
| 30.7.9 | Dual DAC 12-bit right-aligned data holding register (DAC_DHR12RD) ..... | 1363 |
| 30.7.10 | Dual DAC 12-bit left aligned data holding register (DAC_DHR12LD) ..... | 1364 |
| 30.7.11 | Dual DAC 8-bit right aligned data holding register (DAC_DHR8RD) ..... | 1364 |
| 30.7.12 | DAC channel1 data output register (DAC_DOR1) ..... | 1365 |
| 30.7.13 | DAC channel2 data output register (DAC_DOR2) ..... | 1365 |
| 30.7.14 | DAC status register (DAC_SR) ..... | 1366 |
| 30.7.15 | DAC calibration control register (DAC_CCR) ..... | 1367 |
| 30.7.16 | DAC mode control register (DAC_MCR) ..... | 1368 |
| 30.7.17 | DAC channel1 sample and hold sample time register (DAC_SHSR1) ..... | 1369 |
| 30.7.18 | DAC channel2 sample and hold sample time register (DAC_SHSR2) ..... | 1370 |
| 30.7.19 | DAC sample and hold time register (DAC_SHHR) ..... | 1370 |
| 30.7.20 | DAC sample and hold refresh time register (DAC_SHRR) ..... | 1371 |
| 30.7.21 | DAC register map ..... | 1372 |
| 31 | Voltage reference buffer (VREFBUF) ..... | 1374 |
| 31.1 | VREFBUF introduction . . . . . | 1374 |
| 31.2 | VREFBUF implementation . . . . . | 1374 |
| 31.3 | VREFBUF functional description . . . . . | 1374 |
| 31.4 | VREFBUF trimming . . . . . | 1375 |
| 31.5 | VREFBUF registers . . . . . | 1376 |
| 31.5.1 | VREFBUF control and status register (VREFBUF_CSR) . . . . . | 1376 |
| 31.5.2 | VREFBUF calibration control register (VREFBUF_CCR) . . . . . | 1377 |
| 31.5.3 | VREFBUF register map . . . . . | 1378 |
| 32 | Comparator (COMP) . . . . . | 1379 |
| 32.1 | COMP introduction . . . . . | 1379 |
| 32.2 | COMP main features . . . . . | 1379 |
| 32.3 | COMP functional description . . . . . | 1380 |
| 32.3.1 | COMP block diagram . . . . . | 1380 |
| 32.3.2 | COMP pins and internal signals . . . . . | 1380 |
| 32.3.3 | COMP reset and clocks . . . . . | 1382 |
| 32.3.4 | Comparator LOCK mechanism . . . . . | 1383 |
| 32.3.5 | Window comparator . . . . . | 1383 |
| 32.3.6 | Hysteresis . . . . . | 1383 |
| 32.3.7 | Comparator output blanking function . . . . . | 1384 |
| 32.3.8 | COMP startup stabilization time . . . . . | 1385 |
| 32.3.9 | COMP power and speed modes . . . . . | 1385 |
| 32.4 | COMP low-power modes . . . . . | 1385 |
| 32.5 | COMP interrupts . . . . . | 1386 |
| 32.5.1 | Wake-up interrupt through EXTI . . . . . | 1386 |
| 32.5.2 | Interrupt through EXTI . . . . . | 1386 |
| 32.5.3 | Interrupt through the NVIC of the CPU . . . . . | 1387 |
| 32.6 | SCALER function . . . . . | 1387 |
| 32.7 | COMP registers . . . . . | 1388 |
| 32.7.1 | Comparator status register (COMP_SR) . . . . . | 1388 |
| 32.7.2 | Comparator interrupt clear flag register (COMP_ICFR) . . . . . | 1389 |
| 32.7.3 | Comparator configuration register 1 (COMP_CFGR1) . . . . . | 1389 |
| 32.7.4 | Comparator configuration register 2 (COMP_CFGR2) . . . . . | 1391 |
| 32.7.5 | COMP register map . . . . . | 1393 |
| 33 | Digital camera interface (DCMI) . . . . . | 1394 |
| 33.1 | DCMI introduction . . . . . | 1394 |
| 33.2 | DCMI main features . . . . . | 1394 |
| 33.3 | DCMI functional description . . . . . | 1394 |
| 33.3.1 | DCMI block diagram . . . . . | 1395 |
| 33.3.2 | DCMI pins and internal signals . . . . . | 1395 |
| 33.3.3 | DCMI clocks . . . . . | 1396 |
| 33.3.4 | DCMI DMA interface . . . . . | 1396 |
| 33.3.5 | DCMI physical interface . . . . . | 1396 |
| 33.3.6 | DCMI synchronization . . . . . | 1398 |
| 33.3.7 | DCMI capture modes . . . . . | 1400 |
| 33.3.8 | DCMI crop feature . . . . . | 1401 |
| 33.3.9 | DCMI JPEG format . . . . . | 1402 |
| 33.3.10 | DCMI FIFO . . . . . | 1402 |
| 33.3.11 | DCMI data format description . . . . . | 1403 |
| 33.4 | DCMI interrupts . . . . . | 1405 |
| 33.5 | DCMI registers . . . . . | 1405 |
| 33.5.1 | DCMI control register (DCMI_CR) . . . . . | 1405 |
| 33.5.2 | DCMI status register (DCMI_SR) . . . . . | 1408 |
| 33.5.3 | DCMI raw interrupt status register (DCMI_RIS) . . . . . | 1408 |
| 33.5.4 | DCMI interrupt enable register (DCMI_IER) . . . . . | 1409 |
| 33.5.5 | DCMI masked interrupt status register (DCMI_MIS) . . . . . | 1410 |
| 33.5.6 | DCMI interrupt clear register (DCMI_ICR) . . . . . | 1411 |
| 33.5.7 | DCMI embedded synchronization code register (DCMI_ESCR) . . . . . | 1412 |
| 33.5.8 | DCMI embedded synchronization unmask register (DCMI_ESUR) . . . . . | 1412 |
| 33.5.9 | DCMI crop window start (DCMI_CWSTRT) . . . . . | 1413 |
| 33.5.10 | DCMI crop window size (DCMI_CWSIZE) . . . . . | 1414 |
| 33.5.11 | DCMI data register (DCMI_DR) . . . . . | 1414 |
| 33.5.12 | DCMI register map . . . . . | 1415 |
| 34 | Parallel synchronous slave interface (PSSI) . . . . . | 1416 |
| 34.1 | PSSI introduction . . . . . | 1416 |
| 34.2 | PSSI main features . . . . . | 1416 |
| 34.3 | PSSI functional description . . . . . | 1416 |
| 34.3.1 | PSSI block diagram . . . . . | 1417 |
| 34.3.2 | PSSI pins and internal signals . . . . . | 1417 |
| 34.3.3 | PSSI clock . . . . . | 1418 |
| 34.3.4 | PSSI data management ..... | 1418 |
| 34.3.5 | PSSI optional control signals ..... | 1420 |
| 34.4 | PSSI interrupts ..... | 1423 |
| 34.5 | PSSI registers ..... | 1424 |
| 34.5.1 | PSSI control register (PSSI_CR) ..... | 1424 |
| 34.5.2 | PSSI status register (PSSI_SR) ..... | 1425 |
| 34.5.3 | PSSI raw interrupt status register (PSSI_RIS) ..... | 1426 |
| 34.5.4 | PSSI interrupt enable register (PSSI_IER) ..... | 1427 |
| 34.5.5 | PSSI masked interrupt status register (PSSI_MIS) ..... | 1427 |
| 34.5.6 | PSSI interrupt clear register (PSSI_ICR) ..... | 1428 |
| 34.5.7 | PSSI data register (PSSI_DR) ..... | 1428 |
| 34.5.8 | PSSI register map ..... | 1429 |
| 35 | Coupling and chaining bridge (CCB) ..... | 1430 |
| 35.1 | CCB introduction ..... | 1430 |
| 35.2 | CCB main features ..... | 1430 |
| 35.3 | CCB implementation ..... | 1431 |
| 35.4 | CCB functional description ..... | 1431 |
| 35.4.1 | CCB block diagram ..... | 1431 |
| 35.4.2 | CCB internal signals ..... | 1432 |
| 35.4.3 | CCB reset and clocks ..... | 1432 |
| 35.4.4 | CCB coupling and chaining ..... | 1432 |
| 35.4.5 | CCB error management ..... | 1435 |
| 35.5 | CCB coupling and chaining operations ..... | 1435 |
| 35.5.1 | Preliminary steps before any protected operation ..... | 1437 |
| 35.5.2 | ECDSA signature ..... | 1438 |
| 35.5.3 | ECC scalar multiplication ..... | 1445 |
| 35.5.4 | RSA modular exponentiation ..... | 1448 |
| 35.6 | CCB interrupts ..... | 1450 |
| 35.7 | CCB registers ..... | 1451 |
| 35.7.1 | CCB control register (CCB_CR) ..... | 1451 |
| 35.7.2 | CCB status register (CCB_SR) ..... | 1452 |
| 35.7.3 | CCB reference tag register (CCB_REFTAGRx) ..... | 1454 |
| 35.7.4 | CCB register map ..... | 1455 |
| 36 | True random number generator (RNG) ..... | 1456 |
| 36.1 | RNG introduction | 1456 |
| 36.2 | RNG main features | 1456 |
| 36.3 | RNG functional description | 1457 |
| 36.3.1 | RNG block diagram | 1457 |
| 36.3.2 | RNG internal signals | 1457 |
| 36.3.3 | Random number generation | 1457 |
| 36.3.4 | RNG initialization | 1460 |
| 36.3.5 | RNG operation | 1461 |
| 36.3.6 | RNG clocking | 1463 |
| 36.3.7 | Error management | 1463 |
| 36.3.8 | RNG low-power use | 1464 |
| 36.4 | RNG interrupts | 1465 |
| 36.5 | RNG processing time | 1465 |
| 36.6 | RNG entropy source validation | 1466 |
| 36.6.1 | Introduction | 1466 |
| 36.6.2 | Validation conditions | 1466 |
| 36.7 | RNG registers | 1467 |
| 36.7.1 | RNG control register (RNG_CR) | 1467 |
| 36.7.2 | RNG status register (RNG_SR) | 1469 |
| 36.7.3 | RNG data register (RNG_DR) | 1470 |
| 36.7.4 | RNG noise source control register (RNG_NSCR) | 1471 |
| 36.7.5 | RNG health test control register (RNG_HTCR) | 1472 |
| 36.7.6 | RNG register map | 1472 |
| 37 | True random number generator (RNG) | 1473 |
| 37.1 | RNG introduction | 1473 |
| 37.2 | RNG main features | 1473 |
| 37.3 | RNG functional description | 1474 |
| 37.3.1 | RNG block diagram | 1474 |
| 37.3.2 | RNG internal signals | 1474 |
| 37.3.3 | Random number generation | 1475 |
| 37.3.4 | RNG initialization | 1477 |
| 37.3.5 | RNG operation | 1478 |
| 37.3.6 | RNG clocking | 1480 |
| 37.3.7 | Error management | 1480 |
| 37.3.8 | RNG low-power use | 1482 |
| 37.4 | RNG interrupts | 1482 |
| 37.5 | RNG processing time | 1483 |
| 37.6 | RNG entropy source validation | 1483 |
| 37.6.1 | Introduction | 1483 |
| 37.6.2 | Validation conditions | 1483 |
| 37.7 | RNG registers | 1485 |
| 37.7.1 | RNG control register (RNG_CR) | 1485 |
| 37.7.2 | RNG status register (RNG_SR) | 1487 |
| 37.7.3 | RNG data register (RNG_DR) | 1488 |
| 37.7.4 | RNG noise source control register (RNG_NSCR) | 1489 |
| 37.7.5 | RNG health test control register x (RNG_HTCRx) | 1489 |
| 37.7.6 | RNG health test status register 0 (RNG_HTSR0) | 1490 |
| 37.7.7 | RNG health test status register 1 (RNG_HTSR1) | 1490 |
| 37.7.8 | RNG noise source mask register (RNG_NSMR) | 1491 |
| 37.7.9 | RNG register map | 1492 |
| 38 | Secure AES coprocessor (SAES) | 1493 |
| 38.1 | SAES introduction | 1493 |
| 38.2 | SAES main features | 1493 |
| 38.3 | SAES implementation | 1494 |
| 38.4 | SAES functional description | 1494 |
| 38.4.1 | SAES block diagram | 1494 |
| 38.4.2 | SAES internal signals | 1495 |
| 38.4.3 | SAES reset and clocks | 1496 |
| 38.4.4 | SAES symmetric cipher implementation | 1496 |
| 38.4.5 | SAES encryption or decryption typical usage | 1497 |
| 38.4.6 | SAES authenticated encryption, decryption, and cipher-based message authentication | 1499 |
| 38.4.7 | SAES ciphertext stealing and data padding | 1500 |
| 38.4.8 | SAES suspend and resume operations | 1500 |
| 38.4.9 | SAES basic chaining modes (ECB, CBC) | 1501 |
| 38.4.10 | SAES counter (CTR) mode | 1505 |
| 38.4.11 | SAES Galois/counter mode (GCM) | 1507 |
| 38.4.12 | SAES Galois message authentication code (GMAC) | 1511 |
| 38.4.13 | SAES counter with CBC-MAC (CCM) | 1513 |
| 38.4.14 | SAES operation with wrapped keys | 1518 |
| 38.4.15 | SAES operation with shared keys | 1522 |
| 38.4.16 | SAES data registers and data swapping | 1523 |
| 38.4.17 | SAES key registers | 1526 |
| 38.4.18 | SAES initialization vector registers | 1527 |
| 38.4.19 | SAES error management | 1528 |
| 38.5 | SAES interrupts | 1530 |
| 38.6 | SAES DMA requests | 1530 |
| 38.7 | SAES processing latency | 1531 |
| 38.8 | SAES registers | 1533 |
| 38.8.1 | SAES control register (SAES_CR) | 1533 |
| 38.8.2 | SAES status register (SAES_SR) | 1536 |
| 38.8.3 | SAES data input register (SAES_DINR) | 1537 |
| 38.8.4 | SAES data output register (SAES_DOUTR) | 1538 |
| 38.8.5 | SAES key register 0 (SAES_KEYR0) | 1538 |
| 38.8.6 | SAES key register 1 (SAES_KEYR1) | 1539 |
| 38.8.7 | SAES key register 2 (SAES_KEYR2) | 1539 |
| 38.8.8 | SAES key register 3 (SAES_KEYR3) | 1539 |
| 38.8.9 | SAES initialization vector register 0 (SAES_IVR0) | 1540 |
| 38.8.10 | SAES initialization vector register 1 (SAES_IVR1) | 1540 |
| 38.8.11 | SAES initialization vector register 2 (SAES_IVR2) | 1540 |
| 38.8.12 | SAES initialization vector register 3 (SAES_IVR3) | 1541 |
| 38.8.13 | SAES key register 4 (SAES_KEYR4) | 1541 |
| 38.8.14 | SAES key register 5 (SAES_KEYR5) | 1541 |
| 38.8.15 | SAES key register 6 (SAES_KEYR6) | 1542 |
| 38.8.16 | SAES key register 7 (SAES_KEYR7) | 1542 |
| 38.8.17 | SAES suspend registers (SAES_SUSPRx) | 1542 |
| 38.8.18 | SAES interrupt enable register (SAES_IER) | 1543 |
| 38.8.19 | SAES interrupt status register (SAES_ISR) | 1544 |
| 38.8.20 | SAES interrupt clear register (SAES_ICR) | 1545 |
| 38.8.21 | SAES register map | 1546 |
| 39 | AES hardware accelerator (AES) | 1548 |
| 39.1 | AES introduction | 1548 |
| 39.2 | AES main features | 1548 |
| 39.3 | AES implementation | 1549 |
| 39.4 | AES functional description | 1549 |
| 39.4.1 | AES block diagram | 1549 |
| 39.4.2 | AES internal signals . . . . . | 1550 |
| 39.4.3 | AES reset and clocks . . . . . | 1550 |
| 39.4.4 | AES symmetric cipher implementation . . . . . | 1550 |
| 39.4.5 | AES encryption or decryption typical usage . . . . . | 1551 |
| 39.4.6 | AES authenticated encryption, decryption, and cipher-based message authentication . . . . . | 1553 |
| 39.4.7 | AES ciphertext stealing and data padding . . . . . | 1553 |
| 39.4.8 | AES suspend and resume operations . . . . . | 1554 |
| 39.4.9 | AES basic chaining modes (ECB, CBC) . . . . . | 1555 |
| 39.4.10 | AES counter (CTR) mode . . . . . | 1558 |
| 39.4.11 | AES Galois/counter mode (GCM) . . . . . | 1561 |
| 39.4.12 | AES Galois message authentication code (GMAC) . . . . . | 1565 |
| 39.4.13 | AES counter with CBC-MAC (CCM) . . . . . | 1566 |
| 39.4.14 | AES key sharing with secure AES co-processor . . . . . | 1571 |
| 39.4.15 | AES data registers and data swapping . . . . . | 1572 |
| 39.4.16 | AES key registers . . . . . | 1574 |
| 39.4.17 | AES initialization vector registers . . . . . | 1574 |
| 39.4.18 | AES error management . . . . . | 1575 |
| 39.5 | AES interrupts . . . . . | 1576 |
| 39.6 | AES DMA requests . . . . . | 1576 |
| 39.7 | AES processing latency . . . . . | 1577 |
| 39.8 | AES registers . . . . . | 1579 |
| 39.8.1 | AES control register (AES_CR) . . . . . | 1579 |
| 39.8.2 | AES status register (AES_SR) . . . . . | 1581 |
| 39.8.3 | AES data input register (AES_DINR) . . . . . | 1582 |
| 39.8.4 | AES data output register (AES_DOUTR) . . . . . | 1583 |
| 39.8.5 | AES key register 0 (AES_KEYR0) . . . . . | 1583 |
| 39.8.6 | AES key register 1 (AES_KEYR1) . . . . . | 1584 |
| 39.8.7 | AES key register 2 (AES_KEYR2) . . . . . | 1584 |
| 39.8.8 | AES key register 3 (AES_KEYR3) . . . . . | 1584 |
| 39.8.9 | AES initialization vector register 0 (AES_IVR0) . . . . . | 1585 |
| 39.8.10 | AES initialization vector register 1 (AES_IVR1) . . . . . | 1585 |
| 39.8.11 | AES initialization vector register 2 (AES_IVR2) . . . . . | 1585 |
| 39.8.12 | AES initialization vector register 3 (AES_IVR3) . . . . . | 1586 |
| 39.8.13 | AES key register 4 (AES_KEYR4) . . . . . | 1586 |
| 39.8.14 | AES key register 5 (AES_KEYR5) . . . . . | 1586 |
| 39.8.15 | AES key register 6 (AES_KEYR6) . . . . . | 1587 |
| 39.8.16 | AES key register 7 (AES_KEYR7) ..... | 1587 |
| 39.8.17 | AES suspend registers (AES_SUSPRx) ..... | 1587 |
| 39.8.18 | AES interrupt enable register (AES_IER) ..... | 1588 |
| 39.8.19 | AES interrupt status register (AES_ISR) ..... | 1589 |
| 39.8.20 | AES interrupt clear register (AES_ICR) ..... | 1590 |
| 39.8.21 | AES register map ..... | 1590 |
| 40 | Hash processor (HASH) ..... | 1593 |
| 40.1 | HASH introduction ..... | 1593 |
| 40.2 | HASH main features ..... | 1593 |
| 40.3 | HASH implementation ..... | 1594 |
| 40.4 | HASH functional description ..... | 1594 |
| 40.4.1 | HASH block diagram ..... | 1594 |
| 40.4.2 | HASH internal signals ..... | 1595 |
| 40.4.3 | About secure hash algorithms ..... | 1595 |
| 40.4.4 | Message data feeding ..... | 1596 |
| 40.4.5 | Message digest computing ..... | 1597 |
| 40.4.6 | Message padding ..... | 1600 |
| 40.4.7 | HMAC operation ..... | 1601 |
| 40.4.8 | HASH suspend/resume operations ..... | 1603 |
| 40.4.9 | HASH DMA interface ..... | 1605 |
| 40.4.10 | HASH error management ..... | 1606 |
| 40.4.11 | HASH processing time ..... | 1606 |
| 40.5 | HASH interrupts ..... | 1606 |
| 40.6 | HASH registers ..... | 1607 |
| 40.6.1 | HASH control register (HASH_CR) ..... | 1607 |
| 40.6.2 | HASH data input register (HASH_DIN) ..... | 1609 |
| 40.6.3 | HASH start register (HASH_STR) ..... | 1610 |
| 40.6.4 | HASH digest registers ..... | 1611 |
| 40.6.5 | HASH interrupt enable register (HASH_IMR) ..... | 1613 |
| 40.6.6 | HASH status register (HASH_SR) ..... | 1613 |
| 40.6.7 | HASH context swap registers ..... | 1615 |
| 40.6.8 | HASH register map ..... | 1615 |
| 41 | Public key accelerator (PKA) ..... | 1617 |
| 41.1 | PKA introduction ..... | 1617 |
| 41.2 | PKA main features | 1617 |
| 41.3 | PKA implementation | 1617 |
| 41.4 | PKA functional description | 1618 |
| 41.4.1 | PKA block diagram | 1618 |
| 41.4.2 | PKA internal signals | 1618 |
| 41.4.3 | PKA reset and clocks | 1619 |
| 41.4.4 | PKA public key acceleration | 1619 |
| 41.4.5 | Typical applications for PKA | 1621 |
| 41.4.6 | PKA procedure to perform an operation | 1623 |
| 41.4.7 | Private keys protection using CCB | 1624 |
| 41.4.8 | PKA error management | 1628 |
| 41.5 | PKA operating modes | 1628 |
| 41.5.1 | Introduction | 1628 |
| 41.5.2 | Montgomery parameter computation | 1630 |
| 41.5.3 | Modular addition | 1630 |
| 41.5.4 | Modular subtraction | 1631 |
| 41.5.5 | Modular and Montgomery multiplication | 1631 |
| 41.5.6 | Modular exponentiation | 1632 |
| 41.5.7 | Modular inversion | 1634 |
| 41.5.8 | Modular reduction | 1634 |
| 41.5.9 | Arithmetic addition | 1635 |
| 41.5.10 | Arithmetic subtraction | 1635 |
| 41.5.11 | Arithmetic multiplication | 1636 |
| 41.5.12 | Arithmetic comparison | 1636 |
| 41.5.13 | RSA CRT exponentiation | 1636 |
| 41.5.14 | Point on elliptic curve \(F_p\) check | 1637 |
| 41.5.15 | ECC \(F_p\) scalar multiplication | 1638 |
| 41.5.16 | ECDSA sign | 1639 |
| 41.5.17 | ECDSA verification | 1641 |
| 41.5.18 | ECC complete addition | 1642 |
| 41.5.19 | ECC double base ladder | 1642 |
| 41.5.20 | ECC projective to affine | 1643 |
| 41.6 | Example of configurations and processing times | 1644 |
| 41.6.1 | Supported elliptic curves | 1644 |
| 41.6.2 | Computation times | 1646 |
| 41.7 | PKA interrupts | 1648 |
| 41.8 | PKA registers ..... | 1649 |
| 41.8.1 | PKA control register (PKA_CR) ..... | 1649 |
| 41.8.2 | PKA status register (PKA_SR) ..... | 1651 |
| 41.8.3 | PKA clear flag register (PKA_CLRFR) ..... | 1653 |
| 41.8.4 | PKA RAM ..... | 1654 |
| 41.8.5 | PKA register map ..... | 1655 |
| 42 | On-the-fly decryption engine (OTFDEC) ..... | 1656 |
| 42.1 | OTFDEC introduction ..... | 1656 |
| 42.2 | OTFDEC main features ..... | 1656 |
| 42.3 | OTFDEC functional description ..... | 1657 |
| 42.3.1 | OTFDEC block diagram ..... | 1657 |
| 42.3.2 | OTFDEC internal signals ..... | 1657 |
| 42.3.3 | OTFDEC on-the-fly decryption ..... | 1658 |
| 42.3.4 | OTFDEC usage of AES in counter mode decryption ..... | 1659 |
| 42.3.5 | Flow control management ..... | 1660 |
| 42.3.6 | OTFDEC error management ..... | 1660 |
| 42.4 | OTFDEC interrupts ..... | 1661 |
| 42.5 | OTFDEC application information ..... | 1661 |
| 42.5.1 | OTFDEC initialization process ..... | 1661 |
| 42.5.2 | OTFDEC and power management ..... | 1663 |
| 42.5.3 | Encrypting for OTFDEC ..... | 1663 |
| 42.5.4 | OTFDEC key CRC source code ..... | 1664 |
| 42.6 | OTFDEC registers ..... | 1665 |
| 42.6.1 | OTFDEC control register (OTFDEC_CR) ..... | 1665 |
| 42.6.2 | OTFDEC privileged access control configuration register (OTFDEC_PRIVCFGR) ..... | 1666 |
| 42.6.3 | OTFDEC region x configuration register (OTFDEC_RxCFGR) .... | 1666 |
| 42.6.4 | OTFDEC region x start address register (OTFDEC_RxSTARTADDR) ..... | 1668 |
| 42.6.5 | OTFDEC region x end address register (OTFDEC_RxENDADDR) .. | 1668 |
| 42.6.6 | OTFDEC region x nonce register 0 (OTFDEC_RxNONCER0) .... | 1669 |
| 42.6.7 | OTFDEC region x nonce register 1 (OTFDEC_RxNONCER1) .... | 1670 |
| 42.6.8 | OTFDEC region x key register 0 (OTFDEC_RxKEYR0) ..... | 1670 |
| 42.6.9 | OTFDEC region x key register 1 (OTFDEC_RxKEYR1) ..... | 1671 |
| 42.6.10 | OTFDEC region x key register 2 (OTFDEC_RxKEYR2) ..... | 1671 |
| 42.6.11 | OTFDEC region x key register 3 (OTFDEC_RxKEYR3) ..... | 1672 |
| 42.6.12 | OTFDEC interrupt status register (OTFDEC_ISR) ..... | 1672 |
| 42.6.13 | OTFDEC interrupt clear register (OTFDEC_ICR) ..... | 1673 |
| 42.6.14 | OTFDEC interrupt enable register (OTFDEC_IER) ..... | 1674 |
| 42.6.15 | OTFDEC register map ..... | 1675 |
| 43 | Advanced-control timers (TIM1/TIM8) ..... | 1679 |
| 43.1 | TIM1/TIM8 introduction ..... | 1679 |
| 43.2 | TIM1/TIM8 main features ..... | 1679 |
| 43.3 | TIM1/TIM8 functional description ..... | 1680 |
| 43.3.1 | Block diagram ..... | 1680 |
| 43.3.2 | TIM1/TIM8 pins and internal signals ..... | 1681 |
| 43.3.3 | Time-base unit ..... | 1686 |
| 43.3.4 | Counter modes ..... | 1688 |
| 43.3.5 | Repetition counter ..... | 1700 |
| 43.3.6 | External trigger input ..... | 1701 |
| 43.3.7 | Clock selection ..... | 1702 |
| 43.3.8 | Capture/compare channels ..... | 1706 |
| 43.3.9 | Input capture mode ..... | 1709 |
| 43.3.10 | PWM input mode ..... | 1710 |
| 43.3.11 | Forced output mode ..... | 1711 |
| 43.3.12 | Output compare mode ..... | 1711 |
| 43.3.13 | PWM mode ..... | 1713 |
| 43.3.14 | Asymmetric PWM mode ..... | 1721 |
| 43.3.15 | Combined PWM mode ..... | 1722 |
| 43.3.16 | Combined 3-phase PWM mode ..... | 1723 |
| 43.3.17 | Complementary outputs and dead-time insertion ..... | 1724 |
| 43.3.18 | Using the break function ..... | 1727 |
| 43.3.19 | Bidirectional break inputs ..... | 1733 |
| 43.3.20 | Clearing the tim_ocxref signal on an external event ..... | 1734 |
| 43.3.21 | 6-step PWM generation ..... | 1736 |
| 43.3.22 | One-pulse mode ..... | 1737 |
| 43.3.23 | Retriggerable One-pulse mode ..... | 1739 |
| 43.3.24 | Pulse on compare mode ..... | 1740 |
| 43.3.25 | Encoder interface mode ..... | 1742 |
| 43.3.26 | Direction bit output ..... | 1759 |
| 43.3.27 | UIF bit remapping ..... | 1760 |
| 43.3.28 | Timer input XOR function ..... | 1760 |
| 43.3.29 | Interfacing with Hall sensors ..... | 1760 |
| 43.3.30 | Timer synchronization ..... | 1762 |
| 43.3.31 | ADC triggers ..... | 1767 |
| 43.3.32 | DMA burst mode ..... | 1767 |
| 43.3.33 | TIM1/TIM8 DMA requests ..... | 1768 |
| 43.3.34 | Debug mode ..... | 1768 |
| 43.4 | TIM1/TIM8 low-power modes ..... | 1769 |
| 43.5 | TIM1/TIM8 interrupts ..... | 1769 |
| 43.6 | TIM1/TIM8 registers ..... | 1770 |
| 43.6.1 | TIMx control register 1 (TIMx_CR1)(x = 1, 8) ..... | 1770 |
| 43.6.2 | TIMx control register 2 (TIMx_CR2)(x = 1, 8) ..... | 1771 |
| 43.6.3 | TIMx slave mode control register (TIMx_SMCR)(x = 1, 8) ..... | 1775 |
| 43.6.4 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 1, 8) ..... | 1779 |
| 43.6.5 | TIMx status register (TIMx_SR)(x = 1, 8) ..... | 1780 |
| 43.6.6 | TIMx event generation register (TIMx_EGR)(x = 1, 8) ..... | 1783 |
| 43.6.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1) (x = 1, 8) ..... | 1784 |
| 43.6.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 1, 8) ..... | 1786 |
| 43.6.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2) (x = 1, 8) ..... | 1789 |
| 43.6.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 1, 8) ..... | 1790 |
| 43.6.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 1, 8) .... | 1793 |
| 43.6.12 | TIMx counter (TIMx_CNT)(x = 1, 8) ..... | 1797 |
| 43.6.13 | TIMx prescaler (TIMx_PSC)(x = 1, 8) ..... | 1797 |
| 43.6.14 | TIMx autoreload register (TIMx_ARR)(x = 1, 8) ..... | 1798 |
| 43.6.15 | TIMx repetition counter register (TIMx_RCR)(x = 1, 8) ..... | 1798 |
| 43.6.16 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 1, 8) ..... | 1799 |
| 43.6.17 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 1, 8) ..... | 1799 |
| 43.6.18 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 1, 8) ..... | 1800 |
| 43.6.19 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 1, 8) ..... | 1801 |
| 43.6.20 | TIMx break and dead-time register (TIMx_BDTR)(x = 1, 8) ..... | 1802 |
| 43.6.21 | TIMx capture/compare register 5 (TIMx_CCR5)(x = 1, 8) ..... | 1806 |
| 43.6.22 | TIMx capture/compare register 6 (TIMx_CCR6)(x = 1, 8) ..... | 1807 |
| 43.6.23 | TIMx capture/compare mode register 3 (TIMx_CCMR3) (x = 1, 8) ..... | 1808 |
| 43.6.24 | TIMx timer deadtime register 2 (TIMx_DTR2)(x = 1, 8) ..... | 1809 |
| 43.6.25 | TIMx timer encoder control register (TIMx_ECR)(x = 1, 8) . . . . . | 1810 |
| 43.6.26 | TIMx timer input selection register (TIMx_TISEL)(x = 1, 8) . . . . . | 1811 |
| 43.6.27 | TIMx alternate function option register 1 (TIMx_AF1)(x = 1, 8) . . . . . | 1812 |
| 43.6.28 | TIMx alternate function register 2 (TIMx_AF2)(x = 1, 8) . . . . . | 1815 |
| 43.6.29 | TIMx DMA control register (TIMx_DCR)(x = 1, 8) . . . . . | 1817 |
| 43.6.30 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 1, 8) . . . . . | 1819 |
| 43.6.31 | TIMx register map . . . . . | 1819 |
| 44 | General-purpose timers (TIM2/TIM3/TIM4/TIM5) . . . . . | 1822 |
| 44.1 | TIM2/TIM3/TIM4/TIM5 introduction . . . . . | 1822 |
| 44.2 | TIM2/TIM3/TIM4/TIM5 main features . . . . . | 1822 |
| 44.3 | TIM2/TIM3/TIM4/TIM5 implementation . . . . . | 1823 |
| 44.4 | TIM2/TIM3/TIM4/TIM5 functional description . . . . . | 1824 |
| 44.4.1 | Block diagram . . . . . | 1824 |
| 44.4.2 | TIM2/TIM3/TIM4/TIM5 pins and internal signals . . . . . | 1825 |
| 44.4.3 | Time-base unit . . . . . | 1829 |
| 44.4.4 | Counter modes . . . . . | 1831 |
| 44.4.5 | Clock selection . . . . . | 1842 |
| 44.4.6 | Capture/compare channels . . . . . | 1846 |
| 44.4.7 | Input capture mode . . . . . | 1848 |
| 44.4.8 | PWM input mode . . . . . | 1849 |
| 44.4.9 | Forced output mode . . . . . | 1850 |
| 44.4.10 | Output compare mode . . . . . | 1850 |
| 44.4.11 | PWM mode . . . . . | 1852 |
| 44.4.12 | Asymmetric PWM mode . . . . . | 1860 |
| 44.4.13 | Combined PWM mode . . . . . | 1861 |
| 44.4.14 | Clearing the tim_ocxref signal on an external event . . . . . | 1862 |
| 44.4.15 | One-pulse mode . . . . . | 1864 |
| 44.4.16 | Retriggerable one-pulse mode . . . . . | 1865 |
| 44.4.17 | Pulse on compare mode . . . . . | 1866 |
| 44.4.18 | Encoder interface mode . . . . . | 1868 |
| 44.4.19 | Direction bit output . . . . . | 1886 |
| 44.4.20 | UIF bit remapping . . . . . | 1887 |
| 44.4.21 | Timer input XOR function . . . . . | 1887 |
| 44.4.22 | Timers and external trigger synchronization . . . . . | 1887 |
| 44.4.23 | Timer synchronization . . . . . | 1891 |
| 44.4.24 | ADC triggers . . . . . | 1896 |
| 44.4.25 | DMA burst mode | 1897 |
| 44.4.26 | TIM2/TIM3/TIM4/TIM5 DMA requests | 1898 |
| 44.4.27 | Debug mode | 1898 |
| 44.4.28 | TIM2/TIM3/TIM4/TIM5 low-power modes | 1898 |
| 44.4.29 | TIM2/TIM3/TIM4/TIM5 interrupts | 1899 |
| 44.5 | TIM2/TIM3/TIM4/TIM5 registers | 1900 |
| 44.5.1 | TIMx control register 1 (TIMx_CR1)(x = 2 to 5) | 1900 |
| 44.5.2 | TIMx control register 2 (TIMx_CR2)(x = 2 to 5) | 1901 |
| 44.5.3 | TIMx slave mode control register (TIMx_SMCR)(x = 2 to 5) | 1903 |
| 44.5.4 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 2 to 5) | 1907 |
| 44.5.5 | TIMx status register (TIMx_SR)(x = 2 to 5) | 1908 |
| 44.5.6 | TIMx event generation register (TIMx_EGR)(x = 2 to 5) | 1910 |
| 44.5.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 2 to 5) | 1911 |
| 44.5.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 2 to 5) | 1913 |
| 44.5.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2)(x = 2 to 5) | 1915 |
| 44.5.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 2 to 5) | 1916 |
| 44.5.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 2 to 5) | 1919 |
| 44.5.12 | TIMx counter (TIMx_CNT)(x = 3, 4) | 1920 |
| 44.5.13 | TIMx counter (TIMx_CNT)(x = 2, 5) | 1921 |
| 44.5.14 | TIMx prescaler (TIMx_PSC)(x = 2 to 5) | 1921 |
| 44.5.15 | TIMx autoreload register (TIMx_ARR)(x = 3, 4) | 1922 |
| 44.5.16 | TIMx autoreload register (TIMx_ARR)(x = 2, 5) | 1922 |
| 44.5.17 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 3, 4) | 1923 |
| 44.5.18 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 2, 5) | 1924 |
| 44.5.19 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 3, 4) | 1924 |
| 44.5.20 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 2, 5) | 1925 |
| 44.5.21 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 3, 4) | 1926 |
| 44.5.22 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 2, 5) | 1927 |
| 44.5.23 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 3, 4) | 1928 |
| 44.5.24 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 2, 5) | 1929 |
| 44.5.25 | TIMx timer encoder control register (TIMx_ECR)(x = 2 to 5) | 1930 |
| 44.5.26 | TIMx timer input selection register (TIMx_TISEL)(x = 2 to 5) | 1931 |
| 44.5.27 | TIMx alternate function register 1 (TIMx_AF1)(x = 2 to 5) | 1932 |
| 44.5.28 | TIMx alternate function register 2 (TIMx_AF2)(x = 2 to 5) | 1933 |
| 44.5.29 | TIMx DMA control register (TIMx_DCR)(x = 2 to 5) | 1934 |
| 44.5.30 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 2 to 5) . . . . . | 1935 |
| 44.5.31 | TIMx register map . . . . . | 1936 |
| 45 | Basic timers (TIM6/TIM7) . . . . . | 1939 |
| 45.1 | TIM6/TIM7 introduction . . . . . | 1939 |
| 45.2 | TIM6/TIM7 main features . . . . . | 1939 |
| 45.3 | TIM6/TIM7 functional description . . . . . | 1940 |
| 45.3.1 | TIM6/TIM7 block diagram . . . . . | 1940 |
| 45.3.2 | TIM6/TIM7 internal signals . . . . . | 1940 |
| 45.3.3 | TIM6/TIM7 clocks . . . . . | 1941 |
| 45.3.4 | Time-base unit . . . . . | 1941 |
| 45.3.5 | Counting mode . . . . . | 1943 |
| 45.3.6 | UIF bit remapping . . . . . | 1950 |
| 45.3.7 | ADC triggers . . . . . | 1951 |
| 45.3.8 | TIM6/TIM7 DMA requests . . . . . | 1951 |
| 45.3.9 | Debug mode . . . . . | 1951 |
| 45.3.10 | TIM6/TIM7 low-power modes . . . . . | 1951 |
| 45.3.11 | TIM6/TIM7 interrupts . . . . . | 1951 |
| 45.4 | TIM6/TIM7 registers . . . . . | 1952 |
| 45.4.1 | TIMx control register 1 (TIMx_CR1)(x = 6 to 7) . . . . . | 1952 |
| 45.4.2 | TIMx control register 2 (TIMx_CR2)(x = 6 to 7) . . . . . | 1954 |
| 45.4.3 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 6 to 7) . . . . . | 1954 |
| 45.4.4 | TIMx status register (TIMx_SR)(x = 6 to 7) . . . . . | 1955 |
| 45.4.5 | TIMx event generation register (TIMx_EGR)(x = 6 to 7) . . . . . | 1955 |
| 45.4.6 | TIMx counter (TIMx_CNT)(x = 6 to 7) . . . . . | 1955 |
| 45.4.7 | TIMx prescaler (TIMx_PSC)(x = 6 to 7) . . . . . | 1956 |
| 45.4.8 | TIMx autoreload register (TIMx_ARR)(x = 6 to 7) . . . . . | 1956 |
| 45.4.9 | TIMx register map . . . . . | 1957 |
| 46 | General-purpose timers (TIM12/TIM13/TIM14) . . . . . | 1958 |
| 46.1 | TIM12/TIM13/TIM14 introduction . . . . . | 1958 |
| 46.2 | TIM12 main features . . . . . | 1958 |
| 46.3 | TIM13/TIM14 main features . . . . . | 1959 |
| 46.4 | TIM12/TIM13/TIM14 functional description . . . . . | 1960 |
| 46.4.1 | Block diagram . . . . . | 1960 |
| 46.4.2 | TIM12/TIM13/TIM14 pins and internal signals . . . . . | 1961 |
| 46.4.3 | Time-base unit ..... | 1964 |
| 46.4.4 | Counter modes ..... | 1966 |
| 46.4.5 | Clock selection ..... | 1969 |
| 46.4.6 | Capture/compare channels ..... | 1971 |
| 46.4.7 | Input capture mode ..... | 1973 |
| 46.4.8 | PWM input mode (TIM12 only) ..... | 1974 |
| 46.4.9 | Forced output mode ..... | 1975 |
| 46.4.10 | Output compare mode ..... | 1976 |
| 46.4.11 | PWM mode ..... | 1977 |
| 46.4.12 | Combined PWM mode (TIM12 only) ..... | 1982 |
| 46.4.13 | One-pulse mode ..... | 1983 |
| 46.4.14 | Retriggerable one pulse mode (TIM12 only) ..... | 1985 |
| 46.4.15 | UIF bit remapping ..... | 1986 |
| 46.4.16 | Timer input XOR function ..... | 1986 |
| 46.4.17 | TIM12 external trigger synchronization ..... | 1986 |
| 46.4.18 | Slave mode – combined reset + trigger mode ..... | 1989 |
| 46.4.19 | Slave mode – combined reset + gated mode ..... | 1989 |
| 46.4.20 | Timer synchronization (TIM12 only) ..... | 1989 |
| 46.4.21 | Using timer output as trigger for other timers (TIM13/TIM14 only) ..... | 1989 |
| 46.4.22 | ADC triggers (TIM12 only) ..... | 1989 |
| 46.4.23 | Debug mode ..... | 1989 |
| 46.5 | TIM12/TIM13/TIM14 low-power modes ..... | 1990 |
| 46.6 | TIM12/TIM13/TIM14 interrupts ..... | 1990 |
| 46.7 | TIM12 registers ..... | 1990 |
| 46.7.1 | TIM12 control register 1 (TIM12_CR1) ..... | 1990 |
| 46.7.2 | TIM12 control register 2 (TIM12_CR2) ..... | 1992 |
| 46.7.3 | TIM12 slave mode control register (TIM12_SMCR) ..... | 1992 |
| 46.7.4 | TIM12 interrupt enable register (TIM12_DIER) ..... | 1994 |
| 46.7.5 | TIM12 status register (TIM12_SR) ..... | 1995 |
| 46.7.6 | TIM12 event generation register (TIM12_EGR) ..... | 1996 |
| 46.7.7 | TIM12 capture/compare mode register 1 (TIM12_CCMR1) ..... | 1997 |
| 46.7.8 | TIM12 capture/compare mode register 1 [alternate] (TIM12_CCMR1) ..... | 1998 |
| 46.7.9 | TIM12 capture/compare enable register (TIM12_CCER) ..... | 2001 |
| 46.7.10 | TIM12 counter (TIM12_CNT) ..... | 2002 |
| 46.7.11 | TIM12 prescaler (TIM12_PSC) ..... | 2003 |
| 46.7.12 | TIM12 autoreload register (TIM12_ARR) ..... | 2003 |
| 46.7.13 | TIM12 capture/compare register 1 (TIM12_CCR1) ..... | 2004 |
| 46.7.14 | TIM12 capture/compare register 2 (TIM12_CCR2) ..... | 2004 |
| 46.7.15 | TIM12 timer input selection register (TIM12_TISEL) ..... | 2005 |
| 46.7.16 | TIM12 register map ..... | 2006 |
| 46.8 | TIM13/TIM14 registers ..... | 2008 |
| 46.8.1 | TIMx control register 1 (TIMx_CR1)(x = 13, 14) ..... | 2008 |
| 46.8.2 | TIMx interrupt enable register (TIMx_DIER)(x = 13, 14) ..... | 2009 |
| 46.8.3 | TIMx status register (TIMx_SR)(x = 13, 14) ..... | 2009 |
| 46.8.4 | TIMx event generation register (TIMx_EGR)(x = 13, 14) ..... | 2010 |
| 46.8.5 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 13, 14) ..... | 2011 |
| 46.8.6 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 13, 14) ..... | 2012 |
| 46.8.7 | TIMx capture/compare enable register (TIMx_CCER)(x = 13, 14) ..... | 2014 |
| 46.8.8 | TIMx counter (TIMx_CNT)(x = 13, 14) ..... | 2015 |
| 46.8.9 | TIMx prescaler (TIMx_PSC)(x = 13, 14) ..... | 2016 |
| 46.8.10 | TIMx autoreload register (TIMx_ARR)(x = 13, 14) ..... | 2016 |
| 46.8.11 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 13, 14) ..... | 2017 |
| 46.8.12 | TIMx timer input selection register (TIMx_TISEL)(x = 13, 14) ..... | 2017 |
| 46.8.13 | TIM13/TIM14 register map ..... | 2018 |
| 47 | General purpose timers (TIM15/TIM16/TIM17) ..... | 2020 |
| 47.1 | TIM15/TIM16/TIM17 introduction ..... | 2020 |
| 47.2 | TIM15 main features ..... | 2020 |
| 47.3 | TIM16/TIM17 main features ..... | 2021 |
| 47.4 | TIM15/TIM16/TIM17 functional description ..... | 2022 |
| 47.4.1 | Block diagram ..... | 2022 |
| 47.4.2 | TIM15/TIM16/TIM17 pins and internal signals ..... | 2023 |
| 47.4.3 | Time-base unit ..... | 2027 |
| 47.4.4 | Counter modes ..... | 2029 |
| 47.4.5 | Repetition counter ..... | 2033 |
| 47.4.6 | Clock selection ..... | 2034 |
| 47.4.7 | Capture/compare channels ..... | 2036 |
| 47.4.8 | Input capture mode ..... | 2038 |
| 47.4.9 | PWM input mode (only for TIM15) ..... | 2040 |
| 47.4.10 | Forced output mode ..... | 2041 |
| 47.4.11 | Output compare mode ..... | 2041 |
| 47.4.12 | PWM mode ..... | 2043 |
| 47.4.13 | Combined PWM mode (TIM15 only) ..... | 2048 |
| 47.4.14 | Complementary outputs and dead-time insertion ..... | 2049 |
| 47.4.15 | Using the break function ..... | 2052 |
| 47.4.16 | Bidirectional break input ..... | 2056 |
| 47.4.17 | Clearing the tim_ocxref signal on an external event ..... | 2057 |
| 47.4.18 | 6-step PWM generation ..... | 2058 |
| 47.4.19 | One-pulse mode ..... | 2060 |
| 47.4.20 | Retriggerable one pulse mode (TIM15 only) ..... | 2061 |
| 47.4.21 | UIF bit remapping ..... | 2062 |
| 47.4.22 | Timer input XOR function (TIM15 only) ..... | 2062 |
| 47.4.23 | External trigger synchronization (TIM15 only) ..... | 2062 |
| 47.4.24 | Slave mode – combined reset + trigger mode (TIM15 only) ..... | 2065 |
| 47.4.25 | Slave mode – combined reset + gated mode (TIM15 only) ..... | 2065 |
| 47.4.26 | Timer synchronization (TIM15 only) ..... | 2066 |
| 47.4.27 | Using timer output as trigger for other timers (TIM16/TIM17 only) .. | 2066 |
| 47.4.28 | ADC triggers (TIM15 only) ..... | 2066 |
| 47.4.29 | DMA burst mode ..... | 2066 |
| 47.4.30 | TIM15/TIM16/TIM17 DMA requests ..... | 2067 |
| 47.4.31 | Debug mode ..... | 2067 |
| 47.5 | TIM15/TIM16/TIM17 low-power modes ..... | 2068 |
| 47.6 | TIM15/TIM16/TIM17 interrupts ..... | 2068 |
| 47.7 | TIM15 registers ..... | 2068 |
| 47.7.1 | TIM15 control register 1 (TIM15_CR1) ..... | 2069 |
| 47.7.2 | TIM15 control register 2 (TIM15_CR2) ..... | 2070 |
| 47.7.3 | TIM15 slave mode control register (TIM15_SMCR) ..... | 2072 |
| 47.7.4 | TIM15 DMA/interrupt enable register (TIM15_DIER) ..... | 2074 |
| 47.7.5 | TIM15 status register (TIM15_SR) ..... | 2075 |
| 47.7.6 | TIM15 event generation register (TIM15_EGR) ..... | 2077 |
| 47.7.7 | TIM15 capture/compare mode register 1 (TIM15_CCMR1) ..... | 2078 |
| 47.7.8 | TIM15 capture/compare mode register 1 [alternate] (TIM15_CCMR1) ..... | 2079 |
| 47.7.9 | TIM15 capture/compare enable register (TIM15_CCER) ..... | 2082 |
| 47.7.10 | TIM15 counter (TIM15_CNT) ..... | 2085 |
| 47.7.11 | TIM15 prescaler (TIM15_PSC) ..... | 2085 |
| 47.7.12 | TIM15 autoreload register (TIM15_ARR) ..... | 2086 |
| 47.7.13 | TIM15 repetition counter register (TIM15_RCR) ..... | 2086 |
| 47.7.14 | TIM15 capture/compare register 1 (TIM15_CCR1) ..... | 2087 |
| 47.7.15 | TIM15 capture/compare register 2 (TIM15_CCR2) ..... | 2088 |
| 47.7.16 | TIM15 break and dead-time register (TIM15_BDTR) ..... | 2088 |
| 47.7.17 | TIM15 timer deadtime register 2 (TIM15_DTR2) ..... | 2091 |
| 47.7.18 | TIM15 input selection register (TIM15_TISEL) ..... | 2092 |
| 47.7.19 | TIM15 alternate function register 1 (TIM15_AF1) ..... | 2093 |
| 47.7.20 | TIM15 alternate function register 2 (TIM15_AF2) ..... | 2095 |
| 47.7.21 | TIM15 DMA control register (TIM15_DCR) ..... | 2096 |
| 47.7.22 | TIM15 DMA address for full transfer (TIM15_DMAR) ..... | 2097 |
| 47.7.23 | TIM15 register map ..... | 2097 |
| 47.8 | TIM16/TIM17 registers ..... | 2100 |
| 47.8.1 | TIMx control register 1 (TIMx_CR1)(x = 16 to 17) ..... | 2100 |
| 47.8.2 | TIMx control register 2 (TIMx_CR2)(x = 16 to 17) ..... | 2101 |
| 47.8.3 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 16 to 17) .... | 2102 |
| 47.8.4 | TIMx status register (TIMx_SR)(x = 16 to 17) ..... | 2103 |
| 47.8.5 | TIMx event generation register (TIMx_EGR)(x = 16 to 17) ..... | 2104 |
| 47.8.6 | TIMx capture/compare mode register 1 (TIMx_CCMR1) (x = 16 to 17) ..... | 2105 |
| 47.8.7 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 16 to 17) ..... | 2106 |
| 47.8.8 | TIMx capture/compare enable register (TIMx_CCER)(x = 16 to 17) . | 2108 |
| 47.8.9 | TIMx counter (TIMx_CNT)(x = 16 to 17) ..... | 2111 |
| 47.8.10 | TIMx prescaler (TIMx_PSC)(x = 16 to 17) ..... | 2111 |
| 47.8.11 | TIMx auto-reautoreload register (TIMx_ARR)(x = 16 to 17) ..... | 2112 |
| 47.8.12 | TIMx repetition counter register (TIMx_RCR)(x = 16 to 17) ..... | 2112 |
| 47.8.13 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 16 to 17) .... | 2113 |
| 47.8.14 | TIMx break and dead-time register (TIMx_BDTR)(x = 16 to 17) .... | 2114 |
| 47.8.15 | TIMx timer deadtime register 2 (TIMx_DTR2)(x = 16 to 17) ..... | 2117 |
| 47.8.16 | TIMx input selection register (TIMx_TISEL)(x = 16 to 17) ..... | 2118 |
| 47.8.17 | TIMx alternate function register 1 (TIMx_AF1)(x = 16 to 17) ..... | 2118 |
| 47.8.18 | TIMx alternate function register 2 (TIMx_AF2)(x = 16 to 17) ..... | 2121 |
| 47.8.19 | TIM17 option register 1 (TIM17_OR1) ..... | 2121 |
| 47.8.20 | TIMx DMA control register (TIMx_DCR)(x = 16 to 17) ..... | 2122 |
| 47.8.21 | TIM16/TIM17 DMA address for full transfer (TIMx_DMAR)(x = 16 to 17) ..... | 2123 |
| 47.8.22 | TIM16/TIM17 register map ..... | 2124 |
| 48 | Low-power timer (LPTIM) | 2127 |
| 48.1 | LPTIM introduction | 2127 |
| 48.2 | LPTIM main features | 2127 |
| 48.3 | LPTIM implementation | 2127 |
| 48.4 | LPTIM functional description | 2129 |
| 48.4.1 | LPTIM block diagram | 2129 |
| 48.4.2 | LPTIM pins and internal signals | 2130 |
| 48.4.3 | LPTIM input and trigger mapping | 2132 |
| 48.4.4 | LPTIM reset and clocks | 2133 |
| 48.4.5 | Glitch filter | 2134 |
| 48.4.6 | Prescaler | 2135 |
| 48.4.7 | Trigger multiplexer | 2135 |
| 48.4.8 | Operating mode | 2136 |
| 48.4.9 | Timeout function | 2138 |
| 48.4.10 | Waveform generation | 2138 |
| 48.4.11 | Register update | 2139 |
| 48.4.12 | Counter mode | 2140 |
| 48.4.13 | Timer enable | 2140 |
| 48.4.14 | Timer counter reset | 2141 |
| 48.4.15 | Encoder mode | 2141 |
| 48.4.16 | Repetition counter | 2143 |
| 48.4.17 | Capture/compare channels | 2144 |
| 48.4.18 | Input capture mode | 2145 |
| 48.4.19 | PWM mode | 2147 |
| 48.4.20 | DMA requests | 2149 |
| 48.4.21 | Debug mode | 2150 |
| 48.5 | LPTIM low-power modes | 2150 |
| 48.6 | LPTIM interrupts | 2150 |
| 48.7 | LPTIM registers | 2151 |
| 48.7.1 | LPTIM4 interrupt and status register (LPTIM4_ISR) | 2152 |
| 48.7.2 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 3, 5, 6) | 2153 |
| 48.7.3 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 3, 5, 6) | 2155 |
| 48.7.4 | LPTIM4 interrupt clear register (LPTIM4_ICR) | 2157 |
| 48.7.5 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 3, 5, 6) | 2158 |
| 48.7.6 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 3, 5, 6) ..... | 2159 |
| 48.7.7 | LPTIM4 interrupt enable register (LPTIM4_DIER) ..... | 2160 |
| 48.7.8 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 3, 5, 6) ..... | 2162 |
| 48.7.9 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 3, 5, 6) ..... | 2163 |
| 48.7.10 | LPTIM configuration register (LPTIM_CFGR) ..... | 2165 |
| 48.7.11 | LPTIM control register (LPTIM_CR) ..... | 2168 |
| 48.7.12 | LPTIM compare register 1 (LPTIM_CCR1) ..... | 2169 |
| 48.7.13 | LPTIM autoreload register (LPTIM_ARR) ..... | 2170 |
| 48.7.14 | LPTIM counter register (LPTIM_CNT) ..... | 2170 |
| 48.7.15 | LPTIM configuration register 2 (LPTIM_CFGR2) ..... | 2171 |
| 48.7.16 | LPTIM repetition register (LPTIM_RCR) ..... | 2172 |
| 48.7.17 | LPTIM capture/compare mode register 1 (LPTIM_CCMR1) ..... | 2172 |
| 48.7.18 | LPTIM compare register 2 (LPTIM_CCR2) ..... | 2175 |
| 48.7.19 | LPTIM register map ..... | 2175 |
| 49 | Independent watchdog (IWDG) ..... | 2178 |
| 49.1 | IWDG introduction ..... | 2178 |
| 49.2 | IWDG main features ..... | 2178 |
| 49.3 | IWDG implementation ..... | 2178 |
| 49.4 | IWDG functional description ..... | 2179 |
| 49.4.1 | IWDG block diagram ..... | 2179 |
| 49.4.2 | IWDG internal signals ..... | 2180 |
| 49.4.3 | Software and hardware watchdog modes ..... | 2180 |
| 49.4.4 | Window option ..... | 2181 |
| 49.4.5 | Debug ..... | 2184 |
| 49.4.6 | Register access protection ..... | 2184 |
| 49.5 | IWDG low power modes ..... | 2185 |
| 49.6 | IWDG interrupts ..... | 2185 |
| 49.7 | IWDG registers ..... | 2187 |
| 49.7.1 | IWDG key register (IWDG_KR) ..... | 2188 |
| 49.7.2 | IWDG prescaler register (IWDG_PR) ..... | 2188 |
| 49.7.3 | IWDG reload register (IWDG_RLR) ..... | 2189 |
| 49.7.4 | IWDG status register (IWDG_SR) ..... | 2189 |
| 49.7.5 | IWDG window register (IWDG_WINR) ..... | 2191 |
| 49.7.6 | IWDG early wake-up interrupt register (IWDG_EWCR) ..... | 2191 |
| 49.7.7 | IWDG register map ..... | 2193 |
| 50 | System window watchdog (WWDG) ..... | 2194 |
| 50.1 | WWDG introduction ..... | 2194 |
| 50.2 | WWDG main features ..... | 2194 |
| 50.3 | WWDG implementation ..... | 2194 |
| 50.4 | WWDG functional description ..... | 2195 |
| 50.4.1 | WWDG block diagram ..... | 2195 |
| 50.4.2 | WWDG internal signals ..... | 2195 |
| 50.4.3 | Enabling the watchdog ..... | 2196 |
| 50.4.4 | Controlling the down-counter ..... | 2196 |
| 50.4.5 | How to program the watchdog timeout ..... | 2196 |
| 50.4.6 | Debug mode ..... | 2197 |
| 50.5 | WWDG interrupts ..... | 2198 |
| 50.6 | WWDG registers ..... | 2198 |
| 50.6.1 | WWDG control register (WWDG_CR) ..... | 2198 |
| 50.6.2 | WWDG configuration register (WWDG_CFR) ..... | 2199 |
| 50.6.3 | WWDG status register (WWDG_SR) ..... | 2200 |
| 50.6.4 | WWDG register map ..... | 2200 |
| 51 | Real-time clock (RTC) ..... | 2201 |
| 51.1 | RTC introduction ..... | 2201 |
| 51.2 | RTC main features ..... | 2201 |
| 51.3 | RTC functional description ..... | 2202 |
| 51.3.1 | RTC block diagram ..... | 2202 |
| 51.3.2 | RTC pins and internal signals ..... | 2204 |
| 51.3.3 | GPIOs controlled by the RTC and TAMP ..... | 2205 |
| 51.3.4 | RTC secure protection modes ..... | 2209 |
| 51.3.5 | RTC privilege protection modes ..... | 2211 |
| 51.3.6 | Clock and prescalers ..... | 2212 |
| 51.3.7 | Real-time clock and calendar ..... | 2213 |
| 51.3.8 | Calendar ultra-low power mode ..... | 2213 |
| 51.3.9 | Programmable alarms ..... | 2214 |
| 51.3.10 | Periodic auto-wake-up ..... | 2214 |
| 51.3.11 | RTC initialization and configuration ..... | 2215 |
| 51.3.12 | Reading the calendar | 2218 |
| 51.3.13 | Resetting the RTC | 2219 |
| 51.3.14 | RTC synchronization | 2219 |
| 51.3.15 | RTC reference clock detection | 2219 |
| 51.3.16 | RTC smooth digital calibration | 2220 |
| 51.3.17 | Timestamp function | 2222 |
| 51.3.18 | Calibration clock output | 2223 |
| 51.3.19 | Tamper and alarm output | 2224 |
| 51.4 | RTC low-power modes | 2224 |
| 51.5 | RTC interrupts | 2225 |
| 51.6 | RTC registers | 2226 |
| 51.6.1 | RTC time register (RTC_TR) | 2226 |
| 51.6.2 | RTC date register (RTC_DR) | 2227 |
| 51.6.3 | RTC subsecond register (RTC_SSR) | 2228 |
| 51.6.4 | RTC initialization control and status register (RTC_ICSR) | 2229 |
| 51.6.5 | RTC prescaler register (RTC_PRER) | 2231 |
| 51.6.6 | RTC wake-up timer register (RTC_WUTR) | 2232 |
| 51.6.7 | RTC control register (RTC_CR) | 2232 |
| 51.6.8 | RTC privilege mode control register (RTC_PRIVCFGR) | 2236 |
| 51.6.9 | RTC secure configuration register (RTC_SECCFGR) | 2238 |
| 51.6.10 | RTC write protection register (RTC_WPR) | 2239 |
| 51.6.11 | RTC calibration register (RTC_CALR) | 2240 |
| 51.6.12 | RTC shift control register (RTC_SHIFTR) | 2241 |
| 51.6.13 | RTC timestamp time register (RTC_TSTR) | 2242 |
| 51.6.14 | RTC timestamp date register (RTC_TSDR) | 2243 |
| 51.6.15 | RTC timestamp subsecond register (RTC_TSSSR) | 2244 |
| 51.6.16 | RTC alarm A register (RTC_ALRMAR) | 2244 |
| 51.6.17 | RTC alarm A subsecond register (RTC_ALRMASSR) | 2246 |
| 51.6.18 | RTC alarm B register (RTC_ALRMBR) | 2247 |
| 51.6.19 | RTC alarm B subsecond register (RTC_ALRMBSSR) | 2248 |
| 51.6.20 | RTC status register (RTC_SR) | 2249 |
| 51.6.21 | RTC nonsecure masked interrupt status register (RTC_MISR) | 2251 |
| 51.6.22 | RTC secure masked interrupt status register (RTC_SMISR) | 2252 |
| 51.6.23 | RTC status clear register (RTC_SCR) | 2253 |
| 51.6.24 | RTC option register (RTC_OR) | 2254 |
| 51.6.25 | RTC alarm A binary mode register (RTC_ALRABINR) | 2254 |
| 51.6.26 | RTC alarm B binary mode register (RTC_ALRBBINR) | 2255 |
| 51.6.27 | RTC register map | 2256 |
| 52 | Tamper and backup registers (TAMP) | 2259 |
| 52.1 | TAMP introduction | 2259 |
| 52.2 | TAMP main features | 2260 |
| 52.3 | TAMP implementation | 2260 |
| 52.4 | TAMP functional description | 2261 |
| 52.4.1 | TAMP block diagram | 2261 |
| 52.4.2 | TAMP pins and internal signals | 2262 |
| 52.4.3 | GPIOs controlled by the RTC and TAMP | 2265 |
| 52.4.4 | TAMP register write protection | 2265 |
| 52.4.5 | TAMP secure protection modes | 2265 |
| 52.4.6 | Backup registers protection zones | 2266 |
| 52.4.7 | TAMP privilege protection modes | 2266 |
| 52.4.8 | Boot hardware key (BHK) | 2267 |
| 52.4.9 | Tamper detection | 2267 |
| 52.4.10 | TAMP backup registers and other device secrets erase | 2267 |
| 52.4.11 | Tamper detection configuration and initialization | 2269 |
| 52.5 | TAMP low-power modes | 2276 |
| 52.6 | TAMP interrupts | 2277 |
| 52.7 | TAMP registers | 2277 |
| 52.7.1 | TAMP control register 1 (TAMP_CR1) | 2277 |
| 52.7.2 | TAMP control register 2 (TAMP_CR2) | 2279 |
| 52.7.3 | TAMP control register 3 (TAMP_CR3) | 2282 |
| 52.7.4 | TAMP filter control register (TAMP_FLTCR) | 2283 |
| 52.7.5 | TAMP active tamper control register 1 (TAMP_ATCR1) | 2284 |
| 52.7.6 | TAMP active tamper seed register (TAMP_ATSEEDR) | 2287 |
| 52.7.7 | TAMP active tamper output register (TAMP_ATOM) | 2287 |
| 52.7.8 | TAMP active tamper control register 2 (TAMP_ATCR2) | 2288 |
| 52.7.9 | TAMP secure configuration register (TAMP_SECCFGR) | 2291 |
| 52.7.10 | TAMP privilege configuration register (TAMP_PRIVCFGR) | 2293 |
| 52.7.11 | TAMP interrupt enable register (TAMP_IER) | 2294 |
| 52.7.12 | TAMP status register (TAMP_SR) | 2296 |
| 52.7.13 | TAMP nonsecure masked interrupt status register (TAMP_MISR) | 2298 |
| 52.7.14 | TAMP secure masked interrupt status register (TAMP_SMISR) | 2299 |
| 52.7.15 | TAMP status clear register (TAMP_SCR) | 2301 |
| 52.7.16 | TAMP monotonic counter 1 register (TAMP_COUNT1R) . . . . . | 2303 |
| 52.7.17 | TAMP option register (TAMP_OR) . . . . . | 2303 |
| 52.7.18 | TAMP resources protection configuration register (TAMP_RPCFGR) . . . . . | 2304 |
| 52.7.19 | TAMP backup x register (TAMP_BKPxR) . . . . . | 2305 |
| 52.7.20 | TAMP register map . . . . . | 2306 |
| 53 | Inter-integrated circuit interface (I2C) . . . . . | 2308 |
| 53.1 | I2C introduction . . . . . | 2308 |
| 53.2 | I2C main features . . . . . | 2308 |
| 53.3 | I2C implementation . . . . . | 2309 |
| 53.4 | I2C functional description . . . . . | 2309 |
| 53.4.1 | I2C block diagram . . . . . | 2310 |
| 53.4.2 | I2C pins and internal signals . . . . . | 2310 |
| 53.4.3 | I2C clock requirements . . . . . | 2311 |
| 53.4.4 | I2C mode selection . . . . . | 2311 |
| 53.4.5 | I2C initialization . . . . . | 2312 |
| 53.4.6 | I2C reset . . . . . | 2316 |
| 53.4.7 | I2C data transfer . . . . . | 2317 |
| 53.4.8 | I2C target mode . . . . . | 2319 |
| 53.4.9 | I2C controller mode . . . . . | 2328 |
| 53.4.10 | I2C_TIMINGR register configuration examples . . . . . | 2339 |
| 53.4.11 | SMBus specific features . . . . . | 2341 |
| 53.4.12 | SMBus initialization . . . . . | 2343 |
| 53.4.13 | SMBus I2C_TIMEOUTR register configuration examples . . . . . | 2345 |
| 53.4.14 | SMBus target mode . . . . . | 2346 |
| 53.4.15 | SMBus controller mode . . . . . | 2349 |
| 53.4.16 | Wake-up from Stop mode on address match . . . . . | 2352 |
| 53.4.17 | Error conditions . . . . . | 2353 |
| 53.5 | I2C in low-power modes . . . . . | 2355 |
| 53.6 | I2C interrupts . . . . . | 2355 |
| 53.7 | I2C DMA requests . . . . . | 2356 |
| 53.7.1 | Transmission using DMA . . . . . | 2356 |
| 53.7.2 | Reception using DMA . . . . . | 2356 |
| 53.8 | I2C debug modes . . . . . | 2356 |
| 53.9 | I2C registers . . . . . | 2357 |
| 53.9.1 | I2C control register 1 (I2C_CR1) . . . . . | 2357 |
| 53.9.2 | I2C control register 2 (I2C_CR2) ..... | 2360 |
| 53.9.3 | I2C own address 1 register (I2C_OAR1) ..... | 2362 |
| 53.9.4 | I2C own address 2 register (I2C_OAR2) ..... | 2362 |
| 53.9.5 | I2C timing register (I2C_TIMINGR) ..... | 2363 |
| 53.9.6 | I2C timeout register (I2C_TIMEOUTR) ..... | 2364 |
| 53.9.7 | I2C interrupt and status register (I2C_ISR) ..... | 2365 |
| 53.9.8 | I2C interrupt clear register (I2C_ICR) ..... | 2368 |
| 53.9.9 | I2C PEC register (I2C_PECR) ..... | 2369 |
| 53.9.10 | I2C receive data register (I2C_RXDR) ..... | 2369 |
| 53.9.11 | I2C transmit data register (I2C_TXDR) ..... | 2370 |
| 53.9.12 | I2C register map ..... | 2371 |
| 54 | Improved inter-integrated circuit (I3C) ..... | 2372 |
| 54.1 | I3C introduction ..... | 2372 |
| 54.2 | I3C main features ..... | 2372 |
| 54.3 | I3C implementation ..... | 2374 |
| 54.3.1 | I3C instantiation ..... | 2374 |
| 54.3.2 | I3C wake-up from low-power mode(s) ..... | 2374 |
| 54.3.3 | I3C FIFOs ..... | 2374 |
| 54.3.4 | I3C triggers ..... | 2374 |
| 54.3.5 | I3C interrupt(s) ..... | 2374 |
| 54.3.6 | I3C MIPI® support ..... | 2375 |
| 54.4 | I3C block diagram ..... | 2376 |
| 54.5 | I3C pins and internal signals ..... | 2376 |
| 54.6 | I3C reset and clocks ..... | 2377 |
| 54.6.1 | I3C reset ..... | 2377 |
| 54.6.2 | I3C clocks and requirements ..... | 2377 |
| 54.7 | I3C peripheral state and programming ..... | 2379 |
| 54.7.1 | I3C peripheral state ..... | 2379 |
| 54.7.2 | I3C controller state and programming sequence ..... | 2380 |
| 54.7.3 | I3C target state and programming sequence ..... | 2385 |
| 54.8 | I3C registers and programming ..... | 2392 |
| 54.8.1 | I3C register set, as controller/target ..... | 2392 |
| 54.8.2 | I3C registers and fields use versus peripheral state, as controller .. | 2393 |
| 54.8.3 | I3C registers and fields usage versus peripheral state, as target ... | 2395 |
| 54.9 | I3C bus transfers and programming ..... | 2397 |
| 54.9.1 | I3C command set (CCCs), as controller/target | 2397 |
| 54.9.2 | I3C broadcast/direct CCC transfer (except ENTDA, RSTACT), as controller | 2401 |
| 54.9.3 | I3C broadcast ENTDA CCC transfer, as controller | 2403 |
| 54.9.4 | I3C broadcast/direct RSTACT CCC transfer, as controller | 2403 |
| 54.9.5 | I3C broadcast/direct CCC transfer (except ENTDA, DEFTGTS, DEFGRPA), as target | 2405 |
| 54.9.6 | I3C broadcast ENTDA CCC transfer, as target | 2407 |
| 54.9.7 | I3C broadcast DEFTGTS CCC transfer, as target | 2408 |
| 54.9.8 | I3C broadcast DEFGRPA CCC transfer, as target | 2409 |
| 54.9.9 | I3C direct GETSTATUS CCC response, as target | 2410 |
| 54.9.10 | I3C private read/write transfer, as controller | 2411 |
| 54.9.11 | I3C private read/write transfer, as target | 2412 |
| 54.9.12 | Legacy I2C read/write transfer, as controller | 2413 |
| 54.9.13 | Legacy I2C read/write transfer, as target | 2414 |
| 54.9.14 | I3C IBI transfer, as controller/target | 2414 |
| 54.9.15 | I3C hot-join request transfer, as controller/target | 2416 |
| 54.9.16 | I3C controller-role request transfer, as controller/target | 2417 |
| 54.10 | I3C FIFOs management, as controller | 2418 |
| 54.10.1 | C-FIFO management, as controller | 2418 |
| 54.10.2 | TX-FIFO management, as controller | 2419 |
| 54.10.3 | RX-FIFO management, as controller | 2422 |
| 54.10.4 | S-FIFO management, as controller | 2424 |
| 54.11 | I3C FIFOs management, as target | 2426 |
| 54.11.1 | RX-FIFO management, as target | 2426 |
| 54.11.2 | TX-FIFO management, as target | 2429 |
| 54.12 | I3C error management | 2433 |
| 54.12.1 | Controller error management | 2433 |
| 54.12.2 | Target error management | 2435 |
| 54.13 | I3C in low-power modes | 2436 |
| 54.14 | I3C interrupts | 2438 |
| 54.15 | I3C registers | 2438 |
| 54.15.1 | I3C message control register (I3C_CR) | 2438 |
| 54.15.2 | I3C message control register [alternate] (I3C_CR) | 2440 |
| 54.15.3 | I3C configuration register (I3C_CFGR) | 2442 |
| 54.15.4 | I3C receive data byte register (I3C_RDR) | 2447 |
| 54.15.5 | I3C receive data word register (I3C_RDWR) | 2448 |
| 54.15.6 | I3C transmit data byte register (I3C_TDR) . . . . . | 2449 |
| 54.15.7 | I3C transmit data word register (I3C_TDWR) . . . . . | 2450 |
| 54.15.8 | I3C IBI payload data register (I3C_IBIDR) . . . . . | 2451 |
| 54.15.9 | I3C target transmit configuration register (I3C_TGTTDR) . . . . . | 2452 |
| 54.15.10 | I3C status register (I3C_SR) . . . . . | 2453 |
| 54.15.11 | I3C status error register (I3C_SER) . . . . . | 2454 |
| 54.15.12 | I3C received message register (I3C_RMR) . . . . . | 2456 |
| 54.15.13 | I3C event register (I3C_EVR) . . . . . | 2457 |
| 54.15.14 | I3C interrupt enable register (I3C_IER) . . . . . | 2461 |
| 54.15.15 | I3C clear event register (I3C_CEV) . . . . . | 2463 |
| 54.15.16 | I3C masked interrupt status register (I3C_MISR) . . . . . | 2465 |
| 54.15.17 | I3C own device characteristics register (I3C_DEVR0) . . . . . | 2466 |
| 54.15.18 | I3C device x characteristics register (I3C_DEVRx) . . . . . | 2468 |
| 54.15.19 | I3C maximum read length register (I3C_MAXRLR) . . . . . | 2470 |
| 54.15.20 | I3C maximum write length register (I3C_MAXWLR) . . . . . | 2471 |
| 54.15.21 | I3C I2C target configuration register (I3C_I2CCFGR) . . . . . | 2472 |
| 54.15.22 | I3C timing register 0 (I3C_TIMINGR0) . . . . . | 2473 |
| 54.15.23 | I3C timing register 1 (I3C_TIMINGR1) . . . . . | 2474 |
| 54.15.24 | I3C timing register 2 (I3C_TIMINGR2) . . . . . | 2476 |
| 54.15.25 | I3C bus characteristics register (I3C_BCR) . . . . . | 2478 |
| 54.15.26 | I3C device characteristics register (I3C_DCR) . . . . . | 2479 |
| 54.15.27 | I3C get capability register (I3C_GETCAPR) . . . . . | 2480 |
| 54.15.28 | I3C controller-role capability register (I3C_CRCAPR) . . . . . | 2481 |
| 54.15.29 | I3C get max data speed register (I3C_GETMXDSR) . . . . . | 2482 |
| 54.15.30 | I3C extended provisioned ID register (I3C_EPIDR) . . . . . | 2484 |
| 54.15.31 | I3C register map . . . . . | 2485 |
| 55 | Improved inter-integrated circuit (I3C) . . . . . | 2488 |
| 55.1 | I3C introduction . . . . . | 2488 |
| 55.2 | I3C main features . . . . . | 2488 |
| 55.3 | I3C implementation . . . . . | 2490 |
| 55.3.1 | I3C instantiation . . . . . | 2490 |
| 55.3.2 | I3C wake-up from low-power mode(s) . . . . . | 2490 |
| 55.3.3 | I3C autonomous mode with DMA in Stop mode(s) . . . . . | 2490 |
| 55.3.4 | I3C FIFOs . . . . . | 2490 |
| 55.3.5 | I3C triggers . . . . . | 2490 |
| 55.3.6 | I3C interrupt(s) . . . . . | 2490 |
| 55.3.7 | I3C MIPI® support ..... | 2491 |
| 55.4 | I3C block diagram ..... | 2492 |
| 55.5 | I3C pins and internal signals ..... | 2492 |
| 55.6 | I3C reset and clocks ..... | 2493 |
| 55.6.1 | I3C reset ..... | 2493 |
| 55.6.2 | I3C clocks and requirements ..... | 2493 |
| 55.7 | I3C peripheral state and programming ..... | 2495 |
| 55.7.1 | I3C peripheral state ..... | 2495 |
| 55.7.2 | I3C controller state and programming sequence ..... | 2496 |
| 55.7.3 | I3C target state and programming sequence ..... | 2501 |
| 55.8 | I3C registers and programming ..... | 2505 |
| 55.8.1 | I3C register set, as controller/target ..... | 2505 |
| 55.8.2 | I3C registers and fields use versus peripheral state, as controller .. | 2506 |
| 55.8.3 | I3C registers and fields usage versus peripheral state, as target ... | 2509 |
| 55.9 | I3C bus transfers and programming ..... | 2511 |
| 55.9.1 | I3C command set (CCCs), as controller/target ..... | 2511 |
| 55.9.2 | I3C broadcast/direct CCC transfer (except ENTDA, RSTACT), as controller ..... | 2515 |
| 55.9.3 | I3C broadcast ENTDA CCC transfer, as controller ..... | 2517 |
| 55.9.4 | I3C broadcast/direct RSTACT CCC transfer, as controller ..... | 2517 |
| 55.9.5 | I3C broadcast/direct CCC transfer (except ENTDA, DEFTGTS, DEFGRPA), as target ..... | 2519 |
| 55.9.6 | I3C broadcast ENTDA CCC transfer, as target ..... | 2521 |
| 55.9.7 | I3C broadcast DEFTGTS CCC transfer, as target ..... | 2522 |
| 55.9.8 | I3C broadcast DEFGRPA CCC transfer, as target ..... | 2523 |
| 55.9.9 | I3C direct GETSTATUS CCC response, as target ..... | 2524 |
| 55.9.10 | I3C private read/write transfer, as controller ..... | 2525 |
| 55.9.11 | I3C private read/write transfer, as target ..... | 2526 |
| 55.9.12 | Legacy I2C read/write transfer, as controller ..... | 2527 |
| 55.9.13 | I3C IBI transfer, as controller/target ..... | 2528 |
| 55.9.14 | I3C hot-join request transfer, as controller/target ..... | 2529 |
| 55.9.15 | I3C controller-role request transfer, as controller/target ..... | 2530 |
| 55.10 | I3C FIFOs management, as controller ..... | 2531 |
| 55.10.1 | C-FIFO management, as controller ..... | 2531 |
| 55.10.2 | TX-FIFO management, as controller ..... | 2532 |
| 55.10.3 | RX-FIFO management, as controller ..... | 2535 |
| 55.10.4 | S-FIFO management, as controller ..... | 2537 |
| 55.11 | I3C FIFOs management, as target | 2539 |
| 55.11.1 | RX-FIFO management, as target | 2539 |
| 55.11.2 | TX-FIFO management, as target | 2540 |
| 55.12 | I3C error management | 2543 |
| 55.12.1 | Controller error management | 2543 |
| 55.12.2 | Target error management | 2545 |
| 55.13 | I3C in low-power modes | 2546 |
| 55.14 | I3C interrupts | 2547 |
| 55.15 | I3C registers | 2547 |
| 55.15.1 | I3C message control register (I3C_CR) | 2547 |
| 55.15.2 | I3C message control register [alternate] (I3C_CR) | 2550 |
| 55.15.3 | I3C configuration register (I3C_CFGR) | 2552 |
| 55.15.4 | I3C receive data byte register (I3C_RDR) | 2557 |
| 55.15.5 | I3C receive data word register (I3C_RDWR) | 2558 |
| 55.15.6 | I3C transmit data byte register (I3C_TDR) | 2559 |
| 55.15.7 | I3C transmit data word register (I3C_TDWR) | 2560 |
| 55.15.8 | I3C IBI payload data register (I3C_IBIDR) | 2561 |
| 55.15.9 | I3C target transmit configuration register (I3C_TGTTDR) | 2562 |
| 55.15.10 | I3C status register (I3C_SR) | 2563 |
| 55.15.11 | I3C status error register (I3C_SER) | 2564 |
| 55.15.12 | I3C received message register (I3C_RMR) | 2566 |
| 55.15.13 | I3C event register (I3C_EVR) | 2567 |
| 55.15.14 | I3C interrupt enable register (I3C_IER) | 2571 |
| 55.15.15 | I3C clear event register (I3C_CEV) | 2573 |
| 55.15.16 | I3C masked interrupt status register (I3C_MISR) | 2575 |
| 55.15.17 | I3C own device characteristics register (I3C_DEVR0) | 2576 |
| 55.15.18 | I3C device x characteristics register (I3C_DEVRx) | 2578 |
| 55.15.19 | I3C maximum read length register (I3C_MAXRLR) | 2580 |
| 55.15.20 | I3C maximum write length register (I3C_MAXWLR) | 2581 |
| 55.15.21 | I3C timing register 0 (I3C_TIMINGR0) | 2582 |
| 55.15.22 | I3C timing register 1 (I3C_TIMINGR1) | 2583 |
| 55.15.23 | I3C timing register 2 (I3C_TIMINGR2) | 2585 |
| 55.15.24 | I3C bus characteristics register (I3C_BCR) | 2586 |
| 55.15.25 | I3C device characteristics register (I3C_DCR) | 2587 |
| 55.15.26 | I3C get capability register (I3C_GETCAPR) | 2588 |
| 55.15.27 | I3C controller-role capability register (I3C_CRCAPR) | 2589 |
| 55.15.28 | I3C get max data speed register (I3C_GETMXDSR) ..... | 2590 |
| 55.15.29 | I3C extended provisioned ID register (I3C_EPIDR) ..... | 2592 |
| 55.15.30 | I3C register map ..... | 2593 |
| 56 | Universal synchronous/asynchronous receiver transmitter (USART/UART) ..... | 2596 |
| 56.1 | USART introduction ..... | 2596 |
| 56.2 | USART main features ..... | 2596 |
| 56.3 | USART extended features ..... | 2597 |
| 56.4 | USART implementation ..... | 2597 |
| 56.5 | USART functional description ..... | 2599 |
| 56.5.1 | USART block diagram ..... | 2599 |
| 56.5.2 | USART pins and internal signals ..... | 2599 |
| 56.5.3 | USART clocks ..... | 2601 |
| 56.5.4 | USART character description ..... | 2601 |
| 56.5.5 | USART FIFOs and thresholds ..... | 2604 |
| 56.5.6 | USART transmitter ..... | 2604 |
| 56.5.7 | USART receiver ..... | 2607 |
| 56.5.8 | USART baud rate generation ..... | 2614 |
| 56.5.9 | Tolerance of the USART receiver to clock deviation ..... | 2616 |
| 56.5.10 | USART auto baud rate detection ..... | 2617 |
| 56.5.11 | USART multiprocessor communication ..... | 2619 |
| 56.5.12 | USART Modbus communication ..... | 2621 |
| 56.5.13 | USART parity control ..... | 2622 |
| 56.5.14 | USART LIN (local interconnection network) mode ..... | 2623 |
| 56.5.15 | USART synchronous mode ..... | 2625 |
| 56.5.16 | USART single-wire half-duplex communication ..... | 2629 |
| 56.5.17 | USART receiver timeout ..... | 2629 |
| 56.5.18 | USART smartcard mode ..... | 2630 |
| 56.5.19 | USART IrDA SIR ENDEC block ..... | 2634 |
| 56.5.20 | Continuous communication using USART and DMA ..... | 2637 |
| 56.5.21 | RS232 hardware flow control and RS485 driver enable ..... | 2639 |
| 56.5.22 | USART low-power management ..... | 2642 |
| 56.6 | USART in low-power modes ..... | 2645 |
| 56.7 | USART interrupts ..... | 2645 |
| 56.8 | USART registers ..... | 2648 |
| 56.8.1 | USART control register 1 (USART_CR1) ..... | 2648 |
| 56.8.2 | USART control register 1 [alternate] (USART_CR1) ..... | 2652 |
| 56.8.3 | USART control register 2 (USART_CR2) ..... | 2655 |
| 56.8.4 | USART control register 3 (USART_CR3) ..... | 2659 |
| 56.8.5 | USART control register 3 [alternate] (USART_CR3) ..... | 2663 |
| 56.8.6 | USART baud rate register (USART_BRR) ..... | 2666 |
| 56.8.7 | USART guard time and prescaler register (USART_GTPR) ..... | 2667 |
| 56.8.8 | USART receiver timeout register (USART_RTOR) ..... | 2668 |
| 56.8.9 | USART request register (USART_RQR) ..... | 2669 |
| 56.8.10 | USART interrupt and status register (USART_ISR) ..... | 2670 |
| 56.8.11 | USART interrupt and status register [alternate] (USART_ISR) .... | 2676 |
| 56.8.12 | USART interrupt flag clear register (USART_ICR) ..... | 2681 |
| 56.8.13 | USART receive data register (USART_RDR) ..... | 2682 |
| 56.8.14 | USART transmit data register (USART_TDR) ..... | 2683 |
| 56.8.15 | USART prescaler register (USART_PRESC) ..... | 2683 |
| 56.8.16 | USART register map ..... | 2684 |
| 57 | Low-power universal asynchronous receiver transmitter (LPUART) ..... | 2686 |
| 57.1 | LPUART introduction ..... | 2686 |
| 57.2 | LPUART main features ..... | 2686 |
| 57.3 | LPUART implementation ..... | 2687 |
| 57.4 | LPUART functional description ..... | 2689 |
| 57.4.1 | LPUART block diagram ..... | 2689 |
| 57.4.2 | LPUART pins and internal signals ..... | 2690 |
| 57.4.3 | LPUART clocks ..... | 2691 |
| 57.4.4 | LPUART character description ..... | 2691 |
| 57.4.5 | LPUART FIFOs and thresholds ..... | 2693 |
| 57.4.6 | LPUART transmitter ..... | 2693 |
| 57.4.7 | LPUART receiver ..... | 2697 |
| 57.4.8 | LPUART baud rate generation ..... | 2701 |
| 57.4.9 | Tolerance of the LPUART receiver to clock deviation ..... | 2702 |
| 57.4.10 | LPUART multiprocessor communication ..... | 2703 |
| 57.4.11 | LPUART parity control ..... | 2705 |
| 57.4.12 | LPUART single-wire half-duplex communication ..... | 2706 |
| 57.4.13 | Continuous communication using DMA and LPUART ..... | 2706 |
| 57.4.14 | RS232 hardware flow control and RS485 driver enable ..... | 2709 |
| 57.4.15 | LPUART low-power management ..... | 2711 |
| 57.5 | LPUART in low-power modes ..... | 2714 |
| 57.6 | LPUART interrupts ..... | 2715 |
| 57.7 | LPUART registers ..... | 2716 |
| 57.7.1 | LPUART control register 1 (LPUART_CR1) ..... | 2716 |
| 57.7.2 | LPUART control register 1 [alternate] (LPUART_CR1) ..... | 2719 |
| 57.7.3 | LPUART control register 2 (LPUART_CR2) ..... | 2722 |
| 57.7.4 | LPUART control register 3 (LPUART_CR3) ..... | 2724 |
| 57.7.5 | LPUART control register 3 [alternate] (LPUART_CR3) ..... | 2727 |
| 57.7.6 | LPUART baud rate register (LPUART_BRR) ..... | 2729 |
| 57.7.7 | LPUART request register (LPUART_RQR) ..... | 2729 |
| 57.7.8 | LPUART interrupt and status register (LPUART_ISR) ..... | 2730 |
| 57.7.9 | LPUART interrupt and status register [alternate] (LPUART_ISR) ..... | 2735 |
| 57.7.10 | LPUART interrupt flag clear register (LPUART_ICR) ..... | 2738 |
| 57.7.11 | LPUART receive data register (LPUART_RDR) ..... | 2739 |
| 57.7.12 | LPUART transmit data register (LPUART_TDR) ..... | 2739 |
| 57.7.13 | LPUART prescaler register (LPUART_PRESC) ..... | 2740 |
| 57.7.14 | LPUART register map ..... | 2741 |
| 58 | Serial peripheral interface (SPI) ..... | 2743 |
| 58.1 | SPI introduction ..... | 2743 |
| 58.2 | SPI main features ..... | 2743 |
| 58.3 | SPI implementation ..... | 2744 |
| 58.4 | SPI functional description ..... | 2745 |
| 58.4.1 | SPI block diagram ..... | 2745 |
| 58.4.2 | SPI pins and internal signals ..... | 2746 |
| 58.4.3 | SPI communication general aspects ..... | 2747 |
| 58.4.4 | Communications between one master and one slave ..... | 2747 |
| 58.4.5 | Standard multislave communication ..... | 2750 |
| 58.4.6 | Multimaster communication ..... | 2753 |
| 58.4.7 | Slave select (NSS pin) management ..... | 2754 |
| 58.4.8 | Ready pin (RDY) management ..... | 2758 |
| 58.4.9 | Communication formats ..... | 2758 |
| 58.4.10 | Configuring the SPI ..... | 2760 |
| 58.4.11 | Enabling the SPI ..... | 2761 |
| 58.4.12 | SPI data transmission and reception procedures ..... | 2762 |
| 58.4.13 | Disabling the SPI ..... | 2766 |
| 58.4.14 | Communication using DMA (direct memory addressing) ..... | 2767 |
| 58.5 | SPI specific modes and control ..... | 2769 |
| 58.5.1 | TI mode ..... | 2769 |
| 58.5.2 | SPI error flags ..... | 2769 |
| 58.5.3 | CRC computation ..... | 2773 |
| 58.6 | SPI in low-power modes ..... | 2774 |
| 58.7 | SPI interrupts ..... | 2774 |
| 58.8 | I2S main features ..... | 2776 |
| 58.9 | I2S functional description ..... | 2776 |
| 58.9.1 | I2S general description ..... | 2776 |
| 58.9.2 | Pin sharing with SPI function ..... | 2777 |
| 58.9.3 | Bitfields usable in I2S/PCM mode ..... | 2777 |
| 58.9.4 | Slave and master modes ..... | 2778 |
| 58.9.5 | Supported audio protocols ..... | 2778 |
| 58.9.6 | Additional serial interface flexibility ..... | 2784 |
| 58.9.7 | Startup sequence ..... | 2786 |
| 58.9.8 | Stop sequence ..... | 2788 |
| 58.9.9 | Clock generator ..... | 2789 |
| 58.9.10 | Internal FIFOs ..... | 2791 |
| 58.9.11 | FIFO status flags ..... | 2792 |
| 58.9.12 | Handling of underrun situation ..... | 2792 |
| 58.9.13 | Handling of overrun situation ..... | 2793 |
| 58.9.14 | Frame error detection ..... | 2794 |
| 58.9.15 | DMA interface ..... | 2796 |
| 58.9.16 | Programing examples ..... | 2796 |
| 58.10 | I2S interrupts ..... | 2798 |
| 58.11 | SPI/I2S registers ..... | 2799 |
| 58.11.1 | SPI/I2S control register 1 (SPI_CR1) ..... | 2799 |
| 58.11.2 | SPI/I2S control register 2 (SPI_CR2) ..... | 2801 |
| 58.11.3 | SPI/I2S configuration register 1 (SPI_CFG1) ..... | 2801 |
| 58.11.4 | SPI/I2S configuration register 2 (SPI_CFG2) ..... | 2805 |
| 58.11.5 | SPI/I2S interrupt enable register (SPI_IER) ..... | 2807 |
| 58.11.6 | SPI/I2S status register (SPI_SR) ..... | 2808 |
| 58.11.7 | SPI/I2S interrupt/status flags clear register (SPI_IFCR) ..... | 2811 |
| 58.11.8 | SPI/I2S transmit data register (SPI_TXDR) ..... | 2812 |
| 58.11.9 | SPI/I2S receive data register (SPI_RXDR) ..... | 2812 |
| 58.11.10 | SPI/I2S polynomial register (SPI_CRCPOLY) ..... | 2813 |
| 58.11.11 | SPI/I2S transmitter CRC register (SPI_TXCRC) ..... | 2813 |
| 58.11.12 | SPI/I2S receiver CRC register (SPI_RXCRC) ..... | 2814 |
| 58.11.13 | SPI/I2S underrun data register (SPI_UDRDR) ..... | 2815 |
| 58.11.14 | SPI/I2S configuration register (SPI_I2SCFGR) ..... | 2815 |
| 58.11.15 | SPI/I2S register map ..... | 2817 |
| 59 | Serial audio interface (SAI) ..... | 2819 |
| 59.1 | SAI introduction ..... | 2819 |
| 59.2 | SAI main features ..... | 2819 |
| 59.3 | SAI implementation ..... | 2820 |
| 59.4 | SAI functional description ..... | 2820 |
| 59.4.1 | SAI block diagram ..... | 2820 |
| 59.4.2 | SAI pins and internal signals ..... | 2822 |
| 59.4.3 | Main SAI modes ..... | 2823 |
| 59.4.4 | SAI synchronization mode ..... | 2824 |
| 59.4.5 | Audio data size ..... | 2825 |
| 59.4.6 | Frame synchronization ..... | 2825 |
| 59.4.7 | Slot configuration ..... | 2828 |
| 59.4.8 | SAI clock generator ..... | 2830 |
| 59.4.9 | Internal FIFOs ..... | 2833 |
| 59.4.10 | PDM interface ..... | 2835 |
| 59.4.11 | AC'97 link controller ..... | 2843 |
| 59.4.12 | SPDIF output ..... | 2845 |
| 59.4.13 | Specific features ..... | 2848 |
| 59.4.14 | Error flags ..... | 2852 |
| 59.4.15 | Disabling the SAI ..... | 2855 |
| 59.4.16 | SAI DMA interface ..... | 2855 |
| 59.5 | SAI interrupts ..... | 2856 |
| 59.6 | SAI registers ..... | 2858 |
| 59.6.1 | SAI global configuration register (SAI_GCR) ..... | 2858 |
| 59.6.2 | SAI configuration register 1 (SAI_ACR1) ..... | 2858 |
| 59.6.3 | SAI configuration register 2 (SAI_ACR2) ..... | 2861 |
| 59.6.4 | SAI frame configuration register (SAI_AFRCR) ..... | 2863 |
| 59.6.5 | SAI slot register (SAI_ASLOTR) ..... | 2864 |
| 59.6.6 | SAI interrupt mask register (SAI_AIM) . . . . . | 2865 |
| 59.6.7 | SAI status register (SAI_ASR) . . . . . | 2867 |
| 59.6.8 | SAI clear flag register (SAI_ACLRFR) . . . . . | 2869 |
| 59.6.9 | SAI data register (SAI_ADR) . . . . . | 2870 |
| 59.6.10 | SAI configuration register 1 (SAI_BCR1) . . . . . | 2870 |
| 59.6.11 | SAI configuration register 2 (SAI_BCR2) . . . . . | 2873 |
| 59.6.12 | SAI frame configuration register (SAI_BFRCR) . . . . . | 2875 |
| 59.6.13 | SAI slot register (SAI_BSLOTR) . . . . . | 2876 |
| 59.6.14 | SAI interrupt mask register (SAI_BIM) . . . . . | 2877 |
| 59.6.15 | SAI status register (SAI_BSR) . . . . . | 2878 |
| 59.6.16 | SAI clear flag register (SAI_BCLRFR) . . . . . | 2880 |
| 59.6.17 | SAI data register (SAI_BDR) . . . . . | 2881 |
| 59.6.18 | SAI PDM control register (SAI_PDMCR) . . . . . | 2882 |
| 59.6.19 | SAI PDM delay register (SAI_PDMDLY) . . . . . | 2883 |
| 59.6.20 | SAI register map . . . . . | 2885 |
| 60 | FD controller area network (FDCAN) . . . . . | 2887 |
| 60.1 | FDCAN introduction . . . . . | 2887 |
| 60.2 | FDCAN main features . . . . . | 2889 |
| 60.3 | FDCAN functional description . . . . . | 2890 |
| 60.3.1 | FDCAN block diagram . . . . . | 2890 |
| 60.3.2 | FDCAN pins and internal signals . . . . . | 2891 |
| 60.3.3 | Bit timing . . . . . | 2892 |
| 60.3.4 | Operating modes . . . . . | 2893 |
| 60.3.5 | Error management . . . . . | 2902 |
| 60.3.6 | Message RAM . . . . . | 2903 |
| 60.3.7 | FIFO acknowledge handling . . . . . | 2912 |
| 60.3.8 | FDCAN Rx FIFO element . . . . . | 2912 |
| 60.3.9 | FDCAN Tx buffer element . . . . . | 2914 |
| 60.3.10 | FDCAN Tx event FIFO element . . . . . | 2916 |
| 60.3.11 | FDCAN standard message ID filter element . . . . . | 2917 |
| 60.3.12 | FDCAN extended message ID filter element . . . . . | 2918 |
| 60.4 | FDCAN registers . . . . . | 2920 |
| 60.4.1 | FDCAN core release register (FDCAN_CREL) . . . . . | 2920 |
| 60.4.2 | FDCAN endian register (FDCAN_ENDN) . . . . . | 2920 |
| 60.4.3 | FDCAN data bit timing and prescaler register (FDCAN_DBTP) . . . . . | 2920 |
| 60.4.4 | FDCAN test register (FDCAN_TEST) . . . . . | 2921 |
| 60.4.5 | FDCAN RAM watchdog register (FDCAN_RWD) . . . . . | 2922 |
| 60.4.6 | FDCAN CC control register (FDCAN_CCCR) . . . . . | 2923 |
| 60.4.7 | FDCAN nominal bit timing and prescaler register (FDCAN_NBTP) . . . . . | 2924 |
| 60.4.8 | FDCAN timestamp counter configuration register (FDCAN_TSCC) . . . . . | 2926 |
| 60.4.9 | FDCAN timestamp counter value register (FDCAN_TSCV) . . . . . | 2926 |
| 60.4.10 | FDCAN timeout counter configuration register (FDCAN_TOCC) . . . . . | 2927 |
| 60.4.11 | FDCAN timeout counter value register (FDCAN_TOCV) . . . . . | 2928 |
| 60.4.12 | FDCAN error counter register (FDCAN_ECR) . . . . . | 2928 |
| 60.4.13 | FDCAN protocol status register (FDCAN_PSR) . . . . . | 2929 |
| 60.4.14 | FDCAN transmitter delay compensation register (FDCAN_TDCR) . . . . . | 2931 |
| 60.4.15 | FDCAN interrupt register (FDCAN_IR) . . . . . | 2931 |
| 60.4.16 | FDCAN interrupt enable register (FDCAN_IE) . . . . . | 2934 |
| 60.4.17 | FDCAN interrupt line select register (FDCAN_ILS) . . . . . | 2936 |
| 60.4.18 | FDCAN interrupt line enable register (FDCAN_ILE) . . . . . | 2937 |
| 60.4.19 | FDCAN global filter configuration register (FDCAN_RXGFC) . . . . . | 2937 |
| 60.4.20 | FDCAN extended ID and mask register (FDCAN_XIDAM) . . . . . | 2939 |
| 60.4.21 | FDCAN high-priority message status register (FDCAN_HPMS) . . . . . | 2939 |
| 60.4.22 | FDCAN Rx FIFO 0 status register (FDCAN_RXF0S) . . . . . | 2940 |
| 60.4.23 | CAN Rx FIFO 0 acknowledge register (FDCAN_RXF0A) . . . . . | 2941 |
| 60.4.24 | FDCAN Rx FIFO 1 status register (FDCAN_RXF1S) . . . . . | 2941 |
| 60.4.25 | FDCAN Rx FIFO 1 acknowledge register (FDCAN_RXF1A) . . . . . | 2942 |
| 60.4.26 | FDCAN Tx buffer configuration register (FDCAN_TXBC) . . . . . | 2942 |
| 60.4.27 | FDCAN Tx FIFO/queue status register (FDCAN_TXFQS) . . . . . | 2943 |
| 60.4.28 | FDCAN Tx buffer request pending register (FDCAN_TXBRP) . . . . . | 2943 |
| 60.4.29 | FDCAN Tx buffer add request register (FDCAN_TXBAR) . . . . . | 2944 |
| 60.4.30 | FDCAN Tx buffer cancellation request register (FDCAN_TXBCR) . . . . . | 2945 |
| 60.4.31 | FDCAN Tx buffer transmission occurred register (FDCAN_TXBTO) . . . . . | 2945 |
| 60.4.32 | FDCAN Tx buffer cancellation finished register (FDCAN_TXBCF) . . . . . | 2946 |
| 60.4.33 | FDCAN Tx buffer transmission interrupt enable register (FDCAN_TXBTIE) . . . . . | 2946 |
| 60.4.34 | FDCAN Tx buffer cancellation finished interrupt enable register (FDCAN_TXBCIE) . . . . . | 2947 |
| 60.4.35 | FDCAN Tx event FIFO status register (FDCAN_TXEFS) . . . . . | 2947 |
| 60.4.36 | FDCAN Tx event FIFO acknowledge register (FDCAN_TXEFA) . . . . . | 2948 |
| 60.4.37 | FDCAN CFG clock divider register (FDCAN_CKDIV) . . . . . | 2948 |
| 60.4.38 | FDCAN register map . . . . . | 2949 |
Chapters
- 61. Universal serial bus full-speed host/device interface (USB) . . . . . 2953
- 62. USB Type-C®/USB Power Delivery interface (UCPD) 2999
- 1. Documentation conventions
- 2. Memory and bus architecture
- 3. System security
- 4. Boot modes
- 5. Global TrustZone ® controller (GTZC)
- 6. RAMs configuration controller (RAMCFG)
- 7. Embedded flash memory (FLASH)
- 8. Instruction cache (ICACHE)
- 9. Data cache (DCACHE)
- 10. Power control (PWR)
- 11. Reset and clock control (RCC)
- 12. Clock recovery system (CRS)
- 13. General-purpose I/Os (GPIO)
- 14. System configuration, boot, and security (SBS)
- 15. Peripherals interconnect matrix
- 16. General purpose direct memory access controller (GPDMA)
- 17. Nested vectored interrupt controller (NVIC)
- 18. Extended interrupts and event controller (EXTI)
- 19. Cyclic redundancy check calculation unit (CRC)
- 20. CORDIC coprocessor (CORDIC)
- 21. Filter math accelerator (FMAC)
- 22. Programmable logic array (PLAY)
- 23. Flexible memory controller (FMC)
- 24. Octo-SPI interface (OCTOSPI)
- 25. Octo-SPI interface (OCTOSPI)
- 26. Secure digital input/output MultiMediaCard interface (SDMMC)
- 27. Delay block (DLYB)
- 28. Analog-to-digital converters (ADC1/2/3)
- 29. Digital temperature sensor (DTS)
- 30. Digital-to-analog converter (DAC)
- 31. Voltage reference buffer (VREFBUF)
- 32. Comparator (COMP)
- 33. Digital camera interface (DCMI)
- 34. Parallel synchronous slave interface (PSSI)
- 35. Coupling and chaining bridge (CCB)
- 36. True random number generator (RNG)
- 37. True random number generator (RNG)
- 38. Secure AES coprocessor (SAES)
- 39. AES hardware accelerator (AES)
- 40. Hash processor (HASH)
- 41. Public key accelerator (PKA)
- 42. On-the-fly decryption engine (OTFDEC)
- 43. Advanced-control timers (TIM1/TIM8)
- 44. General-purpose timers (TIM2/TIM3/TIM4/TIM5)
- 45. Basic timers (TIM6/TIM7)
- 46. General-purpose timers (TIM12/TIM13/TIM14)
- 47. General purpose timers (TIM15/TIM16/TIM17)
- 48. Low-power timer (LPTIM)
- 49. Independent watchdog (IWDG)
- 50. System window watchdog (WWDG)
- 51. Real-time clock (RTC)
- 52. Tamper and backup registers (TAMP)
- 53. Inter-integrated circuit interface (I2C)
- 54. Improved inter-integrated circuit (I3C)
- 55. Improved inter-integrated circuit (I3C)
- 56. Universal synchronous/asynchronous receiver transmitter (USART/UART)
- 57. Low-power universal asynchronous receiver transmitter (LPUART)
- 58. Serial peripheral interface (SPI)
- 59. Serial audio interface (SAI)
- 60. FD controller area network (FDCAN)
- 61. Universal serial bus full-speed host/device interface (USB)
- 62. USB Type-C ® /USB Power Delivery interface (UCPD)
- 63. Ethernet (ETH): media access control (MAC) with DMA controller
- 64. Ethernet (ETH): media access control (MAC) with DMA controller
- 65. HDMI-CEC controller (CEC)
- 66. Debug support (DBG)
- 67. Device electronic signature
- 68. Important security notice
- 69. Revision history