RM0506-STM32MP21
This reference manual targets application developers. It provides complete information on how to use the STM32MP21xx microprocessor memory and peripherals.
The STM32MP21xx is a family of microprocessors with different packages and peripherals.
Refer to the corresponding datasheets for ordering information, mechanical and electrical device characteristics.
For information on the Arm® Cortex®-A35 and Cortex®-M33 cores, refer to the corresponding Technical Reference Manuals available on http://infocenter.arm.com.
The STM32MP21xx microprocessors include ST state-of-the-art patented technology.
Related documents
- • Cortex®-A35 Technical Reference Manual, available from: http://infocenter.arm.com
- • Cortex®-M33 Technical Reference Manual, available from: http://infocenter.arm.com
- • STM32MP21xA/D datasheet (DS14557)
- • STM32MP21xC/F datasheet (DS14556)
- • STM32 Cortex®-M33 MCUs programming manual (PM0264)
- • STM32MP21xA/C/D/F device errata (ES0628)
Contents
| 1 | Documentation conventions | 167 |
| 1.1 | General information | 167 |
| 1.2 | List of abbreviations for registers | 167 |
| 1.3 | Register reset value | 168 |
| 1.4 | Glossary | 168 |
| 1.5 | Availability of peripherals | 168 |
| 2 | Memory and bus architecture | 169 |
| 2.1 | System architecture | 169 |
| 2.1.1 | Bus architecture | 169 |
| 2.1.2 | Memory map organization | 172 |
| 2.1.3 | Connectivity matrix overview | 174 |
| 2.2 | STNoC AXI network-on-chip | 175 |
| 2.2.1 | STNoC features | 175 |
| 2.2.2 | STNoC interconnect configurations | 175 |
| 2.2.3 | Master port description | 177 |
| 2.2.4 | Master port main characteristics | 178 |
| 2.2.5 | Slave port description | 179 |
| 2.2.6 | Slave port main characteristics | 179 |
| 2.3 | Multi-layer AHB interconnect | 180 |
| 2.3.1 | Multi-layer AHB features | 180 |
| 2.3.2 | Multi-layer AHB interconnect configuration | 180 |
| 2.3.3 | Multi-layer AHB 300 MHz master port characteristics | 181 |
| 2.3.4 | Multi-layer AHB 300 MHz slave port characteristics | 181 |
| 2.3.5 | Multi-layer AHB 150 MHz master port characteristics | 182 |
| 2.3.6 | Multi-layer AHB 150 MHz slave port characteristics | 182 |
| 2.4 | Memory organization | 184 |
| 2.4.1 | Introduction | 184 |
| 2.4.2 | Memory map and register boundary addresses | 185 |
| 3 | Arm Cortex-A35 (CA35SS) | 203 |
| 3.1 | Overview | 203 |
| 3.2 | Cortex-A35 reset | 204 |
| 3.3 | Cortex-A35 clocking ..... | 204 |
| 3.4 | CortexA35 boot mode ..... | 204 |
| 3.5 | CA35SS SYSCFG registers ..... | 205 |
| 3.5.1 | System debug configuration registers ..... | 205 |
| 3.5.2 | Cortex-A35 subsystem configuration registers ..... | 209 |
| 3.5.3 | Cortex-A35 boot configuration registers ..... | 211 |
| 3.5.4 | Cortex-M33 boot configuration registers ..... | 213 |
| 3.5.5 | CA35SS SYSCFG register map ..... | 215 |
| 3.6 | Standardized status and control registers ..... | 217 |
| 3.6.1 | Standardized status and control registers (SSC) access modes ..... | 217 |
| 3.6.2 | SSC access types ..... | 217 |
| 3.6.3 | Secure/non-secure access to SSC ..... | 218 |
| 3.6.4 | SSC registers details ..... | 218 |
| 3.6.5 | CA35SS SSC register map ..... | 225 |
| 4 | Arm Cortex-M33 (CM33SS) ..... | 228 |
| 4.1 | Overview ..... | 228 |
| 4.2 | Cortex-M33 reset ..... | 230 |
| 4.3 | Cortex-M33 clocking ..... | 230 |
| 4.4 | Cortex-M33 boot mode ..... | 230 |
| 4.5 | Cortex-M33 configuration register ..... | 230 |
| 4.6 | Memory protection unit (MPU) ..... | 231 |
| 4.7 | Floating point unit (FPU) ..... | 231 |
| 4.8 | Attribution units ..... | 231 |
| 4.8.1 | Security attribution unit (SAU) ..... | 231 |
| 4.8.2 | Implementation defined attribution unit (IDAU) ..... | 231 |
| 4.9 | Nested vectored interrupt controllers (NVIC) ..... | 232 |
| 4.9.1 | NVIC features ..... | 232 |
| 4.9.2 | Interrupt and exception vectors ..... | 232 |
| 4.10 | Cortex-M33 memory interfaces ..... | 232 |
| 5 | System security ..... | 234 |
| 5.1 | Key security features ..... | 234 |
| 5.2 | Secure boot ..... | 235 |
| 5.3 | Secure provisioning ..... | 236 |
| 5.4 | Resource isolation framework (RIF) . . . . . | 236 |
| 5.4.1 | RIF security architecture . . . . . | 237 |
| 5.4.2 | RIF access control . . . . . | 239 |
| 5.4.3 | Application interrupt management in RIF . . . . . | 241 |
| 5.4.4 | RIF illegal access definition . . . . . | 242 |
| 5.4.5 | Managing illegal accesses with RIF . . . . . | 244 |
| 5.4.6 | RIF special security domain: trusted domain . . . . . | 244 |
| 5.4.7 | RIF special security domain: debug domain . . . . . | 245 |
| 5.4.8 | Managing security in RIF-aware peripherals . . . . . | 245 |
| 5.4.9 | Activating RIF security . . . . . | 246 |
| 5.4.10 | Programming of RIFSC, RCC and IAC . . . . . | 247 |
| 6 | Boot and security control (BSEC) . . . . . | 248 |
| 6.1 | Introduction . . . . . | 248 |
| 6.2 | BSEC main features . . . . . | 249 |
| 6.3 | BSEC functional description . . . . . | 250 |
| 6.3.1 | BSEC block diagram . . . . . | 250 |
| 6.3.2 | BSEC internal signals . . . . . | 250 |
| 6.3.3 | BSEC reset and clocks . . . . . | 251 |
| 6.3.4 | Organization and use of fuses . . . . . | 251 |
| 6.3.5 | Operations on fuses . . . . . | 253 |
| 6.3.6 | BSEC read and programming status reporting . . . . . | 255 |
| 6.3.7 | Lifecycle management . . . . . | 256 |
| 6.3.8 | Epoch registers . . . . . | 258 |
| 6.3.9 | BSEC local access control . . . . . | 258 |
| 6.3.10 | Temporal isolation in BSEC . . . . . | 258 |
| 6.3.11 | BSEC debug and trace control . . . . . | 260 |
| 6.3.12 | Device features control . . . . . | 262 |
| 6.3.13 | Scratch registers . . . . . | 262 |
| 6.3.14 | JTAG registers . . . . . | 262 |
| 6.3.15 | STM32 root hardware unique key (RHUK) . . . . . | 262 |
| 6.3.16 | BSEC error management . . . . . | 263 |
| 6.3.17 | BSEC tamper response mechanisms . . . . . | 263 |
| 6.4 | BSEC interrupts . . . . . | 263 |
| 6.5 | BSEC registers . . . . . | 263 |
| 6.5.1 | BSEC fuse word w value register (BSEC_FVRw) . . . . . | 264 |
| 6.5.2 | BSEC sticky programming lock register x (BSEC_SPLOCKx) . . . . . | 265 |
| 6.5.3 | BSEC sticky write lock register x (BSEC_SWLOCKx) . . . . . | 265 |
| 6.5.4 | BSEC sticky reload lock register x (BSEC_SRLOCKx) . . . . . | 266 |
| 6.5.5 | BSEC OTP valid register x (BSEC_OTPVLDRx) . . . . . | 266 |
| 6.5.6 | BSEC shadowed fuses status register x (BSEC_SFSRx) . . . . . | 267 |
| 6.5.7 | BSEC OTP control register (BSEC_OTPCR) . . . . . | 267 |
| 6.5.8 | BSEC write data register (BSEC_WDR) . . . . . | 268 |
| 6.5.9 | BSEC scratch register x (BSEC_SCRATCHRx) . . . . . | 269 |
| 6.5.10 | BSEC lock register (BSEC_LOCKR) . . . . . | 269 |
| 6.5.11 | BSEC JTAG input register (BSEC_JTAGINR) . . . . . | 270 |
| 6.5.12 | BSEC JTAG output register (BSEC_JTAGOUTR) . . . . . | 270 |
| 6.5.13 | BSEC debug enable register (BSEC_DENR) . . . . . | 271 |
| 6.5.14 | BSEC unmap register (BSEC_UNMAPR) . . . . . | 272 |
| 6.5.15 | BSEC status register (BSEC_SR) . . . . . | 273 |
| 6.5.16 | BSEC OTP status register (BSEC_OTPSR) . . . . . | 274 |
| 6.5.17 | BSEC epoch register (BSEC_EPOCHRx) . . . . . | 275 |
| 6.5.18 | BSEC epoch selection control register (BSEC_EPOCHSELCR) . . . . . | 276 |
| 6.5.19 | BSEC debug control register for Cortex-M (BSEC_DBGMCR) . . . . . | 276 |
| 6.5.20 | BSEC AP unlock (BSEC_AP_UNLOCK) . . . . . | 277 |
| 6.5.21 | BSEC HDPL for Cortex-M status register (BSEC_HDPLMSR) . . . . . | 278 |
| 6.5.22 | BSEC HDPL for Cortex-M control register (BSEC_HDPLMCR) . . . . . | 278 |
| 6.5.23 | BSEC next HDPL control register for Cortex-M (BSEC_NEXTHDPLMCR) . . . . . | 279 |
| 6.5.24 | BSEC debug control register for Cortex-A (BSEC_DBGACR) . . . . . | 279 |
| 6.5.25 | BSEC HDPL for Cortex-A status register (BSEC_HDPLASR) . . . . . | 280 |
| 6.5.26 | BSEC HDPL for Cortex-A control register (BSEC_HDPLACR) . . . . . | 281 |
| 6.5.27 | BSEC next HDPL control register for Cortex-A (BSEC_NEXTHDPLACR) . . . . . | 281 |
| 6.5.28 | BSEC write once scratch register x (BSEC_WOSCRx) . . . . . | 282 |
| 6.5.29 | BSEC hot reset count register (BSEC_HRCR) . . . . . | 282 |
| 6.5.30 | BSEC warm reset count register (BSEC_WRCR) . . . . . | 283 |
| 6.5.31 | BSEC version register (BSEC_VERR) . . . . . | 283 |
| 6.5.32 | BSEC identification register (BSEC_IPIDR) . . . . . | 284 |
| 6.5.33 | BSEC size identification register (BSEC_SIDR) . . . . . | 284 |
| 6.5.34 | BSEC register map . . . . . | 284 |
| 7 | OTP mapping (OTP) . . . . . | 288 |
| 8 | Resource isolation framework security controller (RIFSC) . . . . . | 307 |
| 8.1 | Introduction . . . . . | 307 |
| 8.2 | RIFSC main features . . . . . | 307 |
| 8.3 | RIFSC implementation . . . . . | 308 |
| 8.4 | RIFSC functional description . . . . . | 310 |
| 8.4.1 | RIFSC block diagrams . . . . . | 310 |
| 8.4.2 | RIFSC internal signals . . . . . | 312 |
| 8.4.3 | RIFSC reset and clocks . . . . . | 312 |
| 8.4.4 | RIFSC control of masters (RIMU) . . . . . | 313 |
| 8.4.5 | RIFSC control of debug access port (DAP) . . . . . | 313 |
| 8.4.6 | RIFSC control of peripherals (RISUP) . . . . . | 315 |
| 8.4.7 | Managing illegal accesses . . . . . | 317 |
| 8.5 | RIFSC registers . . . . . | 317 |
| 8.5.1 | RIFSC RISC slave configuration register x (RIFSC_RISC_CR) . . . . . | 318 |
| 8.5.2 | RIFSC RISC slave security configuration register x (RIFSC_RISC_SECCFGRx) . . . . . | 318 |
| 8.5.3 | RIFSC RISFC slave privileged register x (RIFSC_RISC_PRIVCFGRx) . . . . . | 319 |
| 8.5.4 | RIFSC RISC slave resource configuration lock register x (RIFSC_RISC_RCFGLOCKRx) . . . . . | 319 |
| 8.5.5 | RIFSC RISC slave peripheral y CID configuration register (RIFSC_RISC_PERy_CIDCFGR) . . . . . | 320 |
| 8.5.6 | RIFSC RISC slave peripheral y semaphore control register (RIFSC_RISC_PERy_SEMCR) . . . . . | 321 |
| 8.5.7 | RIFSC RIMC master configuration register (RIFSC_RIMC_CR) . . . . . | 322 |
| 8.5.8 | RIFSC RIMC master status register (RIFSC_RIMC_SR) . . . . . | 323 |
| 8.5.9 | RIFSC RIMC master attribute register x (RIFSC_RIMC_ATTRx) . . . . . | 324 |
| 8.5.10 | RIFSC peripheral protection status register x (RIFSC_PPSRx) . . . . . | 325 |
| 8.5.11 | RIFSC hardware configuration register 3 (RIFSC_HWCFGR3) . . . . . | 325 |
| 8.5.12 | RIFSC hardware configuration register 2 (RIFSC_HWCFGR2) . . . . . | 325 |
| 8.5.13 | RIFSC hardware configuration register 1 (RIFSC_HWCFGR1) . . . . . | 326 |
| 8.5.14 | RIFSC version register (RIFSC_VERR) . . . . . | 326 |
| 8.5.15 | RIFSC identification register (RIFSC_IPIDR) . . . . . | 327 |
| 8.5.16 | RIFSC size identification register (RIFSC_SIDR) . . . . . | 327 |
| 8.5.17 | RIFSC register map . . . . . | 327 |
| 9 | Resource isolation slave unit for address space protection (block-based) (RISAB) . . . . . | 330 |
| 9.1 | RISAB introduction . . . . . | 330 |
| 9.2 | RISAB main features . . . . . | 330 |
| 9.3 | RISAB implementation . . . . . | 330 |
| 9.4 | RISAB functional description . . . . . | 331 |
| 9.4.1 | RISAB block diagram . . . . . | 331 |
| 9.4.2 | RISAB internal signals . . . . . | 331 |
| 9.4.3 | RISAB reset and clocks . . . . . | 331 |
| 9.4.4 | RISAB address space management . . . . . | 332 |
| 9.4.5 | RISAB programming . . . . . | 332 |
| 9.4.6 | RISAB runtime modification of region or subregion configuration . . . . . | 333 |
| 9.4.7 | Managing illegal accesses . . . . . | 333 |
| 9.5 | RISAB registers . . . . . | 334 |
| 9.5.1 | RISAB configuration register (RISAB_CR) . . . . . | 334 |
| 9.5.2 | RISAB illegal access status register (RISAB_IASR) . . . . . | 334 |
| 9.5.3 | RISAB illegal access clear register (RISAB_IACR) . . . . . | 335 |
| 9.5.4 | RISAB configuration lock register (RISAB_RCFGLOCKR) . . . . . | 335 |
| 9.5.5 | RISAB illegal access error status register (RISAB_IAESR) . . . . . | 336 |
| 9.5.6 | RISAB illegal address register (RISAB_IADDR) . . . . . | 337 |
| 9.5.7 | RISAB page y security configuration register (RISAB_PGy_SECCFGR) . . . . . | 337 |
| 9.5.8 | RISAB page y default privileged configuration register (RISAB_PGy_PRIVCFGR) . . . . . | 338 |
| 9.5.9 | RISAB page y privileged configuration register for compartment 2 (RISAB_PGy_C2PRIVCFGR) . . . . . | 338 |
| 9.5.10 | RISAB compartment x privilege configuration register (RISAB_CIDxPRIVCFGR) . . . . . | 339 |
| 9.5.11 | RISAB compartment x read configuration register (RISAB_CIDxRDCFGR) . . . . . | 340 |
| 9.5.12 | RISAB compartment x write configuration register (RISAB_CIDxWRCFGR) . . . . . | 340 |
| 9.5.13 | RISAB page y CID configuration register (RISAB_PGy_CIDCFGR) . . . . . | 341 |
| 9.5.14 | RISAB hardware configuration register 3 (RISAB_HWCFGR3) . . . . . | 342 |
| 9.5.15 | RISAB hardware configuration register 2 (RISAB_HWCFGR2) . . . . . | 342 |
| 9.5.16 | RISAB hardware configuration register 1 (RISAB_HWCFGR1) . . . . . | 343 |
| 9.5.17 | RISAB version register (RISAB_VERR) . . . . . | 343 |
| 9.5.18 | RISAB identification register (RISAB_IPIDR) . . . . . | 344 |
| 9.5.19 | RISAB size identification register (RISAB_SIDR) . . . . . | 344 |
| 9.5.20 | RISAB register map . . . . . | 345 |
| 10 | Resource isolation slave unit for address space protection (full version) (RISAF) ..... | 347 |
| 10.1 | RISAF introduction ..... | 347 |
| 10.2 | RISAF main features ..... | 347 |
| 10.3 | RISAF implementation ..... | 348 |
| 10.4 | RISAF functional description ..... | 348 |
| 10.4.1 | RISAF block diagram ..... | 348 |
| 10.4.2 | RISAF internal signals ..... | 349 |
| 10.4.3 | RISAF reset and clocks ..... | 349 |
| 10.4.4 | RISAF address space management ..... | 349 |
| 10.4.5 | RISAF programming ..... | 351 |
| 10.4.6 | RISAF runtime modification of region or subregion configuration .... | 353 |
| 10.4.7 | Managing illegal accesses ..... | 354 |
| 10.5 | RISAF registers ..... | 355 |
| 10.5.1 | RISAF configuration register (RISAF_CR) ..... | 355 |
| 10.5.2 | RISAF status register (RISAF_SR) ..... | 355 |
| 10.5.3 | RISAF illegal access status register (RISAF_IASR) ..... | 356 |
| 10.5.4 | RISAF illegal access clear register (RISAF_IACR) ..... | 357 |
| 10.5.5 | RISAF illegal access error status register x (RISAF_IAESRx) ..... | 357 |
| 10.5.6 | RISAF illegal address register x (RISAF_IADDRx) ..... | 358 |
| 10.5.7 | RISAF encryption key y (RISAF_KEYRy) ..... | 358 |
| 10.5.8 | RISAF region x configuration register (RISAF_REGx_CFGR) ..... | 359 |
| 10.5.9 | RISAF region x start-address register (RISAF_REGx_STARTR) .... | 360 |
| 10.5.10 | RISAF region x end-address register (RISAF_REGx_ENDR) ..... | 361 |
| 10.5.11 | RISAF region x CID configuration register (RISAF_REGx_CIDCFGR) ..... | 361 |
| 10.5.12 | RISAF region x subregion A configuration register (RISAF_REGx_ACFGR) ..... | 362 |
| 10.5.13 | RISAF region x subregion A start-address register (RISAF_REGx_ASTARTR) ..... | 364 |
| 10.5.14 | RISAF region x subregion A end-address register (RISAF_REGx_AENDR) ..... | 364 |
| 10.5.15 | RISAF region x subregion A nested mode register (RISAF_REGx_ANESTR) ..... | 365 |
| 10.5.16 | RISAF region x subregion B configuration register (RISAF_REGx_BCFGR) ..... | 366 |
| 10.5.17 | RISAF region x subregion B start-address register (RISAF_REGx_BSTARTR) ..... | 367 |
| 10.5.18 | RISAF region x subregion B end-address register (RISAF_REGx_BENDR) ..... | 368 |
| 10.5.19 | RISAF region x subregion B nested mode register (RISAF_REGx_BNESTR) ..... | 369 |
| 10.5.20 | RISAF hardware configuration register (RISAF_HWCFGR) ..... | 369 |
| 10.5.21 | RISAF version register (RISAF_VERR) ..... | 370 |
| 10.5.22 | RISAF identification register (RISAF_IPIDR) ..... | 370 |
| 10.5.23 | RISAF size identification register (RISAF_SIDR) ..... | 371 |
| 10.5.24 | RISAF extended configuration register (RISAF_XCR) ..... | 371 |
| 10.5.25 | RISAF extended status register (RISAF_XSR) ..... | 372 |
| 10.5.26 | RISAF master key y (RISAF_MKEYRy) ..... | 373 |
| 10.5.27 | RISAF register map ..... | 373 |
| 11 | Illegal access controller (IAC) ..... | 376 |
| 11.1 | IAC introduction ..... | 376 |
| 11.2 | IAC main features ..... | 376 |
| 11.3 | IAC implementation ..... | 376 |
| 11.4 | IAC functional description ..... | 376 |
| 11.4.1 | IAC block diagram ..... | 376 |
| 11.4.2 | IAC internal signals ..... | 377 |
| 11.4.3 | IAC reset and clocks ..... | 377 |
| 11.4.4 | IAC use in RIF ..... | 377 |
| 11.4.5 | IAC management by trusted application ..... | 377 |
| 11.5 | IAC interrupts ..... | 378 |
| 11.6 | IAC registers ..... | 378 |
| 11.6.1 | IAC interrupt enable register x (IAC_IERx) ..... | 378 |
| 11.6.2 | IAC interrupt status register x (IAC_ISRx) ..... | 379 |
| 11.6.3 | IAC interrupt clear register x (IAC_ICRx) ..... | 379 |
| 11.6.4 | IAC ILAC input status register x (IAC_IISRx) ..... | 380 |
| 11.6.5 | IAC hardware configuration register 2 (IAC_HWCFGR2) ..... | 380 |
| 11.6.6 | IAC hardware configuration register 1 (IAC_HWCFGR1) ..... | 380 |
| 11.6.7 | IAC version register (IAC_VERR) ..... | 381 |
| 11.6.8 | IAC identification register (IAC_IPIDR) ..... | 381 |
| 11.6.9 | IAC size identification register (IAC_SIDR) ..... | 382 |
| 11.6.10 | IAC register map ..... | 382 |
| 12 | DDR subsystem architecture (DDRSS) ..... | 383 |
| 12.1 | DDRS introduction ..... | 383 |
| 12.2 | DDRSS block diagram ..... | 384 |
| 12.3 | DDRSS interfaces ..... | 384 |
| 12.4 | DDRSS embedded fractional PLL2 ..... | 385 |
| 12.5 | DDRSS top-level features ..... | 386 |
| 12.5.1 | Filtering and AES encryption ..... | 386 |
| 12.5.2 | DDR3/4 AC-swizzling ..... | 387 |
| 12.5.3 | Mode register read ..... | 388 |
| 12.5.4 | Observability ..... | 389 |
| 12.5.5 | DDRSS low power ..... | 391 |
| 12.5.6 | DFI errors ..... | 392 |
| 12.6 | DDRSS registers ..... | 393 |
| 12.6.1 | DDRDBG low-power disable register (DDRDBG_LP_DISABLE) .... | 393 |
| 12.6.2 | DDRDBG bypass PCLKEN register (DDRDBG_BYPASS_PCLKEN) .. | 393 |
| 12.6.3 | DDRDBG DDRC auto SR delay register (DDRDBG_DDRC_AUTO_SR_DELAY) ..... | 394 |
| 12.6.4 | DDRDBG OBSP control register (DDRDBG_OBSP_CTRL) ..... | 394 |
| 12.6.5 | DDRDBG FRAC PLL lock register (DDRDBG_FRAC_PLL_LOCK) ..... | 395 |
| 12.6.6 | DDRDBG DTO output register (DDRDBG.DTO_OUTPUT) ..... | 395 |
| 12.6.7 | DDRDBG DFI error control register (DDRDBG_DFI_ERRORS_CTRL) ..... | 396 |
| 12.6.8 | DDRDBG DFI error status register (DDRDBG_DFI_ERROR_STATUS) ..... | 396 |
| 12.6.9 | DDRDBG DFI error mask register (DDRDBG_DFI_ERROR_MSK) ..... | 397 |
| 12.6.10 | DDRDBG DDR34 AC swizzle ADD3_0 register (DDRDBG_DDR34_AC_SWIZZLE_ADD3_0) ..... | 397 |
| 12.6.11 | DDRDBG DDR34 AC swizzle ADD7_4 register (DDRDBG_DDR34_AC_SWIZZLE_ADD7_4) ..... | 399 |
| 12.6.12 | DDRDBG DDR34 AC swizzle ADD11_8 register (DDRDBG_DDR34_AC_SWIZZLE_ADD11_8) ..... | 399 |
| 12.6.13 | DDRDBG DDR34 AC swizzle ADD15_12 register (DDRDBG_DDR34_AC_SWIZZLE_ADD15_12) ..... | 400 |
| 12.6.14 | DDRDBG DDR34 AC swizzle BK2 0 ACTN register (DDRDBG_DDR34_AC_SWIZZLE_BK2_0_ACTN) ..... | 400 |
| 12.6.15 | DDRDBG DDR34 AC swizzle RASN CASN BG1_0 register (DDRDBG_DDR34_AC_SWIZZLE_RASN_CASN_BG1_0) ..... | 401 |
| 12.6.16 | DDRDBG DDR34 AC swizzle WEN register (DDRDBG_DDR34_AC_SWIZZLE_WEN) ..... | 402 |
| 12.6.17 | DDRSS register map | 402 |
| 13 | DDR3L/DDR4/LPDDR4 controller (DDRCTRL) | 405 |
| 13.1 | DDRCTRL introduction | 405 |
| 13.2 | DDRCTRL features | 405 |
| 13.3 | DDRCTRL block diagram | 406 |
| 13.4 | DDRCTRL architecture overview | 406 |
| 13.4.1 | AXI port interface (XPI) | 407 |
| 13.4.2 | Port arbiter (PA) | 408 |
| 13.4.3 | Host interface (HIF) | 408 |
| 13.4.4 | DDR scheduler (DDRC) | 409 |
| 13.5 | DDRCTRL functional description | 409 |
| 13.5.1 | Transaction service control (TSC) and quality of service (QoS) | 409 |
| 13.5.2 | Paging policy options | 410 |
| 13.5.3 | Power saving features | 411 |
| 13.5.4 | Address mapper | 411 |
| 13.5.5 | DRAM timing parameters | 412 |
| 13.5.6 | SDRAM initialization sequence | 412 |
| 13.5.7 | Refresh controls | 412 |
| 13.5.8 | ZQ calibration | 413 |
| 13.5.9 | Register programming | 413 |
| 13.6 | DDRCTRL configuration | 414 |
| 13.7 | DDRCTRL registers | 415 |
| 13.7.1 | DDRCTRL master0 register (DDRCTRL_REGS_MSTR) | 415 |
| 13.7.2 | DDRCTRL operating mode status register (DDRCTRL_REGS_STAT) | 417 |
| 13.7.3 | DDRCTRL mode read/write control 0 register (DDRCTRL_REGS_MRCTRL0) | 418 |
| 13.7.4 | DDRCTRL mode read/write control 1 register (DDRCTRL_REGS_MRCTRL1) | 420 |
| 13.7.5 | DDRCTRL mode register read/write status register (DDRCTRL_REGS_MRSTAT) | 421 |
| 13.7.6 | DDRCTRL mode register read/write control 2 register (DDRCTRL_REGS_MRCTRL2) | 421 |
| 13.7.7 | DDRCTRL temperature derate enable register (DDRCTRL_REGS_DERATEEN) | 422 |
| 13.7.8 | DDRCTRL temperature derate interval register (DDRCTRL_REGS_DERATEINT) | 423 |
| 13.7.9 | DDRCTRL temperature derate control register (DDRCTRL_REGS_DERATECTL) ..... | 424 |
| 13.7.10 | DDRCTRL low-power control register (DDRCTRL_REGS_PWRCTL) | 424 |
| 13.7.11 | DDRCTRL low-power timing register (DDRCTRL_REGS_PWRTMG) | 426 |
| 13.7.12 | DDRCTRL hardware low-power control register (DDRCTRL_REGS_HWLPCTL) ..... | 426 |
| 13.7.13 | DDRCTRL refresh control 0 register (DDRCTRL_REGS_RFSHCTL0) ..... | 427 |
| 13.7.14 | DDRCTRL refresh control 1 register (DDRCTRL_REGS_RFSHCTL1) ..... | 429 |
| 13.7.15 | DDRCTRL refresh control 3 register (DDRCTRL_REGS_RFSHCTL3) ..... | 429 |
| 13.7.16 | DDRCTRL refresh timing register (DDRCTRL_REGS_RFSHTMG) .. | 431 |
| 13.7.17 | DDRCTRL refresh timing1 register (DDRCTRL_REGS_RFSHTMG1) | 432 |
| 13.7.18 | DDRCTRL SDRAM initialization 0 register (DDRCTRL_REGS_INIT0) ..... | 433 |
| 13.7.19 | DDRCTRL SDRAM initialization 1 register (DDRCTRL_REGS_INIT1) | 434 |
| 13.7.20 | DDRCTRL SDRAM initialization 3 register (DDRCTRL_REGS_INIT3) | 434 |
| 13.7.21 | DDRCTRL SDRAM initialization 4 register (DDRCTRL_REGS_INIT4) | 435 |
| 13.7.22 | DDRCTRL SDRAM initialization 5 register (DDRCTRL_REGS_INIT5) | 435 |
| 13.7.23 | DDRCTRL SDRAM initialization 6 register (DDRCTRL_REGS_INIT6) | 436 |
| 13.7.24 | DDRCTRL SDRAM initialization 7 register (DDRCTRL_REGS_INIT7) | 436 |
| 13.7.25 | DDRCTRL rank control register (DDRCTRL_REGS_RANKCTL) .... | 437 |
| 13.7.26 | Rank control 1 register (DDRCTRL_REGS_RANKCTL1) ..... | 439 |
| 13.7.28 | DDRCTRL SDRAM timing 1 register (DDRCTRL_REGS_DRAMTMG1) ..... | 441 |
| 13.7.29 | DDRCTRL SDRAM timing 2 register (DDRCTRL_REGS_DRAMTMG2) ..... | 442 |
| 13.7.30 | DDRCTRL SDRAM timing 3 register (DDRCTRL_REGS_DRAMTMG3) ..... | 444 |
| 13.7.31 | DDRCTRL SDRAM timing 4 register (DDRCTRL_REGS_DRAMTMG4) ..... | 445 |
| 13.7.32 | DDRCTRL SDRAM timing 5 register (DDRCTRL_REGS_DRAMTMG5) ..... | 446 |
| 13.7.33 | DDRCTRL SDRAM timing 6 register (DDRCTRL_REGS_DRAMTMG6) ..... | 447 |
| 13.7.34 | DDRCTRL SDRAM timing 7 register (DDRCTRL_REGS_DRAMTMG7) ..... | 448 |
| 13.7.35 | DDRCTRL SDRAM timing 8 register (DDRCTRL_REGS_DRAMTMG8) ..... | 449 |
| 13.7.36 | DDRCTRL SDRAM timing 9 register (DDRCTRL_REGS_DRAMTMG9) ..... | 450 |
| 13.7.37 | DDRCTRL SDRAM timing 10 register (DDRCTRL_REGS_DRAMTMG10) ..... | 451 |
| 13.7.38 | DDRCTRL SDRAM timing 11 register (DDRCTRL_REGS_DRAMTMG11) ..... | 452 |
| 13.7.39 | DDRCTRL SDRAM timing 12 register (DDRCTRL_REGS_DRAMTMG12) ..... | 453 |
| 13.7.40 | DDRCTRL SDRAM timing 13 register (DDRCTRL_REGS_DRAMTMG13) ..... | 454 |
| 13.7.41 | DDRCTRL SDRAM timing 14 register (DDRCTRL_REGS_DRAMTMG14) ..... | 454 |
| 13.7.42 | DDRCTRL SDRAM timing 15 register (DDRCTRL_REGS_DRAMTMG15) ..... | 455 |
| 13.7.43 | DDRCTRL ZQ control 0 register (DDRCTRL_REGS_ZQCTL0) ..... | 456 |
| 13.7.44 | DDRCTRL ZQ control 1 register (DDRCTRL_REGS_ZQCTL1) ..... | 457 |
| 13.7.45 | DDRCTRL ZQ control 2 register (DDRCTRL_REGS_ZQCTL2) ..... | 457 |
| 13.7.46 | DDRCTRL ZQ status register (DDRCTRL_REGS_ZQSTAT) ..... | 458 |
| 13.7.47 | DDRCTRL DFI timing 0 register (DDRCTRL_REGS_DFITMG0) ..... | 459 |
| 13.7.48 | DDRCTRL DFI timing 1 register (DDRCTRL_REGS_DFITMG1) ..... | 460 |
| 13.7.49 | DDRCTRL DFI low-power configuration 0 register (DDRCTRL_REGS_DFILPCFG0) ..... | 461 |
| 13.7.50 | DDRCTRL DFI update 0 register (DDRCTRL_REGS_DFIUPD0) ..... | 463 |
| 13.7.51 | DDRCTRL DFI update 1 register (DDRCTRL_REGS_DFIUPD1) ..... | 464 |
| 13.7.52 | DDRCTRL DFI update 2 register (DDRCTRL_REGS_DFIUPD2) ..... | 465 |
| 13.7.53 | DDRCTRL DFI miscellaneous control register (DDRCTRL_REGS_DFIMISC) ..... | 465 |
| 13.7.54 | DDRCTRL DFI timing 2 register (DDRCTRL_REGS_DFITMG2) ..... | 466 |
| 13.7.55 | DDRCTRL DFI timing 3 register (DDRCTRL_REGS_DFITMG3) ..... | 467 |
| 13.7.56 | DDRCTRL DFI status register (DDRCTRL_REGS_DFISTAT) ..... | 467 |
| 13.7.57 | DDRCTRL DM/DBI control register (DDRCTRL_REGS_DBICTL) ..... | 468 |
| 13.7.58 | DDRCTRL DFI PHY master register (DDRCTRL_REGS_DFIPHYMSTR) ..... | 469 |
| 13.7.59 | DDRCTRL address map 0 register (DDRCTRL_REGS_ADDRMAP0) | 469 |
| 13.7.60 | DDRCTRL address map 1 register (DDRCTRL_REGS_ADDRMAP1) | 470 |
| 13.7.61 | DDRCTRL address map 2 register (DDRCTRL_REGS_ADDRMAP2) | 471 |
| 13.7.62 | DDRCTRL address map 3 register (DDRCTRL_REGS_ADDRMAP3) | 472 |
| 13.7.63 | DDRCTRL address map 4 register (DDRCTRL_REGS_ADDRMAP4) | 474 |
| 13.7.64 | DDRCTRL address map 5 register (DDRCTRL_REGS_ADDRMAP5) | 475 |
| 13.7.65 | DDRCTRL address map 6 register (DDRCTRL_REGS_ADDRMAP6) | 476 |
| 13.7.66 | DDRCTRL address map 7 register (DDRCTRL_REGS_ADDRMAP7) | 477 |
| 13.7.67 | DDRCTRL address map 8 register (DDRCTRL_REGS_ADDRMAP8) | 478 |
| 13.7.68 | DDRCTRL address map 9 register (DDRCTRL_REGS_ADDRMAP9) | 478 |
| 13.7.69 | DDRCTRL address map 10 register (DDRCTRL_REGS_ADDRMAP10) ..... | 480 |
| 13.7.70 | DDRCTRL address map 11 register (DDRCTRL_REGS_ADDRMAP11) ..... | 481 |
| 13.7.71 | DDRCTRL ODT configuration register (DDRCTRL_REGS_ODTCFG) | 481 |
| 13.7.72 | DDRCTRL ODT/rank map register (DDRCTRL_REGS_ODTMAP) .. | 483 |
| 13.7.73 | DDRCTRL scheduler control register (DDRCTRL_REGS_SCHED) .. | 484 |
| 13.7.74 | DDRCTRL scheduler control 1 register (DDRCTRL_REGS_SCHED1) ..... | 486 |
| 13.7.75 | DDRCTRL high priority read CAM 1 register (DDRCTRL_REGS_PERFHPR1) ..... | 488 |
| 13.7.76 | DDRCTRL low-priority read CAM 1 register (DDRCTRL_REGS_PERFLPR1) ..... | 489 |
| 13.7.77 | DDRCTRL write CAM 1 register (DDRCTRL_REGS_PERFWR1) .. | 489 |
| 13.7.78 | Scheduler control 3 register (DDRCTRL_REGS_SCHED3) ..... | 490 |
| 13.7.79 | Scheduler control 4 register (DDRCTRL_REGS_SCHED4) ..... | 491 |
| 13.7.80 | DDRCTRL debug 0 register (DDRCTRL_REGS_DBG0) ..... | 492 |
| 13.7.81 | DDRCTRL debug 1 register (DDRCTRL_REGS_DBG1) ..... | 493 |
| 13.7.82 | DDRCTRL CAM debug register (DDRCTRL_REGS_DBGCAM) .... | 493 |
| 13.7.83 | DDRCTRL command debug register (DDRCTRL_REGS_DBGCMD) | 495 |
| 13.7.84 | DDRCTRL status debug register (DDRCTRL_REGS_DBGSTAT) .. | 496 |
| 13.7.85 | DDRCTRL software programming control enable register (DDRCTRL_REGS_SWCTL) ..... | 497 |
| 13.7.86 | DDRCTRL software programming control status register (DDRCTRL_REGS_SWSTAT) ..... | 497 |
| 13.7.87 | DDRCTRL statics write enable register (DDRCTRL_REGS_SWCTLSTATIC) ..... | 498 |
| 13.7.88 | DDRCTRL AXI poison configuration register (DDRCTRL_REGS_POISONCFG) ..... | 498 |
| 13.7.89 | DDRCTRL AXI poison status register (DDRCTRL_REGS_POISONSTAT) ..... | 499 |
| 13.7.90 | DDRCTRL temperature derate status register (DDRCTRL_REGS_DERATESTAT) ..... | 500 |
| 13.7.91 | DDRCTRL port status register (DDRCTRL_MP_PSTAT) ..... | 501 |
| 13.7.92 | DDRCTRL port common configuration register (DDRCTRL_MP_PCCFG) ..... | 501 |
| 13.7.93 | DDRCTRL port x configuration read register (DDRCTRL_MP_PCFGR_x) ..... | 502 |
| 13.7.94 | DDRCTRL port x configuration write register (DDRCTRL_MP_PCFGW_x) ..... | 504 |
| 13.7.95 | DDRCTRL port x control register (DDRCTRL_MP_PCTRL_x) ..... | 505 |
| 13.7.96 | DDRCTRL port x read QoS configuration 0 register (DDRCTRL_MP_PCFGQOS0_x) ..... | 505 |
| 13.7.97 | DDRCTRL port x read QoS configuration 1 register (DDRCTRL_MP_PCFGQOS1_x) ..... | 506 |
| 13.7.98 | DDRCTRL port x write QoS configuration 0 register (DDRCTRL_MP_PCFGWQOS0_x) ..... | 506 |
| 13.7.99 | DDRCTRL port x write QoS configuration 1 register (DDRCTRL_MP_PCFGWQOS1_x) ..... | 508 |
| 13.7.100 | DDRCTRL version number register (DDRCTRL_MP_DDRCTRL_VER_NUMBER) ..... | 508 |
| 13.7.101 | DDRCTRL version type register (DDRCTRL_MP_DDRCTRL_VER_TYPE) ..... | 509 |
| 13.7.102 | DDRCTRL register map ..... | 509 |
| 14 | DDR physical interface control (DDRPHYC) ..... | 526 |
| 14.1 | DDRPHYC features ..... | 526 |
| 14.2 | DDRPHYC block diagram ..... | 526 |
| 14.3 | DDRPHYC SDRAM interface ..... | 527 |
| 14.4 | DDRPHY functional overview ..... | 529 |
| 14.4.1 | MASTER ..... | 529 |
| 14.4.2 | ACX4 ..... | 530 |
| 14.4.3 | DBYTE ..... | 530 |
| 14.4.4 | PHY clocking ..... | 531 |
| 14.4.5 | PUB (PHY utility block) ..... | 531 |
| 14.4.6 | PHY and SDRAM initialization ..... | 532 |
| 14.4.7 | DRAM initialization sequence ..... | 533 |
| 14.4.8 | Device initialization ..... | 534 |
| 14.4.9 | Command address (CA) training ..... | 534 |
| 14.4.10 | Read gate training ..... | 534 |
| 14.4.11 | Write leveling fine phase training ..... | 534 |
| 14.4.12 | Read deskew ..... | 535 |
| 14.4.13 | Read 1D (SI friendly) training ..... | 535 |
| 14.4.14 | Write leveling coarse delay training ..... | 535 |
| 14.4.15 | Write 1D training ..... | 536 |
| 14.4.16 | Read 1D training (optimized delay centering) ..... | 536 |
| 14.4.17 | Max read latency training ..... | 536 |
| 14.5 | DDRPHYC registers | 537 |
| 14.5.1 | DDRPHYC MtestMuxSel register (DDRPHYC_ANIBx_MTESTMUXSEL) | 537 |
| 14.5.2 | DDRPHYC AForceDrvCont register (DDRPHYC_ANIBx_AFORCEDRVCONT) | 538 |
| 14.5.3 | DDRPHYC AForceTriCont register (DDRPHYC_ANIBx_AFORCETRICONT) | 538 |
| 14.5.4 | DDRPHYC address Tx impedance control register (DDRPHYC_ANIBx_ATXIMPEDANCE) | 539 |
| 14.5.5 | DDRPHYC ATestPrbsErr register (DDRPHYC_ANIBx_ATESTPRBSERR) | 539 |
| 14.5.6 | DDRPHYC address Tx slew rate and predriver control register (DDRPHYC_ANIBx_ATXSLEWRATE) | 540 |
| 14.5.7 | DDRPHYC ATestPrbsErrCnt register (DDRPHYC_ANIBx_ATESTPRBSERRCNT) | 541 |
| 14.5.8 | DDRPHYC ATxDly register (DDRPHYC_ANIBx_ATXDLY) | 541 |
| 14.5.9 | DDRPHYC DBYTE module disable register (DDRPHYC_DBYTEx_DBYTEMISCMODE) | 542 |
| 14.5.10 | DDRPHYC MtestMuxSel register (DDRPHYC_DBYTEx_MTESTMUXSEL) | 542 |
| 14.5.11 | DDRPHYC DFIMRL register (DDRPHYC_DBYTEx_DFIMRL) | 543 |
| 14.5.12 | DDRPHYC VrefDAC0_ry register (DDRPHYC_DBYTEx_VREFDAC0_Ry) | 543 |
| 14.5.13 | DDRPHYC data Tx impedance controls register (DDRPHYC_DBYTEx_TXIMPEDANCECTRL0_By) | 544 |
| 14.5.14 | DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL_By) | 545 |
| 14.5.15 | DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL1) | 546 |
| 14.5.16 | DDRPHYC DQ/DQS receiver control register (DDRPHYC_DBYTEx_DQDQSRCVCNTRL2) | 546 |
| 14.5.17 | DDRPHYC TX ODT driver strength control register (DDRPHYC_DBYTEx_TXODTDRVSTREN_By) | 547 |
| 14.5.18 | DDRPHYC status of RX FIFO consistency checks register (DDRPHYC_DBYTEx_RXFIFOCHECKSTATUS) | 548 |
| 14.5.19 | DDRPHYC captured values associated with an RxFIFO consistency error register (DDRPHYC_DBYTEx_RXFIFOCHECKERRVALUES) | 549 |
| 14.5.20 | DDRPHYC data receive FIFO pointer values register (DDRPHYC_DBYTEx_RXFIFOINFO) | 549 |
| 14.5.21 | DDRPHYC Rx FIFO visibility register (DDRPHYC_DBYTEx_RXFIFOVISIBILITY) | 550 |
| 14.5.22 | DDRPHYC Rx FIFO content DQ321x register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ3210) | 551 |
| 14.5.23 | DDRPHYC Rx FIFO content DQ7654 register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDQ7654) | 552 |
| 14.5.24 | DDRPHYC Rx FIFO content DBI register (DDRPHYC_DBYTEx_RXFIFOCONTENTSDBI) | 552 |
| 14.5.25 | DDRPHYC Tx slew rate controls register (DDRPHYC_DBYTEx_TXSLEWRATE_By) | 553 |
| 14.5.26 | DDRPHYC RxPBDlyTgx_r0 register (DDRPHYC_DBYTEx_RXPBDLYTG0_Ry) | 553 |
| 14.5.27 | DDRPHYC RxPBDlyTg1_rx register (DDRPHYC_DBYTEx_RXPBDLYTG1_Ry) | 554 |
| 14.5.28 | DDRPHYC RxEnDlyTgx_u0 register (DDRPHYC_DBYTEx_RXENDLYTG0_U0) | 554 |
| 14.5.29 | DDRPHYC RxEnDlyTg1_ux register (DDRPHYC_DBYTEx_RXENDLYTG1_U0) | 555 |
| 14.5.30 | DDRPHYC RxClkDlyTgx_u0 register (DDRPHYC_DBYTEx_RXCLKDLYTG0_U0) | 555 |
| 14.5.31 | DDRPHYC RxClkDlyTg1_ux register (DDRPHYC_DBYTEx_RXCLKDLYTG1_U0) | 556 |
| 14.5.32 | DDRPHYC RxClkcDlyTgx_u0 register (DDRPHYC_DBYTEx_RXCLKCDLYTG0_U0) | 556 |
| 14.5.33 | DDRPHYC RxClkcDlyTg1_ux register (DDRPHYC_DBYTEx_RXCLKCDLYTG1_U0) | 557 |
| 14.5.34 | DDRPHYC DqLnSel register (DDRPHYC_DBYTEx_DQyLNSEL) ... | 557 |
| 14.5.35 | DDRPHYC TxDqDlyTgx_r0 register (DDRPHYC_DBYTEx_TXDQDLYTG0_Ry) | 558 |
| 14.5.36 | DDRPHYC TxDqDlyTg1_rx register (DDRPHYC_DBYTEx_TXDQDLYTG1_Ry) | 558 |
| 14.5.37 | DDRPHYC TxDqsDlyTgx_u0 register (DDRPHYC_DBYTEx_TXDQSDLYTG0_U0) | 559 |
| 14.5.38 | DDRPHYC TxDqsDlyTg1_ux register (DDRPHYC_DBYTEx_TXDQSDLYTG1_U0) | 559 |
| 14.5.39 | DDRPHYC debug status of the DBYTE LCDL register (DDRPHYC_DBYTEx_DXLCDLSTATUS) | 560 |
| 14.5.40 | DDRPHYC RxEnDlyTgx_u1 register (DDRPHYC_DBYTEx_RXENDLYTG0_U1) | 561 |
| 14.5.41 | DDRPHYC RxEnDlyTg1_u1 register (DDRPHYC_DBYTEx_RXENDLYTG1_U1) | 561 |
| 14.5.42 | DDRPHYC RxClkDlyTgx_u1 register (DDRPHYC_DBYTEx_RXCLKDLYTG0_U1) | 562 |
| 14.5.43 | DDRPHYC RxClkDlyTg1_u1 register (DDRPHYC_DBYTEx_RXCLKDLYTG1_U1) | 562 |
| 14.5.44 | DDRPHYC RxClkcDlyTgx_u1 register (DDRPHYC_DBYTEx_RXCLKCDLYTG0_U1) | 563 |
| 14.5.45 | DDRPHYC RxClkcDlyTg1_u1 register (DDRPHYC_DBYTEx_RXCLKCDLYTG1_U1) ..... | 563 |
| 14.5.46 | DDRPHYC TxDqsDlyTgx_u1 register (DDRPHYC_DBYTEx_TXDQSDLYTG0_U1) ..... | 564 |
| 14.5.47 | DDRPHYC TxDqsDlyTg1_u1 register (DDRPHYC_DBYTEx_TXDQSDLYTG1_U1) ..... | 564 |
| 14.5.48 | DDRPHYC Rx FIFO pointer initialization control register (DDRPHYC_MASTER0_RXFIFOINIT) ..... | 565 |
| 14.5.49 | DDRPHYC ForceClkDisable register (DDRPHYC_MASTER0_FORCECLKDISABLE) ..... | 565 |
| 14.5.50 | DDRPHYC ForceInternalUpdate register (DDRPHYC_MASTER0_FORCEINTERNALUPDATE) ..... | 566 |
| 14.5.51 | DDRPHYC read-only displays PHY configuration register (DDRPHYC_MASTER0_PHYCONFIG) ..... | 566 |
| 14.5.52 | DDRPHYC PHY general configuration register (DDRPHYC_MASTER0_PGCR) ..... | 567 |
| 14.5.53 | DDRPHYC test bump control1 register (DDRPHYC_MASTER0_TESTBUMPCNTRL1) ..... | 568 |
| 14.5.54 | DDRPHYC impedance calibration clock ratio register (DDRPHYC_MASTER0_CALUCLKINFO) ..... | 568 |
| 14.5.55 | DDRPHYC test bump control register (DDRPHYC_MASTER0_TESTBUMPCNTRL) ..... | 569 |
| 14.5.56 | DDRPHYC Seq0BDLY0 register (DDRPHYC_MASTER0_SEQ0BDLY0) ..... | 570 |
| 14.5.57 | DDRPHYC Seq0BDLY1 register (DDRPHYC_MASTER0_SEQ0BDLY1) ..... | 570 |
| 14.5.58 | DDRPHYC Seq0BDLY2 register (DDRPHYC_MASTER0_SEQ0BDLY2) ..... | 571 |
| 14.5.59 | DDRPHYC Seq0BDLY3 register (DDRPHYC_MASTER0_SEQ0BDLY3) ..... | 572 |
| 14.5.60 | DDRPHYC PHY alert status bit register (DDRPHYC_MASTER0_PHYALERTSTATUS) ..... | 573 |
| 14.5.61 | DDRPHYC setup intervals for DFI PHY master operation register (DDRPHYC_MASTER0_PPTTRAINSETUP) ..... | 574 |
| 14.5.62 | DDRPHYC ATestMode control register (DDRPHYC_MASTER0_ATESTMODE) ..... | 575 |
| 14.5.63 | DDRPHYC TxCalBinP register (DDRPHYC_MASTER0_TXCALBINP) ..... | 575 |
| 14.5.64 | DDRPHYC TxCalBinN register (DDRPHYC_MASTER0_TXCALBINN) ..... | 576 |
| 14.5.65 | DDRPHYC TX P impedance calibration override register (DDRPHYC_MASTER0_TXCALPOVR) ..... | 576 |
| 14.5.66 | DDRPHYC TX N impedance calibration override register (DDRPHYC_MASTER0_TXCALNOVR) ..... | 577 |
| 14.5.67 | DDRPHYC enables for update and low-power interfaces for DFI0 and DFI1 register (DDRPHYC_MASTER0_DFIMODE) ..... | 578 |
| 14.5.68 | DDRPHYC mode select register for MEMCLK/address/command tristate register (DDRPHYC_MASTER0_TRISTATEMODECA) ..... | 579 |
| 14.5.69 | DDRPHYC MtestMuxSel register (DDRPHYC_MASTER0_MTESTMUXSEL) ..... | 580 |
| 14.5.70 | DDRPHYC MtestPgmlInfo register (DDRPHYC_MASTER0_MTESTPGMINFO) ..... | 580 |
| 14.5.71 | DDRPHYC dynamic power up/down control register (DDRPHYC_MASTER0_DYNPWRDNUP) ..... | 581 |
| 14.5.72 | DDRPHYC PMIEnable register (DDRPHYC_MASTER0_PMIENABLE) ..... | 581 |
| 14.5.73 | DDRPHYC PhyTID register (DDRPHYC_MASTER0_PHYTID) ..... | 582 |
| 14.5.74 | DDRPHYC HwtMRL register (DDRPHYC_MASTER0_HWTMRL) ... | 582 |
| 14.5.75 | DDRPHYC DFI PhyUpdate request time counter register (DDRPHYC_MASTER0_DFIPHYUPD) ..... | 583 |
| 14.5.76 | DDRPHYC PdaMrsWriteMode register (DDRPHYC_MASTER0_PDAMRSWRITEMODE) ..... | 584 |
| 14.5.77 | DDRPHYC DFIGEARDOWNCTL register (DDRPHYC_MASTER0_DFIGEARDOWNCTL) ..... | 585 |
| 14.5.78 | DDRPHYC control the PHY logic related to the read and write DQS preamble register (DDRPHYC_MASTER0_DQSPREAMBLECONTROL) ..... | 585 |
| 14.5.79 | DDRPHYC MasterX4Config register (DDRPHYC_MASTER0_MASTERX4CONFIG) ..... | 586 |
| 14.5.80 | DDRPHYC write level feedback DQ observability selection register (DDRPHYC_MASTER0_WRLEVBITS) ..... | 587 |
| 14.5.81 | DDRPHYC EnableCsMulticast register (DDRPHYC_MASTER0_ENABLECSMULTICAST) ..... | 588 |
| 14.5.82 | DDRPHYC Acx4AnibDis register (DDRPHYC_MASTER0_ACX4ANIBDIS) ..... | 588 |
| 14.5.83 | DDRPHYC enable Read-DBI function in each DBYTE register (DDRPHYC_MASTER0_DMIPINPRESENT) ..... | 589 |
| 14.5.84 | DDRPHYC ARdPtrInitVal register (DDRPHYC_MASTER0_ARDPTRINITVAL) ..... | 589 |
| 14.5.85 | DDRPHYC DLL mode control for DBYTEs register (DDRPHYC_MASTER0_DBYTEDLLMODECNTRL) ..... | 590 |
| 14.5.86 | IDDRPHYC impedance calibration offsets control register (DDRPHYC_MASTER0_CAL OFFSETS) ..... | 590 |
| 14.5.87 | DDRPHYC SarInitVals register (DDRPHYC_MASTER0_SARINITVALS) ..... | 591 |
| 14.5.88 | DDRPHYC CalPExtOvr register (DDRPHYC_MASTER0_CALPEXTOVR) ..... | 591 |
| 14.5.89 | DDRPHYC CalCmpr5Ovr register (DDRPHYC_MASTER0_CALCMPR5OVR) ..... | 592 |
| 14.5.90 | DDRPHYC CalNIntOvr register (DDRPHYC_MASTER0_CALNINTOVR) ..... | 592 |
| 14.5.91 | DDRPHYC impedance calibration driver strength control register (DDRPHYC_MASTER0_CALDRVSTR0) ..... | 593 |
| 14.5.92 | DDRPHYC read data on-die termination timing control register (DDRPHYC_MASTER0_PROCODTTIMECTL) ..... | 593 |
| 14.5.93 | DDRPHYC MemAlert receiver configuration register (DDRPHYC_MASTER0_MEMALERTCONTROL) ..... | 595 |
| 14.5.94 | DDRPHYC MemAlert receiver configuration register 2 (DDRPHYC_MASTER0_MEMALERTCONTROL2) ..... | 596 |
| 14.5.95 | DDRPHYC protection and control of BP_MemReset_L register (DDRPHYC_MASTER0_MEMRESETL) ..... | 597 |
| 14.5.96 | DDRPHYC PUBMODE - HWT Mux select register (DDRPHYC_MASTER0_PUBMODE) ..... | 598 |
| 14.5.97 | DDRPHYC misc PHY status bits register (DDRPHYC_MASTER0_MISCPHYSTATUS) ..... | 598 |
| 14.5.98 | DDRPHYC CoreLoopbackSel register (DDRPHYC_MASTER0_CORELOOPBACKSEL) ..... | 599 |
| 14.5.99 | DDRPHYC DLL various training parameters register (DDRPHYC_MASTER0_DLLTRAINPARAM) ..... | 599 |
| 14.5.100 | DDRPHYC HwtLpCsEnBypass register (DDRPHYC_MASTER0_HWTLPSENBYPASS) ..... | 600 |
| 14.5.101 | DDRPHYC DFI command/address mode register (DDRPHYC_MASTER0_DFICAMODE) ..... | 600 |
| 14.5.102 | DDRPHYC DLL lock state machine control register (DDRPHYC_MASTER0_DLLCONTROL) ..... | 601 |
| 14.5.103 | DDRPHYC DLL update phase control register (DDRPHYC_MASTER0_PULSEDLLUPDATEPHASE) ..... | 602 |
| 14.5.104 | DDRPHYC DLL gain control register (DDRPHYC_MASTER0_DLLGAINCTL) ..... | 603 |
| 14.5.105 | DDRPHYC impedance calibration control register (DDRPHYC_MASTER0_CALRATE) ..... | 604 |
| 14.5.106 | DDRPHYC CalZap register (DDRPHYC_MASTER0_CALZAP) ..... | 605 |
| 14.5.107 | DDRPHYC PState register (DDRPHYC_MASTER0_PSTATE) ..... | 605 |
| 14.5.108 | DDRPHYC PLL output control register (DDRPHYC_MASTER0_PLLOUTGATECONTROL) ..... | 606 |
| 14.5.109 | DDRPHYC PMU power-on reset control register (DDRPHYC_MASTER0_PORCONTROL) ..... | 606 |
| 14.5.110 | DDRPHYC CalBusy register (DDRPHYC_MASTER0_CALBUSY) ..... | 607 |
| 14.5.111 | DDRPHYC misc impedance calibration control register (DDRPHYC_MASTER0_CALMISC2) | 607 |
| 14.5.112 | DDRPHYC controls for disabling the impedance calibration of certain target register (DDRPHYC_MASTER0_CALMISC) | 609 |
| 14.5.113 | DDRPHYC CalVRef register (DDRPHYC_MASTER0_CALVREFS) | 610 |
| 14.5.114 | DDRPHYC CalCmpr5 register (DDRPHYC_MASTER0_CALCMPR5) | 610 |
| 14.5.115 | DDRPHYC impedance calibration NInt control register (DDRPHYC_MASTER0_CALNINT) | 611 |
| 14.5.116 | DDRPHYC impedance calibration PExt control register (DDRPHYC_MASTER0_CALPEXT) | 611 |
| 14.5.117 | DDRPHYC impedance calibration Cmp invert control register (DDRPHYC_MASTER0_CALCMPINVERT) | 612 |
| 14.5.118 | DDRPHYC impedance calibration Cmpana control register (DDRPHYC_MASTER0_CALCMPANACNTRL) | 612 |
| 14.5.119 | DDRPHYC maps dfi_rddata_cs_n to destination dimm timing group register (DDRPHYC_MASTER0_DFIRDDATACSDSTMAP) | 613 |
| 14.5.120 | PHY global VREF controls register (DDRPHYC_MASTER0_VREFINGLOBAL) | 613 |
| 14.5.121 | DDRPHYC maps dfi_rddata_cs_n to destination dimm timing group register (DDRPHYC_MASTER0_DFIWRDATACSDSTMAP) | 614 |
| 14.5.122 | DDRPHYC MasUpdGoodCtr register (DDRPHYC_MASTER0_MASUPDGOODCTR) | 615 |
| 14.5.123 | DDRPHYC PhyUpd0GoodCtr register (DDRPHYC_MASTER0_PHYUPD0GOODCTR) | 616 |
| 14.5.124 | DDRPHYC PhyUpd1GoodCtr register (DDRPHYC_MASTER0_PHYUPD1GOODCTR) | 616 |
| 14.5.125 | DDRPHYC CtlUpd0GoodCtr register (DDRPHYC_MASTER0_CTLUPD0GOODCTR) | 617 |
| 14.5.126 | DDRPHYC MasUpdFailCtr register (DDRPHYC_MASTER0_MASUPDFAILCTR) | 617 |
| 14.5.127 | DDRPHYC PhyUpd0FailCtr register (DDRPHYC_MASTER0_PHYUPD0FAILCTR) | 618 |
| 14.5.128 | DDRPHYC performance counter enable register (DDRPHYC_MASTER0_PHYPERFCTRENABLE) | 618 |
| 14.5.129 | DDRPHYC PllPwrDn register (DDRPHYC_MASTER0_PLLPWRDN) | 619 |
| 14.5.130 | DDRPHYC PllReset register (DDRPHYC_MASTER0_PLLRESET) .. | 619 |
| 14.5.131 | DDRPHYC PState dependent PLL control 2 register (DDRPHYC_MASTER0_PLLCTRL2) | 620 |
| 14.5.132 | DDRPHYC PLL control 0 register (DDRPHYC_MASTER0_PLLCTRL0) | 620 |
| 14.5.133 DDRPHYC PState dependent PLL control 1 register (DDRPHYC_MASTER0_PLLCTRL1) ..... | 621 |
| 14.5.134 DDRPHYC PLL testing control register (DDRPHYC_MASTER0_PLLTST) ..... | 622 |
| 14.5.135 DDRPHYC PIILockStatus register (DDRPHYC_MASTER0_PLLLOCKSTATUS) ..... | 623 |
| 14.5.136 DDRPHYC PII TestMode register (DDRPHYC_MASTER0_PLLTESTMODE) ..... | 624 |
| 14.5.137 DDRPHYC PLL control 3 register (DDRPHYC_MASTER0_PLLCTRL3) ..... | 624 |
| 14.5.138 DDRPHYC PState dependent PLL control 4 register (DDRPHYC_MASTER0_PLLCTRL4) ..... | 625 |
| 14.5.139 DDRPHYC PIIEndofCal register (DDRPHYC_MASTER0_PLEND OFCAL) ..... | 625 |
| 14.5.140 DDRPHYC PIIStandbyEff register (DDRPHYC_MASTER0_PLLSTANDBYEFF) ..... | 626 |
| 14.5.141 DDRPHYC PII DacValOut register (DDRPHYC_MASTER0_PLLDACVALOUT) ..... | 626 |
| 14.5.142 DDRPHYC LcdIDbgCntl register (DDRPHYC_MASTER0_LCDLDBGCN TL) ..... | 627 |
| 14.5.143 DDRPHYC Debug status of the DBYTE LCDL register (DDRPHYC_MASTER0_ACLCDLSTATUS) ..... | 628 |
| 14.5.144 DDRPHYC CUSTPHYREV register (DDRPHYC_MASTER0_CUSTPHYREV) ..... | 628 |
| 14.5.145 DDRPHYC PHYREV register (DDRPHYC_MASTER0_PHYREV) ... | 629 |
| 14.5.146 DDRPHYC Start vector value for LP3-exit or init PIE sequence register (DDRPHYC_MASTER0_LP3EXITSEQ0BSTARTVECTOR) .. | 629 |
| 14.5.147 DDRPHYC DFI frequency translation 0 register (DDRPHYC_MASTER0_DFIFREQXLAT0) ..... | 630 |
| 14.5.148 DDRPHYC DFI frequency translation 1 register (DDRPHYC_MASTER0_DFIFREQXLAT1) ..... | 630 |
| 14.5.149 DDRPHYC DFI frequency translation 2 register (DDRPHYC_MASTER0_DFIFREQXLAT2) ..... | 631 |
| 14.5.150 DDRPHYC DFI frequency translation 3 register (DDRPHYC_MASTER0_DFIFREQXLAT3) ..... | 631 |
| 14.5.151 DDRPHYC DFI frequency translation 4 register (DDRPHYC_MASTER0_DFIFREQXLAT4) ..... | 632 |
| 14.5.152 DDRPHYC DFI frequency translation 5 register (DDRPHYC_MASTER0_DFIFREQXLAT5) ..... | 632 |
| 14.5.153 DDRPHYC DFI frequency translation 6 register (DDRPHYC_MASTER0_DFIFREQXLAT6) ..... | 633 |
| 14.5.154 DDRPHYC DFI frequency translation 7 register (DDRPHYC_MASTER0_DFIFREQXLAT7) ..... | 633 |
| 14.5.155 | DDRPHYC TxRdPtrInit register (DDRPHYC_MASTER0_TXRDPTRINIT) ..... | 634 |
| 14.5.156 | DDRPHYC DfiInitComplete register (DDRPHYC_MASTER0_DFIINITCOMPLETE) ..... | 634 |
| 14.5.157 | DDRPHYC DfiFreqRatio register (DDRPHYC_MASTER0_DFIFREQRATIO) ..... | 635 |
| 14.5.158 | DDRPHYC RxFifoCheck register (DDRPHYC_MASTER0_RXFIFOCHECKS) ..... | 635 |
| 14.5.159 | DDRPHYC MTestCombo output enable on core-side copy register (DDRPHYC_MASTER0_MTESTDTOCTRL) ..... | 636 |
| 14.5.160 | DDRPHYC MapCAA[0to7]toDfi register (DDRPHYC_MASTER0_MAPCAAxTODFI) ..... | 636 |
| 14.5.161 | DDRPHYC interrupt enable register (DDRPHYC_MASTER0_PHYINTERRUPTENABLE) ..... | 637 |
| 14.5.162 | DDRPHYC interrupt firmware control register (DDRPHYC_MASTER0_PHYINTERRUPTFWCONTROL) ..... | 638 |
| 14.5.163 | DDRPHYC interrupt mask register (DDRPHYC_MASTER0_PHYINTERRUPTMASK) ..... | 638 |
| 14.5.164 | DDRPHYC interrupt clear register (DDRPHYC_MASTER0_PHYINTERRUPTCLEAR) ..... | 639 |
| 14.5.165 | DDRPHYC interrupt status register (DDRPHYC_MASTER0_PHYINTERRUPTSTATUS) ..... | 640 |
| 14.5.166 | DDRPHYC HwtSwizzleHwtAddress0 register (DDRPHYC_MASTER0_HWTSWIZZLEHWTADDRESSx) ..... | 642 |
| 14.5.167 | DDRPHYC HwtSwizzleHwtActN register (DDRPHYC_MASTER0_HWTSWIZZLEHWTACTN) ..... | 644 |
| 14.5.168 | DDRPHYC HwtSwizzleHwtBank0 register (DDRPHYC_MASTER0_HWTSWIZZLEHWTBANK0) ..... | 644 |
| 14.5.169 | DDRPHYC HwtSwizzleHwtBank1 register (DDRPHYC_MASTER0_HWTSWIZZLEHWTBANK1) ..... | 645 |
| 14.5.170 | DDRPHYC HwtSwizzleHwtBank2 register (DDRPHYC_MASTER0_HWTSWIZZLEHWTBANK2) ..... | 645 |
| 14.5.171 | DDRPHYC HwtSwizzleHwtBg0 register (DDRPHYC_MASTER0_HWTSWIZZLEHWTBG0) ..... | 646 |
| 14.5.172 | DDRPHYC HwtSwizzleHwtBg1 register (DDRPHYC_MASTER0_HWTSWIZZLEHWTBG1) ..... | 646 |
| 14.5.173 | DDRPHYC HwtSwizzleHwtCasN register (DDRPHYC_MASTER0_HWTSWIZZLEHWTCASN) ..... | 647 |
| 14.5.174 | DDRPHYC HwtSwizzleHwtRasN register (DDRPHYC_MASTER0_HWTSWIZZLEHWTTRASN) ..... | 647 |
| 14.5.175 | DDRPHYC HwtSwizzleHwtWeN register (DDRPHYC_MASTER0_HWTSWIZZLEHWTWEN) ..... | 648 |
| 14.5.176 | DDRPHYC HwtSwizzleHwtParityIn register (DDRPHYC_MASTER0_HWTSWIZZLEHWTPARITYIN) . . . . . | 648 |
| 14.5.177 | DDRPHYC small delays on handshake signals register 0 (DDRPHYC_MASTER0_DFIHANDSHAKEDELAYS0) . . . . . | 649 |
| 14.5.178 | DDRPHYC small delays on handshake signals register 1 (DDRPHYC_MASTER0_DFIHANDSHAKEDELAYS1) . . . . . | 649 |
| 14.5.179 | DDRPHYC remote impedance calibration status register (DDRPHYC_MASTER0_REMOTEIMPCAL) . . . . . | 650 |
| 14.5.180 | DDRPHYC PhyInLP3 register (DDRPHYC_INITENG0_PHYINLP3) . . . . . | 651 |
| 14.5.181 | DDRPHYC Ucclk and Hclk enable register (DDRPHYC_DRTUB0_UCCLKHCLKENABLES) . . . . . | 651 |
| 14.5.182 | DDRPHYC CurPstate0b register (DDRPHYC_DRTUB0_CURPSTATE0B) . . . . . | 652 |
| 14.5.183 | DDRPHYC CUSTPUBREV register (DDRPHYC_DRTUB0_CUSTPUBREV) . . . . . | 652 |
| 14.5.184 | DDRPHYC PUBREV register (DDRPHYC_DRTUB0_PUBREV) . . . . . | 653 |
| 14.5.185 | DDRPHYC MicroContMuxSel register (DDRPHYC_APBONLY0_MICROCONTMUXSEL) . . . . . | 653 |
| 14.5.186 | DDRPHYC PMU/controller protocol, controller read-only shadow register (DDRPHYC_APBONLY0_UCTSHADOWREGS) . . . . . | 654 |
| 14.5.187 | DDRPHYC DctWriteOnly register (DDRPHYC_APBONLY0_DCTWRITEONLY) . . . . . | 654 |
| 14.5.188 | DDRPHYC DctWriteProt register (DDRPHYC_APBONLY0_DCTWRITEPROT) . . . . . | 655 |
| 14.5.189 | DDRPHYC UctWriteOnlyShadow register (DDRPHYC_APBONLY0_UCTWRITEONLYSHADOW) . . . . . | 655 |
| 14.5.190 | DDRPHYC UctDatWriteOnlyShadow register (DDRPHYC_APBONLY0_UCTDATWRITEONLYSHADOW) . . . . . | 656 |
| 14.5.191 | DDRPHYC DfiCfgRdDataValidTicks register (DDRPHYC_APBONLY0_DFICFGRDDATAVALIDTICKS) . . . . . | 656 |
| 14.5.192 | DDRPHYC reset and clock shutdown control register (DDRPHYC_APBONLY0_MICRORESET) . . . . . | 657 |
| 14.5.193 | DDRPHYC DfiInitCompleteShadow register (DDRPHYC_APBONLY0_DFIINITCOMPLETESHADOW) . . . . . | 658 |
| 14.5.194 | DDRPHYC register map . . . . . | 658 |
| 15 | DDR performance monitor (DDRPERFM) . . . . . | 694 |
| 15.1 | DDRPERFM introduction . . . . . | 694 |
| 15.2 | DDRPERFM main features . . . . . | 694 |
| 15.3 | DDRPERFM block diagram . . . . . | 694 |
| 15.4 | DDRPERFM functional description . . . . . | 695 |
| 15.4.1 | DDRPERFM performance monitor events ..... | 696 |
| 15.4.2 | DDRPERFM DFI command decoder ..... | 698 |
| 15.5 | DDRPERFM registers ..... | 700 |
| 15.5.1 | DDRPERFM control register (DDRPERFM_CTRL) ..... | 700 |
| 15.5.2 | DDRPERFM interrupt mask register (DDRPERFM_IMSK) ..... | 700 |
| 15.5.3 | DDRPERFM interrupt clear register (DDRPERFM_ICLR) ..... | 701 |
| 15.5.4 | DDRPERFM counter clear register (DDRPERFM_CLR) ..... | 701 |
| 15.5.5 | DDRPERFM configuration register 0 (DDRPERFM_CFG0) ..... | 702 |
| 15.5.6 | DDRPERFM configuration register 1 (DDRPERFM_CFG1) ..... | 702 |
| 15.5.7 | DDRPERFM configuration register 2 (DDRPERFM_CFG2) ..... | 703 |
| 15.5.8 | DDRPERFM configuration register 3 (DDRPERFM_CFG3) ..... | 704 |
| 15.5.9 | DDRPERFM configuration register 4 (DDRPERFM_CFG4) ..... | 705 |
| 15.5.10 | DDRPERFM event counter enable register (DDRPERFM_CFG5) ... | 705 |
| 15.5.11 | DDRPERFM DRAM information register (DDRPERFM_DRAMINF) .. | 705 |
| 15.5.12 | DDRPERFM event counter 0 register (DDRPERFM_EVCNT0) .... | 706 |
| 15.5.13 | DDRPERFM event counter 1 register (DDRPERFM_EVCNT1) .... | 706 |
| 15.5.14 | DDRPERFM event counter 2 register (DDRPERFM_EVCNT2) .... | 706 |
| 15.5.15 | DDRPERFM event counter 3 register (DDRPERFM_EVCNT3) .... | 707 |
| 15.5.16 | DDRPERFM event counter 4 register (DDRPERFM_EVCNT4) .... | 707 |
| 15.5.17 | DDRPERFM event counter 5 register (DDRPERFM_EVCNT5) .... | 707 |
| 15.5.18 | DDRPERFM event counter 6 register (DDRPERFM_EVCNT6) .... | 708 |
| 15.5.19 | DDRPERFM event counter 7 register (DDRPERFM_EVCNT7) .... | 708 |
| 15.5.20 | DDRPERFM time counter register (DDRPERFM_TCNT) ..... | 708 |
| 15.5.21 | DDRPERFM status register (DDRPERFM_STATUS) ..... | 709 |
| 15.5.22 | DDRPERFM version register (DDRPERFM_VERR) ..... | 710 |
| 15.5.23 | DDRPERFM identification register (DDRPERFM_ID) ..... | 710 |
| 15.5.24 | DDRPERFM magic ID register (DDRPERFM_SID) ..... | 710 |
| 15.5.25 | DDRPERFM register map ..... | 711 |
| 16 | SRAM configuration controller (RAMCFG) ..... | 713 |
| 16.1 | RAMCFG introduction ..... | 713 |
| 16.2 | RAMCFG main features ..... | 713 |
| 16.3 | RAMCFG functional description ..... | 713 |
| 16.3.1 | Internal SRAM features ..... | 713 |
| 16.3.2 | Error code correction (RETRAM, BKPSRAM) ..... | 714 |
| 16.3.3 | Cyclic redundancy check (RETRAM) ..... | 715 |
| 16.5 | RAMCFG interrupts ..... | 717 |
| 16.6 | RAMCFG registers ..... | 717 |
| 16.6.1 | RAMCFG SYSRAM control register (RAMCFG_SYSRAMCR) ..... | 717 |
| 16.6.2 | RAMCFG SYSRAM interrupt status register (RAMCFG_SYSRAMISR) ..... | 718 |
| 16.6.3 | RAMCFG SYSRAM erase key register (RAMCFG_SYSRAMERKEYR) ..... | 718 |
| 16.6.4 | RAMCFG SRAM1 control register (RAMCFG_SRAM1CR) ..... | 719 |
| 16.6.5 | RAMCFG SRAM1 interrupt status register (RAMCFG_SRAM1ISR) .. | 719 |
| 16.6.6 | RAMCFG SRAM1 erase key register (RAMCFG_SRAM1ERKEYR) .. | 720 |
| 16.6.7 | RAMCFG RETRAM control register (RAMCFG_RETRAMCR) ..... | 720 |
| 16.6.8 | RAMCFG RETRAM interrupt enable register (RAMCFG_RETRAMIER) ..... | 721 |
| 16.6.9 | RAMCFG RETRAM interrupt status register (RAMCFG_RETRAMISR) ..... | 722 |
| 16.6.10 | RAMCFG RETRAM ECC single error address register (RAMCFG_RETRAMSEAR) ..... | 722 |
| 16.6.11 | RAMCFG RETRAM ECC double error address register (RAMCFG_RETRAMDEAR) ..... | 723 |
| 16.6.12 | RAMCFG RETRAM interrupt clear flag register (RAMCFG_RETRAMICR) ..... | 723 |
| 16.6.13 | RAMCFG RETRAM ECC key register (RAMCFG_RETRAMECCKEYR) ..... | 724 |
| 16.6.14 | RAMCFG RETRAM erase key register (RAMCFG_RETRAMERKEYR) ..... | 724 |
| 16.6.15 | RAMCFG RETRAM CRC control register 1 (RAMCFG_RETRAMCCR1) ..... | 725 |
| 16.6.16 | RAMCFG RETRAM CRC control register 2 (RAMCFG_RETRAMCCR2) ..... | 725 |
| 16.6.17 | RAMCFG RETRAM CRC reference signature register (RAMCFG_RETRAMCRSR) ..... | 726 |
| 16.6.18 | RAMCFG RETRAM CRC status register (RAMCFG_RETRAMCSR) .. | 726 |
| 16.6.19 | RAMCFG RETRAM CRC calculated signature register (RAMCFG_RETRAMCCSR) ..... | 727 |
| 16.6.20 | RAMCFG BKPSRAM control register (RAMCFG_BKPSRAMCR) ... | 727 |
| 16.6.21 | RAMCFG BKPSRAM interrupt enable register (RAMCFG_BKPSRAMIER) ..... | 728 |
| 16.6.22 | RAMCFG BKPSRAM interrupt status register (RAMCFG_BKPSRAMISR) ..... | 729 |
| 16.6.23 | RAMCFG BKPSRAM ECC single error address register (RAMCFG_BKPSRAMEEAR) ..... | 729 |
| 16.6.24 | RAMCFG BKPSRAM ECC double error address register (RAMCFG_BKPSRAMDEAR) ..... | 730 |
| 16.6.25 | RAMCFG BKPSRAM interrupt clear flag register (RAMCFG_BKPSRAMICR) ..... | 730 |
| 16.6.26 | RAMCFG BKPSRAM ECC key register (RAMCFG_BKPSRAMECCKEYR) ..... | 731 |
| 16.6.27 | RAMCFG BKPSRAM erase key register (RAMCFG_BKPSRAMERKEYR) ..... | 731 |
| 16.6.28 | RAMCFG register map ..... | 732 |
| 17 | Instruction cache (ICACHE) ..... | 735 |
| 17.1 | ICACHE introduction ..... | 735 |
| 17.2 | ICACHE main features ..... | 735 |
| 17.3 | ICACHE implementation ..... | 736 |
| 17.4 | ICACHE functional description ..... | 736 |
| 17.4.1 | ICACHE block diagram ..... | 737 |
| 17.4.2 | ICACHE reset and clocks ..... | 737 |
| 17.4.3 | ICACHE TAG memory ..... | 738 |
| 17.4.4 | Direct-mapped ICACHE (1-way cache) ..... | 739 |
| 17.4.5 | ICACHE enable ..... | 740 |
| 17.4.6 | Cacheable and noncacheable traffic ..... | 740 |
| 17.4.7 | Address remapping ..... | 741 |
| 17.4.8 | Cacheable accesses ..... | 743 |
| 17.4.9 | Dual-master cache ..... | 744 |
| 17.4.10 | ICACHE security ..... | 744 |
| 17.4.11 | ICACHE maintenance ..... | 744 |
| 17.4.12 | ICACHE performance monitoring ..... | 745 |
| 17.4.13 | ICACHE boot ..... | 745 |
| 17.5 | ICACHE low-power modes ..... | 745 |
| 17.6 | ICACHE error management and interrupts ..... | 746 |
| 17.7 | ICACHE registers ..... | 746 |
| 17.7.1 | ICACHE control register (ICACHE_CR) ..... | 746 |
| 17.7.2 | ICACHE status register (ICACHE_SR) ..... | 747 |
| 17.7.3 | ICACHE interrupt enable register (ICACHE_IER) ..... | 748 |
| 17.7.4 | ICACHE flag clear register (ICACHE_FCR) ..... | 748 |
| 17.7.5 | ICACHE hit monitor register (ICACHE_HMONR) ..... | 749 |
| 17.7.6 | ICACHE miss monitor register (ICACHE_MMONR) ..... | 749 |
| 17.7.7 | ICACHE region x configuration register (ICACHE_CRRx) ..... | 749 |
| 17.7.8 | ICACHE hardware configuration register (ICACHE_HWCFGR) ..... | 750 |
| 17.7.9 | ICACHE version register (ICACHE_VERR) | 752 |
| 17.7.10 | ICACHE identification register (ICACHE_IPIDR) | 752 |
| 17.7.11 | ICACHE size identification register (ICACHE_SIDR) | 753 |
| 17.7.12 | ICACHE register map | 753 |
| 18 | Data cache (DCACHE) | 755 |
| 18.1 | DCACHE introduction | 755 |
| 18.2 | DCACHE main features | 755 |
| 18.3 | DCACHE implementation | 756 |
| 18.4 | DCACHE functional description | 756 |
| 18.4.1 | DCACHE block diagram | 757 |
| 18.4.2 | DCACHE reset and clocks | 757 |
| 18.4.3 | DCACHE TAG memory | 758 |
| 18.4.4 | DCACHE enable | 760 |
| 18.4.5 | Cacheable and noncacheable traffic | 760 |
| 18.4.6 | Cacheable accesses | 761 |
| 18.4.7 | DCACHE security | 763 |
| 18.4.8 | DCACHE maintenance | 763 |
| 18.4.9 | DCACHE performance monitoring | 765 |
| 18.4.10 | DCACHE boot | 765 |
| 18.5 | DCACHE low-power modes | 766 |
| 18.6 | DCACHE error management and interrupts | 766 |
| 18.7 | DCACHE registers | 767 |
| 18.7.1 | DCACHE control register (DCACHE_CR) | 767 |
| 18.7.2 | DCACHE status register (DCACHE_SR) | 768 |
| 18.7.3 | DCACHE interrupt enable register (DCACHE_IER) | 769 |
| 18.7.4 | DCACHE flag clear register (DCACHE_FCR) | 770 |
| 18.7.5 | DCACHE read-hit monitor register (DCACHE_RHMONR) | 770 |
| 18.7.6 | DCACHE read-miss monitor register (DCACHE_RMMONR) | 771 |
| 18.7.7 | DCACHE write-hit monitor register (DCACHE_WHMONR) | 771 |
| 18.7.8 | DCACHE write-miss monitor register (DCACHE_WMMONR) | 771 |
| 18.7.9 | DCACHE command range start address register (DCACHE_CMDRSADDRR) | 772 |
| 18.7.10 | DCACHE command range end address register (DCACHE_CMDREADDRR) | 772 |
| 18.7.11 | DCACHE hardware configuration register (DCACHE_HWCFGR) | 772 |
| 18.7.12 | DCACHE version register (DCACHE_VERR) | 773 |
| 18.7.13 | DCACHE identification register (DCACHE_IPIDR) . . . . . | 774 |
| 18.7.14 | DCACHE size identification register (DCACHE_SIDR) . . . . . | 774 |
| 18.7.15 | DCACHE register map . . . . . | 774 |
| 19 | Power control (PWR) . . . . . | 776 |
| 19.1 | PWR main features . . . . . | 776 |
| 19.2 | PWR block diagram . . . . . | 777 |
| 19.2.1 | PWR pin overview . . . . . | 778 |
| 19.3 | PWR power supplies . . . . . | 778 |
| 19.3.1 | PWR CPU and CORE domains . . . . . | 781 |
| 19.3.2 | PWR supply system startup sequence . . . . . | 782 |
| 19.3.3 | PWR supply Run2 sequence . . . . . | 783 |
| 19.3.4 | PWR supply Stop sequences . . . . . | 784 |
| 19.3.5 | PWR supply LP/LPV-Stop sequences . . . . . | 786 |
| 19.3.6 | PWR supply Standby sequence . . . . . | 788 |
| 19.3.7 | PWR supply VBAT sequence from Standby . . . . . | 790 |
| 19.3.8 | PWR VSW domain . . . . . | 790 |
| 19.3.9 | PWR backup RAM (BKPSRAM) . . . . . | 792 |
| 19.3.10 | PWR retention RAM (RETRAM) . . . . . | 792 |
| 19.3.11 | PWR backup domain access . . . . . | 792 |
| 19.3.12 | PWR VDD domain . . . . . | 793 |
| 19.3.13 | PWR analog supply . . . . . | 793 |
| 19.4 | PWR power supply supervision . . . . . | 794 |
| 19.4.1 | PWR power-on reset (POR)/power-down reset (PDR) . . . . . | 794 |
| 19.4.2 | PWR brownout reset (BOR) . . . . . | 795 |
| 19.4.3 | PWR VDDCORE OK reset . . . . . | 796 |
| 19.4.4 | PWR VDDCPU OK reset . . . . . | 797 |
| 19.4.5 | PWR programmable voltage detector (PVD) . . . . . | 797 |
| 19.4.6 | Peripheral voltage monitoring (PVM) . . . . . | 798 |
| 19.4.7 | PWR V08CAP voltage thresholds . . . . . | 800 |
| 19.4.8 | PWR temperature thresholds . . . . . | 801 |
| 19.5 | PWR power management . . . . . | 801 |
| 19.5.1 | PWR power modes . . . . . | 808 |
| 19.5.2 | Low-power batch acquisition mode (LPBAM) . . . . . | 812 |
| 19.5.3 | PWR system wake-up . . . . . | 813 |
| 19.6 | PWR low-power modes . . . . . | 813 |
| 19.6.1 | PWR slowing down CPU and/or bus matrix clocks ..... | 814 |
| 19.6.2 | PWR controlling peripheral clocks ..... | 814 |
| 19.6.3 | PWR entering low-power modes ..... | 814 |
| 19.6.4 | PWR exiting from low-power modes ..... | 815 |
| 19.6.5 | PWR CSleep mode ..... | 816 |
| 19.6.6 | PWR CStop mode ..... | 817 |
| 19.6.7 | PWR D1 DStop1 mode ..... | 818 |
| 19.6.8 | PWR D1 DStandby mode ..... | 818 |
| 19.6.9 | PWR Stop1 mode ..... | 819 |
| 19.6.10 | PWR Stop2 mode ..... | 820 |
| 19.6.11 | PWR LP-Stop1 and LPLV-Stop1 modes ..... | 821 |
| 19.6.12 | PWR LP-Stop2 and LPLV-Stop2 modes ..... | 822 |
| 19.6.13 | PWR Standby mode ..... | 823 |
| 19.7 | PWR VBAT operation ..... | 825 |
| 19.7.1 | PWR debug Stop mode ..... | 825 |
| 19.7.2 | PWR debug Standby mode ..... | 825 |
| 19.8 | PWR WKUP pins ..... | 826 |
| 19.9 | PWR_ON, PWR_CPU_ON and PWR_LP pins ..... | 826 |
| 19.10 | PWR interrupts ..... | 827 |
| 19.11 | PWR resource isolation framework (RIF) ..... | 827 |
| 19.11.1 | PWR RIF configuration ..... | 828 |
| 19.12 | PWR registers ..... | 830 |
| 19.12.1 | PWR control register 1 (PWR_CR1) ..... | 832 |
| 19.12.2 | PWR control register 2 (PWR_CR2) ..... | 834 |
| 19.12.3 | PWR control register 3 (PWR_CR3) ..... | 835 |
| 19.12.4 | PWR control register 7 (PWR_CR7) ..... | 836 |
| 19.12.5 | PWR control register 8 (PWR_CR8) ..... | 837 |
| 19.12.6 | PWR control register 9 (PWR_CR9) ..... | 839 |
| 19.12.7 | PWR control register 10 (PWR_CR10) ..... | 840 |
| 19.12.8 | PWR control register 11 (PWR_CR11) ..... | 841 |
| 19.12.9 | PWR backup domain control register (PWR_BDCR) ..... | 841 |
| 19.12.10 | PWR CPU1 control register (PWR_CPU1CR) ..... | 842 |
| 19.12.11 | PWR CPU2 control register (PWR_CPU2CR) ..... | 844 |
| 19.12.12 | PWR D1 control register (PWR_D1CR) ..... | 845 |
| 19.12.13 | PWR D2 control register (PWR_D2CR) ..... | 846 |
| 19.12.14 | PWR wake-up control register x (PWR_WKUPCRx) ..... | 848 |
| 19.12.15 PWR resource secure configuration register (PWR_RSECCFGR) . . . | 849 |
| 19.12.16 PWR resource privileged configuration register (PWR_RPRIVCFGR) . . . . . | 850 |
| 19.12.17 PWR resource x CID configuration register (PWR_RxCIDCFGR) . . . | 851 |
| 19.12.18 PWR WIO secure configuration register (PWR_WIOSECCFGR) . . . . | 852 |
| 19.12.19 PWR WIO privileged configuration register (PWR_WIOPRIVCFGR) . | 853 |
| 19.12.20 PWR WIO x CID configuration register (PWR_WIOxCIDCFGR) . . . . | 854 |
| 19.12.21 PWR WIO x semaphore control register (PWR_WIOxSEMCR) . . . . . | 856 |
| 19.12.22 PWR CPU1 status register (PWR_CPU1D1SR) . . . . . | 857 |
| 19.12.23 PWR CPU2 status register (PWR_CPU2D2SR) . . . . . | 858 |
| 19.12.24 PWR VER register (PWR_VERR) . . . . . | 859 |
| 19.12.25 PWR identifier register (PWR_IPIDR) . . . . . | 859 |
| 19.12.26 PWR size identification register (PWR_SIDR) . . . . . | 859 |
| 19.12.27 PWR register map . . . . . | 860 |
| 20 Reset and clock control (RCC) . . . . . | 864 |
| 20.1 RCC main features . . . . . | 864 |
| 20.2 RCC block diagram . . . . . | 865 |
| 20.2.1 RCC pin overview . . . . . | 866 |
| 20.3 RCC functional description - Reset . . . . . | 866 |
| 20.3.1 Power-on/off resets . . . . . | 866 |
| 20.3.2 Application and system resets . . . . . | 867 |
| 20.3.3 Local resets . . . . . | 869 |
| 20.3.4 Resets generated by CPUs . . . . . | 869 |
| 20.3.5 Watchdog resets . . . . . | 869 |
| 20.3.6 Backup domain reset . . . . . | 870 |
| 20.3.7 CoreSight debug reset . . . . . | 871 |
| 20.3.8 Option-byte loading . . . . . | 871 |
| 20.3.9 Peripheral reset . . . . . | 871 |
| 20.3.10 Reset pulse control (RPCTL) . . . . . | 872 |
| 20.3.11 Reset coverage summary . . . . . | 873 |
| 20.3.12 Reset source identification . . . . . | 875 |
| 20.3.13 Power-on and wake-up sequences . . . . . | 877 |
| 20.4 RCC functional description - Clocks . . . . . | 884 |
| 20.4.1 Clock naming convention . . . . . | 887 |
| 20.4.2 Oscillator description . . . . . | 887 |
| 20.4.3 Clock security system (CSS) . . . . . | 894 |
| 20.4.4 | Clock output generation (MCO1 and MCO2) . . . . . | 896 |
| 20.4.5 | PLL description . . . . . | 897 |
| 20.4.6 | PLL root clocks . . . . . | 902 |
| 20.4.7 | Root clocks . . . . . | 903 |
| 20.4.8 | Clock generation in Stop and Standby modes . . . . . | 909 |
| 20.4.9 | Peripheral clock distribution . . . . . | 917 |
| 20.4.10 | General clock concept overview . . . . . | 935 |
| 20.4.11 | Peripheral allocation inside RCC . . . . . | 937 |
| 20.4.12 | Peripheral clock gating control . . . . . | 939 |
| 20.4.13 | CPUx and interconnect clocks gating . . . . . | 943 |
| 20.4.14 | Mass storage interface clocking . . . . . | 946 |
| 20.4.15 | Ethernet interface clocking . . . . . | 950 |
| 20.4.16 | CA35SS clocking . . . . . | 955 |
| 20.4.17 | Debug and trace clocking . . . . . | 956 |
| 20.4.18 | Camera subsystem clocking . . . . . | 957 |
| 20.4.19 | Display subsystem clocking . . . . . | 958 |
| 20.4.20 | USB clocking . . . . . | 960 |
| 20.4.21 | Security clocking . . . . . | 963 |
| 20.5 | RCC interrupts . . . . . | 964 |
| 20.6 | RCC application information . . . . . | 966 |
| 20.6.1 | Clock frequency calculation . . . . . | 966 |
| 20.6.2 | Clock calibration . . . . . | 967 |
| 20.6.3 | Clock monitoring . . . . . | 968 |
| 20.7 | RCC RIF function . . . . . | 969 |
| 20.7.1 | RCC RIF configuration . . . . . | 969 |
| 20.8 | RCC registers . . . . . | 972 |
| 20.8.1 | RCC secure configuration register 0 (RCC_SECCFGR0) . . . . . | 982 |
| 20.8.2 | RCC secure configuration register 1 (RCC_SECCFGR1) . . . . . | 982 |
| 20.8.3 | RCC secure configuration register 2 (RCC_SECCFGR2) . . . . . | 983 |
| 20.8.4 | RCC secure configuration register 3 (RCC_SECCFGR3) . . . . . | 983 |
| 20.8.5 | RCC privileged configuration register 0 (RCC_PRIVCFGR0) . . . . . | 984 |
| 20.8.6 | RCC privileged configuration register 1 (RCC_PRIVCFGR1) . . . . . | 985 |
| 20.8.7 | RCC privileged configuration register 2 (RCC_PRIVCFGR2) . . . . . | 985 |
| 20.8.8 | RCC privileged configuration register 3 (RCC_PRIVCFGR3) . . . . . | 986 |
| 20.8.9 | RCC resource configuration lock register 0 (RCC_RCFGLOCKR0) . . . . . | 987 |
| 20.8.10 | RCC resource configuration lock register 1 (RCC_RCFGLOCKR1) . . . . . | 988 |
| 20.8.11 | RCC resource configuration lock register 2 (RCC_RCFGLOCKR2) . . . . . | 988 |
| 20.8.12 | RCC resource configuration lock register 3 (RCC_RCFGLOCKR3) | 989 |
| 20.8.13 | RCC resource x CID configuration register (RCC_RxCIDCFGR) | 989 |
| 20.8.14 | RCC resource x semaphore control register (RCC_RxSEMCR) | 990 |
| 20.8.15 | RCC global reset control set register (RCC_GRSTCSETR) | 991 |
| 20.8.16 | RCC CPU1 reset control set register (RCC_C1RSTCSETR) | 992 |
| 20.8.17 | RCC CPU2 reset control set register (RCC_C2RSTCSETR) | 992 |
| 20.8.18 | RCC hardware reset status clear register (RCC_HWRSTSCLRR) | 993 |
| 20.8.19 | RCC CPU1 hardware reset status clear register (RCC_C1HWRSTSCLRR) | 995 |
| 20.8.20 | RCC CPU2 hardware reset status clear register (RCC_C2HWRSTSCLRR) | 996 |
| 20.8.21 | RCC CPU1 boot reset status set register (RCC_C1BOOTRSTSSETR) | 996 |
| 20.8.22 | RCC CPU1 boot reset status clear register (RCC_C1BOOTRSTSCLRR) | 998 |
| 20.8.23 | RCC CPU2 boot reset status set register (RCC_C2BOOTRSTSSETR) | 1001 |
| 20.8.24 | RCC CPU2 boot reset status clear register (RCC_C2BOOTRSTSCLRR) | 1003 |
| 20.8.25 | RCC CPU1 stop request set register (RCC_C1SREQSETR) | 1006 |
| 20.8.26 | RCC CPU1 stop request clear register (RCC_C1SREQCLRR) | 1007 |
| 20.8.27 | RCC CPU boot control register (RCC_CPUBOOTCR) | 1007 |
| 20.8.28 | RCC standby boot control register (RCC_STBYBOOTCR) | 1008 |
| 20.8.29 | RCC legacy boot control register (RCC_LEGBOOTCR) | 1009 |
| 20.8.30 | RCC backup domain control register (RCC_BDCR) | 1010 |
| 20.8.31 | RCC reset duration control register (RCC_RDCR) | 1012 |
| 20.8.32 | RCC C1MS reset delay control register (RCC_C1MSRDCR) | 1013 |
| 20.8.33 | RCC PWR_LP delay control register (RCC_PWRLPDLYCR) | 1014 |
| 20.8.34 | RCC CPU1 clock source interrupt enable set register (RCC_C1CIESETR) | 1015 |
| 20.8.35 | RCC CPU1 clock source interrupt flag clear register (RCC_C1CIFCLRR) | 1016 |
| 20.8.36 | RCC CPU2 clock source interrupt enable set register (RCC_C2CIESETR) | 1018 |
| 20.8.37 | RCC CPU2 clock source interrupt flag clear register (RCC_C2CIFCLRR) | 1020 |
| 20.8.38 | RCC IWDG CPU1 clock freeze set register (RCC_IWDGC1FZSETR) | 1022 |
| 20.8.39 | RCC IWDG CPU1 clock freeze clear register (RCC_IWDGC1FZCLRR) | 1023 |
| 20.8.40 | RCC IWDG CPU1 configuration set register (RCC_IWDGC1CFGSETR) | 1023 |
| 20.8.41 | RCC IWDG CPU1 configuration clear register (RCC_IWDGC1CFGCLRR) | 1025 |
| 20.8.42 | RCC IWDG CPU2 clock freeze set register (RCC_IWDGC2FZSETR) | 1026 |
| 20.8.43 | RCC IWDG CPU2 clock freeze clear register (RCC_IWDGC2FZCLRR) | 1026 |
| 20.8.44 | RCC IWDG CPU2 configuration set register (RCC_IWDGC2CFGSETR) | 1027 |
| 20.8.45 | RCC IWDG CPU2 configuration clear register (RCC_IWDGC2CFGCLRR) | 1028 |
| 20.8.46 | RCC MCO1 configuration register (RCC_MCO1CFGR) | 1029 |
| 20.8.47 | RCC MCO2 configuration register (RCC_MCO2CFGR) | 1030 |
| 20.8.48 | RCC oscillator clock enable set register (RCC_OCENSETR) | 1030 |
| 20.8.49 | RCC oscillator clock enable clear register (RCC_OCENCLRR) | 1032 |
| 20.8.50 | RCC oscillator clock ready register (RCC_OCRDYR) | 1033 |
| 20.8.51 | RCC HSI configuration register (RCC_HSICFGR) | 1034 |
| 20.8.52 | RCC MSI configuration register (RCC_MSICFGR) | 1035 |
| 20.8.53 | RCC LSI control register (RCC_LSICR) | 1036 |
| 20.8.54 | RCC RTC clock divider register (RCC_RTCDIVR) | 1036 |
| 20.8.55 | RCC APB1 clock divider register (RCC_APB1DIVR) | 1037 |
| 20.8.56 | RCC APB2 clock divider register (RCC_APB2DIVR) | 1038 |
| 20.8.57 | RCC APB3 clock divider register (RCC_APB3DIVR) | 1038 |
| 20.8.58 | RCC APB4 clock divider register (RCC_APB4DIVR) | 1039 |
| 20.8.59 | RCC APB5 clock divider register (RCC_APB5DIVR) | 1040 |
| 20.8.60 | RCC APBDBG clock divider register (RCC_APBDBGDIVR) | 1041 |
| 20.8.61 | RCC TIM group 1 prescaler register (RCC_TIMG1PRER) | 1042 |
| 20.8.62 | RCC TIM group 2 prescaler register (RCC_TIMG2PRER) | 1042 |
| 20.8.63 | RCC LSMCU clock divider register (RCC_LSMCUDIVR) | 1043 |
| 20.8.64 | RCC DDRCTRL AXI port configuration register (RCC_DDRCPCFGR) | 1044 |
| 20.8.65 | RCC DDRCTRL APB configuration register (RCC_DDRCAPBCFGR) | 1045 |
| 20.8.66 | RCC DDRPHYC APB configuration register (RCC_DDRPHYCAPBCFGR) | 1046 |
| 20.8.67 | RCC DDRPHYC configuration register (RCC_DDRPHYCCFGR) | 1047 |
| 20.8.68 | RCC DDR configuration register (RCC_DDRCFGR) | 1047 |
| 20.8.69 | RCC DDR interface configuration register (RCC_DDRITFCFGR) | 1048 |
| 20.8.70 | RCC SYSRAM configuration register (RCC_SYSRAMCFGR) | 1049 |
| 20.8.71 | RCC SRAM1 configuration register (RCC_SRAM1CFGR) . . . . . | 1050 |
| 20.8.72 | RCC RETRAM configuration register (RCC_RETRAMCFGR) . . . . . | 1050 |
| 20.8.73 | RCC BKPSRAM configuration register (RCC_BKPSRAMCFGR) . . . | 1051 |
| 20.8.74 | RCC OCTOSPI1 configuration register (RCC_OSPI1CFGR) . . . . . | 1052 |
| 20.8.75 | RCC FMC configuration register (RCC_FMCCFGR) . . . . . | 1053 |
| 20.8.76 | RCC debug configuration register (RCC_DBGCFGR) . . . . . | 1053 |
| 20.8.77 | RCC STM configuration register (RCC_STMCFGR) . . . . . | 1054 |
| 20.8.78 | RCC ETR configuration register (RCC_ETRCFGR) . . . . . | 1055 |
| 20.8.79 | RCC GPIOx configuration register (RCC_GPIOxCFGR) (x = A to I) . | 1056 |
| 20.8.80 | RCC GPIOZ configuration register (RCC_GPIOZCFGR) . . . . . | 1057 |
| 20.8.81 | RCC HPDMA1 configuration register (RCC_HPDMA1CFGR) . . . . . | 1058 |
| 20.8.82 | RCC HPDMA2 configuration register (RCC_HPDMA2CFGR) . . . . . | 1058 |
| 20.8.83 | RCC HPDMA3 configuration register (RCC_HPDMA3CFGR) . . . . . | 1059 |
| 20.8.84 | RCC IPCC1 configuration register (RCC_IPCC1CFGR) . . . . . | 1060 |
| 20.8.85 | RCC RTC configuration register (RCC_RTCCFGR) . . . . . | 1061 |
| 20.8.86 | RCC SYSCPU1 configuration register (RCC_SYSCPU1CFGR) . . . | 1061 |
| 20.8.87 | RCC BSEC configuration register (RCC_BSECCFGR) . . . . . | 1062 |
| 20.8.88 | RCC PLL2 configuration register 1 (RCC_PLL2CFGR1) . . . . . | 1063 |
| 20.8.89 | RCC PLL2 configuration register 2 (RCC_PLL2CFGR2) . . . . . | 1064 |
| 20.8.90 | RCC PLL2 configuration register 3 (RCC_PLL2CFGR3) . . . . . | 1065 |
| 20.8.91 | RCC PLL2 configuration register 4 (RCC_PLL2CFGR4) . . . . . | 1066 |
| 20.8.92 | RCC PLL2 configuration register 5 (RCC_PLL2CFGR5) . . . . . | 1066 |
| 20.8.93 | RCC PLL2 configuration register 6 (RCC_PLL2CFGR6) . . . . . | 1067 |
| 20.8.94 | RCC PLL2 configuration register 7 (RCC_PLL2CFGR7) . . . . . | 1067 |
| 20.8.95 | RCC HSI frequency monitoring control register (RCC_HSIFMONCR) . . . . . | 1068 |
| 20.8.96 | RCC HSI frequency value register (RCC_HSIFVALR) . . . . . | 1069 |
| 20.8.97 | RCC MSI frequency monitoring control register (RCC_MSIFMONCR) . . . . . | 1069 |
| 20.8.98 | RCC MSI frequency value register (RCC_MSIFVALR) . . . . . | 1070 |
| 20.8.99 | RCC TIM1 configuration register (RCC_TIM1CFGR) . . . . . | 1071 |
| 20.8.100 | RCC TIM2 configuration register (RCC_TIM2CFGR) . . . . . | 1071 |
| 20.8.101 | RCC TIM3 configuration register (RCC_TIM3CFGR) . . . . . | 1072 |
| 20.8.102 | RCC TIM4 configuration register (RCC_TIM4CFGR) . . . . . | 1073 |
| 20.8.103 | RCC TIM5 configuration register (RCC_TIM5CFGR) . . . . . | 1073 |
| 20.8.104 | RCC TIM6 configuration register (RCC_TIM6CFGR) . . . . . | 1074 |
| 20.8.105 | RCC TIM7 configuration register (RCC_TIM7CFGR) . . . . . | 1075 |
| 20.8.106 | RCC TIM8 configuration register (RCC_TIM8CFGR) . . . . . | 1075 |
| 20.8.107 | RCC TIM10 configuration register (RCC_TIM10CFGR) | 1076 |
| 20.8.108 | RCC TIM11 configuration register (RCC_TIM11CFGR) | 1077 |
| 20.8.109 | RCC TIM12 configuration register (RCC_TIM12CFGR) | 1077 |
| 20.8.110 | RCC TIM13 configuration register (RCC_TIM13CFGR) | 1078 |
| 20.8.111 | RCC TIM14 configuration register (RCC_TIM14CFGR) | 1079 |
| 20.8.112 | RCC TIM15 configuration register (RCC_TIM15CFGR) | 1079 |
| 20.8.113 | RCC TIM16 configuration register (RCC_TIM16CFGR) | 1080 |
| 20.8.114 | RCC TIM17 configuration register (RCC_TIM17CFGR) | 1081 |
| 20.8.115 | RCC LPTIM1 configuration register (RCC_LPTIM1CFGR) | 1081 |
| 20.8.116 | RCC LPTIM2 configuration register (RCC_LPTIM2CFGR) | 1082 |
| 20.8.117 | RCC LPTIM3 configuration register (RCC_LPTIM3CFGR) | 1083 |
| 20.8.118 | RCC LPTIM4 configuration register (RCC_LPTIM4CFGR) | 1083 |
| 20.8.119 | RCC LPTIM5 configuration register (RCC_LPTIM5CFGR) | 1084 |
| 20.8.120 | RCC SPI1 configuration register (RCC_SPI1CFGR) | 1085 |
| 20.8.121 | RCC SPI2 configuration register (RCC_SPI2CFGR) | 1085 |
| 20.8.122 | RCC SPI3 configuration register (RCC_SPI3CFGR) | 1086 |
| 20.8.123 | RCC SPI4 configuration register (RCC_SPI4CFGR) | 1087 |
| 20.8.124 | RCC SPI5 configuration register (RCC_SPI5CFGR) | 1087 |
| 20.8.125 | RCC SPI6 configuration register (RCC_SPI6CFGR) | 1088 |
| 20.8.126 | RCC SPDIFRX configuration register (RCC_SPDIFRXCGR) | 1089 |
| 20.8.127 | RCC USART1 configuration register (RCC_USART1CFGR) | 1089 |
| 20.8.128 | RCC USART2 configuration register (RCC_USART2CFGR) | 1090 |
| 20.8.129 | RCC USART3 configuration register (RCC_USART3CFGR) | 1091 |
| 20.8.130 | RCC UART4 configuration register (RCC_UART4CFGR) | 1091 |
| 20.8.131 | RCC UART5 configuration register (RCC_UART5CFGR) | 1092 |
| 20.8.132 | RCC USART6 configuration register (RCC_USART6CFGR) | 1093 |
| 20.8.133 | RCC UART7 configuration register (RCC_UART7CFGR) | 1093 |
| 20.8.134 | RCC LPUART1 configuration register (RCC_LPUART1CFGR) | 1094 |
| 20.8.135 | RCC I2C1 configuration register (RCC_I2C1CFGR) | 1095 |
| 20.8.136 | RCC I2C2 configuration register (RCC_I2C2CFGR) | 1095 |
| 20.8.137 | RCC I2C3 configuration register (RCC_I2C3CFGR) | 1096 |
| 20.8.138 | RCC SAI1 configuration register (RCC_SAI1CFGR) | 1097 |
| 20.8.139 | RCC SAI2 configuration register (RCC_SAI2CFGR) | 1097 |
| 20.8.140 | RCC SAI3 configuration register (RCC_SAI3CFGR) | 1098 |
| 20.8.141 | RCC SAI4 configuration register (RCC_SAI4CFGR) | 1099 |
| 20.8.142 | RCC MDF1 configuration register (RCC_MDF1CFGR) | 1099 |
| 20.8.143 | RCC FDCAN configuration register (RCC_FDCANCFGR) | 1100 |
| 20.8.144 | RCC HDP configuration register (RCC_HDPCFGR) . . . . . | 1101 |
| 20.8.145 | RCC ADC1 configuration register (RCC_ADC1CFGR) . . . . . | 1101 |
| 20.8.146 | RCC ADC2 configuration register (RCC_ADC2CFGR) . . . . . | 1102 |
| 20.8.147 | RCC Ethernet 1 configuration register (RCC_ETH1CFGR) . . . . . | 1103 |
| 20.8.148 | RCC Ethernet 2 configuration register (RCC_ETH2CFGR) . . . . . | 1104 |
| 20.8.149 | RCC USBH configuration register (RCC_USBHCFGR) . . . . . | 1106 |
| 20.8.150 | RCC USB2PHY1 configuration register (RCC_USB2PHY1CFGR) . . . . . | 1107 |
| 20.8.151 | RCC OTG configuration register (RCC_OTGCFGR) . . . . . | 1108 |
| 20.8.152 | RCC USB2PHY2 configuration register (RCC_USB2PHY2CFGR) . . . . . | 1108 |
| 20.8.153 | RCC STGEN configuration register (RCC_STGENCFGR) . . . . . | 1109 |
| 20.8.154 | RCC SDMMC1 configuration register (RCC_SDMMC1CFGR) . . . . . | 1110 |
| 20.8.155 | RCC SDMMC2 configuration register (RCC_SDMMC2CFGR) . . . . . | 1111 |
| 20.8.156 | RCC SDMMC3 configuration register (RCC_SDMMC3CFGR) . . . . . | 1112 |
| 20.8.157 | RCC LTDC configuration register (RCC_LTDCCFGR) . . . . . | 1113 |
| 20.8.158 | RCC CSI configuration register (RCC_CSICFGR) . . . . . | 1113 |
| 20.8.159 | RCC DCMIPP configuration register (RCC_DCMIPPCFGR) . . . . . | 1114 |
| 20.8.160 | RCC DCMIPSSI configuration register (RCC_DCMIPSSICFGR) . . . . . | 1115 |
| 20.8.161 | RCC RNG1 configuration register (RCC_RNG1CFGR) . . . . . | 1115 |
| 20.8.162 | RCC RNG2 configuration register (RCC_RNG2CFGR) . . . . . | 1116 |
| 20.8.163 | RCC PKA configuration register (RCC_PKACFGR) . . . . . | 1117 |
| 20.8.164 | RCC SAES configuration register (RCC_SAESCFGR) . . . . . | 1117 |
| 20.8.165 | RCC HASH1 configuration register (RCC_HASH1CFGR) . . . . . | 1118 |
| 20.8.166 | RCC HASH2 configuration register (RCC_HASH2CFGR) . . . . . | 1119 |
| 20.8.167 | RCC CRYP1 configuration register (RCC_CRYP1CFGR) . . . . . | 1120 |
| 20.8.168 | RCC CRYP2 configuration register (RCC_CRYP2CFGR) . . . . . | 1120 |
| 20.8.169 | RCC IWDG1 configuration register (RCC_IWDG1CFGR) . . . . . | 1121 |
| 20.8.170 | RCC IWDG2 configuration register (RCC_IWDG2CFGR) . . . . . | 1122 |
| 20.8.171 | RCC IWDG3 configuration register (RCC_IWDG3CFGR) . . . . . | 1122 |
| 20.8.172 | RCC IWDG4 configuration register (RCC_IWDG4CFGR) . . . . . | 1123 |
| 20.8.173 | RCC WWDG1 configuration register (RCC_WWDG1CFGR) . . . . . | 1124 |
| 20.8.174 | RCC VREFBUF configuration register (RCC_VREFCFGR) . . . . . | 1124 |
| 20.8.175 | RCC DTS configuration register (RCC_DTSCFGR) . . . . . | 1125 |
| 20.8.176 | RCC CRC configuration register (RCC_CRCCFGR) . . . . . | 1126 |
| 20.8.177 | RCC SERC configuration register (RCC_SERCCFGR) . . . . . | 1127 |
| 20.8.178 | RCC DDRPERFM configuration register (RCC_DDRPERFMCFGR) . . . . . | 1127 |
| 20.8.179 | RCC I3C1 configuration register (RCC_I3C1CFGR) . . . . . | 1128 |
| 20.8.180 | RCC I3C2 configuration register (RCC_I3C2CFGR) . . . . . | 1129 |
| 20.8.181 | RCC I3C3 configuration register (RCC_I3C3CFGR) . . . . . | 1129 |
| 20.8.182 | RCC MUXSEL configuration register (RCC_MUXSELCFGR) . . . . . | 1130 |
| 20.8.183 | RCC cross bar x configuration register (RCC_XBARxCFGR) . . . . . | 1132 |
| 20.8.184 | RCC pre divider x configuration register (RCC_PREDIVxCFGR) . . . | 1133 |
| 20.8.185 | RCC pre divider status register 1 (RCC_PREDIVSR1) . . . . . | 1133 |
| 20.8.186 | RCC pre divider status register 2 (RCC_PREDIVSR2) . . . . . | 1134 |
| 20.8.187 | RCC final divider x configuration register (RCC_FINDIVxCFGR) . . . | 1134 |
| 20.8.188 | RCC final divider status register 1 (RCC_FINDIVSR1) . . . . . | 1135 |
| 20.8.189 | RCC final divider status register 2 (RCC_FINDIVSR2) . . . . . | 1135 |
| 20.8.190 | RCC clock frequency calculator and observation 0 clock configuration register (RCC_FCALCOBS0CFGR) . . . . . | 1136 |
| 20.8.191 | RCC clock frequency calculator and observation 1 clock configuration register (RCC_FCALCOBS1CFGR) . . . . . | 1138 |
| 20.8.192 | RCC clock frequency calculator reference clock configuration register (RCC_FCALCREFCFGR) . . . . . | 1140 |
| 20.8.193 | RCC clock frequency calculator control register 1 (RCC_FCALCCR1) . . . . . | 1141 |
| 20.8.194 | RCC clock frequency calculator control register 2 (RCC_FCALCCR2) . . . . . | 1142 |
| 20.8.195 | RCC clock frequency calculator status register (RCC_FCALCSR) . . | 1143 |
| 20.8.196 | RCC PLLy configuration register 1 (RCC_PLLyCFGR1) . . . . . | 1143 |
| 20.8.197 | RCC PLLy configuration register 2 (RCC_PLLyCFGR2) . . . . . | 1144 |
| 20.8.198 | RCC PLLy configuration register 3 (RCC_PLLyCFGR3) . . . . . | 1145 |
| 20.8.199 | RCC PLLy configuration register 4 (RCC_PLLyCFGR4) . . . . . | 1146 |
| 20.8.200 | RCC PLLy configuration register 5 (RCC_PLLyCFGR5) . . . . . | 1147 |
| 20.8.201 | RCC PLLy configuration register 6 (RCC_PLLyCFGR6) . . . . . | 1147 |
| 20.8.202 | RCC PLLy configuration register 7 (RCC_PLLyCFGR7) . . . . . | 1148 |
| 20.8.203 | RCC version register (RCC_VERR) . . . . . | 1149 |
| 20.8.204 | RCC identifier register (RCC_IDR) . . . . . | 1149 |
| 20.8.205 | RCC size identification register (RCC_SIDR) . . . . . | 1149 |
| 20.8.206 | RCC register map . . . . . | 1150 |
| 21 | Inter-processor communication controller (IPCC) . . . . . | 1169 |
| 21.1 | Introduction . . . . . | 1169 |
| 21.2 | IPCC main features . . . . . | 1169 |
| 21.3 | IPCC functional description . . . . . | 1170 |
| 21.3.1 | IPCC block diagram . . . . . | 1170 |
| 21.3.2 | IPCC Simplex channel mode . . . . . | 1171 |
| 21.3.3 | IPCC Half-duplex channel mode ..... | 1174 |
| 21.3.4 | IPCC interrupts and events ..... | 1177 |
| 21.3.5 | IPCC security ..... | 1177 |
| 21.4 | IPCC registers ..... | 1179 |
| 21.4.1 | IPCC processor 1 control register (IPCC_C1CR) ..... | 1179 |
| 21.4.2 | IPCC processor 1 mask register (IPCC_C1MR) ..... | 1180 |
| 21.4.3 | IPCC processor 1 status set clear register (IPCC_C1SCR) ..... | 1181 |
| 21.4.4 | IPCC processor 1 to processor 2 status register (IPCC_C1TOC2SR) ..... | 1181 |
| 21.4.5 | IPCC processor 2 control register (IPCC_C2CR) ..... | 1182 |
| 21.4.6 | IPCC processor 2 mask register (IPCC_C2MR) ..... | 1183 |
| 21.4.7 | IPCC processor 2 status set clear register (IPCC_C2SCR) ..... | 1184 |
| 21.4.8 | IPCC processor 2 to processor 1 status register (IPCC_C2TOC1SR) ..... | 1185 |
| 21.4.9 | IPCC processor 1 security configuration register (IPCC_C1SECCFGR) ..... | 1186 |
| 21.4.10 | IPCC processor 1 privilege configuration register (IPCC_C1PRIVCFGR) ..... | 1186 |
| 21.4.11 | IPCC processor 1 CID configuration register (IPCC_C1CIDCFGR) ..... | 1187 |
| 21.4.12 | IPCC processor 2 security configuration register (IPCC_C2SECCFGR) ..... | 1188 |
| 21.4.13 | IPCC processor 2 privilege configuration register (IPCC_C2PRIVCFGR) ..... | 1189 |
| 21.4.14 | IPCC processor 2 CID configuration register (IPCC_C2CIDCFGR) .. | 1189 |
| 21.4.15 | IPCC hardware configuration register (IPCC_HWCFGR) ..... | 1190 |
| 21.4.16 | IPCC version register (IPCC_VERR) ..... | 1191 |
| 21.4.17 | IPCC identification register (IPCC_IPIDR) ..... | 1191 |
| 21.4.18 | IPCC size identification register (IPCC_SIDR) ..... | 1191 |
| 21.4.19 | IPCC register map ..... | 1192 |
| 22 | General-purpose I/Os (GPIO) ..... | 1194 |
| 22.1 | GPIO introduction ..... | 1194 |
| 22.2 | GPIO main features ..... | 1194 |
| 22.3 | GPIO functional description ..... | 1194 |
| 22.3.1 | General-purpose I/O (GPIO) ..... | 1196 |
| 22.3.2 | I/O pin alternate-function multiplexer and mapping ..... | 1196 |
| 22.3.3 | I/O port control registers ..... | 1197 |
| 22.3.4 | I/O port data registers ..... | 1197 |
| 22.3.5 | I/O data bitwise handling | 1197 |
| 22.3.6 | GPIO locking mechanism | 1198 |
| 22.3.7 | I/O alternate-function input/output | 1198 |
| 22.3.8 | External interrupt/wake-up lines | 1198 |
| 22.3.9 | Input configuration | 1199 |
| 22.3.10 | Output configuration | 1199 |
| 22.3.11 | Alternate-function configuration | 1200 |
| 22.3.12 | Analog configuration | 1200 |
| 22.3.13 | GPIO pins used in \(V_{SW}\) domain | 1201 |
| 22.3.14 | Advanced I/O configurations | 1201 |
| 22.3.15 | I/O pin isolation using TrustZone | 1202 |
| 22.3.16 | I/O pin isolation using privilege | 1203 |
| 22.3.17 | I/O pin isolation using compartments | 1204 |
| 22.4 | GPIO registers | 1205 |
| 22.4.1 | GPIO port x mode register (GPIOx_MODER) (x = A to I, Z) | 1205 |
| 22.4.2 | GPIO port x output type register (GPIOx_OTYPER) (x = A to I, Z) | 1206 |
| 22.4.3 | GPIO port x output speed register (GPIOx_OSPEEDR) (x = A to I, Z) | 1206 |
| 22.4.4 | GPIO port pull-up/pull-down register (GPIOx_PUPDR) (x = A to I, Z) | 1207 |
| 22.4.5 | GPIO port x input data register (GPIOx_IDR) (x = A to I, Z) | 1208 |
| 22.4.6 | GPIO port x output data register (GPIOx_ODR) (x = A to I, Z) | 1208 |
| 22.4.7 | GPIO port x bit set/reset register (GPIOx_BSRR) (x = A to I, Z) | 1209 |
| 22.4.8 | GPIO port x configuration lock register (GPIOx_LCKR) (x = A to I, Z) | 1210 |
| 22.4.9 | GPIO port x alternate function low register (GPIOx_AFRL) (x = A to I, Z) | 1211 |
| 22.4.10 | GPIO port x alternate function high register (GPIOx_AFRH) (x = A to I, Z) | 1212 |
| 22.4.11 | GPIO port x bit reset register (GPIOx_BRR) (x = A to I, Z) | 1213 |
| 22.4.12 | GPIO port x secure configuration register (GPIOx_SECCFGR) (x = A to I, Z) | 1214 |
| 22.4.13 | GPIO port x privileged configuration register (GPIOx_PRIVCFGR) (x = A to I, Z) | 1214 |
| 22.4.14 | GPIO port x resource configuration lock register (GPIOx_RCFGLOCKR) (x = A to I, Z) | 1215 |
| 22.4.15 | GPIO port x delay low register (GPIOx_DELAYRL) (x = A to I, Z) | 1215 |
| 22.4.16 | GPIO port x delay high register (GPIOx_DELAYRH) (x = A to I, Z) | 1216 |
| 22.4.17 | GPIO port x advanced configuration low register (GPIOx_ADVCFGRL) (x = A to I, Z) | 1217 |
| 22.4.18 | GPIO port x advanced configuration high register (GPIOx_ADVCFGRH) (x = A to I, Z) | 1218 |
| 22.4.19 | GPIO port x CID configuration register for I/O pin y (GPIOx_CIDCFGRy) (x = A to I, Z) | 1220 |
| 22.4.20 | GPIO port x semaphore control register for I/O pin y (GPIOx_SEMCRy) (x = A to I, Z) | 1221 |
| 22.4.21 | GPIO port x hardware configuration register 11 (GPIOx_HWCFGR11) (x = A to I, Z) | 1222 |
| 22.4.22 | GPIO port x hardware configuration register 10 (GPIOx_HWCFGR10) (x = A to I, Z) | 1223 |
| 22.4.23 | GPIO port x hardware configuration register 9 (GPIOx_HWCFGR9) (x = A to I, Z) | 1223 |
| 22.4.24 | GPIO port x hardware configuration register 8 (GPIOx_HWCFGR8) (x = A to I, Z) | 1224 |
| 22.4.25 | GPIO port x hardware configuration register 7 (GPIOx_HWCFGR7) (x = A to I, Z) | 1224 |
| 22.4.26 | GPIO port x hardware configuration register 6 (GPIOx_HWCFGR6) (x = A to I, Z) | 1225 |
| 22.4.27 | GPIO port x hardware configuration register 5 (GPIOx_HWCFGR5) (x = A to I, Z) | 1225 |
| 22.4.28 | GPIO port x hardware configuration register 4 (GPIOx_HWCFGR4) (x = A to I, Z) | 1225 |
| 22.4.29 | GPIO port x hardware configuration register 3 (GPIOx_HWCFGR3) (x = A to I, Z) | 1226 |
| 22.4.30 | GPIO port x hardware configuration register 2 (GPIOx_HWCFGR2) (x = A to I, Z) | 1226 |
| 22.4.31 | GPIO port x hardware configuration register 1 (GPIOx_HWCFGR1) (x = A to I, Z) | 1226 |
| 22.4.32 | GPIO port x version register (GPIOx_VERR) (x = A to I, Z) | 1227 |
| 22.4.33 | GPIO port x identification register (GPIOx_IPIDR) (x = A to I, Z) | 1227 |
| 22.4.34 | GPIO port x size identification register (GPIOx_SIDR) (x = A to I, Z) | 1227 |
| 22.4.35 | GPIO register map | 1228 |
| 23 | System configuration controller (SYSCFG) | 1231 |
| 23.1 | SYSCFG functional description | 1231 |
| 23.1.1 | I/O compensation cell | 1231 |
| 23.2 | SYSCFG registers | 1232 |
| 23.2.1 | SYSCFG boot pin status register (SYSCFG_BOOTSR) | 1232 |
| 23.2.2 | SYSCFG boot pin control register (SYSCFG_BOOTCR) | 1233 |
| 23.2.3 | SYSCFG DLYBSD1 control register (SYSCFG_DLYBSD1CR) | 1234 |
| 23.2.4 | SYSCFG DLYBSD1 status register (SYSCFG_DLYBSD1SR) . . . . . | 1235 |
| 23.2.5 | SYSCFG SDMMC1 control register (SYSCFG_SDMMC1CR) . . . . . | 1235 |
| 23.2.6 | SYSCFG SDMMC1 address remapping control register (SYSCFG_SDMMC1ARCR) . . . . . | 1236 |
| 23.2.7 | SYSCFG DLYBSD2 control register (SYSCFG_DLYBSD2CR) . . . . . | 1236 |
| 23.2.8 | SYSCFG DLYBSD2 status register (SYSCFG_DLYBSD2SR) . . . . . | 1237 |
| 23.2.9 | SYSCFG SDMMC2 control register (SYSCFG_SDMMC2CR) . . . . . | 1238 |
| 23.2.10 | SYSCFG SDMMC2 address remapping control register (SYSCFG_SDMMC2ARCR) . . . . . | 1238 |
| 23.2.11 | SYSCFG DLYBSD3 control register (SYSCFG_DLYBSD3CR) . . . . . | 1239 |
| 23.2.12 | SYSCFG DLYBSD3 status register (SYSCFG_DLYBSD3SR) . . . . . | 1240 |
| 23.2.13 | SYSCFG SDMMC3 address remapping control register (SYSCFG_SDMMC3ARCR) . . . . . | 1241 |
| 23.2.14 | SYSCFG DLYBOS1 control register (SYSCFG_DLYBOS1CR) . . . . . | 1241 |
| 23.2.15 | SYSCFG DLYBOS1 status register (SYSCFG_DLYBOS1SR) . . . . . | 1243 |
| 23.2.16 | SYSCFG potential tamper reset control register (SYSCFG_POTTAMPRSTCR) . . . . . | 1243 |
| 23.2.17 | SYSCFG M33SS control register (SYSCFG_M33SSCR) . . . . . | 1244 |
| 23.2.18 | SYSCFG ICN QOS priority control register 1 (SYSCFG_ICNQPCR1) . . . . . | 1245 |
| 23.2.19 | SYSCFG ICN QOS priority control register 2 (SYSCFG_ICNQPCR2) . . . . . | 1246 |
| 23.2.20 | SYSCFG ICN early write response control register (SYSCFG_ICNEWRCR) . . . . . | 1247 |
| 23.2.21 | SYSCFG ICN end-to-end bandwidth regulation control register (SYSCFG_ICNE2EBWRCR) . . . . . | 1248 |
| 23.2.22 | SYSCFG safe reset control register (SYSCFG_SAFERSTCR) . . . . . | 1249 |
| 23.2.23 | SYSCFG ICN ETH bandwidth limiter control register (SYSCFG_ICNETHBWLCR) . . . . . | 1249 |
| 23.2.24 | SYSCFG ICN CPU1 bandwidth limiter control register (SYSCFG_ICNCPU1BWLCR) . . . . . | 1250 |
| 23.2.25 | SYSCFG ICN LTDC bandwidth limiter control register (SYSCFG_ICNLTDCBWLCR) . . . . . | 1251 |
| 23.2.26 | SYSCFG ICN DCMIPP bandwidth limiter control register (SYSCFG_ICNDCMIPPBWLCR) . . . . . | 1252 |
| 23.2.27 | SYSCFG ICN HPDMA bandwidth limiter control register (SYSCFG_ICNHPDMABWLCR) . . . . . | 1253 |
| 23.2.28 | SYSCFG HPDMA address remapping control register (SYSCFG_HPDMAARCR) . . . . . | 1254 |
| 23.2.29 | SYSCFG USB2PHY1 control register (SYSCFG_USB2PHY1CR) . . . . . | 1255 |
| 23.2.30 | SYSCFG USB2PHY1 battery charging control register (SYSCFG_USB2PHY1BCCR) ..... | 1256 |
| 23.2.31 | SYSCFG USB2PHY1 battery charging status register (SYSCFG_USB2PHY1BCSR) ..... | 1257 |
| 23.2.32 | SYSCFG USB2PHY1 trimming 1 control register (SYSCFG_USB2PHY1TRIM1CR) ..... | 1258 |
| 23.2.33 | SYSCFG USB2PHY1 trimming 2 control register (SYSCFG_USB2PHY1TRIM2CR) ..... | 1261 |
| 23.2.34 | SYSCFG USBH control register (SYSCFG_USBHCR) ..... | 1262 |
| 23.2.35 | SYSCFG USBH address remapping control register (SYSCFG_USBHARCR) ..... | 1263 |
| 23.2.36 | SYSCFG USB2PHY2 control register (SYSCFG_USB2PHY2CR) ..... | 1263 |
| 23.2.37 | SYSCFG USB2PHY2 trimming 1 control register (SYSCFG_USB2PHY2TRIM1CR) ..... | 1264 |
| 23.2.38 | SYSCFG USB2PHY2 trimming 2 control register (SYSCFG_USB2PHY2TRIM2CR) ..... | 1268 |
| 23.2.39 | SYSCFG OTG address remapping control register (SYSCFG_OTGARCR) ..... | 1269 |
| 23.2.40 | SYSCFG Ethernet1 control register (SYSCFG_ETH1CR) ..... | 1269 |
| 23.2.41 | SYSCFG Ethernet1 status register (SYSCFG_ETH1SR) ..... | 1270 |
| 23.2.42 | SYSCFG Ethernet2 configuration register (SYSCFG_ETH2CR) ..... | 1270 |
| 23.2.43 | SYSCFG Ethernet2 status register (SYSCFG_ETH2SR) ..... | 1271 |
| 23.2.44 | SYSCFG VDDIO3 compensation cell control register (SYSCFG_VDDIO3CCCR) ..... | 1272 |
| 23.2.45 | SYSCFG VDDIO3 compensation cell status register (SYSCFG_VDDIO3CCSR) ..... | 1273 |
| 23.2.46 | SYSCFG VDD compensation cell control register (SYSCFG_VDDCCCR) ..... | 1273 |
| 23.2.47 | SYSCFG VDD compensation cell status register (SYSCFG_VDDCCSR) ..... | 1274 |
| 23.2.48 | SYSCFG VDDIO2 compensation cell control register (SYSCFG_VDDIO2CCCR) ..... | 1275 |
| 23.2.49 | SYSCFG VDDIO2 compensation cell status register (SYSCFG_VDDIO2CCSR) ..... | 1276 |
| 23.2.50 | SYSCFG VDDIO1 compensation cell control register (SYSCFG_VDDIO1CCCR) ..... | 1277 |
| 23.2.51 | SYSCFG VDDIO1 compensation cell status register (SYSCFG_VDDIO1CCSR) ..... | 1278 |
| 23.2.52 | SYSCFG control timer break register (SYSCFG_CBR) ..... | 1278 |
| 23.2.53 | SYSCFG HDP USB debug control register (SYSCFG_HDPUSBDGCR) ..... | 1279 |
| 23.2.54 | SYSCFG device ID register (SYSCFG_IDC) ..... | 1280 |
| 23.2.55 | SYSCFG version register (SYSCFG_VERR) ..... | 1280 |
| 23.2.56 | SYSCFG identification register (SYSCFG_IPIDR) ..... | 1281 |
| 23.2.57 | SYSCFG size identification register (SYSCFG_SIDR) ..... | 1281 |
| 23.2.58 | SYSCFG register map ..... | 1281 |
| 24 | Peripheral interconnects ..... | 1291 |
| 24.1 | Introduction ..... | 1291 |
| 24.2 | Connection overview ..... | 1291 |
| 24.2.1 | Asynchronous connections (A) ..... | 1291 |
| 24.2.2 | Synchronous connections (S) ..... | 1291 |
| 24.2.3 | Break/fault connection for TIM outputs (B) ..... | 1291 |
| 24.2.4 | Peripherals interconnect matrix ..... | 1292 |
| 25 | High-performance direct memory access controller (HPDMA) ... | 1316 |
| 25.1 | HPDMA introduction ..... | 1316 |
| 25.2 | HPDMA main features ..... | 1316 |
| 25.3 | HPDMA implementation ..... | 1317 |
| 25.3.1 | HPDMA channels ..... | 1317 |
| 25.3.2 | HPDMA allowed AXI maximum burst length ..... | 1318 |
| 25.3.3 | HPDMA in low-power modes ..... | 1318 |
| 25.3.4 | HPDMA requests ..... | 1319 |
| 25.3.5 | HPDMA block requests ..... | 1323 |
| 25.3.6 | HPDMA channels with peripheral early termination ..... | 1323 |
| 25.3.7 | HPDMA triggers ..... | 1324 |
| 25.4 | HPDMA functional description ..... | 1327 |
| 25.4.1 | HPDMA block diagram ..... | 1327 |
| 25.4.2 | HPDMA channel state and direct programming without any linked-list ..... | 1327 |
| 25.4.3 | HPDMA channel suspend and resume ..... | 1328 |
| 25.4.4 | HPDMA channel abort and restart ..... | 1329 |
| 25.4.5 | HPDMA channel terminate and drain FIFO ..... | 1330 |
| 25.4.6 | HPDMA linked-list data structure ..... | 1332 |
| 25.4.7 | Linked-list item transfer execution ..... | 1335 |
| 25.4.8 | HPDMA channel state and linked-list programming in run-to-completion mode ..... | 1335 |
| 25.4.9 | HPDMA channel state and linked-list programming in link step mode ..... | 1339 |
| 25.4.10 | HPDMA channel state and linked-list programming ..... | 1346 |
| 25.4.11 | HPDMA FIFO-based transfers ..... | 1348 |
| 25.4.12 | HPDMA transfer request and arbitration ..... | 1364 |
| 25.4.13 | HPDMA triggered transfer ..... | 1368 |
| 25.4.14 | HPDMA circular buffering with linked-list programming ..... | 1369 |
| 25.4.15 | HPDMA transfer in peripheral flow-control mode ..... | 1371 |
| 25.4.16 | HPDMA byte-based padding at the block level ..... | 1372 |
| 25.4.17 | HPDMA secure/nonsecure channel ..... | 1373 |
| 25.4.18 | HPDMA privileged/unprivileged channel ..... | 1374 |
| 25.4.19 | HPDMA error management ..... | 1375 |
| 25.5 | HPDMA in debug mode ..... | 1377 |
| 25.6 | HPDMA in low-power modes ..... | 1377 |
| 25.7 | HPDMA interrupts ..... | 1377 |
| 25.8 | HPDMA registers ..... | 1379 |
| 25.8.1 | HPDMA secure configuration register (HPDMA_SECCFGR) ..... | 1379 |
| 25.8.2 | HPDMA privileged configuration register (HPDMA_PRIVCFGR) ..... | 1380 |
| 25.8.3 | HPDMA configuration lock register (HPDMA_RCFGLOCKR) ..... | 1380 |
| 25.8.4 | HPDMA nonsecure masked interrupt status register (HPDMA_MISR) ..... | 1381 |
| 25.8.5 | HPDMA secure masked interrupt status register (HPDMA_SMISR) ..... | 1382 |
| 25.8.6 | HPDMA channel x linked-list base address register (HPDMA_CxLBAR) ..... | 1383 |
| 25.8.7 | HPDMA channel x CID register (HPDMA_CxCIDCFGR) ..... | 1383 |
| 25.8.8 | HPDMA channel x semaphore control register (HPDMA_CxSEMCR) ..... | 1385 |
| 25.8.9 | HPDMA channel x flag clear register (HPDMA_CxFCR) ..... | 1386 |
| 25.8.10 | HPDMA channel x status register (HPDMA_CxSR) ..... | 1387 |
| 25.8.11 | HPDMA channel x control register (HPDMA_CxCR) ..... | 1389 |
| 25.8.12 | HPDMA channel x transfer register 1 (HPDMA_CxTR1) ..... | 1392 |
| 25.8.13 | HPDMA channel x transfer register 2 (HPDMA_CxTR2) ..... | 1396 |
| 25.8.14 | HPDMA channel x block register 1 (HPDMA_CxBR1) ..... | 1400 |
| 25.8.15 | HPDMA channel x alternate block register 1 (HPDMA_CxBR1) ..... | 1401 |
| 25.8.16 | HPDMA channel x source address register (HPDMA_CxSAR) ..... | 1404 |
| 25.8.17 | HPDMA channel x destination address register (HPDMA_CxDAR) ..... | 1406 |
| 25.8.18 | HPDMA channel x transfer register 3 (HPDMA_CxTR3) ..... | 1408 |
| 25.8.19 | HPDMA channel x block register 2 (HPDMA_CxBR2) ..... | 1410 |
| 25.8.20 | HPDMA channel x linked-list address register (HPDMA_CxLLR) | 1411 |
| 25.8.21 | HPDMA channel x alternate linked-list address register (HPDMA_CxLLR) | 1413 |
| 25.8.22 | HPDMA hardware configuration 15 register (HPDMA_HWCFGR15) | 1415 |
| 25.8.23 | HPDMA hardware configuration 14 register (HPDMA_HWCFGR14) | 1416 |
| 25.8.24 | HPDMA hardware configuration 13 register (HPDMA_HWCFGR13) | 1417 |
| 25.8.25 | HPDMA hardware configuration 12 register (HPDMA_HWCFGR12) | 1418 |
| 25.8.26 | HPDMA hardware configuration 11 register (HPDMA_HWCFGR11) | 1419 |
| 25.8.27 | HPDMA hardware configuration 10 register (HPDMA_HWCFGR10) | 1420 |
| 25.8.28 | HPDMA hardware configuration 9 register (HPDMA_HWCFGR9) | 1421 |
| 25.8.29 | HPDMA hardware configuration 8 register (HPDMA_HWCFGR8) | 1422 |
| 25.8.30 | HPDMA hardware configuration 7 register (HPDMA_HWCFGR7) | 1423 |
| 25.8.31 | HPDMA hardware configuration 6 register (HPDMA_HWCFGR6) | 1425 |
| 25.8.32 | HPDMA hardware configuration 5 register (HPDMA_HWCFGR5) | 1426 |
| 25.8.33 | HPDMA hardware configuration 4 register (HPDMA_HWCFGR4) | 1427 |
| 25.8.34 | HPDMA hardware configuration 3 register (HPDMA_HWCFGR3) | 1428 |
| 25.8.35 | HPDMA hardware configuration 2 register (HPDMA_HWCFGR2) | 1429 |
| 25.8.36 | HPDMA hardware configuration 1 register (HPDMA_HWCFGR1) | 1429 |
| 25.8.37 | HPDMA version register (HPDMA_VERR) | 1431 |
| 25.8.38 | HPDMA identification register (HPDMA_IPIDR) | 1431 |
| 25.8.39 | HPDMA size identification register (HPDMA_SIDR) | 1431 |
| 25.8.40 | HPDMA register map | 1432 |
| 26 | Interrupt list | 1436 |
| 26.1 | NVIC interrupts | 1436 |
| 26.2 | GIC interrupts | 1445 |
| 27 | Nested vectored interrupt controller (NVIC) | 1456 |
| 27.1 | NVIC features | 1456 |
| 27.2 | SysTick calibration value register | 1456 |
| 27.3 | Interrupt and exception vectors | 1456 |
| 28 | Global interrupt controller (GIC) | 1457 |
| 28.1 | GIC introduction | 1457 |
| 28.2 | GIC main features | 1457 |
| 28.3 | GIC functional description | 1457 |
| 28.4 | GIC interrupt sources | 1458 |
| 28.4.1 | Software generated interrupts (SGI) ..... | 1458 |
| 28.4.2 | Private peripheral interrupts (PPI) ..... | 1458 |
| 28.4.3 | Shared peripheral interrupts (SPI) ..... | 1459 |
| 28.4.4 | Interrupt priority formats ..... | 1459 |
| 28.5 | GIC distributor (GICD) ..... | 1459 |
| 28.5.1 | GICD control register (GICD_CTLR) ..... | 1460 |
| 28.5.2 | GICD control non-secure access register (GICD_CTLRNS) ..... | 1460 |
| 28.5.3 | GICD interrupt controller type register (GICD_TYPER) ..... | 1461 |
| 28.5.4 | GICD implementer identification register (GICD_IIDR) ..... | 1461 |
| 28.5.5 | GICD interrupt group register x (GICD_IGROUPRx) ..... | 1462 |
| 28.5.6 | GICD interrupt set-enable register (GICD_ISENABLER0) ..... | 1462 |
| 28.5.7 | GICD interrupt set-enable register x (GICD_ISENABLERx) ..... | 1462 |
| 28.5.8 | GICD interrupt clear-enable register (GICD_ICENABLER0) ..... | 1463 |
| 28.5.9 | GICD interrupt clear-enable register x (GICD_ICENABLERx) ..... | 1463 |
| 28.5.10 | GICD interrupt set-pending register x (GICD_ISPENDRx) ..... | 1463 |
| 28.5.11 | GICD interrupt clear-pending register x (GICD_ICPENDRx) ..... | 1464 |
| 28.5.12 | GICD interrupt set-active register x (GICD_ISACTIVERx) ..... | 1464 |
| 28.5.13 | GICD interrupt clear-active register x (GICD_ICACTIVERx) ..... | 1464 |
| 28.5.14 | GICD interrupt priority register x (GICD_IPRIORITYRx) ..... | 1465 |
| 28.5.15 | GICD interrupt processor target register x (GICD_ITARGETSRx) .. | 1465 |
| 28.5.16 | GICD interrupt processor target register x (GICD_ITARGETSRx) .. | 1466 |
| 28.5.17 | GICD interrupt configuration register (GICD_ICFGR0) ..... | 1466 |
| 28.5.18 | GICD interrupt configuration register (GICD_ICFGR1) ..... | 1467 |
| 28.5.19 | GICD interrupt configuration register x (GICD_ICFGRx) ..... | 1467 |
| 28.5.20 | GICD private peripheral interrupt status register (GICD_PPISR) .. | 1467 |
| 28.5.21 | GICD shared peripheral interrupt register x (GICD_SPISRx) ..... | 1468 |
| 28.5.22 | GICD software generated interrupt register (GICD_SGIR) ..... | 1468 |
| 28.5.23 | GICD SGI clear-pending register x (GICD_CPENDSGIRx) ..... | 1469 |
| 28.5.24 | GICD SGI set-pending register x (GICD_SPENDSGIRx) ..... | 1470 |
| 28.5.25 | GICD peripheral ID4 register (GICD_PIDR4) ..... | 1471 |
| 28.5.26 | GICD peripheral ID5 to ID7 register x (GICD_PIDRx) ..... | 1471 |
| 28.5.27 | GICD peripheral ID0 register (GICD_PIDR0) ..... | 1471 |
| 28.5.28 | GICD peripheral ID1 register (GICD_PIDR1) ..... | 1472 |
| 28.5.29 | GICD peripheral ID2 register (GICD_PIDR2) ..... | 1472 |
| 28.5.30 | GICD peripheral ID3 register (GICD_PIDR3) ..... | 1472 |
| 28.5.31 | GICD component ID0 register (GICD_CIDR0) ..... | 1473 |
| 28.5.32 | GICD component ID1 register (GICD_CIDR1) ..... | 1473 |
| 28.5.33 | GICD component ID2 register (GICD_CIDR2) . . . . . | 1473 |
| 28.5.34 | GICD component ID3 register (GICD_CIDR3) . . . . . | 1474 |
| 28.5.35 | GICD register map . . . . . | 1474 |
| 28.6 | GIC CPU interface (GICC) . . . . . | 1477 |
| 28.6.1 | GICC control register (GICC_CTLR) . . . . . | 1477 |
| 28.6.2 | GICC control non-secure access register (GICC_CTLRNS) . . . . . | 1478 |
| 28.6.3 | GICC input priority mask register (GICC_PMR) . . . . . | 1479 |
| 28.6.4 | GICC binary point register (GICC_BPR) . . . . . | 1479 |
| 28.6.5 | GICC binary point non-secure access register (GICC_BPRNS) . . . . . | 1480 |
| 28.6.6 | GICC interrupt acknowledge register (GICC_IAR) . . . . . | 1480 |
| 28.6.7 | GICC end of interrupt register (GICC_EOIR) . . . . . | 1481 |
| 28.6.8 | GICC running priority register (GICC_RPR) . . . . . | 1481 |
| 28.6.9 | GICC highest priority pending interrupt register (GICC_HPPIR) . . . . . | 1481 |
| 28.6.10 | GICC aliased binary point register (GICC_ABPR) . . . . . | 1482 |
| 28.6.11 | GICC aliased interrupt acknowledge register (GICC_AIAR) . . . . . | 1482 |
| 28.6.12 | GICC aliased end of interrupt register (GICC_AEOIR) . . . . . | 1483 |
| 28.6.13 | GICC aliased highest priority pending interrupt register (GICC_AHPPIR) . . . . . | 1483 |
| 28.6.14 | GICC active priority register (GICC_APR0) . . . . . | 1484 |
| 28.6.15 | GICC non-secure active priority register (GICC_NSAPR0) . . . . . | 1484 |
| 28.6.16 | GICC interface identification register (GICC_IIDR) . . . . . | 1484 |
| 28.6.17 | GICC deactivate interrupt register (GICC_DIR) . . . . . | 1485 |
| 28.6.18 | GICC register map . . . . . | 1485 |
| 28.7 | GIC virtual interface control, common (GICH) . . . . . | 1487 |
| 28.7.1 | GICH hypervisor control register (GICH_HCR) . . . . . | 1487 |
| 28.7.2 | GICH VGIC type register (GICH_VTR) . . . . . | 1488 |
| 28.7.3 | GICH virtual machine control register (GICH_VMCR) . . . . . | 1488 |
| 28.7.4 | GICH maintenance interrupt status register (GICH_MISR) . . . . . | 1489 |
| 28.7.5 | GICH end of interrupt status register (GICH_EISR0) . . . . . | 1490 |
| 28.7.6 | GICH empty list status register (GICH_ELSR0) . . . . . | 1490 |
| 28.7.7 | GICH active priority register (GICH_APR0) . . . . . | 1490 |
| 28.7.8 | GICH list register x (GICH_LRx) . . . . . | 1491 |
| 28.7.9 | GICH register map . . . . . | 1491 |
| 28.8 | GIC virtual CPU interface (GICV) . . . . . | 1492 |
| 28.8.1 | GICV virtual machine control register (GICV_CTLR) . . . . . | 1493 |
| 28.8.2 | GICV VM priority mask register (GICV_PMR) . . . . . | 1493 |
| 28.8.3 | GICV VM binary point register (GICV_BPR) . . . . . | 1494 |
| 28.8.4 | GICV VM interrupt acknowledge register (GICV_IAR) . . . . . | 1494 |
| 28.8.5 | GICV VM end of interrupt register (GICV_EOIR) . . . . . | 1495 |
| 28.8.6 | GICV VM running priority register (GICV_RPR) . . . . . | 1495 |
| 28.8.7 | GICV VM highest priority pending interrupt register (GICV_HPPIR) . . . . . | 1496 |
| 28.8.8 | GICV VM aliased binary point register (GICV_ABPR) . . . . . | 1496 |
| 28.8.9 | GICV VM aliased interrupt register (GICV_AIAR) . . . . . | 1497 |
| 28.8.10 | GICV VM aliased end of interrupt register (GICV_AEOIR) . . . . . | 1497 |
| 28.8.11 | GICV VM aliased highest priority pending interrupt register (GICV_AHPPIR) . . . . . | 1498 |
| 28.8.12 | GICV VM active priority register (GICV_APR0) . . . . . | 1498 |
| 28.8.13 | GICV VM CPU interface identification register (GICV_IIDR) . . . . . | 1499 |
| 28.8.14 | GICV VM deactivate interrupt register (GICV_DIR) . . . . . | 1499 |
| 28.8.15 | GICV register map . . . . . | 1499 |
| 29 | Extended interrupts and event controller (EXTI) . . . . . | 1501 |
| 29.1 | EXTI main features . . . . . | 1501 |
| 29.2 | EXTI implementation . . . . . | 1502 |
| 29.3 | EXTI block diagram . . . . . | 1502 |
| 29.3.1 | EXTI connections between peripherals and CPU . . . . . | 1504 |
| 29.3.2 | EXTI1 wake-up interrupt list . . . . . | 1505 |
| 29.3.3 | EXTI2 wake-up interrupt list . . . . . | 1508 |
| 29.4 | EXTI functional description . . . . . | 1510 |
| 29.4.1 | EXTI configurable event input wake-up . . . . . | 1511 |
| 29.4.2 | EXTI direct event input wake-up . . . . . | 1511 |
| 29.4.3 | EXTI multiplexer selection . . . . . | 1513 |
| 29.5 | EXTI functional behavior . . . . . | 1513 |
| 29.6 | EXTI event protection . . . . . | 1514 |
| 29.6.1 | EXTI register security protection . . . . . | 1515 |
| 29.6.2 | EXTI register privilege protection . . . . . | 1515 |
| 29.6.3 | EXTI register CID protection . . . . . | 1515 |
| 29.7 | EXTIx registers . . . . . | 1516 |
| 29.7.1 | EXTI1 rising trigger selection register (EXTI1_RTSR1) . . . . . | 1517 |
| 29.7.2 | EXTI1 falling trigger selection register (EXTI1_FTSR1) . . . . . | 1518 |
| 29.7.3 | EXTI1 software interrupt event register (EXTI1_SWIER1) . . . . . | 1518 |
| 29.7.4 | EXTI1 rising edge pending register (EXTI1_RPR1) . . . . . | 1519 |
| 29.7.5 | EXTI1 falling edge pending register (EXTI1_FPR1) . . . . . | 1520 |
| 29.7.6 | EXTI1 security configuration register (EXTI1_SECCFGR1) . . . . . | 1520 |
| 29.7.7 | EXTI1 privilege configuration register (EXTI1_PRIVCFGR1) | 1521 |
| 29.7.8 | EXTI1 rising trigger selection register (EXTI1_RTSR2) | 1522 |
| 29.7.9 | EXTI1 falling trigger selection register (EXTI1_FTSR2) | 1522 |
| 29.7.10 | EXTI1 software interrupt event register (EXTI1_SWIER2) | 1523 |
| 29.7.11 | EXTI1 rising edge pending register (EXTI1_RPR2) | 1524 |
| 29.7.12 | EXTI1 falling edge pending register (EXTI1_FPR2) | 1525 |
| 29.7.13 | EXTI1 security enable register (EXTI1_SECCFGR2) | 1526 |
| 29.7.14 | EXTI1 privilege enable register (EXTI1_PRIVCFGR2) | 1527 |
| 29.7.15 | EXTI1 rising trigger selection register (EXTI1_RTSR3) | 1528 |
| 29.7.16 | EXTI1 falling trigger selection register (EXTI1_FTSR3) | 1529 |
| 29.7.17 | EXTI1 software interrupt event register (EXTI1_SWIER3) | 1530 |
| 29.7.18 | EXTI1 rising edge pending register (EXTI1_RPR3) | 1531 |
| 29.7.19 | EXTI1 falling edge pending register (EXTI1_FPR3) | 1532 |
| 29.7.20 | EXTI1 security enable register (EXTI1_SECCFGR3) | 1533 |
| 29.7.21 | EXTI1 privilege enable register (EXTI1_PRIVCFGR3) | 1534 |
| 29.7.22 | EXTI1 external interrupt selection register 1 (EXTI1_EXTICR1) | 1535 |
| 29.7.23 | EXTI1 external interrupt selection register 2 (EXTI1_EXTICR2) | 1537 |
| 29.7.24 | EXTI1 external interrupt selection register 3 (EXTI1_EXTICR3) | 1540 |
| 29.7.25 | EXTI1 external interrupt selection register 4 (EXTI1_EXTICR4) | 1543 |
| 29.7.26 | EXTI1 lock register (EXTI1_LOCKR) | 1546 |
| 29.7.27 | EXTI1 CPUm wake-up with interrupt mask register (EXTI1_CmIMR1) (m = 1 to 2) | 1547 |
| 29.7.28 | EXTI1 CPU2 wake-up with event mask register (EXTI1_C2EMR1) | 1548 |
| 29.7.29 | EXTI1 CPUm wake-up with interrupt mask register (EXTI1_CmIMR2) (m = 1 to 2) | 1549 |
| 29.7.30 | EXTI1 CPUm wake-up with interrupt mask register (EXTI1_CmIMR3) (m = 1 to 2) | 1550 |
| 29.7.31 | EXTI1 CPU2 wake-up with event mask register (EXTI1_C2EMR3) | 1551 |
| 29.7.32 | EXTI1 event CID configuration register (EXTI1_EnCIDCFGR) | 1552 |
| 29.7.33 | EXTI1 processor m CID configuration register (EXTI1_CmCIDCFGR) | 1552 |
| 29.7.34 | EXTI1 hardware configuration registers 13 (EXTI1_HWCFGR13) | 1553 |
| 29.7.35 | EXTI1 hardware configuration registers 12 (EXTI1_HWCFGR12) | 1553 |
| 29.7.36 | EXTI1 hardware configuration registers 11 (EXTI1_HWCFGR11) | 1554 |
| 29.7.37 | EXTI1 hardware configuration registers 7 (EXTI1_HWCFGR7) | 1554 |
| 29.7.38 | EXTI1 hardware configuration registers 6 (EXTI1_HWCFGR6) | 1554 |
| 29.7.39 | EXTI1 hardware configuration registers 5 (EXTI1_HWCFGR5) | 1555 |
| 29.7.40 | EXTI1 hardware configuration registers 4 (EXTI1_HWCFGR4) | 1555 |
| 29.7.41 | EXTI1 hardware configuration registers 3 (EXTI1_HWCFGR3) | 1555 |
| 29.7.42 | EXTI1 hardware configuration registers 2 (EXTI1_HWCFGR2) | 1556 |
| 29.7.43 | EXTI1 hardware configuration register 1 (EXTI1_HWCFGR1) | 1556 |
| 29.7.44 | EXTI1 version register (EXTI1_VERR) | 1556 |
| 29.7.45 | EXTI1 identification register (EXTI1_IPIDR) | 1557 |
| 29.7.46 | EXTI1 size identification register (EXTI1_SIDR) | 1557 |
| 29.7.47 | EXTI2 rising trigger selection register (EXTI2_RTSR1) | 1557 |
| 29.7.48 | EXTI2 falling trigger selection register (EXTI2_FTSR1) | 1558 |
| 29.7.49 | EXTI2 software interrupt event register (EXTI2_SWIER1) | 1559 |
| 29.7.50 | EXTI2 rising edge pending register (EXTI2_RPR1) | 1560 |
| 29.7.51 | EXTI2 falling edge pending register (EXTI2_FPR1) | 1561 |
| 29.7.52 | EXTI2 security configuration register (EXTI2_SECCFGR1) | 1561 |
| 29.7.53 | EXTI2 privilege configuration register (EXTI2_PRIVCFGR1) | 1562 |
| 29.7.54 | EXTI2 rising trigger selection register (EXTI2_RTSR2) | 1563 |
| 29.7.55 | EXTI2 falling trigger selection register (EXTI2_FTSR2) | 1564 |
| 29.7.56 | EXTI2 software interrupt event register (EXTI2_SWIER2) | 1565 |
| 29.7.57 | EXTI2 rising edge pending register (EXTI2_RPR2) | 1565 |
| 29.7.58 | EXTI2 falling edge pending register (EXTI2_FPR2) | 1566 |
| 29.7.59 | EXTI2 security enable register (EXTI2_SECCFGR2) | 1567 |
| 29.7.60 | EXTI2 privilege enable register (EXTI2_PRIVCFGR2) | 1568 |
| 29.7.61 | EXTI2 external interrupt selection register 1 (EXTI2_EXTICR1) | 1569 |
| 29.7.62 | EXTI2 external interrupt selection register 2 (EXTI2_EXTICR2) | 1571 |
| 29.7.63 | EXTI2 external interrupt selection register 3 (EXTI2_EXTICR3) | 1574 |
| 29.7.64 | EXTI2 external interrupt selection register 4 (EXTI2_EXTICR4) | 1576 |
| 29.7.65 | EXTI2 lock register (EXTI2_LOCKR) | 1579 |
| 29.7.66 | EXTI2 CPUm wake-up with interrupt mask register (EXTI2_CmIMR1) (m = 1 to 2) | 1579 |
| 29.7.67 | EXTI2 CPU2 wake-up with event mask register (EXTI2_C2EMR1) | 1580 |
| 29.7.68 | EXTI2 CPUm wake-up with interrupt mask register (EXTI2_CmIMR2) (m = 1 to 2) | 1581 |
| 29.7.69 | EXTI2 CPU2 wake-up with event mask register (EXTI2_C2EMR2) | 1582 |
| 29.7.70 | EXTI2 event CID config register (EXTI2_EnCIDCFGR) | 1582 |
| 29.7.71 | EXTI2 processor m CID configuration register (EXTI2_CmCIDCFGR) | 1583 |
| 29.7.72 | EXTI2 hardware configuration registers 13 (EXTI2_HWCFGR13) | 1584 |
| 29.7.73 | EXTI2 hardware configuration registers 12 (EXTI2_HWCFGR12) | 1584 |
| 29.7.74 | EXTI2 hardware configuration registers 11 (EXTI2_HWCFGR11) .. | 1584 |
| 29.7.75 | EXTI2 hardware configuration registers 7 (EXTI2_HWCFGR7) .... | 1585 |
| 29.7.76 | EXTI2 hardware configuration registers 6 (EXTI2_HWCFGR6) .... | 1585 |
| 29.7.77 | EXTI2 hardware configuration registers 5 (EXTI2_HWCFGR5) .... | 1585 |
| 29.7.78 | EXTI2 hardware configuration registers 4 (EXTI2_HWCFGR4) .... | 1586 |
| 29.7.79 | EXTI2 hardware configuration registers 3 (EXTI2_HWCFGR3) .... | 1586 |
| 29.7.80 | EXTI2 hardware configuration registers 2 (EXTI2_HWCFGR2) .... | 1586 |
| 29.7.81 | EXTI2 hardware configuration register 1 (EXTI2_HWCFGR1) ..... | 1587 |
| 29.7.82 | EXTI2 version register (EXTI2_VERR) ..... | 1587 |
| 29.7.83 | EXTI2 identification register (EXTI2_IPIDR) ..... | 1587 |
| 29.7.84 | EXTI2 size identification register (EXTI2_SIDR) ..... | 1588 |
| 29.7.85 | EXTI1 register map ..... | 1588 |
| 29.7.86 | EXTI2 register map ..... | 1593 |
| 30 | Cyclic redundancy check calculation unit (CRC) ..... | 1597 |
| 30.1 | CRC introduction ..... | 1597 |
| 30.2 | CRC main features ..... | 1597 |
| 30.3 | CRC functional description ..... | 1598 |
| 30.3.1 | CRC block diagram ..... | 1598 |
| 30.3.2 | CRC internal signals ..... | 1598 |
| 30.3.3 | CRC operation ..... | 1598 |
| 30.4 | CRC registers ..... | 1600 |
| 30.4.1 | CRC data register (CRC_DR) ..... | 1600 |
| 30.4.2 | CRC independent data register (CRC_IDR) ..... | 1600 |
| 30.4.3 | CRC control register (CRC_CR) ..... | 1601 |
| 30.4.4 | CRC initial value (CRC_INIT) ..... | 1602 |
| 30.4.5 | CRC polynomial (CRC_POL) ..... | 1602 |
| 30.4.6 | CRC register map ..... | 1603 |
| 31 | Mass storage interfaces ..... | 1604 |
| 31.1 | Overview ..... | 1604 |
| 31.2 | FMC interface ..... | 1604 |
| 31.2.1 | FMC interface block diagram ..... | 1605 |
| 31.2.2 | FMC interface reset ..... | 1605 |
| 31.2.3 | FMC interface interrupt ..... | 1606 |
| 31.3 | Octo-SPI interface ..... | 1606 |
| 31.3.1 | Main features of the Octo-SPI interface ..... | 1606 |
| 31.3.2 | Octo-SPI interface block diagram ..... | 1607 |
| 31.3.3 | Octo-SPI interface resets ..... | 1608 |
| 31.3.4 | Octo-SPI interface memory ..... | 1608 |
| 31.3.5 | OCTOSPI1 description ..... | 1609 |
| 31.3.6 | OTFDEC1 description ..... | 1609 |
| 31.3.7 | DLYBOS1 description ..... | 1609 |
| 31.3.8 | Octo-SPI interface interrupts ..... | 1611 |
| 31.3.9 | Chip select management ..... | 1611 |
| 31.3.10 | Octo-SPI interface programmable parameters ..... | 1613 |
| 31.3.11 | Select the RX sampling strobe and configure the TX clock ..... | 1614 |
| 31.4 | SD/eMMC interface ..... | 1615 |
| 31.4.1 | SD/eMMC interface main features ..... | 1616 |
| 31.4.2 | SD/eMMC interface block diagram ..... | 1618 |
| 31.4.3 | SD/eMMC interface reset ..... | 1619 |
| 31.4.4 | SDMMC1/2 description ..... | 1619 |
| 31.4.5 | DLYBSD1/2 description ..... | 1620 |
| 31.4.6 | SD/eMMC interface interrupts ..... | 1620 |
| 31.4.7 | SD/eMMC interface programmable parameters ..... | 1620 |
| 31.4.8 | Guidelines for selecting the RX sampling clock ..... | 1622 |
| 32 | Flexible memory controller (FMC) ..... | 1625 |
| 32.1 | FMC main features ..... | 1625 |
| 32.2 | FMC implementation ..... | 1626 |
| 32.3 | FMC block diagram ..... | 1626 |
| 32.4 | FMC internal signals ..... | 1627 |
| 32.5 | AHB interface ..... | 1627 |
| 32.6 | AXI interface ..... | 1628 |
| 32.6.1 | Supported memories and transactions ..... | 1628 |
| 32.7 | External device address mapping ..... | 1629 |
| 32.7.1 | NOR/PSRAM address mapping ..... | 1629 |
| 32.7.2 | NAND flash memory address mapping ..... | 1630 |
| 32.8 | FMC security and isolation ..... | 1631 |
| 32.9 | FMC RIF registers ..... | 1634 |
| 32.9.1 | FMC security configuration register (FMC_SECCFGR) ..... | 1634 |
| 32.9.2 | FMC security configuration register (FMC_PRIVCFGR) ..... | 1635 |
| 32.9.3 | FMC CID configuration lock register (FMC_RCFGLOCKR) . . . . . | 1636 |
| 32.9.4 | FMC resource x CID register (FMC_CIDCFGRx) . . . . . | 1637 |
| 32.9.5 | FMC resource x semaphore control register (FMC_SEMCRx) . . . . . | 1638 |
| 32.10 | NOR flash/PSRAM controller . . . . . | 1639 |
| 32.10.1 | External memory interface signals . . . . . | 1641 |
| 32.10.2 | Supported memories and transactions . . . . . | 1643 |
| 32.10.3 | General timing rules . . . . . | 1645 |
| 32.10.4 | NOR flash/PSRAM controller asynchronous transactions . . . . . | 1645 |
| 32.10.5 | Synchronous transactions . . . . . | 1664 |
| 32.10.6 | NOR/PSRAM controller registers . . . . . | 1669 |
| 32.11 | NAND flash controller . . . . . | 1682 |
| 32.11.1 | External memory interface signals . . . . . | 1683 |
| 32.11.2 | NAND flash supported memories and transactions . . . . . | 1684 |
| 32.11.3 | Timing diagrams for NAND flash memory . . . . . | 1684 |
| 32.11.4 | NAND flash operations . . . . . | 1686 |
| 32.11.5 | NAND flash prewait function . . . . . | 1687 |
| 32.11.6 | NAND ECC controller . . . . . | 1687 |
| 32.11.7 | FMC command sequencer . . . . . | 1690 |
| 32.11.8 | NAND flash controller interrupt . . . . . | 1697 |
| 32.11.9 | NAND flash controller registers . . . . . | 1698 |
| 32.12 | FMC register map . . . . . | 1722 |
| 33 | Octo-SPI interface (OCTOSPI) . . . . . | 1727 |
| 33.1 | OCTOSPI introduction . . . . . | 1727 |
| 33.2 | OCTOSPI main features . . . . . | 1727 |
| 33.3 | OCTOSPI implementation . . . . . | 1728 |
| 33.4 | OCTOSPI functional description . . . . . | 1729 |
| 33.4.1 | OCTOSPI block diagram . . . . . | 1729 |
| 33.4.2 | OCTOSPI pins and internal signals . . . . . | 1730 |
| 33.4.3 | OCTOSPI interface to memory modes . . . . . | 1731 |
| 33.4.4 | OCTOSPI regular-command protocol . . . . . | 1731 |
| 33.4.5 | OCTOSPI regular-command protocol signal interface . . . . . | 1735 |
| 33.4.6 | HyperBus protocol . . . . . | 1738 |
| 33.4.7 | Specific features . . . . . | 1742 |
| 33.4.8 | OCTOSPI operating mode introduction . . . . . | 1743 |
| 33.4.9 | OCTOSPI indirect mode . . . . . | 1743 |
| 33.4.10 | OCTOSPI automatic status-polling mode | 1745 |
| 33.4.11 | OCTOSPI memory-mapped mode | 1746 |
| 33.4.12 | OCTOSPI configuration introduction | 1747 |
| 33.4.13 | OCTOSPI system configuration | 1747 |
| 33.4.14 | OCTOSPI device configuration | 1748 |
| 33.4.15 | OCTOSPI regular-command mode configuration | 1751 |
| 33.4.16 | OCTOSPI HyperBus protocol configuration | 1753 |
| 33.4.17 | OCTOSPI error management | 1754 |
| 33.4.18 | OCTOSPI BUSY and ABORT | 1754 |
| 33.4.19 | OCTOSPI reconfiguration or deactivation | 1755 |
| 33.4.20 | NCS behavior | 1755 |
| 33.4.21 | Software control of two external memories | 1757 |
| 33.5 | Address alignment and data number | 1757 |
| 33.6 | OCTOSPI interrupts | 1758 |
| 33.7 | OCTOSPI registers | 1759 |
| 33.7.1 | OCTOSPI control register (OCTOSPI_CR) | 1759 |
| 33.7.2 | OCTOSPI device configuration register 1 (OCTOSPI_DCR1) | 1762 |
| 33.7.3 | OCTOSPI device configuration register 2 (OCTOSPI_DCR2) | 1764 |
| 33.7.4 | OCTOSPI device configuration register 3 (OCTOSPI_DCR3) | 1765 |
| 33.7.5 | OCTOSPI device configuration register 4 (OCTOSPI_DCR4) | 1765 |
| 33.7.6 | OCTOSPI status register (OCTOSPI_SR) | 1766 |
| 33.7.7 | OCTOSPI flag clear register (OCTOSPI_FCR) | 1767 |
| 33.7.8 | OCTOSPI data length register (OCTOSPI_DLR) | 1768 |
| 33.7.9 | OCTOSPI address register (OCTOSPI_AR) | 1768 |
| 33.7.10 | OCTOSPI data register (OCTOSPI_DR) | 1769 |
| 33.7.11 | OCTOSPI polling status mask register (OCTOSPI_PSMKR) | 1769 |
| 33.7.12 | OCTOSPI polling status match register (OCTOSPI_PSMAR) | 1770 |
| 33.7.13 | OCTOSPI polling interval register (OCTOSPI_PIR) | 1770 |
| 33.7.14 | OCTOSPI communication configuration register (OCTOSPI_CCR) | 1770 |
| 33.7.15 | OCTOSPI timing configuration register (OCTOSPI_TCR) | 1772 |
| 33.7.16 | OCTOSPI instruction register (OCTOSPI_IR) | 1773 |
| 33.7.17 | OCTOSPI alternate bytes register (OCTOSPI_ABR) | 1773 |
| 33.7.18 | OCTOSPI low-power timeout register (OCTOSPI_LPTR) | 1774 |
| 33.7.19 | OCTOSPI wrap communication configuration register (OCTOSPI_WPCCR) | 1774 |
| 33.7.20 | OCTOSPI wrap timing configuration register (OCTOSPI_WPTCR) | 1776 |
| 33.7.21 | OCTOSPI wrap instruction register (OCTOSPI_WPIR) | 1777 |
| 33.7.22 | OCTOSPI wrap alternate bytes register (OCTOSPI_WPABR) . . . . . | 1777 |
| 33.7.23 | OCTOSPI write communication configuration register (OCTOSPI_WCCR) . . . . . | 1778 |
| 33.7.24 | OCTOSPI write timing configuration register (OCTOSPI_WTCR) . . . | 1780 |
| 33.7.25 | OCTOSPI write instruction register (OCTOSPI_WIR) . . . . . | 1780 |
| 33.7.26 | OCTOSPI write alternate bytes register (OCTOSPI_WABR) . . . . . | 1781 |
| 33.7.27 | OCTOSPI HyperBus latency configuration register (OCTOSPI_HLCR) . . . . . | 1781 |
| 33.7.28 | OCTOSPI hardware configuration register 2 (OCTOSPI_HWCFGR2) . . . . . | 1782 |
| 33.7.29 | OCTOSPI hardware configuration register (OCTOSPI_HWCFGR) . . | 1783 |
| 33.7.30 | OCTOSPI version register (OCTOSPI_VERR) . . . . . | 1783 |
| 33.7.31 | OCTOSPI identification register (OCTOSPI_IDR) . . . . . | 1784 |
| 33.7.32 | OCTOSPI hardware magic identification register (OCTOSPI_MIDR) | 1784 |
| 33.7.33 | OCTOSPI register map . . . . . | 1784 |
| 34 | Secure digital input/output MultiMediaCard interface (SDMMC) . . | 1788 |
| 34.1 | SDMMC main features . . . . . | 1788 |
| 34.2 | SDMMC implementation . . . . . | 1788 |
| 34.3 | SDMMC bus topology . . . . . | 1789 |
| 34.4 | SDMMC operation modes . . . . . | 1791 |
| 34.5 | SDMMC functional description . . . . . | 1792 |
| 34.5.1 | SDMMC block diagram . . . . . | 1792 |
| 34.5.2 | SDMMC pins and internal signals . . . . . | 1792 |
| 34.5.3 | General description . . . . . | 1793 |
| 34.5.4 | SDMMC adapter . . . . . | 1795 |
| 34.5.5 | SDMMC AHB slave interface . . . . . | 1817 |
| 34.5.6 | SDMMC AHB master interface . . . . . | 1818 |
| 34.5.7 | AHB and SDMMC_CK clock relation . . . . . | 1821 |
| 34.6 | Card functional description . . . . . | 1822 |
| 34.6.1 | SD I/O mode . . . . . | 1822 |
| 34.6.2 | CMD12 send timing . . . . . | 1830 |
| 34.6.3 | Sleep (CMD5) . . . . . | 1834 |
| 34.6.4 | Interrupt mode (Wait-IRQ) . . . . . | 1835 |
| 34.6.5 | Boot operation . . . . . | 1836 |
| 34.6.6 | Response R1b handling . . . . . | 1839 |
| 34.6.7 | Reset and card cycle power . . . . . | 1840 |
| 34.7 | Hardware flow control | 1841 |
| 34.7.1 | Hardware flow control during data transfer | 1841 |
| 34.7.2 | Block gap hardware flow control | 1842 |
| 34.8 | Ultra-high-speed phase I (UHS-I) voltage switch | 1843 |
| 34.9 | SDMMC interrupts | 1847 |
| 34.10 | SDMMC registers | 1848 |
| 34.10.1 | SDMMC power control register (SDMMC_POWER) | 1848 |
| 34.10.2 | SDMMC clock control register (SDMMC_CLKCR) | 1849 |
| 34.10.3 | SDMMC argument register (SDMMC_ARGR) | 1851 |
| 34.10.4 | SDMMC command register (SDMMC_CMDR) | 1851 |
| 34.10.5 | SDMMC command response register (SDMMC_RESPCMDR) | 1853 |
| 34.10.6 | SDMMC response x register (SDMMC_RESPxR) | 1854 |
| 34.10.7 | SDMMC data timer register (SDMMC_DTIMER) | 1854 |
| 34.10.8 | SDMMC data length register (SDMMC_DLENR) | 1855 |
| 34.10.9 | SDMMC data control register (SDMMC_DCTRL) | 1856 |
| 34.10.10 | SDMMC data counter register (SDMMC_DCNTR) | 1857 |
| 34.10.11 | SDMMC status register (SDMMC_STAR) | 1858 |
| 34.10.12 | SDMMC interrupt clear register (SDMMC_ICR) | 1861 |
| 34.10.13 | SDMMC mask register (SDMMC_MASKR) | 1863 |
| 34.10.14 | SDMMC acknowledgment timer register (SDMMC_ACKTIMER) | 1866 |
| 34.10.15 | SDMMC data FIFO threshold register (SDMMC_FIFOTHRR) | 1866 |
| 34.10.16 | SDMMC DMA control register (SDMMC_IDMACTRLR) | 1867 |
| 34.10.17 | SDMMC IDMA buffer size register (SDMMC_IDMABSIZER) | 1867 |
| 34.10.18 | SDMMC IDMA buffer base address register (SDMMC_IDMABASER) | 1868 |
| 34.10.19 | SDMMC IDMA linked list address register (SDMMC_IDMALAR) | 1868 |
| 34.10.20 | SDMMC IDMA linked list memory base register (SDMMC_IDMABAR) | 1869 |
| 34.10.21 | SDMMC data FIFO registers x (SDMMC_FIFORx) | 1870 |
| 34.10.22 | SDMMC hardware configuration register 1 (SDMMC_HWCFGR1) | 1870 |
| 34.10.23 | SDMMC version register (SDMMC_VERR) | 1871 |
| 34.10.24 | SDMMC identification register (SDMMC_IPIDR) | 1871 |
| 34.10.25 | SDMMC size identification register (SDMMC_SIDR) | 1871 |
| 34.10.26 | SDMMC register map | 1872 |
| 35 | Delay block (DLYB) | 1875 |
| 35.1 | DLYB introduction | 1875 |
| 35.2 | DLYB main features | 1875 |
| 35.3 | DLYB implementation | 1875 |
| 35.4 | DLYB functional description | 1875 |
| 35.4.1 | DLYB diagram | 1875 |
| 35.4.2 | DLYB internal signals | 1877 |
| 35.4.3 | General description | 1879 |
| 35.4.4 | Lock mode procedure | 1880 |
| 35.4.5 | Bypass mode procedure | 1880 |
| 36 | Analog-to-digital converters (ADC) | 1881 |
| 36.1 | ADC introduction | 1881 |
| 36.2 | ADC main features | 1881 |
| 36.3 | ADC implementation | 1883 |
| 36.4 | ADC functional description | 1884 |
| 36.4.1 | ADC block diagram | 1884 |
| 36.4.2 | ADC pins and internal signals | 1885 |
| 36.4.3 | ADC clocks | 1890 |
| 36.4.4 | ADC connectivity | 1892 |
| 36.4.5 | Slave AHB interface | 1894 |
| 36.4.6 | ADC Deep-power-down mode (DEEPPWD) | 1894 |
| 36.4.7 | Single-ended and differential input channels | 1894 |
| 36.4.8 | Calibration (ADCAL, CALADDOS, ADC_CALFACT) | 1895 |
| 36.4.9 | ADC on-off control (ADEN, ADDIS, ADRDY) | 1897 |
| 36.4.10 | Constraints when writing the ADC control bits | 1898 |
| 36.4.11 | Channel selection (ADC_SQRy, ADC_JSQR) | 1899 |
| 36.4.12 | Channel preselection register (ADC_PCSEL) | 1899 |
| 36.4.13 | Channel-wise programmable sampling time (SMPR1, SMPR2) | 1900 |
| 36.4.14 | Single conversion mode | 1901 |
| 36.4.15 | Continuous conversion mode (CONT = 1) | 1902 |
| 36.4.16 | Discontinuous mode (DISCEN, DISCNUM, JDISCEN) | 1903 |
| 36.4.17 | Starting conversions (ADSTART, JADSTART) | 1904 |
| 36.4.18 | Timing | 1905 |
| 36.4.19 | Stopping an ongoing conversion (ADSTP, JADSTP) | 1906 |
| 36.4.20 | Conversion on external trigger and trigger polarity (EXTSEL, EXTEN, JEXTSEL, JEXTEN) | 1908 |
| 36.4.21 | Injected channel management | 1909 |
| 36.4.22 | Programmable resolution (RES) - fast conversion mode | 1910 |
| 36.4.23 | End of conversion and end of sampling phase (EOC, JEOC, EOSMP) ..... | 1910 |
| 36.4.24 | End of conversion sequence (EOS, JEOS) ..... | 1910 |
| 36.4.25 | Timing diagram examples (single/continuous modes, hardware/software triggers) ..... | 1911 |
| 36.4.26 | Data management ..... | 1913 |
| 36.4.27 | Managing conversions using the MDF ..... | 1921 |
| 36.4.28 | Dynamic low-power features ..... | 1921 |
| 36.4.29 | Analog window watchdog (AWD1EN, JAWD1EN, AWD1SGL, AWD1CH, AWDCH of ADC_AWD2CR and ADC_AWD3CR, HTR, LTR, AWDFILT) ..... | 1925 |
| 36.4.30 | Oversampler ..... | 1930 |
| 36.4.31 | VBAT supply monitoring ..... | 1937 |
| 36.4.32 | Monitoring the internal voltage reference ..... | 1938 |
| 36.4.33 | Monitoring the supply voltage ..... | 1940 |
| 36.5 | ADC interrupts ..... | 1940 |
| 36.6 | ADC registers (for each ADC) ..... | 1941 |
| 36.6.1 | ADC interrupt and status register (ADC_ISR) ..... | 1941 |
| 36.6.2 | ADC interrupt enable register (ADC_IER) ..... | 1943 |
| 36.6.3 | ADC control register (ADC_CR) ..... | 1945 |
| 36.6.4 | ADC configuration register (ADC_CFGR1) ..... | 1948 |
| 36.6.5 | ADC configuration register 2 (ADC_CFGR2) ..... | 1951 |
| 36.6.6 | ADC sample time register 1 (ADC_SMPR1) ..... | 1954 |
| 36.6.7 | ADC sample time register 2 (ADC_SMPR2) ..... | 1955 |
| 36.6.8 | ADC channel preselection register (ADC_PCSEL) ..... | 1955 |
| 36.6.9 | ADC regular sequence register 1 (ADC_SQR1) ..... | 1956 |
| 36.6.10 | ADC regular sequence register 2 (ADC_SQR2) ..... | 1957 |
| 36.6.11 | ADC regular sequence register 3 (ADC_SQR3) ..... | 1958 |
| 36.6.12 | ADC regular sequence register 4 (ADC_SQR4) ..... | 1959 |
| 36.6.13 | ADC regular data register (ADC_DR) ..... | 1960 |
| 36.6.14 | ADC injected sequence register (ADC_JSQR) ..... | 1960 |
| 36.6.15 | ADC offset y configuration register (ADC_OFCFGRy) ..... | 1962 |
| 36.6.16 | ADC offset y register (ADC_OFRy) ..... | 1963 |
| 36.6.17 | ADC gain compensation register (ADC_GCOMP) ..... | 1963 |
| 36.6.18 | ADC injected channel y data register (ADC_JDRy) ..... | 1964 |
| 36.6.19 | ADC analog watchdog 2 configuration register (ADC_AWD2CR) ... | 1965 |
| 36.6.20 | ADC analog watchdog 3 configuration register (ADC_AWD3CR) ... | 1965 |
| 36.6.21 | ADC analog watchdog 1 lower threshold register (ADC_AWD1LTR) ..... | 1966 |
| 36.6.22 | ADC analog watchdog 1 higher threshold register (ADC_AWD1HTR) ..... | 1966 |
| 36.6.23 | ADC analog watchdog 2 lower threshold register (ADC_AWD2LTR) ..... | 1967 |
| 36.6.24 | ADC analog watchdog 2 higher threshold register (ADC_AWD2HTR) ..... | 1967 |
| 36.6.25 | ADC analog watchdog 3 lower threshold register (ADC_AWD3LTR) ..... | 1967 |
| 36.6.26 | ADC analog watchdog 3 higher threshold register (ADC_AWD3HTR) ..... | 1968 |
| 36.6.27 | ADC differential mode selection register (ADC_DIFSEL) ..... | 1968 |
| 36.6.28 | ADC calibration factors (ADC_CALFACT) ..... | 1969 |
| 36.6.29 | ADC option register (ADC_OR) ..... | 1970 |
| 36.7 | ADC common registers ..... | 1971 |
| 36.7.1 | ADC common status register (ADCC_CSR) ..... | 1971 |
| 36.7.2 | ADC common control register (ADCC_CCR) ..... | 1972 |
| 36.7.3 | ADC hardware configuration register (ADCC_HWCFGR1) ..... | 1973 |
| 36.7.4 | ADC version register (ADCC_VERR) ..... | 1973 |
| 36.7.5 | ADC identification register (ADCC_IPIDR) ..... | 1974 |
| 36.7.6 | ADC size identification register (ADCC_SIDR) ..... | 1974 |
| 36.8 | ADC register map ..... | 1975 |
| 37 | Digital temperature sensor (DTS) ..... | 1979 |
| 37.1 | Introduction ..... | 1979 |
| 37.2 | DTS main features ..... | 1979 |
| 37.3 | DTS functional description ..... | 1979 |
| 37.3.1 | DTS block diagram ..... | 1979 |
| 37.3.2 | DTS pins and internal signals ..... | 1980 |
| 37.3.3 | DTS reset and clocks ..... | 1980 |
| 37.3.4 | DTS serial data adapter (SDA) ..... | 1982 |
| 37.3.5 | Alarms ..... | 1988 |
| 37.3.6 | Main APB programming routines ..... | 1989 |
| 37.3.7 | Temperature sensor configuration ..... | 1992 |
| 37.4 | DTS interrupts ..... | 1994 |
| 37.5 | DTS registers ..... | 1995 |
| 37.5.1 | DTS PVT common registers ..... | 1995 |
| 37.5.2 | PVT IRQ registers ..... | 1997 |
| 37.5.3 | TS common registers ..... | 2001 |
| 37.5.4 | TS individual registers ..... | 2008 |
| 37.5.5 | DTS register map ..... | 2015 |
| 38 | Voltage reference buffer (VREFBUF) ..... | 2020 |
| 38.1 | VREFBUF introduction ..... | 2020 |
| 38.2 | VREFBUF implementation ..... | 2020 |
| 38.3 | VREFBUF functional description ..... | 2020 |
| 38.4 | VREFBUF trimming ..... | 2021 |
| 38.5 | VREFBUF power sequence ..... | 2022 |
| 38.6 | VREFBUF registers ..... | 2023 |
| 38.6.1 | VREFBUF control and status register (VREFBUF_CSR) ..... | 2023 |
| 38.6.2 | VREFBUF calibration control register (VREFBUF_CCR) ..... | 2024 |
| 38.6.3 | VREFBUF register map ..... | 2025 |
| 39 | Multi-function digital filter (MDF) ..... | 2026 |
| 39.1 | MDF introduction ..... | 2026 |
| 39.2 | MDF main features ..... | 2027 |
| 39.3 | MDF implementation ..... | 2027 |
| 39.4 | MDF functional description ..... | 2029 |
| 39.4.1 | MDF block diagram ..... | 2029 |
| 39.4.2 | MDF pins and internal signals ..... | 2030 |
| 39.4.3 | Serial input interfaces (SITF) ..... | 2032 |
| 39.4.4 | ADC slave interface (ADCITF) ..... | 2037 |
| 39.4.5 | Clock generator (CKGEN) ..... | 2038 |
| 39.4.6 | Bitstream matrix (BSMX) ..... | 2040 |
| 39.4.7 | Short-circuit detectors (SCD) ..... | 2041 |
| 39.4.8 | Digital filter processing (DFLT) ..... | 2043 |
| 39.4.9 | Out-of-limit detector (OLD) ..... | 2053 |
| 39.4.10 | Digital filter acquisition modes ..... | 2056 |
| 39.4.11 | Start-up sequence examples ..... | 2066 |
| 39.4.12 | Break interface ..... | 2067 |
| 39.4.13 | Data transfer to memory ..... | 2068 |
| 39.4.14 | Autonomous mode ..... | 2073 |
| 39.4.15 | Register protection ..... | 2074 |
| 39.5 | MDF low-power modes ..... | 2075 |
| 39.6 | MDF interrupts ..... | 2075 |
| 39.7 | MDF application informations . . . . . | 2077 |
| 39.7.1 | MDF configuration examples for audio capture . . . . . | 2077 |
| 39.7.2 | Programming examples . . . . . | 2078 |
| 39.7.3 | Connection examples . . . . . | 2080 |
| 39.7.4 | Global frequency response . . . . . | 2081 |
| 39.7.5 | Total MDF gain . . . . . | 2082 |
| 39.8 | MDF registers . . . . . | 2086 |
| 39.8.1 | MDF global control register (MDF_GCR) . . . . . | 2086 |
| 39.8.2 | MDF clock generator control register (MDF_CKGCR) . . . . . | 2087 |
| 39.8.3 | MDF serial interface control register x (MDF_SITFxCR) . . . . . | 2089 |
| 39.8.4 | MDF bitstream matrix control register x (MDF_BSMXxCR) . . . . . | 2090 |
| 39.8.5 | MDF digital filter control register x (MDF_DFLTxCr) . . . . . | 2091 |
| 39.8.6 | MDF digital filter configuration register x (MDF_DFLTxCICR) . . . . . | 2093 |
| 39.8.7 | MDF reshape filter configuration register x (MDF_DFLTxRSFR) . . . . . | 2095 |
| 39.8.8 | MDF integrator configuration register x (MDF_DFLTxINTR) . . . . . | 2096 |
| 39.8.9 | MDF out-of limit detector control register x (MDF_OLDxCr) . . . . . | 2096 |
| 39.8.10 | MDF OLDx low threshold register x (MDF_OLDxTHLR) . . . . . | 2098 |
| 39.8.11 | MDF OLDx high threshold register x (MDF_OLDxTHHR) . . . . . | 2098 |
| 39.8.12 | MDF delay control register x (MDF_DLYxCr) . . . . . | 2099 |
| 39.8.13 | MDF short circuit detector control register x (MDF_SCDxCr) . . . . . | 2099 |
| 39.8.14 | MDF DFLT0 interrupt enable register 0 (MDF_DFLT0IER) . . . . . | 2100 |
| 39.8.15 | MDF DFLTx interrupt enable register x (MDF_DFLTxIER) . . . . . | 2102 |
| 39.8.16 | MDF DFLT0 interrupt status register 0 (MDF_DFLT0ISR) . . . . . | 2103 |
| 39.8.17 | MDF DFLTx interrupt status register x (MDF_DFLTxISR) . . . . . | 2105 |
| 39.8.18 | MDF offset error compensation control register x (MDF_OECxCr) . . . . . | 2106 |
| 39.8.19 | MDF snapshot data register x (MDF_SNPSxDR) . . . . . | 2107 |
| 39.8.20 | MDF digital filter data register x (MDF_DFLTxDR) . . . . . | 2107 |
| 39.8.21 | MDF hardware configuration register (MDF_HWCFGR) . . . . . | 2108 |
| 39.8.22 | MDF version register (MDF_VERR) . . . . . | 2109 |
| 39.8.23 | MDF identification register (MDF_IPIDR) . . . . . | 2109 |
| 39.8.24 | MDF size identification register (MDF_SIDR) . . . . . | 2109 |
| 39.8.25 | MDF register map . . . . . | 2110 |
| 40 | Camera subsystem . . . . . | 2113 |
| 40.1 | Introduction . . . . . | 2113 |
| 40.2 | Camera path main features . . . . . | 2113 |
| 40.2.1 | DCMI path main features . . . . . | 2113 |
| 40.2.2 | DCMIPP path main features | 2114 |
| 40.3 | Camera subsystem implementation | 2115 |
| 40.3.1 | Hardware settings | 2115 |
| 40.4 | Camera subsystem functional description | 2116 |
| 40.4.1 | Camera subsystem block diagram | 2116 |
| 40.4.2 | Camera subsystem pins and external signal interface | 2116 |
| 40.4.3 | Camera subsystem reset and clocks | 2117 |
| 40.4.4 | Camera subsystem security | 2117 |
| 40.5 | Camera subsystem programmable parameters | 2119 |
| 40.5.1 | Low-resolution parallel camera and DCMI | 2119 |
| 40.5.2 | High-resolution parallel camera and DCMIPP | 2120 |
| 40.5.3 | High-resolution CSI2 camera and DCMIPP | 2120 |
| 40.5.4 | Sensors over target resolution | 2121 |
| 40.5.5 | Sensors over target pixel rate | 2121 |
| 40.5.6 | Double sensors | 2122 |
| 40.6 | Camera subsystem interrupts | 2122 |
| 40.7 | Camera subsystem registers | 2122 |
| 41 | Digital camera interface (DCMI) | 2123 |
| 41.1 | DCMI introduction | 2123 |
| 41.2 | DCMI main features | 2123 |
| 41.3 | DCMI functional description | 2123 |
| 41.3.1 | DCMI block diagram | 2124 |
| 41.3.2 | DCMI pins and internal signals | 2124 |
| 41.3.3 | DCMI clocks | 2125 |
| 41.3.4 | DCMI DMA interface | 2125 |
| 41.3.5 | DCMI physical interface | 2125 |
| 41.3.6 | DCMI synchronization | 2127 |
| 41.3.7 | DCMI capture modes | 2129 |
| 41.3.8 | DCMI crop feature | 2130 |
| 41.3.9 | DCMI JPEG format | 2131 |
| 41.3.10 | DCMI FIFO | 2131 |
| 41.3.11 | DCMI data format description | 2132 |
| 41.4 | DCMI interrupts | 2134 |
| 41.5 | DCMI registers | 2134 |
| 41.5.1 | DCMI control register (DCMI_CR) | 2134 |
| 41.5.2 | DCMI status register (DCMI_SR) . . . . . | 2137 |
| 41.5.3 | DCMI raw interrupt status register (DCMI_RIS) . . . . . | 2137 |
| 41.5.4 | DCMI interrupt enable register (DCMI_IER) . . . . . | 2138 |
| 41.5.5 | DCMI masked interrupt status register (DCMI_MIS) . . . . . | 2139 |
| 41.5.6 | DCMI interrupt clear register (DCMI_ICR) . . . . . | 2140 |
| 41.5.7 | DCMI embedded synchronization code register (DCMI_ESCR) . . . . . | 2141 |
| 41.5.8 | DCMI embedded synchronization unmask register (DCMI_ESUR) . . . . . | 2141 |
| 41.5.9 | DCMI crop window start (DCMI_CWSTRT) . . . . . | 2142 |
| 41.5.10 | DCMI crop window size (DCMI_CWSIZE) . . . . . | 2143 |
| 41.5.11 | DCMI data register (DCMI_DR) . . . . . | 2143 |
| 41.5.12 | DCMI hardware configuration register (DCMI_HWCFGR) . . . . . | 2144 |
| 41.5.13 | DCMI version register (DCMI_VERR) . . . . . | 2144 |
| 41.5.14 | DCMI identification register (DCMI_IPIDR) . . . . . | 2144 |
| 41.5.15 | DCMI size identification register (DCMI_SIDR) . . . . . | 2145 |
| 41.5.16 | DCMI register map . . . . . | 2145 |
| 42 | Digital camera interface pixel pipeline (DCMIPP) . . . . . | 2147 |
| 42.1 | DCMIPP introduction . . . . . | 2147 |
| 42.2 | DCMIPP main features . . . . . | 2150 |
| 42.3 | DCMIPP functional description . . . . . | 2152 |
| 42.3.1 | DCMIPP block diagram . . . . . | 2152 |
| 42.3.2 | DCMIPP pads and internal signals . . . . . | 2153 |
| 42.3.3 | DCMIPP reset and clocks . . . . . | 2153 |
| 42.3.4 | DCMIPP maximum resolution . . . . . | 2156 |
| 42.3.5 | DCMIPP minimum requirements for frame structure . . . . . | 2157 |
| 42.3.6 | Description of DCMIPP pixel format support . . . . . | 2157 |
| 42.4 | DCMIPP input and flow control . . . . . | 2158 |
| 42.4.1 | DCMIPP common configuration . . . . . | 2159 |
| 42.4.2 | Parallel input interface . . . . . | 2159 |
| 42.4.3 | Interface from CSI-2 host . . . . . | 2163 |
| 42.4.4 | Test pattern generator (TPG) . . . . . | 2163 |
| 42.4.5 | Input selection . . . . . | 2165 |
| 42.4.6 | Flow selection . . . . . | 2165 |
| 42.4.7 | Frame counter . . . . . | 2167 |
| 42.4.8 | Frame control . . . . . | 2167 |
| 42.4.9 | Pipe deactivation . . . . . | 2173 |
| 42.5 | Pipe0 (dump pipe) . . . . . | 2174 |
| 42.5.1 | Overview ..... | 2174 |
| 42.5.2 | Decimation ..... | 2175 |
| 42.5.3 | Crop/statistics selection/suppression ..... | 2175 |
| 42.5.4 | Header insertion ..... | 2176 |
| 42.5.5 | Dump counter ..... | 2177 |
| 42.6 | Pipe1 (ISP part) ..... | 2178 |
| 42.6.1 | Overview ..... | 2178 |
| 42.6.2 | Byte-to-pixel conversion ..... | 2179 |
| 42.6.3 | Statistics removal ..... | 2180 |
| 42.6.4 | Bad pixel removal ..... | 2180 |
| 42.6.5 | Input decimation ..... | 2182 |
| 42.6.6 | Black level calibration ..... | 2183 |
| 42.6.7 | Exposure compensation and white-balance calibration ..... | 2183 |
| 42.6.8 | Demosaicing ..... | 2185 |
| 42.6.9 | Color conversion ..... | 2187 |
| 42.6.10 | Contrast enhancement ..... | 2189 |
| 42.6.11 | Statistics extraction ..... | 2191 |
| 42.6.12 | Histogram ..... | 2194 |
| 42.7 | Pipe1 (post-processing part) ..... | 2201 |
| 42.7.1 | Overview ..... | 2201 |
| 42.7.2 | Pixel 2D cropping ..... | 2201 |
| 42.7.3 | Decimation pre-downsize ..... | 2202 |
| 42.7.4 | Downsize ..... | 2203 |
| 42.7.5 | Gamma conversion ..... | 2205 |
| 42.7.6 | YUV conversion ..... | 2205 |
| 42.7.7 | Chroma down-sampling ..... | 2205 |
| 42.7.8 | Pixel packing ..... | 2206 |
| 42.7.9 | Overrun detection ..... | 2207 |
| 42.8 | Pipe2 (post-processing) ..... | 2208 |
| 42.8.1 | Overview ..... | 2208 |
| 42.8.2 | Pipe1 and Pipe2 sharing image processing functions ..... | 2208 |
| 42.9 | Application use cases ..... | 2209 |
| 42.9.1 | Parallel interface camera sensor module ..... | 2209 |
| 42.9.2 | CSI2 camera sensor module ..... | 2210 |
| 42.9.3 | Force data type format from CSI-2 data flow (pixel pipes only) ..... | 2216 |
| 42.10 | Pixel format description ..... | 2219 |
| 42.10.1 | Parallel interface formats | 2219 |
| 42.10.2 | Pixel pipe formats | 2221 |
| 42.10.3 | Dump pipe formats | 2222 |
| 42.10.4 | AXI IP-Plug | 2224 |
| 42.11 | Shadow registers | 2230 |
| 42.12 | DCMIPP low power modes | 2232 |
| 42.13 | DCMIPP interrupts | 2233 |
| 42.13.1 | Free-running DCMIPP | 2233 |
| 42.13.2 | Interrupts | 2233 |
| 42.13.3 | Event pins | 2236 |
| 42.14 | DCMIPP registers | 2238 |
| 42.14.1 | DCMIPP IP-Plug global register 1 (DCMIPP_IPGR1) | 2238 |
| 42.14.2 | DCMIPP IP-Plug global register 2 (DCMIPP_IPGR2) | 2239 |
| 42.14.3 | DCMIPP IP-Plug global register 3 (DCMIPP_IPGR3) | 2239 |
| 42.14.4 | DCMIPP IP-Plug identification register (DCMIPP_IPGR8) | 2240 |
| 42.14.5 | DCMIPP IP-Plug Clientx register 1 (DCMIPP_IPCxR1) | 2240 |
| 42.14.6 | DCMIPP IP-Plug Clientx register 2 (DCMIPP_IPCxR2) | 2241 |
| 42.14.7 | DCMIPP IP-Plug Clientx register 3 (DCMIPP_IPCxR3) | 2241 |
| 42.14.8 | DCMIPP parallel interface control register (DCMIPP_PRCR) | 2242 |
| 42.14.9 | DCMIPP parallel interface embedded synchronization code register (DCMIPP_PRESCR) | 2243 |
| 42.14.10 | DCMIPP parallel interface embedded synchronization unmask register (DCMIPP PRESUR) | 2244 |
| 42.14.11 | DCMIPP parallel interface interrupt enable register (DCMIPP_PRIER) | 2245 |
| 42.14.12 | DCMIPP parallel interface status register (DCMIPP PRSR) | 2245 |
| 42.14.13 | DCMIPP parallel interface interrupt clear register (DCMIPP PRFCR) | 2246 |
| 42.14.14 | DCMIPP common IP HW configuration register (DCMIPP_CMHWCFGR) | 2247 |
| 42.14.15 | DCMIPP common configuration register (DCMIPP_CMCR) | 2247 |
| 42.14.16 | DCMIPP common frame counter register (DCMIPP_CMFRCR) | 2248 |
| 42.14.17 | DCMIPP common test pattern generator configuration register 1 (DCMIPP_CMTPGCR1) | 2248 |
| 42.14.18 | DCMIPP common test pattern generator configuration register 2 (DCMIPP_CMTPGCR2) | 2249 |
| 42.14.19 | DCMIPP common interrupt enable register (DCMIPP_CMIER) | 2250 |
| 42.14.20 | DCMIPP common status register 1 (DCMIPP_CMSR1) | 2252 |
| 42.14.21 | DCMIPP common status register 2 (DCMIPP_CMSR2) | 2253 |
| 42.14.22 DCMIPP common interrupt clear register (DCMIPP_CMFCR) | 2256 |
| 42.14.23 DCMIPP Pipe0 HW configuration register (DCMIPP_P0HWCFIGR) | 2257 |
| 42.14.24 DCMIPP Pipe0 flow selection configuration register (DCMIPP_P0FSCR) | 2258 |
| 42.14.25 DCMIPP Pipe0 flow control configuration register (DCMIPP_P0FCTCR) | 2259 |
| 42.14.26 DCMIPP Pipe0 statistic/crop start register (DCMIPP_P0SCSTR) | 2259 |
| 42.14.27 DCMIPP Pipe0 statistic/crop size register (DCMIPP_P0SCSZR) | 2260 |
| 42.14.28 DCMIPP Pipe0 dump counter register (DCMIPP_P0DCCNTR) | 2261 |
| 42.14.29 DCMIPP Pipe0 dump limit register (DCMIPP_P0DCLMTR) | 2261 |
| 42.14.30 DCMIPP Pipe0 pixel packer configuration register (DCMIPP_P0PPCR) | 2262 |
| 42.14.31 DCMIPP Pipe0 pixel packer Memory0 address register 1 (DCMIPP_P0PPM0AR1) | 2263 |
| 42.14.32 DCMIPP Pipe0 status Memory0 address register (DCMIPP_P0STM0AR) | 2263 |
| 42.14.33 DCMIPP Pipe0 interrupt enable register (DCMIPP_P0IER) | 2264 |
| 42.14.34 DCMIPP Pipe0 status register (DCMIPP_P0SR) | 2264 |
| 42.14.35 DCMIPP Pipe0 interrupt clear register (DCMIPP_P0FCR) | 2266 |
| 42.14.36 DCMIPP Pipe0 current flow selection configuration register (DCMIPP_P0CFSCR) | 2266 |
| 42.14.37 DCMIPP Pipe0 current flow control configuration register (DCMIPP_P0CFCTCR) | 2267 |
| 42.14.38 DCMIPP Pipe0 current statistic/crop start register (DCMIPP_P0CSCSTR) | 2268 |
| 42.14.39 DCMIPP Pipe0 current statistic/crop size register (DCMIPP_P0CSCSZR) | 2268 |
| 42.14.40 DCMIPP Pipe0 current pixel packer configuration register (DCMIPP_P0CPPCR) | 2269 |
| 42.14.41 DCMIPP Pipe0 current pixel packer Memory0 address register 1 (DCMIPP_P0CPPM0AR1) | 2271 |
| 42.14.42 DCMIPP Pipex HW configuration register (DCMIPP_PxHWCFIGR) | 2271 |
| 42.14.43 DCMIPP Pipe1 flow selection configuration register (DCMIPP_P1FSCR) | 2272 |
| 42.14.44 DCMIPP Pipe1 stat removal configuration register (DCMIPP_P1SRCR) | 2273 |
| 42.14.45 DCMIPP Pipe1 bad pixel removal control register (DCMIPP_P1BPRCR) | 2274 |
| 42.14.46 DCMIPP Pipe1 bad pixel removal status register (DCMIPP_P1BPRSR) | 2274 |
| 42.14.47 DCMIPP Pipe1 decimation register (DCMIPP_P1DECR) | 2275 |
| 42.14.48 DCMIPP Pipe1 black level calibration control register (DCMIPP_P1BLCCR) ..... | 2275 |
| 42.14.49 DCMIPP Pipe1 exposure control register 1 (DCMIPP_P1EXCR1) .. | 2276 |
| 42.14.50 DCMIPP Pipe1 exposure control register 2 (DCMIPP_P1EXCR2) .. | 2276 |
| 42.14.51 DCMIPP Pipe1 statistics1 control register (DCMIPP_P1ST1CR) ... | 2277 |
| 42.14.52 DCMIPP Pipe1 statistics 2 control register (DCMIPP_P1ST2CR) ... | 2278 |
| 42.14.53 DCMIPP Pipe1 statistics 3 control register (DCMIPP_P1ST3CR) ... | 2279 |
| 42.14.54 DCMIPP Pipe1 statistics window start register (DCMIPP_P1STSTR) ..... | 2280 |
| 42.14.55 DCMIPP Pipe1 statistics window size register (DCMIPP_P1STSZR) ..... | 2280 |
| 42.14.56 DCMIPP Pipe1 statistics 1 status register (DCMIPP_P1ST1SR) ... | 2281 |
| 42.14.57 DCMIPP Pipe1 statistics 2 status register (DCMIPP_P1ST2SR) ... | 2282 |
| 42.14.58 DCMIPP Pipe1 statistics 3 status register (DCMIPP_P1ST3SR) ... | 2282 |
| 42.14.59 DCMIPP Pipe1 demosaicing configuration register (DCMIPP_P1DMCR) ..... | 2282 |
| 42.14.60 DCMIPP Pipe1 ColorConv configuration register (DCMIPP_P1CCCR) ..... | 2283 |
| 42.14.61 DCMIPP Pipe1 ColorConv red coefficient register 1 (DCMIPP_P1CCRR1) ..... | 2284 |
| 42.14.62 DCMIPP Pipe1 ColorConv red coefficient register 2 (DCMIPP_P1CCRR2) ..... | 2284 |
| 42.14.63 DCMIPP Pipe1 ColorConv green coefficient register 1 (DCMIPP_P1CCGR1) ..... | 2285 |
| 42.14.64 DCMIPP Pipe1 ColorConv green coefficient register 2 (DCMIPP_P1CCGR2) ..... | 2285 |
| 42.14.65 DCMIPP Pipe1 ColorConv blue coefficient register 1 (DCMIPP_P1CCBR1) ..... | 2286 |
| 42.14.66 DCMIPP Pipe1 ColorConv blue coefficient register 2 (DCMIPP_P1CCBR2) ..... | 2286 |
| 42.14.67 DCMIPP Pipe1 contrast control register 1 (DCMIPP_P1CTCR1) ... | 2287 |
| 42.14.68 DCMIPP Pipe1 contrast control register 2 (DCMIPP_P1CTCR2) ... | 2287 |
| 42.14.69 DCMIPP Pipe1 contrast control register 3 (DCMIPP_P1CTCR3) ... | 2288 |
| 42.14.70 DCMIPP Pipe1 histogram configuration register (DCMIPP_P1HSCR) ... | 2288 |
| 42.14.71 DCMIPP Pipe1 histogram window start register (DCMIPP_P1HSSTR) ..... | 2290 |
| 42.14.72 DCMIPP Pipe1 histogram window size register (DCMIPP_P1HSSZR) ..... | 2291 |
| 42.14.73 DCMIPP Pipe1 histogram memory address register 1 (DCMIPP_P1HSMAR1) ..... | 2291 |
| 42.14.74 DCMIPP Pipe1 histogram memory status address register 3 (DCMIPP_P1HSSMAR) ..... | 2292 |
| 42.14.75 DCMIPP Pipex flow control configuration register (DCMIPP_PxFCTCR) ..... | 2292 |
| 42.14.76 DCMIPP Pipex crop window start register (DCMIPP_PxCRSTR) ... | 2293 |
| 42.14.77 DCMIPP Pipex crop window size register (DCMIPP_PxCRSZR) ... | 2293 |
| 42.14.78 DCMIPP Pipex decimation register (DCMIPP_PxDCCR) ..... | 2294 |
| 42.14.79 DCMIPP Pipex downsize configuration register (DCMIPP_PxDSCR) ..... | 2294 |
| 42.14.80 DCMIPP Pipex downsize ratio register (DCMIPP_PxDSRTIOR) ... | 2295 |
| 42.14.81 DCMIPP Pipex downsize destination size register (DCMIPP_PxDSSZR) ..... | 2295 |
| 42.14.82 DCMIPP Pipex gamma configuration register (DCMIPP_PxGMCR) . | 2296 |
| 42.14.83 DCMIPP Pipe1 YUVConv configuration register (DCMIPP_P1YUVCR) ..... | 2296 |
| 42.14.84 DCMIPP Pipe1 YUVConv red coefficient register 1 (DCMIPP_P1YUVRR1) ..... | 2297 |
| 42.14.85 DCMIPP Pipe1 YUVConv red coefficient register 2 (DCMIPP_P1YUVRR2) ..... | 2297 |
| 42.14.86 DCMIPP Pipe1 YUVConv green coefficient register 1 (DCMIPP_P1YUVGR1) ..... | 2297 |
| 42.14.87 DCMIPP Pipe1 YUVConv green coefficient register 2 (DCMIPP_P1YUVGR2) ..... | 2298 |
| 42.14.88 DCMIPP Pipe1 YUVConv blue coefficient register 1 (DCMIPP_P1YUVBR1) ..... | 2298 |
| 42.14.89 DCMIPP Pipe1 YUV blue coefficient register 2 (DCMIPP_P1YUVBR2) ..... | 2299 |
| 42.14.90 DCMIPP Pipe1 pixel packer configuration register (DCMIPP_P1PPCR) ..... | 2299 |
| 42.14.91 DCMIPP Pipe1 pixel packer Memory0 address register 1 (DCMIPP_P1PPM0AR1) ..... | 2300 |
| 42.14.92 DCMIPP Pipex pixel packer Memory0 pitch register (DCMIPP_PxPPM0PR) ..... | 2300 |
| 42.14.93 DCMIPP Pipex status Memory0 address register (DCMIPP_PxSTM0AR) ..... | 2301 |
| 42.14.94 DCMIPP Pipex pixel packer Memory1 address register 1 (DCMIPP_PxPPM1AR1) ..... | 2301 |
| 42.14.95 DCMIPP Pipex pixel packer Memory1 pitch register (DCMIPP_PxPPM1PR) ..... | 2302 |
| 42.14.96 DCMIPP Pipex status Memory1 address register (DCMIPP_PxSTM1AR) ..... | 2302 |
| 42.14.97 DCMIPP Pipex pixel packer memory2 address register 1 (DCMIPP_PxPPM2AR1) ..... | 2303 |
| 42.14.98 DCMIPP Pipex status Memory2 address register (DCMIPP_PxSTM2AR) ..... | 2303 |
| 42.14.99 DCMIPP Pipe1 interrupt enable register (DCMIPP_P1IER) ..... | 2303 |
| 42.14.100 DCMIPP Pipe1 status register (DCMIPP_P1SR) ..... | 2304 |
| 42.14.101 DCMIPP Pipe1 interrupt clear register (DCMIPP_P1FCR) ..... | 2306 |
| 42.14.102 DCMIPP Pipe1 current flow selection configuration register (DCMIPP_P1CFSCR) ..... | 2306 |
| 42.14.103 DCMIPP Pipe1 current bad pixel removal register (DCMIPP_P1CBPRCR) ..... | 2307 |
| 42.14.104 DCMIPP Pipe1 current black level calibration control register (DCMIPP_P1CBLCCR) ..... | 2308 |
| 42.14.105 DCMIPP Pipe1 current exposure control register 1 (DCMIPP_P1CEXCR1) ..... | 2308 |
| 42.14.106 DCMIPP Pipe1 current exposure control register 2 (DCMIPP_P1CEXCR2) ..... | 2309 |
| 42.14.107 DCMIPP Pipe1 current statistics 1 control register (DCMIPP_P1CST1CR) ..... | 2310 |
| 42.14.108 DCMIPP Pipe1 current statistics 2 control register (DCMIPP_P1CST2CR) ..... | 2311 |
| 42.14.109 DCMIPP Pipe1 current statistics 3 control register (DCMIPP_P1CST3CR) ..... | 2312 |
| 42.14.110 DCMIPP Pipe1 current statistics window start register (DCMIPP_P1CSTSTR) ..... | 2313 |
| 42.14.111 DCMIPP Pipe1 current statistics window size register (DCMIPP_P1CSTSZR) ..... | 2313 |
| 42.14.112 DCMIPP Pipe1 current ColorConv configuration register (DCMIPP_P1CCCCR) ..... | 2314 |
| 42.14.113 DCMIPP Pipe1 current ColorConv red coefficient register 1 (DCMIPP_P1CCCRR1) ..... | 2314 |
| 42.14.114 DCMIPP Pipe1 current ColorConv red coefficient register 2 (DCMIPP_P1CCCRR2) ..... | 2315 |
| 42.14.115 DCMIPP Pipe1 current ColorConv green coefficient register 1 (DCMIPP_P1CCCGR1) ..... | 2315 |
| 42.14.116 DCMIPP Pipe1 current ColorConv green coefficient register 2 (DCMIPP_P1CCCGR2) ..... | 2316 |
| 42.14.117 DCMIPP Pipex current ColorConv blue coefficient register 1 (DCMIPP_P1CCCRR1) ..... | 2316 |
| 42.14.118 DCMIPP Pipe1 current ColorConv blue coefficient register 2 (DCMIPP_P1CCCRR2) ..... | 2317 |
| 42.14.119 DCMIPP Pipe1 current contrast control register 1 (DCMIPP_P1CCTCR1) ..... | 2317 |
| 42.14.120 DCMIPP Pipe1 current contrast control register 2 (DCMIPP_P1CCTCR2) ..... | 2318 |
| 42.14.121DCMIPP Pipe1 current contrast control register 3 (DCMIPP_P1CCTCR3) ..... | 2318 |
| 42.14.122DCMIPP Pipe1 current histogram configuration register (DCMIPP_P1CHSCR) ..... | 2319 |
| 42.14.123DCMIPP Pipe1 current histogram window start register (DCMIPP_P1CHSSTR) ..... | 2321 |
| 42.14.124DCMIPP Pipe1 current histogram window size register (DCMIPP_P1CHSSZR) ..... | 2321 |
| 42.14.125DCMIPP Pipe1 current histogram memory address register 1 (DCMIPP_P1CHSMAR1) ..... | 2322 |
| 42.14.126DCMIPP Pipex current flow control configuration register (DCMIPP_PxCFCTCR) ..... | 2322 |
| 42.14.127DCMIPP Pipex current crop window start register (DCMIPP_PxCCRSTR) ..... | 2323 |
| 42.14.128DCMIPP Pipex current crop window size register (DCMIPP_PxCCRSZR) ..... | 2323 |
| 42.14.129DCMIPP Pipex current decimation register (DCMIPP_PxCDCCR) .. | 2324 |
| 42.14.130DCMIPP Pipex current downsize configuration register (DCMIPP_PxCDSCR) ..... | 2324 |
| 42.14.131DCMIPP Pipex current downsize ratio register (DCMIPP_PxCDSRTIOR) ..... | 2325 |
| 42.14.132DCMIPP Pipex current downsize destination size register (DCMIPP_PxCDSSZR) ..... | 2325 |
| 42.14.133DCMIPP Pipe1 current pixel packer configuration register (DCMIPP_P1CPPCR) ..... | 2326 |
| 42.14.134DCMIPP Pipe1 current pixel packer Memory0 address register 1 (DCMIPP_P1CPPM0AR1) ..... | 2326 |
| 42.14.135DCMIPP Pipex current pixel packer Memory0 pitch register (DCMIPP_PxCPPM0PR) ..... | 2327 |
| 42.14.136DCMIPP Pipex current pixel packer Memory1 address register 1 (DCMIPP_PxCPPM1AR1) ..... | 2327 |
| 42.14.137DCMIPP Pipex current pixel packer Memory1 pitch register (DCMIPP_PxCPPM1PR) ..... | 2328 |
| 42.14.138DCMIPP Pipex current pixel packer Memory2 address register 1 (DCMIPP_PxCPPM2AR1) ..... | 2328 |
| 42.14.139DCMIPP Pipe2 flow selection configuration register (DCMIPP_P2FSCR) ..... | 2329 |
| 42.14.140DCMIPP Pipe2 pixel packer configuration register (DCMIPP_P2PPCR) ..... | 2330 |
| 42.14.141DCMIPP Pipe2 pixel packer Memory0 address register 1 (DCMIPP_P2PPM0AR1) ..... | 2331 |
| 42.14.142DCMIPP Pipe2 interrupt enable register (DCMIPP_P2IER) ..... | 2331 |
| 42.14.143DCMIPP Pipe2 status register (DCMIPP_P2SR) ..... | 2332 |
| 42.14.144 | DCMIPP Pipe2 interrupt clear register (DCMIPP_P2FCR) . . . . . | 2333 |
| 42.14.145 | DCMIPP Pipe2 current flow selection configuration register (DCMIPP_P2CFSCR) . . . . . | 2333 |
| 42.14.146 | DCMIPP Pipe2 current pixel packer configuration register (DCMIPP_P2CPPCR) . . . . . | 2334 |
| 42.14.147 | DCMIPP Pipe2 current pixel packer Memory0 address register 1 (DCMIPP_P2CPPM0AR1) . . . . . | 2335 |
| 42.14.148 | DCMIPP hardware configuration register 3 (DCMIPP_HWCFGR3) . | 2336 |
| 42.14.149 | DCMIPP hardware configuration register 2 (DCMIPP_HWCFGR2) . | 2336 |
| 42.14.150 | DCMIPP hardware configuration register 1 (DCMIPP_HWCFGR1) . | 2337 |
| 42.14.151 | DCMIPP version register (DCMIPP_VERR) . . . . . | 2338 |
| 42.14.152 | DCMIPP identification register (DCMIPP_IPIDR) . . . . . | 2338 |
| 42.14.153 | DCMIPP size identification register (DCMIPP_SIDR) . . . . . | 2338 |
| 42.15 | DCMIPP register map . . . . . | 2340 |
| 43 | CSI-2 Host (CSI) . . . . . | 2354 |
| 43.1 | CSI introduction . . . . . | 2354 |
| 43.2 | Standard and references . . . . . | 2354 |
| 43.3 | Glossary . . . . . | 2354 |
| 43.4 | CSI-2 Host main features . . . . . | 2355 |
| 43.5 | CSI-2 Host functional description . . . . . | 2355 |
| 43.5.1 | General description . . . . . | 2355 |
| 43.5.2 | System level architecture . . . . . | 2357 |
| 43.5.3 | CSI-2 Host reset and clocks . . . . . | 2358 |
| 43.5.4 | Lane merger . . . . . | 2359 |
| 43.5.5 | Clock changer . . . . . | 2360 |
| 43.5.6 | Low-level protocol (LLP) . . . . . | 2361 |
| 43.5.7 | CSI-2 Host protocol output . . . . . | 2371 |
| 43.6 | CSI-2 Host programming guide . . . . . | 2371 |
| 43.6.1 | CSI-2 PHY setup . . . . . | 2371 |
| 43.6.2 | CSI-2 Host controller setup and data reception start . . . . . | 2372 |
| 43.6.3 | Data reception stop . . . . . | 2373 |
| 43.7 | CSI-2 Host low-power modes . . . . . | 2373 |
| 43.8 | CSI-2 Host interrupts and errors . . . . . | 2373 |
| 43.8.1 | Error handling . . . . . | 2375 |
| 43.8.2 | Interrupt handling . . . . . | 2377 |
| 43.9 | CSI-2 Host registers . . . . . | 2378 |
| 43.9.1 | CSI-2 Host control register (CSI_CR) | 2378 |
| 43.9.2 | CSI-2 Host DPHY_RX control register (CSI_PCR) | 2380 |
| 43.9.3 | CSI-2 Host virtual channel x configuration register 1 (CSI_VCxCFGR1) | 2381 |
| 43.9.4 | CSI-2 Host virtual channel x configuration register 2 (CSI_VCxCFGR2) | 2383 |
| 43.9.5 | CSI-2 Host virtual channel x configuration register 3 (CSI_VCxCFGR3) | 2384 |
| 43.9.6 | CSI-2 Host virtual channel x configuration register 4 (CSI_VCxCFGR4) | 2385 |
| 43.9.7 | CSI-2 Host line byte x configuration register (CSI_LBxCFGR) | 2386 |
| 43.9.8 | CSI-2 Host timer x configuration register (CSI_TIMxCFGR) | 2387 |
| 43.9.9 | CSI-2 Host lane merger configuration register (CSI_LMCFGR) | 2387 |
| 43.9.10 | CSI-2 Host program interrupt register (CSI_PRGITR) | 2388 |
| 43.9.11 | CSI-2 Host watchdog register (CSI_WDR) | 2392 |
| 43.9.12 | CSI-2 Host interrupt enable register 0 (CSI_IER0) | 2392 |
| 43.9.13 | CSI-2 Host interrupt enable register 1 (CSI_IER1) | 2395 |
| 43.9.14 | CSI-2 Host status register 0 (CSI_SR0) | 2397 |
| 43.9.15 | CSI-2 Host status register 1 (CSI_SR1) | 2399 |
| 43.9.16 | CSI-2 Host flag clear register 0 (CSI_FCR0) | 2401 |
| 43.9.17 | CSI-2 Host flag clear register 1 (CSI_FCR1) | 2402 |
| 43.9.18 | CSI-2 Host short packet data field register (CSI_SPDFR) | 2403 |
| 43.9.19 | CSI-2 Host error register 1 (CSI_ERR1) | 2404 |
| 43.9.20 | CSI-2 Host error register 2 (CSI_ERR2) | 2405 |
| 43.9.21 | CSI-2 Host hardware configuration register (CSI_HHWCFGR) | 2405 |
| 43.9.22 | CSI-2 Host version register (CSI_HVERR) | 2406 |
| 43.9.23 | CSI-2 Host identification register (CSI_HIPIDR) | 2406 |
| 43.9.24 | CSI-2 Host size identification register (CSI_HSIDR) | 2407 |
| 43.10 | CSI PHY registers | 2407 |
| 43.10.1 | CSI PHY reset control register (CSI_PRCR) | 2407 |
| 43.10.2 | CSI PHY mode control register (CSI_PMCR) | 2408 |
| 43.10.3 | CSI PHY frequency control register (CSI_PFCR) | 2409 |
| 43.10.4 | CSI PHY test control register 0 (CSI_PTCR0) | 2409 |
| 43.10.5 | CSI PHY test control register 1 (CSI_PTCR1) | 2410 |
| 43.10.6 | CSI PHY test status register (CSI_PTSR) | 2410 |
| 43.10.7 | CSI-2 Host hardware configuration register (CSI_HWCFGR) | 2410 |
| 43.10.8 | CSI-2 Host version register (CSI_VERR) | 2411 |
| 43.10.9 | CSI-2 Host identification register (CSI_IPIDR) | 2411 |
| 43.10.10 | CSI-2 Host size identification register (CSI_SIDR) ..... | 2412 |
| 43.10.11 | CSI-2 Host and PHY register map ..... | 2412 |
| 44 | Parallel synchronous slave interface (PSSI) ..... | 2416 |
| 44.1 | PSSI introduction ..... | 2416 |
| 44.2 | PSSI main features ..... | 2416 |
| 44.3 | PSSI functional description ..... | 2416 |
| 44.3.1 | PSSI block diagram ..... | 2417 |
| 44.3.2 | PSSI pins and internal signals ..... | 2417 |
| 44.3.3 | PSSI clock ..... | 2418 |
| 44.3.4 | PSSI data management ..... | 2418 |
| 44.3.5 | PSSI optional control signals ..... | 2420 |
| 44.4 | PSSI interrupts ..... | 2423 |
| 44.5 | PSSI registers ..... | 2424 |
| 44.5.1 | PSSI control register (PSSI_CR) ..... | 2424 |
| 44.5.2 | PSSI status register (PSSI_SR) ..... | 2425 |
| 44.5.3 | PSSI raw interrupt status register (PSSI_RIS) ..... | 2426 |
| 44.5.4 | PSSI interrupt enable register (PSSI_IER) ..... | 2427 |
| 44.5.5 | PSSI masked interrupt status register (PSSI_MIS) ..... | 2427 |
| 44.5.6 | PSSI interrupt clear register (PSSI_ICR) ..... | 2428 |
| 44.5.7 | PSSI data register (PSSI_DR) ..... | 2428 |
| 44.5.8 | PSSI hardware configuration register (PSSI_HWCFGR) ..... | 2429 |
| 44.5.9 | PSSI version register (PSSI_VERR) ..... | 2429 |
| 44.5.10 | PSSI ID register (PSSI_IPIDR) ..... | 2430 |
| 44.5.11 | PSSI size identification register (PSSI_SIDR) ..... | 2430 |
| 44.5.12 | PSSI register map ..... | 2430 |
| 45 | Display subsystem ..... | 2432 |
| 45.1 | Introduction ..... | 2432 |
| 45.2 | Display subsystem main features ..... | 2432 |
| 45.3 | Display subsystem implementation ..... | 2432 |
| 45.4 | Display subsystem functional description ..... | 2432 |
| 45.4.1 | Display subsystem block diagram ..... | 2432 |
| 45.4.2 | Display subsystem pins and external signal interface ..... | 2433 |
| 45.4.3 | Display subsystem clocks ..... | 2433 |
| 45.4.4 | Display subsystem security ..... | 2433 |
| 45.5 | Display subsystem programmable parameters ..... | 2437 |
| 45.5.1 | Parallel-interface display ..... | 2438 |
| 45.6 | Display subsystem interrupts ..... | 2438 |
| 45.7 | Display subsystem registers ..... | 2439 |
| 46 | LCD-TFT display controller (LTDC) ..... | 2440 |
| 46.1 | LTDC introduction ..... | 2440 |
| 46.2 | LTDC main features ..... | 2440 |
| 46.3 | LTDC implementation ..... | 2440 |
| 46.4 | LTDC functional description ..... | 2441 |
| 46.4.1 | LTDC block diagram ..... | 2441 |
| 46.4.2 | LTDC pins and internal signals ..... | 2442 |
| 46.4.3 | LTDC reset and clocks ..... | 2442 |
| 46.5 | LTDC configuration parameters ..... | 2445 |
| 46.5.1 | AXI master ..... | 2445 |
| 46.5.2 | Input layer definition and cropping ..... | 2445 |
| 46.5.3 | Input pixel format ..... | 2446 |
| 46.5.4 | YUV planar ..... | 2449 |
| 46.5.5 | YUV-to-RGB color conversion ..... | 2449 |
| 46.5.6 | Horizontal or vertical mirroring ..... | 2451 |
| 46.5.7 | Default layer color ..... | 2452 |
| 46.5.8 | Color look-up table (CLUT) ..... | 2452 |
| 46.5.9 | Transparency color keying ..... | 2453 |
| 46.5.10 | Upscaler ..... | 2453 |
| 46.5.11 | Display composition - windowing ..... | 2454 |
| 46.5.12 | Display composition - blending ..... | 2455 |
| 46.5.13 | Gamma correction ..... | 2457 |
| 46.5.14 | YUV output conversion ..... | 2457 |
| 46.5.15 | Dithering ..... | 2458 |
| 46.5.16 | CRC hashing ..... | 2458 |
| 46.5.17 | Display timing ..... | 2459 |
| 46.5.18 | Output interface polarity ..... | 2461 |
| 46.5.19 | Shadow registers ..... | 2461 |
| 46.5.20 | General control ..... | 2463 |
| 46.5.21 | Provision for a secure layer ..... | 2463 |
| 46.6 | LTDC interrupts ..... | 2464 |
| 46.7 | LTDC programming procedure . . . . . | 2465 |
| 46.8 | LTDC registers . . . . . | 2466 |
| 46.8.1 | LTDC identification register (LTDC_IDR) . . . . . | 2466 |
| 46.8.2 | LTDC layer count register (LTDC_LCR) . . . . . | 2466 |
| 46.8.3 | LTDC synchronization size configuration register (LTDC_SSCR) . . . . . | 2467 |
| 46.8.4 | LTDC back porch configuration register (LTDC_BPCR) . . . . . | 2467 |
| 46.8.5 | LTDC active width configuration register (LTDC_AWCR) . . . . . | 2468 |
| 46.8.6 | LTDC total width configuration register (LTDC_TWCR) . . . . . | 2468 |
| 46.8.7 | LTDC global control register (LTDC_GCR) . . . . . | 2469 |
| 46.8.8 | LTDC global configuration 1 register (LTDC_GC1R) . . . . . | 2471 |
| 46.8.9 | LTDC global configuration 2 register (LTDC_GC2R) . . . . . | 2472 |
| 46.8.10 | LTDC shadow reload configuration register (LTDC_SRCR) . . . . . | 2473 |
| 46.8.11 | LTDC gamma correction configuration register (LTDC_GCCR) . . . . . | 2473 |
| 46.8.12 | LTDC background color configuration register (LTDC_BCCR) . . . . . | 2474 |
| 46.8.13 | LTDC interrupt enable register (LTDC_IER) . . . . . | 2475 |
| 46.8.14 | LTDC interrupt status register (LTDC_ISR) . . . . . | 2476 |
| 46.8.15 | LTDC interrupt clear register (LTDC_ICR) . . . . . | 2476 |
| 46.8.16 | LTDC line interrupt position configuration register (LTDC_LIPCR) . . . . . | 2477 |
| 46.8.17 | LTDC current position status register (LTDC_CPSR) . . . . . | 2478 |
| 46.8.18 | LTDC current display status register (LTDC_CDSR) . . . . . | 2478 |
| 46.8.19 | LTDC external display control register (LTDC_EDCR) . . . . . | 2479 |
| 46.8.20 | LTDC interrupt enable register 2 (LTDC_IER2) . . . . . | 2479 |
| 46.8.21 | LTDC interrupt status register 2 (LTDC_ISR2) . . . . . | 2480 |
| 46.8.22 | LTDC interrupt clear register 2 (LTDC_ICR2) . . . . . | 2481 |
| 46.8.23 | LTDC line interrupt position configuration register 2 (LTDC_LIPCR2) . . . . . | 2482 |
| 46.8.24 | LTDC expected CRC register (LTDC_ECRCR) . . . . . | 2482 |
| 46.8.25 | LTDC computed CRC register (LTDC_CCRCR) . . . . . | 2483 |
| 46.8.26 | LTDC FIFO underrun threshold register (LTDC_FUTR) . . . . . | 2483 |
| 46.8.27 | LTDC layer x configuration 0 register (LTDC_LxC0R) . . . . . | 2484 |
| 46.8.28 | LTDC layer x configuration 1 register (LTDC_LxC1R) . . . . . | 2485 |
| 46.8.29 | LTDC layer x reload control register (LTDC_LxRCR) . . . . . | 2485 |
| 46.8.30 | LTDC layer x control register (LTDC_LxCR) . . . . . | 2486 |
| 46.8.31 | LTDC layer x window horizontal position configuration register (LTDC_LxWHPCR) . . . . . | 2487 |
| 46.8.32 | LTDC layer x window vertical position configuration register (LTDC_LxWVPCR) . . . . . | 2488 |
| 46.8.33 | LTDC layer x color keying configuration register (LTDC_LxCKCR) . . . . . | 2488 |
| 46.8.34 | LTDC layer x pixel format configuration register (LTDC_LxPFCR) ..... | 2489 |
| 46.8.35 | LTDC layer x constant alpha configuration register (LTDC_LxCACR) ..... | 2489 |
| 46.8.36 | LTDC layer x default color configuration register (LTDC_LxDCCR) ..... | 2490 |
| 46.8.37 | LTDC layer x blending factors configuration register (LTDC_LxBFCR) ..... | 2490 |
| 46.8.38 | LTDC layer x burst length configuration register (LTDC_LxBLCR) ..... | 2491 |
| 46.8.39 | LTDC layer x planar configuration register (LTDC_LxPCR) ..... | 2492 |
| 46.8.40 | LTDC layer x color frame buffer address register (LTDC_LxCFBAR) ..... | 2493 |
| 46.8.41 | LTDC layer x color frame buffer length register (LTDC_LxCFBLR) ..... | 2494 |
| 46.8.42 | LTDC layer x color frame buffer line number register (LTDC_LxCFBLNR) ..... | 2494 |
| 46.8.43 | LTDC layer x auxiliary frame buffer address 0 register (LTDC_LxAFBA0R) ..... | 2495 |
| 46.8.44 | LTDC layer x auxiliary frame buffer address 1 register (LTDC_LxAFBA1R) ..... | 2495 |
| 46.8.45 | LTDC layer x auxiliary frame buffer length register (LTDC_LxAFBLR) ..... | 2496 |
| 46.8.46 | LTDC layer x auxiliary frame buffer line number register (LTDC_LxAFBLNR) ..... | 2496 |
| 46.8.47 | LTDC layer x CLUT write register (LTDC_LxCLUTWR) ..... | 2497 |
| 46.8.48 | LTDC layer x scaler input size register (LTDC_LxSISR) ..... | 2497 |
| 46.8.49 | LTDC layer x scaler output size register (LTDC_LxSOSR) ..... | 2498 |
| 46.8.50 | LTDC layer x scaler vertical scaling factor register (LTDC_LxSVSFR) ..... | 2498 |
| 46.8.51 | LTDC layer x scaler vertical scaling phase register (LTDC_LxSVSPR) ..... | 2499 |
| 46.8.52 | LTDC layer x scaler horizontal scaling factor register (LTDC_LxSHSFR) ..... | 2499 |
| 46.8.53 | LTDC layer x scaler horizontal scaling phase register (LTDC_LxSHSPR) ..... | 2500 |
| 46.8.54 | LTDC layer x conversion YCbCr RGB 0 register (LTDC_LxCYR0R) .. | 2500 |
| 46.8.55 | LTDC layer x conversion YCbCr RGB 1 register (LTDC_LxCYR1R) .. | 2501 |
| 46.8.56 | LTDC layer x flexible pixel format 0 register (LTDC_LxFPF0R) ..... | 2501 |
| 46.8.57 | LTDC layer x flexible pixel format 1 register (LTDC_LxFPF1R) ..... | 2502 |
| 46.8.58 | LTDC register map ..... | 2502 |
| 47 | True random number generator (RNG) ..... | 2510 |
| 47.1 | RNG introduction ..... | 2510 |
| 47.2 | RNG main features ..... | 2510 |
| 47.3 | RNG functional description ..... | 2511 |
| 47.3.1 | RNG block diagram ..... | 2511 |
| 47.3.2 | RNG internal signals ..... | 2511 |
| 47.3.3 | Random number generation ..... | 2512 |
| 47.3.4 | RNG initialization ..... | 2514 |
| 47.3.5 | RNG operation ..... | 2515 |
| 47.3.6 | RNG clocking ..... | 2517 |
| 47.3.7 | Error management ..... | 2517 |
| 47.3.8 | RNG low-power use ..... | 2519 |
| 47.4 | RNG interrupts ..... | 2519 |
| 47.5 | RNG processing time ..... | 2520 |
| 47.6 | RNG entropy source validation ..... | 2520 |
| 47.6.1 | Introduction ..... | 2520 |
| 47.6.2 | Validation conditions ..... | 2520 |
| 47.7 | RNG registers ..... | 2522 |
| 47.7.1 | RNG control register (RNG_CR) ..... | 2522 |
| 47.7.2 | RNG status register (RNG_SR) ..... | 2524 |
| 47.7.3 | RNG data register (RNG_DR) ..... | 2525 |
| 47.7.4 | RNG noise source control register (RNG_NSCR) ..... | 2526 |
| 47.7.5 | RNG health test control register x (RNG_HTCRx) ..... | 2526 |
| 47.7.6 | RNG health test status register 0 (RNG_HTSR0) ..... | 2527 |
| 47.7.7 | RNG health test status register 1 (RNG_HTSR1) ..... | 2527 |
| 47.7.8 | RNG noise source mask register (RNG_NSMR) ..... | 2528 |
| 47.7.9 | RNG hardware configuration register (RNG_HWCFGR) ..... | 2528 |
| 47.7.10 | RNG version register (RNG_VERR) ..... | 2529 |
| 47.7.11 | RNG identification register (RNG_IPIDR) ..... | 2529 |
| 47.7.12 | RNG size identification register (RNG_SIDR) ..... | 2530 |
| 47.7.13 | RNG register map ..... | 2530 |
| 48 | Cryptographic processor (SAES) ..... | 2532 |
| 48.1 | SAES introduction ..... | 2532 |
| 48.2 | SAES main features ..... | 2533 |
| 48.3 | SAES implementation ..... | 2534 |
| 48.4 | SAES functional description | 2535 |
| 48.4.1 | SAES block diagram | 2535 |
| 48.4.2 | SAES internal signals | 2535 |
| 48.4.3 | SAES reset and clocks | 2536 |
| 48.4.4 | SAES symmetric cipher implementation | 2536 |
| 48.4.5 | SAES encryption or decryption typical usage | 2537 |
| 48.4.6 | SAES authenticated encryption, decryption, and cipher-based message authentication | 2539 |
| 48.4.7 | SAES ciphertext stealing and data padding | 2540 |
| 48.4.8 | SAES suspend and resume operations | 2540 |
| 48.4.9 | SAES basic chaining modes (ECB, CBC) | 2541 |
| 48.4.10 | SAES counter (CTR) mode | 2545 |
| 48.4.11 | SAES Galois/counter mode (GCM) | 2547 |
| 48.4.12 | SAES Galois message authentication code (GMAC) | 2552 |
| 48.4.13 | SAES counter with CBC-MAC (CCM) | 2553 |
| 48.4.14 | SAES basic operations with wrapped keys | 2558 |
| 48.4.15 | Wrapped key usage outside the SAES peripheral | 2563 |
| 48.4.16 | SAES data registers and data swapping | 2563 |
| 48.4.17 | SAES key registers | 2566 |
| 48.4.18 | SAES initialization vector registers | 2568 |
| 48.4.19 | SAES error management | 2568 |
| 48.5 | SAES interrupts | 2570 |
| 48.6 | SAES DMA requests | 2570 |
| 48.6.1 | Data input using DMA | 2571 |
| 48.6.2 | Data output using DMA | 2571 |
| 48.6.3 | Stopping DMA transfers | 2571 |
| 48.7 | SAES processing latency | 2571 |
| 48.8 | SAES registers | 2572 |
| 48.8.1 | SAES control register (SAES_CR) | 2572 |
| 48.8.2 | SAES status register (SAES_SR) | 2576 |
| 48.8.3 | SAES data input register (SAES_DINR) | 2577 |
| 48.8.4 | SAES data output register (SAES_DOUTR) | 2577 |
| 48.8.5 | SAES key register 0 (SAES_KEYR0) | 2578 |
| 48.8.6 | SAES key register 1 (SAES_KEYR1) | 2578 |
| 48.8.7 | SAES key register 2 (SAES_KEYR2) | 2579 |
| 48.8.8 | SAES key register 3 (SAES_KEYR3) | 2579 |
| 48.8.9 | SAES key register 4 (SAES_KEYR4) | 2579 |
| 48.8.10 | SAES key register 5 (SAES_KEYR5) ..... | 2580 |
| 48.8.11 | SAES key register 6 (SAES_KEYR6) ..... | 2580 |
| 48.8.12 | SAES key register 7 (SAES_KEYR7) ..... | 2580 |
| 48.8.13 | SAES initialization vector register 0 (SAES_IVR0) ..... | 2581 |
| 48.8.14 | SAES initialization vector register 1 (SAES_IVR1) ..... | 2581 |
| 48.8.15 | SAES initialization vector register 2 (SAES_IVR2) ..... | 2581 |
| 48.8.16 | SAES initialization vector register 3 (SAES_IVR3) ..... | 2582 |
| 48.8.17 | SAES context swap registers (SAES_SUSPRx) ..... | 2582 |
| 48.8.18 | SAES interrupt enable register (SAES_IER) ..... | 2582 |
| 48.8.19 | SAES interrupt status register (SAES_ISR) ..... | 2583 |
| 48.8.20 | SAES interrupt clear register (SAES_ICR) ..... | 2585 |
| 48.8.21 | SAES hardware configuration register (SAES_HWCFGR) ..... | 2585 |
| 48.8.22 | SAES version register (SAES_VERR) ..... | 2586 |
| 48.8.23 | SAES identification register (SAES_IPIDR) ..... | 2586 |
| 48.8.24 | SAES size ID register (SAES_SIDR) ..... | 2586 |
| 48.8.25 | SAES register map ..... | 2587 |
| 49 | Cryptographic processor (CRYP) ..... | 2589 |
| 49.1 | CRYP introduction ..... | 2589 |
| 49.2 | CRYP main features ..... | 2589 |
| 49.3 | CRYP implementation ..... | 2590 |
| 49.4 | CRYP functional description ..... | 2591 |
| 49.4.1 | CRYP block diagram ..... | 2591 |
| 49.4.2 | CRYP internal signals ..... | 2592 |
| 49.4.3 | CRYP reset and clocks ..... | 2592 |
| 49.4.4 | CRYP symmetric cipher implementation ..... | 2592 |
| 49.4.5 | CRYP encryption/ decryption typical usage ..... | 2593 |
| 49.4.6 | CRYP authenticated encryption, decryption, and cipher-based message authentication ..... | 2596 |
| 49.4.7 | CRYP ciphertext stealing and data padding ..... | 2596 |
| 49.4.8 | CRYP suspend and resume operations ..... | 2597 |
| 49.4.9 | CRYP DES/TDES basic chaining modes (ECB, CBC) ..... | 2598 |
| 49.4.10 | CRYP AES basic chaining modes (ECB, CBC) ..... | 2601 |
| 49.4.11 | CRYP counter mode (AES-CTR) ..... | 2605 |
| 49.4.12 | CRYP AES Galois/counter mode (GCM) ..... | 2608 |
| 49.4.13 | CRYP AES Galois message authentication code (GMAC) ..... | 2613 |
| 49.4.14 | CRYP AES Counter with CBC-MAC (CCM) ..... | 2614 |
| 49.4.15 | AES key sharing with secure AES co-processor . . . . . | 2619 |
| 49.4.16 | CRYP data registers and data swapping . . . . . | 2620 |
| 49.4.17 | CRYP key registers . . . . . | 2624 |
| 49.4.18 | CRYP initialization vector registers . . . . . | 2625 |
| 49.4.19 | CRYP error management . . . . . | 2625 |
| 49.5 | CRYP interrupts . . . . . | 2626 |
| 49.6 | CRYP DMA requests . . . . . | 2627 |
| 49.7 | CRYP processing time . . . . . | 2628 |
| 49.8 | CRYP registers . . . . . | 2629 |
| 49.8.1 | CRYP control register (CRYP_CR) . . . . . | 2629 |
| 49.8.2 | CRYP status register (CRYP_SR) . . . . . | 2632 |
| 49.8.3 | CRYP data input register (CRYP_DINR) . . . . . | 2633 |
| 49.8.4 | CRYP data output register (CRYP_DOUTR) . . . . . | 2634 |
| 49.8.5 | CRYP DMA control register (CRYP_DMACR) . . . . . | 2634 |
| 49.8.6 | CRYP interrupt mask set/clear register (CRYP_IMSCR) . . . . . | 2635 |
| 49.8.7 | CRYP raw interrupt status register (CRYP_RISR) . . . . . | 2635 |
| 49.8.8 | CRYP masked interrupt status register (CRYP_MISR) . . . . . | 2636 |
| 49.8.9 | CRYP key register 0L (CRYP_K0LR) . . . . . | 2637 |
| 49.8.10 | CRYP key register 0R (CRYP_K0RR) . . . . . | 2637 |
| 49.8.11 | CRYP key register 1L (CRYP_K1LR) . . . . . | 2638 |
| 49.8.12 | CRYP key register 1R (CRYP_K1RR) . . . . . | 2638 |
| 49.8.13 | CRYP key register 2L (CRYP_K2LR) . . . . . | 2638 |
| 49.8.14 | CRYP key register 2R (CRYP_K2RR) . . . . . | 2639 |
| 49.8.15 | CRYP key register 3L (CRYP_K3LR) . . . . . | 2639 |
| 49.8.16 | CRYP key register 3R (CRYP_K3RR) . . . . . | 2640 |
| 49.8.17 | CRYP initialization vector register 0L (CRYP_IV0LR) . . . . . | 2640 |
| 49.8.18 | CRYP initialization vector register 0R (CRYP_IV0RR) . . . . . | 2640 |
| 49.8.19 | CRYP initialization vector register 1L (CRYP_IV1LR) . . . . . | 2641 |
| 49.8.20 | CRYP initialization vector register 1R (CRYP_IV1RR) . . . . . | 2641 |
| 49.8.21 | CRYP context swap GCM-CCM registers (CRYP_CSGCMCCMxR) . . . . . | 2642 |
| 49.8.22 | CRYP context swap GCM registers (CRYP_CSGCMxR) . . . . . | 2642 |
| 49.8.23 | CRYP hardware configuration register (CRYP_HWCFGR) . . . . . | 2643 |
| 49.8.24 | CRYP version register (CRYP_VERR) . . . . . | 2643 |
| 49.8.25 | CRYP identification (CRYP_IPIDR) . . . . . | 2644 |
| 49.8.26 | CRYP size identification register (CRYP_SIDR) . . . . . | 2644 |
| 49.8.27 | CRYP register map . . . . . | 2644 |
| 50 | Hash processor (HASH) ..... | 2647 |
| 50.1 | HASH introduction ..... | 2647 |
| 50.2 | HASH main features ..... | 2647 |
| 50.3 | HASH implementation ..... | 2648 |
| 50.4 | HASH functional description ..... | 2648 |
| 50.4.1 | HASH block diagram ..... | 2648 |
| 50.4.2 | HASH internal signals ..... | 2649 |
| 50.4.3 | About secure hash algorithms ..... | 2649 |
| 50.4.4 | Message data feeding ..... | 2650 |
| 50.4.5 | Message digest computing ..... | 2651 |
| 50.4.6 | Message padding ..... | 2654 |
| 50.4.7 | HMAC operation ..... | 2655 |
| 50.4.8 | HASH suspend/resume operations ..... | 2657 |
| 50.4.9 | HASH DMA interface ..... | 2659 |
| 50.4.10 | HASH error management ..... | 2660 |
| 50.4.11 | HASH processing time ..... | 2660 |
| 50.5 | HASH interrupts ..... | 2660 |
| 50.6 | HASH registers ..... | 2661 |
| 50.6.1 | HASH control register (HASH_CR) ..... | 2661 |
| 50.6.2 | HASH data input register (HASH_DIN) ..... | 2663 |
| 50.6.3 | HASH start register (HASH_STR) ..... | 2664 |
| 50.6.4 | HASH digest registers ..... | 2665 |
| 50.6.5 | HASH interrupt enable register (HASH_IMR) ..... | 2667 |
| 50.6.6 | HASH status register (HASH_SR) ..... | 2667 |
| 50.6.7 | HASH context swap registers ..... | 2669 |
| 50.6.8 | HASH hardware configuration register (HASH_HWCFGR) ..... | 2669 |
| 50.6.9 | HASH version register (HASH_VERR) ..... | 2670 |
| 50.6.10 | HASH identification register (HASH_IPIDR) ..... | 2670 |
| 50.6.11 | HASH size identification register (HASH_SIDR) ..... | 2671 |
| 50.6.12 | HASH register map ..... | 2671 |
| 51 | On-the-fly decryption engine (OTFDEC) ..... | 2673 |
| 51.1 | OTFDEC introduction ..... | 2673 |
| 51.2 | OTFDEC main features ..... | 2673 |
| 51.3 | OTFDEC functional description ..... | 2674 |
| 51.3.1 | OTFDEC block diagram ..... | 2674 |
| 51.3.2 | OTFDEC internal signals . . . . . | 2674 |
| 51.3.3 | OTFDEC on-the-fly decryption . . . . . | 2674 |
| 51.3.4 | OTFDEC usage of AES in counter mode decryption . . . . . | 2676 |
| 51.3.5 | Flow control management . . . . . | 2677 |
| 51.3.6 | OTFDEC error management . . . . . | 2677 |
| 51.4 | OTFDEC interrupts . . . . . | 2678 |
| 51.5 | OTFDEC application information . . . . . | 2678 |
| 51.5.1 | OTFDEC initialization process . . . . . | 2678 |
| 51.5.2 | OTFDEC and power management . . . . . | 2679 |
| 51.5.3 | Encrypting for OTFDEC . . . . . | 2680 |
| 51.5.4 | OTFDEC key CRC source code . . . . . | 2681 |
| 51.6 | OTFDEC registers . . . . . | 2682 |
| 51.6.1 | OTFDEC control register (OTFDEC_CR) . . . . . | 2682 |
| 51.6.2 | OTFDEC region x configuration register (OTFDEC_RxCFGR) . . . . . | 2682 |
| 51.6.3 | OTFDEC region x start address register (OTFDEC_RxSTARTADDR) . . . . . | 2684 |
| 51.6.4 | OTFDEC region x end address register (OTFDEC_RxENDADDR) . . . . . | 2684 |
| 51.6.5 | OTFDEC region x nonce register 0 (OTFDEC_RxNONCER0) . . . . . | 2685 |
| 51.6.6 | OTFDEC region x nonce register 1 (OTFDEC_RxNONCER1) . . . . . | 2685 |
| 51.6.7 | OTFDEC region x key register 0 (OTFDEC_RxKEYR0) . . . . . | 2685 |
| 51.6.8 | OTFDEC region x key register 1 (OTFDEC_RxKEYR1) . . . . . | 2686 |
| 51.6.9 | OTFDEC region x key register 2 (OTFDEC_RxKEYR2) . . . . . | 2686 |
| 51.6.10 | OTFDEC region x key register 3 (OTFDEC_RxKEYR3) . . . . . | 2687 |
| 51.6.11 | OTFDEC interrupt status register (OTFDEC_ISR) . . . . . | 2687 |
| 51.6.12 | OTFDEC interrupt clear register (OTFDEC_ICR) . . . . . | 2688 |
| 51.6.13 | OTFDEC interrupt enable register (OTFDEC_IER) . . . . . | 2689 |
| 51.6.14 | OTFDEC hardware configuration register (OTFDEC_HWCFGR) . . . . . | 2689 |
| 51.6.15 | OTFDEC version register (OTFDEC_VERR) . . . . . | 2690 |
| 51.6.16 | OTFDEC identification register (OTFDEC_IPIDR) . . . . . | 2690 |
| 51.6.17 | OTFDEC size identification register (OTFDEC_SIDR) . . . . . | 2691 |
| 51.6.18 | OTFDEC register map . . . . . | 2691 |
| 52 | Public key accelerator (PKA) . . . . . | 2695 |
| 52.1 | PKA introduction . . . . . | 2695 |
| 52.2 | PKA main features . . . . . | 2695 |
| 52.3 | PKA functional description . . . . . | 2696 |
| 52.3.1 | PKA block diagram . . . . . | 2696 |
| 52.3.2 | PKA internal signals ..... | 2696 |
| 52.3.3 | PKA reset and clocks ..... | 2696 |
| 52.3.4 | PKA public key acceleration ..... | 2697 |
| 52.3.5 | Typical applications for PKA ..... | 2699 |
| 52.3.6 | PKA procedure to perform an operation ..... | 2701 |
| 52.3.7 | PKA error management ..... | 2702 |
| 52.4 | PKA operating modes ..... | 2703 |
| 52.4.1 | Introduction ..... | 2703 |
| 52.4.2 | Montgomery parameter computation ..... | 2704 |
| 52.4.3 | Modular addition ..... | 2704 |
| 52.4.4 | Modular subtraction ..... | 2705 |
| 52.4.5 | Modular and Montgomery multiplication ..... | 2705 |
| 52.4.6 | Modular exponentiation ..... | 2706 |
| 52.4.7 | Modular inversion ..... | 2708 |
| 52.4.8 | Modular reduction ..... | 2708 |
| 52.4.9 | Arithmetic addition ..... | 2709 |
| 52.4.10 | Arithmetic subtraction ..... | 2709 |
| 52.4.11 | Arithmetic multiplication ..... | 2710 |
| 52.4.12 | Arithmetic comparison ..... | 2710 |
| 52.4.13 | RSA CRT exponentiation ..... | 2710 |
| 52.4.14 | Point on elliptic curve \(F_p\) check ..... | 2711 |
| 52.4.15 | ECC \(F_p\) scalar multiplication ..... | 2712 |
| 52.4.16 | ECDSA sign ..... | 2713 |
| 52.4.17 | ECDSA verification ..... | 2715 |
| 52.4.18 | ECC complete addition ..... | 2716 |
| 52.4.19 | ECC double base ladder ..... | 2716 |
| 52.4.20 | ECC projective to affine ..... | 2717 |
| 52.5 | Example of configurations and processing times ..... | 2718 |
| 52.5.1 | Supported elliptic curves ..... | 2718 |
| 52.5.2 | Computation times ..... | 2720 |
| 52.6 | PKA interrupts ..... | 2722 |
| 52.7 | PKA registers ..... | 2723 |
| 52.7.1 | PKA control register (PKA_CR) ..... | 2723 |
| 52.7.2 | PKA status register (PKA_SR) ..... | 2725 |
| 52.7.3 | PKA clear flag register (PKA_CLRFR) ..... | 2726 |
| 52.7.4 | PKA RAM ..... | 2726 |
| 52.7.5 | PKA hardware configuration register (PKA_HWCFGR) ..... | 2727 |
| 52.7.6 | PKA version register (PKA_VERR) ..... | 2727 |
| 52.7.7 | PKA identification register (PKA_IPIDR) ..... | 2727 |
| 52.7.8 | PKA size identification register (PKA_SIDR) ..... | 2728 |
| 52.7.9 | PKA register map ..... | 2729 |
| 53 | Advanced-control timers (TIM1/TIM8) ..... | 2730 |
| 53.1 | TIM1/TIM8 introduction ..... | 2730 |
| 53.2 | TIM1/TIM8 main features ..... | 2730 |
| 53.3 | TIM1/TIM8 functional description ..... | 2731 |
| 53.3.1 | Block diagram ..... | 2731 |
| 53.3.2 | TIM1/TIM8 pins and internal signals ..... | 2732 |
| 53.3.3 | Time-base unit ..... | 2736 |
| 53.3.4 | Counter modes ..... | 2738 |
| 53.3.5 | Repetition counter ..... | 2750 |
| 53.3.6 | External trigger input ..... | 2751 |
| 53.3.7 | Clock selection ..... | 2752 |
| 53.3.8 | Capture/compare channels ..... | 2756 |
| 53.3.9 | Input capture mode ..... | 2758 |
| 53.3.10 | PWM input mode ..... | 2759 |
| 53.3.11 | Forced output mode ..... | 2760 |
| 53.3.12 | Output compare mode ..... | 2761 |
| 53.3.13 | PWM mode ..... | 2762 |
| 53.3.14 | Asymmetric PWM mode ..... | 2770 |
| 53.3.15 | Combined PWM mode ..... | 2771 |
| 53.3.16 | Combined 3-phase PWM mode ..... | 2772 |
| 53.3.17 | Complementary outputs and dead-time insertion ..... | 2773 |
| 53.3.18 | Using the break function ..... | 2776 |
| 53.3.19 | Bidirectional break inputs ..... | 2782 |
| 53.3.20 | Clearing the tim_ocxref signal on an external event ..... | 2783 |
| 53.3.21 | 6-step PWM generation ..... | 2784 |
| 53.3.22 | One-pulse mode ..... | 2785 |
| 53.3.23 | Retriggerable One-pulse mode ..... | 2787 |
| 53.3.24 | Pulse on compare mode ..... | 2788 |
| 53.3.25 | Encoder interface mode ..... | 2790 |
| 53.3.26 | Direction bit output ..... | 2807 |
| 53.3.27 | UIF bit remapping ..... | 2808 |
| 53.3.28 | Timer input XOR function ..... | 2808 |
| 53.3.29 | Interfacing with Hall sensors ..... | 2808 |
| 53.3.30 | Timer synchronization ..... | 2810 |
| 53.3.31 | ADC triggers ..... | 2815 |
| 53.3.32 | DMA burst mode ..... | 2815 |
| 53.3.33 | TIM1/TIM8 DMA requests ..... | 2816 |
| 53.3.34 | Debug mode ..... | 2816 |
| 53.4 | TIM1/TIM8 low-power modes ..... | 2817 |
| 53.5 | TIM1/TIM8 interrupts ..... | 2817 |
| 53.6 | TIM1/TIM8 registers ..... | 2818 |
| 53.6.1 | TIMx control register 1 (TIMx_CR1)(x = 1, 8) ..... | 2818 |
| 53.6.2 | TIMx control register 2 (TIMx_CR2)(x = 1, 8) ..... | 2819 |
| 53.6.3 | TIMx slave mode control register (TIMx_SMCR)(x = 1, 8) ..... | 2823 |
| 53.6.4 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 1, 8) ..... | 2827 |
| 53.6.5 | TIMx status register (TIMx_SR)(x = 1, 8) ..... | 2828 |
| 53.6.6 | TIMx event generation register (TIMx_EGR)(x = 1, 8) ..... | 2831 |
| 53.6.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1) (x = 1, 8) ..... | 2832 |
| 53.6.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 1, 8) ..... | 2834 |
| 53.6.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2) (x = 1, 8) ..... | 2837 |
| 53.6.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 1, 8) ..... | 2838 |
| 53.6.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 1, 8) .... | 2841 |
| 53.6.12 | TIMx counter (TIMx_CNT)(x = 1, 8) ..... | 2845 |
| 53.6.13 | TIMx prescaler (TIMx_PSC)(x = 1, 8) ..... | 2845 |
| 53.6.14 | TIMx autoreload register (TIMx_ARR)(x = 1, 8) ..... | 2846 |
| 53.6.15 | TIMx repetition counter register (TIMx_RCR)(x = 1, 8) ..... | 2846 |
| 53.6.16 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 1, 8) ..... | 2847 |
| 53.6.17 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 1, 8) ..... | 2847 |
| 53.6.18 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 1, 8) ..... | 2848 |
| 53.6.19 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 1, 8) ..... | 2849 |
| 53.6.20 | TIMx break and dead-time register (TIMx_BDTR)(x = 1, 8) ..... | 2850 |
| 53.6.21 | TIMx capture/compare register 5 (TIMx_CCR5)(x = 1, 8) ..... | 2854 |
| 53.6.22 | TIMx capture/compare register 6 (TIMx_CCR6)(x = 1, 8) ..... | 2855 |
| 53.6.23 | TIMx capture/compare mode register 3 (TIMx_CCMR3) (x = 1, 8) ..... | 2856 |
| 53.6.24 | TIMx timer deadtime register 2 (TIMx_DTR2)(x = 1, 8) ..... | 2857 |
| 53.6.25 | TIMx timer encoder control register (TIMx_ECR)(x = 1, 8) | 2858 |
| 53.6.26 | TIMx timer input selection register (TIMx_TISEL)(x = 1, 8) | 2859 |
| 53.6.27 | TIMx alternate function option register 1 (TIMx_AF1)(x = 1, 8) | 2860 |
| 53.6.28 | TIMx alternate function register 2 (TIMx_AF2)(x = 1, 8) | 2863 |
| 53.6.29 | TIMx DMA control register (TIMx_DCR)(x = 1, 8) | 2865 |
| 53.6.30 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 1, 8) | 2867 |
| 53.6.31 | TIMx hardware configuration 2 register (TIMx_HWCGR2)(x = 1, 8) | 2867 |
| 53.6.32 | TIMx hardware configuration 1 register (TIMx_HWCGR1)(x = 1, 8) | 2868 |
| 53.6.33 | TIMx IP version register (TIMx_VERR)(x = 1, 8) | 2869 |
| 53.6.34 | TIMx IP identification register (TIMx_IPIDR)(x = 1, 8) | 2870 |
| 53.6.35 | TIMx size ID register (TIMx_SIDR)(x = 1, 8) | 2870 |
| 53.6.36 | TIMx register map | 2870 |
| 54 | General-purpose timers (TIM2/TIM3/TIM4/TIM5) | 2874 |
| 54.1 | TIM2/TIM3/TIM4/TIM5 introduction | 2874 |
| 54.2 | TIM2/TIM3/TIM4/TIM5 main features | 2874 |
| 54.3 | TIM2/TIM3/TIM4/TIM5 implementation | 2875 |
| 54.4 | TIM2/TIM3/TIM4/TIM5 functional description | 2876 |
| 54.4.1 | Block diagram | 2876 |
| 54.4.2 | TIM2/TIM3/TIM4/TIM5 pins and internal signals | 2877 |
| 54.4.3 | Time-base unit | 2880 |
| 54.4.4 | Counter modes | 2882 |
| 54.4.5 | Clock selection | 2894 |
| 54.4.6 | Capture/compare channels | 2898 |
| 54.4.7 | Input capture mode | 2900 |
| 54.4.8 | PWM input mode | 2901 |
| 54.4.9 | Forced output mode | 2902 |
| 54.4.10 | Output compare mode | 2902 |
| 54.4.11 | PWM mode | 2904 |
| 54.4.12 | Asymmetric PWM mode | 2912 |
| 54.4.13 | Combined PWM mode | 2913 |
| 54.4.14 | Clearing the tim_ocxref signal on an external event | 2914 |
| 54.4.15 | One-pulse mode | 2916 |
| 54.4.16 | Retriggerable one-pulse mode | 2917 |
| 54.4.17 | Pulse on compare mode | 2918 |
| 54.4.18 | Encoder interface mode ..... | 2920 |
| 54.4.19 | Direction bit output ..... | 2938 |
| 54.4.20 | UIF bit remapping ..... | 2939 |
| 54.4.21 | Timer input XOR function ..... | 2939 |
| 54.4.22 | Timers and external trigger synchronization ..... | 2939 |
| 54.4.23 | Timer synchronization ..... | 2943 |
| 54.4.24 | ADC triggers ..... | 2948 |
| 54.4.25 | DMA burst mode ..... | 2949 |
| 54.4.26 | TIM2/TIM3/TIM4/TIM5 DMA requests ..... | 2950 |
| 54.4.27 | Debug mode ..... | 2950 |
| 54.4.28 | TIM2/TIM3/TIM4/TIM5 low-power modes ..... | 2950 |
| 54.4.29 | TIM2/TIM3/TIM4/TIM5 interrupts ..... | 2951 |
| 54.5 | TIM2/TIM3/TIM4/TIM5 registers ..... | 2952 |
| 54.5.1 | TIMx control register 1 (TIMx_CR1)(x = 2 to 5) ..... | 2952 |
| 54.5.2 | TIMx control register 2 (TIMx_CR2)(x = 2 to 5) ..... | 2953 |
| 54.5.3 | TIMx slave mode control register (TIMx_SMCR)(x = 2 to 5) ..... | 2955 |
| 54.5.4 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 2 to 5) ..... | 2959 |
| 54.5.5 | TIMx status register (TIMx_SR)(x = 2 to 5) ..... | 2960 |
| 54.5.6 | TIMx event generation register (TIMx_EGR)(x = 2 to 5) ..... | 2962 |
| 54.5.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 2 to 5) .. | 2963 |
| 54.5.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 2 to 5) ..... | 2965 |
| 54.5.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2)(x = 2 to 5) .. | 2967 |
| 54.5.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 2 to 5) ..... | 2968 |
| 54.5.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 2 to 5) ... | 2971 |
| 54.5.12 | TIMx counter (TIMx_CNT)(x = 2 to 5) ..... | 2973 |
| 54.5.13 | TIMx prescaler (TIMx_PSC)(x = 2 to 5) ..... | 2973 |
| 54.5.14 | TIMx autoreload register (TIMx_ARR)(x = 2 to 5) ..... | 2974 |
| 54.5.15 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 2 to 5) ..... | 2974 |
| 54.5.16 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 2 to 5) ..... | 2975 |
| 54.5.17 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 2 to 5) ..... | 2976 |
| 54.5.18 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 2 to 5) ..... | 2977 |
| 54.5.19 | TIMx timer encoder control register (TIMx_ECR)(x = 2 to 5) ..... | 2978 |
| 54.5.20 | TIMx timer input selection register (TIMx_TISEL)(x = 2 to 5) ..... | 2979 |
| 54.5.21 | TIMx alternate function register 1 (TIMx_AF1)(x = 2 to 5) ..... | 2980 |
| 54.5.22 | TIMx alternate function register 2 (TIMx_AF2)(x = 2 to 5) ..... | 2981 |
| 54.5.23 | TIMx DMA control register (TIMx_DCR)(x = 2 to 5) | 2982 |
| 54.5.24 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 2 to 5) | 2983 |
| 54.5.25 | TIMx hardware configuration 2 register (TIMx_HWCFG2)(x = 2 to 5) | 2984 |
| 54.5.26 | TIMx hardware configuration 1 register (TIMx_HWCFG1)(x = 2 to 5) | 2985 |
| 54.5.27 | TIMx IP version register (TIMx_VERR)(x = 2 to 5) | 2986 |
| 54.5.28 | TIMx IP identification register (TIMx_IPIDR)(x = 2 to 5) | 2987 |
| 54.5.29 | TIMx size ID register (TIMx_SIDR)(x = 2 to 5) | 2987 |
| 54.5.30 | TIMx register map | 2987 |
| 55 | Basic timers (TIM6/TIM7) | 2990 |
| 55.1 | TIM6/TIM7 introduction | 2990 |
| 55.2 | TIM6/TIM7 main features | 2990 |
| 55.3 | TIM6/TIM7 functional description | 2991 |
| 55.3.1 | TIM6/TIM7 block diagram | 2991 |
| 55.3.2 | TIM6/TIM7 internal signals | 2991 |
| 55.3.3 | TIM6/TIM7 clocks | 2992 |
| 55.3.4 | Time-base unit | 2992 |
| 55.3.5 | Counting mode | 2994 |
| 55.3.6 | UIF bit remapping | 3001 |
| 55.3.7 | ADC triggers | 3002 |
| 55.3.8 | TIM6/TIM7 DMA requests | 3002 |
| 55.3.9 | Debug mode | 3002 |
| 55.3.10 | TIM6/TIM7 low-power modes | 3002 |
| 55.3.11 | TIM6/TIM7 interrupts | 3002 |
| 55.4 | TIM6/TIM7 registers | 3003 |
| 55.4.1 | TIMx control register 1 (TIMx_CR1)(x = 6 to 7) | 3003 |
| 55.4.2 | TIMx control register 2 (TIMx_CR2)(x = 6 to 7) | 3005 |
| 55.4.3 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 6 to 7) | 3005 |
| 55.4.4 | TIMx status register (TIMx_SR)(x = 6 to 7) | 3006 |
| 55.4.5 | TIMx event generation register (TIMx_EGR)(x = 6 to 7) | 3006 |
| 55.4.6 | TIMx counter (TIMx_CNT)(x = 6 to 7) | 3006 |
| 55.4.7 | TIMx prescaler (TIMx_PSC)(x = 6 to 7) | 3007 |
| 55.4.8 | TIMx autoreload register (TIMx_ARR)(x = 6 to 7) | 3007 |
| 55.4.9 | TIMx hardware configuration 2 register (TIMx_HWCFG2)(x = 6 to 7) | 3008 |
| 55.4.10 | TIMx hardware configuration 1 register (TIMx_HWCFGR1)(x = 6 to 7) . . . . . | 3008 |
| 55.4.11 | TIMx IP version register (TIMx_VERR)(x = 6 to 7) . . . . . | 3010 |
| 55.4.12 | TIMx IP identification register (TIMx_IPIDR)(x = 6 to 7) . . . . . | 3010 |
| 55.4.13 | TIMx size ID register (TIMx_SIDR)(x = 6 to 7) . . . . . | 3010 |
| 55.4.14 | TIMx register map . . . . . | 3012 |
| 56 | General-purpose timers (TIM10/TIM11/TIM12/TIM13/TIM14) . . . . . | 3014 |
| 56.1 | TIM10/TIM11/TIM12/TIM13/TIM14 introduction . . . . . | 3014 |
| 56.2 | TIM12 main features . . . . . | 3014 |
| 56.3 | TIM10/TIM11/TIM13/TIM14 main features . . . . . | 3015 |
| 56.4 | TIM10/TIM11/TIM12/TIM13/TIM14 functional description . . . . . | 3016 |
| 56.4.1 | Block diagram . . . . . | 3016 |
| 56.4.2 | TIM10/TIM11/TIM12/TIM13/TIM14 pins and internal signals . . . . . | 3017 |
| 56.4.3 | Time-base unit . . . . . | 3019 |
| 56.4.4 | Counter modes . . . . . | 3021 |
| 56.4.5 | Clock selection . . . . . | 3024 |
| 56.4.6 | Capture/compare channels . . . . . | 3026 |
| 56.4.7 | Input capture mode . . . . . | 3028 |
| 56.4.8 | PWM input mode (TIM12 only) . . . . . | 3029 |
| 56.4.9 | Forced output mode . . . . . | 3030 |
| 56.4.10 | Output compare mode . . . . . | 3031 |
| 56.4.11 | PWM mode . . . . . | 3032 |
| 56.4.12 | Combined PWM mode (TIM12 only) . . . . . | 3037 |
| 56.4.13 | One-pulse mode . . . . . | 3038 |
| 56.4.14 | Retriggerable one pulse mode (TIM12 only) . . . . . | 3040 |
| 56.4.15 | UIF bit remapping . . . . . | 3041 |
| 56.4.16 | Timer input XOR function . . . . . | 3041 |
| 56.4.17 | TIM12 external trigger synchronization . . . . . | 3041 |
| 56.4.18 | Slave mode – combined reset + trigger mode . . . . . | 3044 |
| 56.4.19 | Slave mode – combined reset + gated mode . . . . . | 3044 |
| 56.4.20 | Timer synchronization (TIM12 only) . . . . . | 3044 |
| 56.4.21 | Using timer output as trigger for other timers (TIM10/TIM11/TIM13/TIM14 only) . . . . . | 3044 |
| 56.4.22 | ADC triggers (TIM12 only) . . . . . | 3044 |
| 56.4.23 | Debug mode . . . . . | 3044 |
| 56.5 | TIM10/TIM11/TIM12/TIM13/TIM14 low-power modes . . . . . | 3045 |
| 56.6 | TIM10/TIM11/TIM12/TIM13/TIM14 interrupts ..... | 3045 |
| 56.7 | TIM12 registers ..... | 3045 |
| 56.7.1 | TIM12 control register 1 (TIM12_CR1) ..... | 3045 |
| 56.7.2 | TIM12 control register 2 (TIM12_CR2) ..... | 3047 |
| 56.7.3 | TIM12 slave mode control register (TIM12_SMCR) ..... | 3047 |
| 56.7.4 | TIM12 interrupt enable register (TIM12_DIER) ..... | 3049 |
| 56.7.5 | TIM12 status register (TIM12_SR) ..... | 3050 |
| 56.7.6 | TIM12 event generation register (TIM12_EGR) ..... | 3051 |
| 56.7.7 | TIM12 capture/compare mode register 1 (TIM12_CCMR1) ..... | 3052 |
| 56.7.8 | TIM12 capture/compare mode register 1 [alternate] (TIM12_CCMR1) ..... | 3053 |
| 56.7.9 | TIM12 capture/compare enable register (TIM12_CCER) ..... | 3056 |
| 56.7.10 | TIM12 counter (TIM12_CNT) ..... | 3057 |
| 56.7.11 | TIM12 prescaler (TIM12_PSC) ..... | 3058 |
| 56.7.12 | TIM12 autoreload register (TIM12_ARR) ..... | 3058 |
| 56.7.13 | TIM12 capture/compare register 1 (TIM12_CCR1) ..... | 3059 |
| 56.7.14 | TIM12 capture/compare register 2 (TIM12_CCR2) ..... | 3059 |
| 56.7.15 | TIM12 timer input selection register (TIM12_TISEL) ..... | 3060 |
| 56.7.16 | TIM12 hardware configuration 2 register (TIM12_HWCFGR2) ..... | 3061 |
| 56.7.17 | TIM12 hardware configuration 1 register (TIM12_HWCFGR1) ..... | 3061 |
| 56.7.18 | TIM12 IP version register (TIM12_VERR) ..... | 3063 |
| 56.7.19 | TIM12 IP identification register (TIM12_IPIDR) ..... | 3063 |
| 56.7.20 | TIM12 size ID register (TIM12_SIDR) ..... | 3063 |
| 56.7.21 | TIM12 register map ..... | 3065 |
| 56.8 | TIM10/TIM11/TIM13/TIM14 registers ..... | 3067 |
| 56.8.1 | TIMx control register 1 (TIMx_CR1)(x = 10, 11, 13, 14) ..... | 3067 |
| 56.8.2 | TIMx interrupt enable register (TIMx_DIER)(x = 10, 11, 13, 14) .... | 3068 |
| 56.8.3 | TIMx status register (TIMx_SR)(x = 10, 11, 13, 14) ..... | 3068 |
| 56.8.4 | TIMx event generation register (TIMx_EGR)(x = 10, 11, 13, 14) .... | 3069 |
| 56.8.5 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 10, 11, 13, 14) ..... | 3070 |
| 56.8.6 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 10, 11, 13, 14) ..... | 3071 |
| 56.8.7 | TIMx capture/compare enable register (TIMx_CCER)(x = 10, 11, 13, 14) ..... | 3073 |
| 56.8.8 | TIMx counter (TIMx_CNT)(x = 10, 11, 13, 14) ..... | 3074 |
| 56.8.9 | TIMx prescaler (TIMx_PSC)(x = 10, 11, 13, 14) ..... | 3075 |
| 56.8.10 | TIMx autoreload register (TIMx_ARR)(x = 10, 11, 13, 14) ..... | 3075 |
| 56.8.11 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 10, 11, 13, 14) | 3076 |
| 56.8.12 | TIMx timer input selection register (TIMx_TISEL)(x = 10, 11, 13, 14) | 3076 |
| 56.8.13 | TIMx hardware configuration 2 register (TIMx_HWCFGR2) (x = 10, 11, 13, 14) | 3077 |
| 56.8.14 | TIMx hardware configuration 1 register (TIMx_HWCFGR1) (x = 10, 11, 13, 14) | 3078 |
| 56.8.15 | TIMx IP version register (TIMx_VERR)(x = 10, 11, 13, 14) | 3079 |
| 56.8.16 | TIMx IP identification register (TIMx_IPIDR)(x = 10, 11, 13, 14) | 3080 |
| 56.8.17 | TIMx size ID register (TIMx_SIDR)(x = 10, 11, 13, 14) | 3080 |
| 56.8.18 | TIM10/TIM11/TIM13/TIM14 register map | 3081 |
| 57 | General purpose timers (TIM15/TIM16/TIM17) | 3083 |
| 57.1 | TIM15/TIM16/TIM17 introduction | 3083 |
| 57.2 | TIM15 main features | 3083 |
| 57.3 | TIM16/TIM17 main features | 3084 |
| 57.4 | TIM15/TIM16/TIM17 functional description | 3085 |
| 57.4.1 | Block diagram | 3085 |
| 57.4.2 | TIM15/TIM16/TIM17 pins and internal signals | 3086 |
| 57.4.3 | Time-base unit | 3089 |
| 57.4.4 | Counter modes | 3091 |
| 57.4.5 | Repetition counter | 3095 |
| 57.4.6 | Clock selection | 3096 |
| 57.4.7 | Capture/compare channels | 3098 |
| 57.4.8 | Input capture mode | 3100 |
| 57.4.9 | PWM input mode (only for TIM15) | 3102 |
| 57.4.10 | Forced output mode | 3103 |
| 57.4.11 | Output compare mode | 3103 |
| 57.4.12 | PWM mode | 3105 |
| 57.4.13 | Combined PWM mode (TIM15 only) | 3110 |
| 57.4.14 | Complementary outputs and dead-time insertion | 3111 |
| 57.4.15 | Using the break function | 3114 |
| 57.4.16 | Bidirectional break input | 3118 |
| 57.4.17 | Clearing the tim_ocxref signal on an external event | 3119 |
| 57.4.18 | 6-step PWM generation | 3120 |
| 57.4.19 | One-pulse mode | 3122 |
| 57.4.20 | Retriggerable one pulse mode (TIM15 only) | 3123 |
| 57.4.21 | UIF bit remapping | 3124 |
| 57.4.22 | Timer input XOR function (TIM15 only) | 3124 |
| 57.4.23 | External trigger synchronization (TIM15 only) | 3124 |
| 57.4.24 | Slave mode – combined reset + trigger mode (TIM15 only) | 3127 |
| 57.4.25 | Slave mode – combined reset + gated mode (TIM15 only) | 3127 |
| 57.4.26 | Timer synchronization (TIM15 only) | 3128 |
| 57.4.27 | Using timer output as trigger for other timers (TIM16/TIM17 only) | 3128 |
| 57.4.28 | ADC triggers (TIM15 only) | 3128 |
| 57.4.29 | DMA burst mode | 3128 |
| 57.4.30 | TIM15/TIM16/TIM17 DMA requests | 3129 |
| 57.4.31 | Debug mode | 3130 |
| 57.5 | TIM15/TIM16/TIM17 low-power modes | 3130 |
| 57.6 | TIM15/TIM16/TIM17 interrupts | 3130 |
| 57.7 | TIM15 registers | 3130 |
| 57.7.1 | TIM15 control register 1 (TIM15_CR1) | 3131 |
| 57.7.2 | TIM15 control register 2 (TIM15_CR2) | 3132 |
| 57.7.3 | TIM15 slave mode control register (TIM15_SMCR) | 3134 |
| 57.7.4 | TIM15 DMA/interrupt enable register (TIM15_DIER) | 3136 |
| 57.7.5 | TIM15 status register (TIM15_SR) | 3137 |
| 57.7.6 | TIM15 event generation register (TIM15_EGR) | 3139 |
| 57.7.7 | TIM15 capture/compare mode register 1 (TIM15_CCMR1) | 3140 |
| 57.7.8 | TIM15 capture/compare mode register 1 [alternate] (TIM15_CCMR1) | 3142 |
| 57.7.9 | TIM15 capture/compare enable register (TIM15_CCER) | 3144 |
| 57.7.10 | TIM15 counter (TIM15_CNT) | 3147 |
| 57.7.11 | TIM15 prescaler (TIM15_PSC) | 3147 |
| 57.7.12 | TIM15 autoreload register (TIM15_ARR) | 3148 |
| 57.7.13 | TIM15 repetition counter register (TIM15_RCR) | 3148 |
| 57.7.14 | TIM15 capture/compare register 1 (TIM15_CCR1) | 3149 |
| 57.7.15 | TIM15 capture/compare register 2 (TIM15_CCR2) | 3150 |
| 57.7.16 | TIM15 break and dead-time register (TIM15_BDTR) | 3150 |
| 57.7.17 | TIM15 timer deadtime register 2 (TIM15_DTR2) | 3153 |
| 57.7.18 | TIM15 input selection register (TIM15_TISEL) | 3154 |
| 57.7.19 | TIM15 alternate function register 1 (TIM15_AF1) | 3155 |
| 57.7.20 | TIM15 alternate function register 2 (TIM15_AF2) | 3157 |
| 57.7.21 | TIM15 DMA control register (TIM15_DCR) | 3158 |
| 57.7.22 | TIM15 DMA address for full transfer (TIM15_DMAR) | 3159 |
| 57.7.23 | TIM15 hardware configuration 2 register (TIM15_HWCFGR2) | 3159 |
| 57.7.24 | TIM15 hardware configuration 1 register (TIM15_HWCFGR1) . . . . . | 3160 |
| 57.7.25 | TIM15 IP version register (TIM15_VERR) . . . . . | 3161 |
| 57.7.26 | TIM15 IP identification register (TIM15_IPIDR) . . . . . | 3162 |
| 57.7.27 | TIM15 size ID register (TIM15_SIDR) . . . . . | 3162 |
| 57.7.28 | TIM15 register map . . . . . | 3162 |
| 57.8 | TIM16/TIM17 registers . . . . . | 3166 |
| 57.8.1 | TIMx control register 1 (TIMx_CR1)(x = 16 to 17) . . . . . | 3166 |
| 57.8.2 | TIMx control register 2 (TIMx_CR2)(x = 16 to 17) . . . . . | 3167 |
| 57.8.3 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 16 to 17) . . . . . | 3168 |
| 57.8.4 | TIMx status register (TIMx_SR)(x = 16 to 17) . . . . . | 3169 |
| 57.8.5 | TIMx event generation register (TIMx_EGR)(x = 16 to 17) . . . . . | 3170 |
| 57.8.6 | TIMx capture/compare mode register 1 (TIMx_CCMR1) (x = 16 to 17) . . . . . | 3171 |
| 57.8.7 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 16 to 17) . . . . . | 3172 |
| 57.8.8 | TIMx capture/compare enable register (TIMx_CCER)(x = 16 to 17) . . . . . | 3174 |
| 57.8.9 | TIMx counter (TIMx_CNT)(x = 16 to 17) . . . . . | 3177 |
| 57.8.10 | TIMx prescaler (TIMx_PSC)(x = 16 to 17) . . . . . | 3177 |
| 57.8.11 | TIMx auto-reload register (TIMx_ARR)(x = 16 to 17) . . . . . | 3178 |
| 57.8.12 | TIMx repetition counter register (TIMx_RCR)(x = 16 to 17) . . . . . | 3178 |
| 57.8.13 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 16 to 17) . . . . . | 3179 |
| 57.8.14 | TIMx break and dead-time register (TIMx_BDTR)(x = 16 to 17) . . . . . | 3180 |
| 57.8.15 | TIMx timer deadtime register 2 (TIMx_DTR2)(x = 16 to 17) . . . . . | 3183 |
| 57.8.16 | TIMx input selection register (TIMx_TISEL)(x = 16 to 17) . . . . . | 3184 |
| 57.8.17 | TIMx alternate function register 1 (TIMx_AF1)(x = 16 to 17) . . . . . | 3184 |
| 57.8.18 | TIMx alternate function register 2 (TIMx_AF2)(x = 16 to 17) . . . . . | 3187 |
| 57.8.19 | TIMx DMA control register (TIMx_DCR)(x = 16 to 17) . . . . . | 3187 |
| 57.8.20 | TIM16/TIM17 DMA address for full transfer (TIMx_DMAR)(x = 16 to 17) . . . . . | 3188 |
| 57.8.21 | TIMx hardware configuration 2 register (TIMx_HWCFGR2) (x = 16 to 17) . . . . . | 3189 |
| 57.8.22 | TIMx hardware configuration 1 register (TIMx_HWCFGR1) (x = 16 to 17) . . . . . | 3190 |
| 57.8.23 | TIMx IP version register (TIMx_VERR)(x = 16 to 17) . . . . . | 3191 |
| 57.8.24 | TIMx IP identification register (TIMx_IPIDR)(x = 16 to 17) . . . . . | 3192 |
| 57.8.25 | TIMx size ID register (TIMx_SIDR)(x = 16 to 17) . . . . . | 3192 |
| 57.8.26 | TIM16/TIM17 register map . . . . . | 3193 |
| 58 | Low-power timer (LPTIM) . . . . . | 3196 |
| 58.1 | LPTIM introduction . . . . . | 3196 |
| 58.2 | LPTIM main features . . . . . | 3196 |
| 58.3 | LPTIM implementation . . . . . | 3197 |
| 58.4 | LPTIM functional description . . . . . | 3198 |
| 58.4.1 | LPTIM block diagram . . . . . | 3198 |
| 58.4.2 | LPTIM pins and internal signals . . . . . | 3199 |
| 58.4.3 | LPTIM input and trigger mapping . . . . . | 3201 |
| 58.4.4 | LPTIM reset and clocks . . . . . | 3202 |
| 58.4.5 | Glitch filter . . . . . | 3202 |
| 58.4.6 | Prescaler . . . . . | 3203 |
| 58.4.7 | Trigger multiplexer . . . . . | 3203 |
| 58.4.8 | Operating mode . . . . . | 3204 |
| 58.4.9 | Timeout function . . . . . | 3206 |
| 58.4.10 | Waveform generation . . . . . | 3206 |
| 58.4.11 | Register update . . . . . | 3207 |
| 58.4.12 | Counter mode . . . . . | 3208 |
| 58.4.13 | Timer enable . . . . . | 3209 |
| 58.4.14 | Timer counter reset . . . . . | 3209 |
| 58.4.15 | Encoder mode . . . . . | 3210 |
| 58.4.16 | Repetition counter . . . . . | 3211 |
| 58.4.17 | Capture/compare channels . . . . . | 3212 |
| 58.4.18 | Input capture mode . . . . . | 3213 |
| 58.4.19 | PWM mode . . . . . | 3215 |
| 58.4.20 | Autonomous mode . . . . . | 3217 |
| 58.4.21 | DMA requests . . . . . | 3218 |
| 58.4.22 | Debug mode . . . . . | 3219 |
| 58.5 | LPTIM low-power modes . . . . . | 3219 |
| 58.6 | LPTIM interrupts . . . . . | 3219 |
| 58.7 | LPTIM registers . . . . . | 3220 |
| 58.7.1 | LPTIM5 interrupt and status register (LPTIM5_ISR) . . . . . | 3221 |
| 58.7.2 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 4) . . . . . | 3222 |
| 58.7.3 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 4) . . . . . | 3224 |
| 58.7.4 | LPTIM5 interrupt clear register (LPTIM5_ICR) . . . . . | 3226 |
| 58.7.5 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 4) . . . . . | 3227 |
| 58.7.6 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 4) . . . . . | 3228 |
| 58.7.7 | LPTIM5 interrupt enable register (LPTIM5_DIER) . . . . . | 3229 |
| 58.7.8 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 4) . . . . . | 3231 |
| 58.7.9 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 4) . . . . . | 3232 |
| 58.7.10 | LPTIM configuration register (LPTIM_CFGR) . . . . . | 3234 |
| 58.7.11 | LPTIM control register (LPTIM_CR) . . . . . | 3237 |
| 58.7.12 | LPTIM compare register 1 (LPTIM_CCR1) . . . . . | 3238 |
| 58.7.13 | LPTIM autoreload register (LPTIM_ARR) . . . . . | 3239 |
| 58.7.14 | LPTIM counter register (LPTIM_CNT) . . . . . | 3239 |
| 58.7.15 | LPTIM1 option register (LPTIM1_OR) . . . . . | 3240 |
| 58.7.16 | LPTIM configuration register 2 (LPTIM_CFGR2) . . . . . | 3240 |
| 58.7.17 | LPTIM repetition register (LPTIM_RCR) . . . . . | 3241 |
| 58.7.18 | LPTIM capture/compare mode register 1 (LPTIM_CCMR1) . . . . . | 3242 |
| 58.7.19 | LPTIM compare register 2 (LPTIM_CCR2) . . . . . | 3244 |
| 58.7.20 | LPTIM peripheral hardware configuration register 2 (LPTIM_HWCFGR2) . . . . . | 3245 |
| 58.7.21 | LPTIM peripheral hardware configuration register 1 (LPTIM_HWCFGR1) . . . . . | 3246 |
| 58.7.22 | LPTIM peripheral version identification register (LPTIM_VERR) . . . . . | 3246 |
| 58.7.23 | LPTIM peripheral type identification register (LPTIM_PIDR) . . . . . | 3247 |
| 58.7.24 | LPTIM registers map size identification register (LPTIM_SIDR) . . . . . | 3247 |
| 58.7.25 | LPTIM register map . . . . . | 3247 |
| 59 | System timer generator (STGEN) . . . . . | 3251 |
| 59.1 | STGEN introduction . . . . . | 3251 |
| 59.2 | STGEN main features . . . . . | 3251 |
| 59.3 | STGEN functional description . . . . . | 3251 |
| 59.3.1 | STGEN block diagram . . . . . | 3252 |
| 59.4 | STGEN registers . . . . . | 3253 |
| 59.4.1 | STGENC control register (STGENC_CNTCR) . . . . . | 3253 |
| 59.4.2 | STGENC status register (STGENC_CNTSR) . . . . . | 3253 |
| 59.4.3 | STGENC value lower register (STGENC_CNTCVL) . . . . . | 3254 |
| 59.4.4 | STGENC value upper register (STGENC_CNTCVU) . . . . . | 3254 |
| 59.4.5 | STGENC base frequency register (STGENC_CNTFID0) ..... | 3255 |
| 59.4.6 | STGENC peripheral ID4 register (STGENC_PIDR4) ..... | 3255 |
| 59.4.7 | STGENC peripheral ID5 register (STGENC_PIDR5) ..... | 3256 |
| 59.4.8 | STGENC peripheral ID6 register (STGENC_PIDR6) ..... | 3256 |
| 59.4.9 | STGENC peripheral ID7 register (STGENC_PIDR7) ..... | 3256 |
| 59.4.10 | STGENC peripheral ID0 register (STGENC_PIDR0) ..... | 3257 |
| 59.4.11 | STGENC peripheral ID1 register (STGENC_PIDR1) ..... | 3257 |
| 59.4.12 | STGENC peripheral ID2 register (STGENC_PIDR2) ..... | 3257 |
| 59.4.13 | STGENC peripheral ID3 register (STGENC_PIDR3) ..... | 3258 |
| 59.4.14 | STGENC component ID0 register (STGENC_CIDR0) ..... | 3258 |
| 59.4.15 | STGENC component ID1 register (STGENC_CIDR1) ..... | 3259 |
| 59.4.16 | STGENC component ID2 register (STGENC_CIDR2) ..... | 3259 |
| 59.4.17 | STGENC component ID3 register (STGENC_CIDR3) ..... | 3260 |
| 59.4.18 | STGENR value lower register (STGENR_CNTCVL) ..... | 3260 |
| 59.4.19 | STGENR value upper register (STGENR_CNTCVU) ..... | 3260 |
| 59.4.20 | STGENR peripheral ID4 register (STGENR_PIDR4) ..... | 3261 |
| 59.4.21 | STGENR peripheral ID5 register (STGENR_PIDR5) ..... | 3261 |
| 59.4.22 | STGENR peripheral ID6 register (STGENR_PIDR6) ..... | 3261 |
| 59.4.23 | STGENR peripheral ID7 register (STGENR_PIDR7) ..... | 3262 |
| 59.4.24 | STGENR peripheral ID0 register (STGENR_PIDR0) ..... | 3262 |
| 59.4.25 | STGENR peripheral ID1 register (STGENR_PIDR1) ..... | 3262 |
| 59.4.26 | STGENR peripheral ID2 register (STGENR_PIDR2) ..... | 3263 |
| 59.4.27 | STGENR peripheral ID3 register (STGENR_PIDR3) ..... | 3263 |
| 59.4.28 | STGENR component ID0 register (STGENR_CIDR0) ..... | 3264 |
| 59.4.29 | STGENR component ID1 register (STGENR_CIDR1) ..... | 3264 |
| 59.4.30 | STGENR component ID2 register (STGENR_CIDR2) ..... | 3264 |
| 59.4.31 | STGENR component ID3 register (STGENR_CIDR3) ..... | 3265 |
| 59.4.32 | STGEN register map ..... | 3265 |
| 60 | Watchdog overview ..... | 3268 |
| 60.1 | Watchdog main features ..... | 3268 |
| 60.2 | Watchdog functional description ..... | 3268 |
| 61 | Independent watchdog (IWDG) ..... | 3270 |
| 61.1 | IWDG introduction ..... | 3270 |
| 61.2 | IWDG main features ..... | 3270 |
| 61.3 | IWDG implementation ..... | 3270 |
| 61.4 | IWDG functional description | 3271 |
| 61.4.1 | IWDG block diagram | 3271 |
| 61.4.2 | IWDG internal signals | 3272 |
| 61.4.3 | Software and hardware watchdog modes | 3272 |
| 61.4.4 | Window option | 3273 |
| 61.4.5 | Debug | 3276 |
| 61.4.6 | Register access protection | 3276 |
| 61.5 | IWDG low power modes | 3277 |
| 61.6 | IWDG interrupts | 3277 |
| 61.7 | IWDG registers | 3279 |
| 61.7.1 | IWDG key register (IWDG_KR) | 3280 |
| 61.7.2 | IWDG prescaler register (IWDG_PR) | 3280 |
| 61.7.3 | IWDG reload register (IWDG_RLR) | 3281 |
| 61.7.4 | IWDG status register (IWDG_SR) | 3281 |
| 61.7.5 | IWDG window register (IWDG_WINR) | 3283 |
| 61.7.6 | IWDG early wake-up interrupt register (IWDG_EWCR) | 3283 |
| 61.7.7 | IWDG interrupt clear register (IWDG_ICR) | 3284 |
| 61.7.8 | IWDG hardware configuration register (IWDG_HWCFGR) | 3284 |
| 61.7.9 | IWDG version register (IWDG_VERR) | 3285 |
| 61.7.10 | IWDG identification register (IWDG_IDR) | 3286 |
| 61.7.11 | IWDG size identification register (IWDG_SIDR) | 3286 |
| 61.7.12 | IWDG register map | 3287 |
| 62 | System window watchdog (WWDG) | 3288 |
| 62.1 | WWDG introduction | 3288 |
| 62.2 | WWDG main features | 3288 |
| 62.3 | WWDG implementation | 3288 |
| 62.4 | WWDG functional description | 3289 |
| 62.4.1 | WWDG block diagram | 3289 |
| 62.4.2 | WWDG internal signals | 3289 |
| 62.4.3 | Enabling the watchdog | 3290 |
| 62.4.4 | Controlling the down-counter | 3290 |
| 62.4.5 | How to program the watchdog timeout | 3290 |
| 62.4.6 | Debug mode | 3291 |
| 62.5 | WWDG interrupts | 3292 |
| 62.6 | WWDG registers | 3292 |
| 62.6.1 | WWDG control register (WWDG_CR) ..... | 3292 |
| 62.6.2 | WWDG configuration register (WWDG_CFR) ..... | 3293 |
| 62.6.3 | WWDG status register (WWDG_SR) ..... | 3293 |
| 62.6.4 | WWDG hardware configuration register (WWDG_HWCFGR) ..... | 3294 |
| 62.6.5 | WWDG version register (WWDG_VERR) ..... | 3294 |
| 62.6.6 | WWDG identification register (WWDG_IPIDR) ..... | 3294 |
| 62.6.7 | WWDG size identification register (WWDG_SIDR) ..... | 3295 |
| 62.6.8 | WWDG register map ..... | 3295 |
| 63 | Real-time clock (RTC) ..... | 3296 |
| 63.1 | RTC introduction ..... | 3296 |
| 63.2 | RTC main features ..... | 3296 |
| 63.3 | RTC functional description ..... | 3297 |
| 63.3.1 | RTC block diagram ..... | 3297 |
| 63.3.2 | RTC pins and internal signals ..... | 3299 |
| 63.3.3 | GPIOs controlled by the RTC and TAMP ..... | 3300 |
| 63.3.4 | RTC secure protection modes ..... | 3304 |
| 63.3.5 | RTC privilege protection modes ..... | 3306 |
| 63.3.6 | RTC compartment-based isolation ..... | 3307 |
| 63.3.7 | Clock and prescalers ..... | 3309 |
| 63.3.8 | Real-time clock and calendar ..... | 3310 |
| 63.3.9 | Calendar ultra-low power mode ..... | 3310 |
| 63.3.10 | Programmable alarms ..... | 3311 |
| 63.3.11 | Periodic auto-wake-up ..... | 3311 |
| 63.3.12 | RTC initialization and configuration ..... | 3312 |
| 63.3.13 | Reading the calendar ..... | 3315 |
| 63.3.14 | Resetting the RTC ..... | 3316 |
| 63.3.15 | RTC synchronization ..... | 3316 |
| 63.3.16 | RTC reference clock detection ..... | 3316 |
| 63.3.17 | RTC smooth digital calibration ..... | 3317 |
| 63.3.18 | Timestamp function ..... | 3319 |
| 63.3.19 | Calibration clock output ..... | 3320 |
| 63.3.20 | Tamper and alarm output ..... | 3321 |
| 63.4 | RTC low-power modes ..... | 3321 |
| 63.5 | RTC interrupts ..... | 3322 |
| 63.6 | RTC registers ..... | 3324 |
| 63.6.1 | RTC time register (RTC_TR) | 3324 |
| 63.6.2 | RTC date register (RTC_DR) | 3325 |
| 63.6.3 | RTC subsecond register (RTC_SSR) | 3326 |
| 63.6.4 | RTC initialization control and status register (RTC_ICSR) | 3327 |
| 63.6.5 | RTC prescaler register (RTC_PRER) | 3329 |
| 63.6.6 | RTC wake-up timer register (RTC_WUTR) | 3330 |
| 63.6.7 | RTC control register (RTC_CR) | 3330 |
| 63.6.8 | RTC privilege mode control register (RTC_PRIVCFGR) | 3334 |
| 63.6.9 | RTC secure configuration register (RTC_SECCFGR) | 3336 |
| 63.6.10 | RTC write protection register (RTC_WPR) | 3338 |
| 63.6.11 | RTC calibration register (RTC_CALR) | 3338 |
| 63.6.12 | RTC shift control register (RTC_SHIFTR) | 3340 |
| 63.6.13 | RTC timestamp time register (RTC_TSTR) | 3341 |
| 63.6.14 | RTC timestamp date register (RTC_TSDR) | 3342 |
| 63.6.15 | RTC timestamp subsecond register (RTC_TSSSR) | 3343 |
| 63.6.16 | RTC alarm A register (RTC_ALRMAR) | 3343 |
| 63.6.17 | RTC alarm A subsecond register (RTC_ALRMASSR) | 3345 |
| 63.6.18 | RTC alarm B register (RTC_ALRMBR) | 3346 |
| 63.6.19 | RTC alarm B subsecond register (RTC_ALRMBSSR) | 3347 |
| 63.6.20 | RTC status register (RTC_SR) | 3348 |
| 63.6.21 | RTC nonsecure masked interrupt status register (RTC_MISR) | 3350 |
| 63.6.22 | RTC secure masked interrupt status register (RTC_SMISR) | 3351 |
| 63.6.23 | RTC status clear register (RTC_SCR) | 3352 |
| 63.6.24 | RTC option register (RTC_OR) | 3353 |
| 63.6.25 | RTC alarm A binary mode register (RTC_ALRABINR) | 3353 |
| 63.6.26 | RTC alarm B binary mode register (RTC_ALRBBINR) | 3354 |
| 63.6.27 | RTC Resource x CID configuration register (RTC_RxCIDCFGR) | 3354 |
| 63.6.28 | RTC hardware configuration register 2 (RTC_HWCFGR2) | 3355 |
| 63.6.29 | RTC hardware configuration register (RTC_HWCFGR1) | 3356 |
| 63.6.30 | RTC version register (RTC_VERR) | 3357 |
| 63.6.31 | RTC identification register (RTC_IPIDR) | 3357 |
| 63.6.32 | RTC size identification register (RTC_SIDR) | 3357 |
| 63.6.33 | RTC register map | 3358 |
| 64 | Tamper and backup registers (TAMP) | 3361 |
| 64.1 | TAMP introduction | 3361 |
| 64.2 | TAMP main features | 3362 |
| 64.3 | TAMP functional description | 3363 |
| 64.3.1 | TAMP block diagram | 3363 |
| 64.3.2 | TAMP pins and internal signals | 3364 |
| 64.3.3 | GPIOs controlled by the RTC and TAMP | 3367 |
| 64.3.4 | TAMP register write protection | 3367 |
| 64.3.5 | TAMP secure protection modes | 3367 |
| 64.3.6 | Backup registers protection zones | 3368 |
| 64.3.7 | TAMP privilege protection modes | 3368 |
| 64.3.8 | TAMP compartment-based isolation | 3369 |
| 64.3.9 | Boot hardware key (BHK) | 3372 |
| 64.3.10 | Tamper detection | 3373 |
| 64.3.11 | TAMP backup registers and other device secrets erase | 3373 |
| 64.3.12 | Tamper detection configuration and initialization | 3375 |
| 64.4 | TAMP low-power modes | 3382 |
| 64.5 | TAMP interrupts | 3382 |
| 64.6 | TAMP registers | 3383 |
| 64.6.1 | TAMP control register 1 (TAMP_CR1) | 3383 |
| 64.6.2 | TAMP control register 2 (TAMP_CR2) | 3386 |
| 64.6.3 | TAMP control register 3 (TAMP_CR3) | 3388 |
| 64.6.4 | TAMP filter control register (TAMP_FLTCR) | 3390 |
| 64.6.5 | TAMP active tamper control register 1 (TAMP_ATCR1) | 3391 |
| 64.6.6 | TAMP active tamper seed register (TAMP_ATSEEDR) | 3394 |
| 64.6.7 | TAMP active tamper output register (TAMP_ATOR) | 3394 |
| 64.6.8 | TAMP active tamper control register 2 (TAMP_ATCR2) | 3395 |
| 64.6.9 | TAMP secure configuration register (TAMP_SECCFGR) | 3398 |
| 64.6.10 | TAMP privilege configuration register (TAMP_PRIVCFGR) | 3400 |
| 64.6.11 | TAMP interrupt enable register (TAMP_IER) | 3401 |
| 64.6.12 | TAMP status register (TAMP_SR) | 3403 |
| 64.6.13 | TAMP nonsecure masked interrupt status register (TAMP_MISR) | 3405 |
| 64.6.14 | TAMP secure masked interrupt status register (TAMP_SMISR) | 3406 |
| 64.6.15 | TAMP status clear register (TAMP_SCR) | 3408 |
| 64.6.16 | TAMP monotonic counter 1 register (TAMP_COUNT1R) | 3411 |
| 64.6.17 | TAMP monotonic counter 2 register (TAMP_COUNT2R) | 3412 |
| 64.6.18 | TAMP option register (TAMP_OR) | 3412 |
| 64.6.19 | TAMP resources protection configuration register (TAMP_RPCFGR) | 3413 |
| 64.6.20 | TAMP Backup registers RIF register 1(TAMP_BKPRIFR1) | 3414 |
| 64.6.21 | TAMP Backup registers RIF register 2(TAMP_BKPRIFR2) | 3414 |
| 64.6.22 | TAMP Backup registers RIF register 3(TAMP_BKPRIFR3) . . . . . | 3415 |
| 64.6.23 | TAMP Resource x CID configuration register (TAMP_RxCIDCFGR) . . . . . | 3415 |
| 64.6.24 | TAMP backup x register (TAMP_BKPxR) . . . . . | 3416 |
| 64.6.25 | TAMP hardware configuration register 2 (TAMP_HWCFGR2) . . . . . | 3416 |
| 64.6.26 | TAMP hardware configuration register 1 (TAMP_HWCFGR1) . . . . . | 3417 |
| 64.6.27 | TAMP version register (TAMP_VERR) . . . . . | 3418 |
| 64.6.28 | TAMP identification register (TAMP_IPIDR) . . . . . | 3418 |
| 64.6.29 | TAMP size identification register (TAMP_SIDR) . . . . . | 3419 |
| 64.6.30 | TAMP register map . . . . . | 3420 |
| 65 | Inter-integrated circuit interface (I2C) . . . . . | 3423 |
| 65.1 | I2C introduction . . . . . | 3423 |
| 65.2 | I2C main features . . . . . | 3423 |
| 65.3 | I2C implementation . . . . . | 3424 |
| 65.4 | I2C functional description . . . . . | 3424 |
| 65.4.1 | I2C block diagram . . . . . | 3425 |
| 65.4.2 | I2C pins and internal signals . . . . . | 3425 |
| 65.4.3 | I2C clock requirements . . . . . | 3428 |
| 65.4.4 | I2C mode selection . . . . . | 3428 |
| 65.4.5 | I2C initialization . . . . . | 3429 |
| 65.4.6 | I2C reset . . . . . | 3433 |
| 65.4.7 | I2C data transfer . . . . . | 3434 |
| 65.4.8 | I2C target mode . . . . . | 3436 |
| 65.4.9 | I2C controller mode . . . . . | 3445 |
| 65.4.10 | I2C_TIMINGR register configuration examples . . . . . | 3456 |
| 65.4.11 | SMBus specific features . . . . . | 3458 |
| 65.4.12 | SMBus initialization . . . . . | 3460 |
| 65.4.13 | SMBus I2C_TIMEOUTR register configuration examples . . . . . | 3462 |
| 65.4.14 | SMBus target mode . . . . . | 3463 |
| 65.4.15 | SMBus controller mode . . . . . | 3466 |
| 65.4.16 | Autonomous mode . . . . . | 3469 |
| 65.4.17 | Error conditions . . . . . | 3471 |
| 65.5 | I2C in low-power modes . . . . . | 3472 |
| 65.6 | I2C interrupts . . . . . | 3473 |
| 65.7 | I2C DMA requests . . . . . | 3474 |
| 65.7.1 | Transmission using DMA . . . . . | 3474 |
| 65.7.2 | Reception using DMA | 3474 |
| 65.7.3 | Controller event control using DMA | 3474 |
| 65.8 | I2C debug modes | 3475 |
| 65.9 | I2C registers | 3475 |
| 65.9.1 | I2C control register 1 (I2C_CR1) | 3475 |
| 65.9.2 | I2C control register 2 (I2C_CR2) | 3478 |
| 65.9.3 | I2C own address 1 register (I2C_OAR1) | 3480 |
| 65.9.4 | I2C own address 2 register (I2C_OAR2) | 3480 |
| 65.9.5 | I2C timing register (I2C_TIMINGR) | 3482 |
| 65.9.6 | I2C timeout register (I2C_TIMEOUTR) | 3483 |
| 65.9.7 | I2C interrupt and status register (I2C_ISR) | 3484 |
| 65.9.8 | I2C interrupt clear register (I2C_ICR) | 3486 |
| 65.9.9 | I2C PEC register (I2C_PECR) | 3487 |
| 65.9.10 | I2C receive data register (I2C_RXDR) | 3487 |
| 65.9.11 | I2C transmit data register (I2C_TXDR) | 3488 |
| 65.9.12 | I2C autonomous mode control register (I2C_AUTOCR) | 3488 |
| 65.9.13 | I2C hardware configuration register (I2C_HWCFGR) | 3489 |
| 65.9.14 | I2C version register (I2C_VERR) | 3490 |
| 65.9.15 | I2C identification register (I2C_IPIER) | 3490 |
| 65.9.16 | I2C size identification register (I2C_SIDR) | 3490 |
| 65.9.17 | I2C register map | 3491 |
| 66 | Improved inter-integrated circuit (I3C) | 3493 |
| 66.1 | I3C introduction | 3493 |
| 66.2 | I3C main features | 3493 |
| 66.2.1 | I3C MIPI® support | 3495 |
| 66.2.2 | I3C without clock stretching by the target | 3496 |
| 66.3 | I3C implementation | 3498 |
| 66.3.1 | I3C instantiation | 3498 |
| 66.3.2 | I3C wake-up from low-power mode(s) | 3498 |
| 66.3.3 | I3C autonomous mode with DMA in Stop mode(s) | 3498 |
| 66.3.4 | I3C FIFOs | 3498 |
| 66.3.5 | I3C triggers | 3499 |
| 66.3.6 | I3C interrupt(s) | 3499 |
| 66.4 | I3C block diagram | 3500 |
| 66.5 | I3C pins and internal signals | 3500 |
| 66.6 | I3C reset and clocks | 3501 |
| 66.6.1 | I3C reset | 3501 |
| 66.6.2 | I3C clocks and requirements | 3501 |
| 66.7 | I3C peripheral state and programming | 3503 |
| 66.7.1 | I3C peripheral state | 3503 |
| 66.7.2 | I3C controller state and programming sequence | 3504 |
| 66.7.3 | I3C target state and programming sequence | 3509 |
| 66.8 | I3C registers and programming | 3513 |
| 66.8.1 | I3C register set, as controller/target | 3513 |
| 66.8.2 | I3C registers and fields use versus peripheral state, as controller | 3514 |
| 66.8.3 | I3C registers and fields usage versus peripheral state, as target | 3517 |
| 66.9 | I3C bus transfers and programming | 3519 |
| 66.9.1 | I3C command set (CCCs), as controller/target | 3519 |
| 66.9.2 | I3C broadcast/direct CCC transfer (except ENTDAA, RSTACT), as controller | 3523 |
| 66.9.3 | I3C broadcast ENTDAA CCC transfer, as controller | 3525 |
| 66.9.4 | I3C broadcast/direct RSTACT CCC transfer, as controller | 3525 |
| 66.9.5 | I3C broadcast/direct CCC transfer (except ENTDAA, DEFTGTS, DEFGRPA), as target | 3527 |
| 66.9.6 | I3C broadcast ENTDAA CCC transfer, as target | 3529 |
| 66.9.7 | I3C broadcast DEFTGTS CCC transfer, as target | 3530 |
| 66.9.8 | I3C broadcast DEFGRPA CCC transfer, as target | 3531 |
| 66.9.9 | I3C direct GETSTATUS CCC response, as target | 3532 |
| 66.9.10 | I3C private read/write transfer, as controller | 3533 |
| 66.9.11 | I3C private read/write transfer, as target | 3534 |
| 66.9.12 | Legacy I2C read/write transfer, as controller | 3535 |
| 66.9.13 | I3C IBI transfer, as controller/target | 3536 |
| 66.9.14 | I3C hot-join request transfer, as controller/target | 3538 |
| 66.9.15 | I3C controller-role request transfer, as controller/target | 3539 |
| 66.10 | I3C FIFOs management, as controller | 3540 |
| 66.10.1 | C-FIFO management, as controller | 3540 |
| 66.10.2 | TX-FIFO management, as controller | 3541 |
| 66.10.3 | RX-FIFO management, as controller | 3544 |
| 66.10.4 | S-FIFO management, as controller | 3546 |
| 66.11 | I3C FIFOs management, as target | 3548 |
| 66.11.1 | RX-FIFO management, as target | 3548 |
| 66.11.2 | TX-FIFO management, as target | 3549 |
| 66.12 | I3C error management | 3552 |
| 66.12.1 | Controller error management | 3552 |
| 66.12.2 | Target error management | 3554 |
| 66.13 | I3C wake-up from low-power mode(s) | 3555 |
| 66.13.1 | Wake-up from Stop | 3555 |
| 66.14 | I3C in low-power modes | 3558 |
| 66.15 | I3C interrupts | 3559 |
| 66.16 | I3C registers | 3559 |
| 66.16.1 | I3C message control register (I3C_CR) | 3559 |
| 66.16.2 | I3C message control register [alternate] (I3C_CR) | 3561 |
| 66.16.3 | I3C configuration register (I3C_CFGR) | 3563 |
| 66.16.4 | I3C receive data byte register (I3C_RDR) | 3568 |
| 66.16.5 | I3C receive data word register (I3C_RDWR) | 3569 |
| 66.16.6 | I3C transmit data byte register (I3C_TDR) | 3570 |
| 66.16.7 | I3C transmit data word register (I3C_TDWR) | 3571 |
| 66.16.8 | I3C IBI payload data register (I3C_IBIDR) | 3572 |
| 66.16.9 | I3C target transmit configuration register (I3C_TGTTDR) | 3573 |
| 66.16.10 | I3C status register (I3C_SR) | 3574 |
| 66.16.11 | I3C status error register (I3C_SER) | 3575 |
| 66.16.12 | I3C received message register (I3C_RMR) | 3577 |
| 66.16.13 | I3C event register (I3C_EVR) | 3578 |
| 66.16.14 | I3C interrupt enable register (I3C_IER) | 3582 |
| 66.16.15 | I3C clear event register (I3C_CEV) | 3584 |
| 66.16.16 | I3C masked interrupt status register (I3C_MISR) | 3586 |
| 66.16.17 | I3C own device characteristics register (I3C_DEVR0) | 3587 |
| 66.16.18 | I3C device x characteristics register (I3C_DEVRx) | 3589 |
| 66.16.19 | I3C maximum read length register (I3C_MAXRLR) | 3591 |
| 66.16.20 | I3C maximum write length register (I3C_MAXWLR) | 3592 |
| 66.16.21 | I3C timing register 0 (I3C_TIMINGR0) | 3593 |
| 66.16.22 | I3C timing register 1 (I3C_TIMINGR1) | 3594 |
| 66.16.23 | I3C timing register 2 (I3C_TIMINGR2) | 3596 |
| 66.16.24 | I3C bus characteristics register (I3C_BCR) | 3597 |
| 66.16.25 | I3C device characteristics register (I3C_DCR) | 3598 |
| 66.16.26 | I3C get capability register (I3C_GETCAPR) | 3599 |
| 66.16.27 | I3C controller-role capability register (I3C_CRCAPR) | 3600 |
| 66.16.28 | I3C get max data speed register (I3C_GETMXDSR) | 3601 |
| 66.16.29 | I3C extended provisioned ID register (I3C_EPIDR) ..... | 3603 |
| 66.16.30 | I3C hardware configuration register (I3C_HWCFGR) ..... | 3604 |
| 66.16.31 | I3C version register (I3C_VERR) ..... | 3604 |
| 66.16.32 | I3C identification register (I3C_IPIDR) ..... | 3605 |
| 66.16.33 | I3C size identification register (I3C_SIDR) ..... | 3605 |
| 66.16.34 | I3C register map ..... | 3605 |
| 67 | Universal synchronous/asynchronous receiver transmitter (USART/UART) ..... | 3609 |
| 67.1 | USART introduction ..... | 3609 |
| 67.2 | USART main features ..... | 3609 |
| 67.3 | USART extended features ..... | 3610 |
| 67.4 | USART implementation ..... | 3610 |
| 67.5 | USART functional description ..... | 3612 |
| 67.5.1 | USART block diagram ..... | 3612 |
| 67.5.2 | USART pins and internal signals ..... | 3612 |
| 67.5.3 | USART clocks ..... | 3615 |
| 67.5.4 | USART character description ..... | 3615 |
| 67.5.5 | USART FIFOs and thresholds ..... | 3617 |
| 67.5.6 | USART transmitter ..... | 3617 |
| 67.5.7 | USART receiver ..... | 3620 |
| 67.5.8 | USART baud rate generation ..... | 3627 |
| 67.5.9 | Tolerance of the USART receiver to clock deviation ..... | 3629 |
| 67.5.10 | USART auto baud rate detection ..... | 3630 |
| 67.5.11 | USART multiprocessor communication ..... | 3632 |
| 67.5.12 | USART Modbus communication ..... | 3634 |
| 67.5.13 | USART parity control ..... | 3635 |
| 67.5.14 | USART LIN (local interconnection network) mode ..... | 3636 |
| 67.5.15 | USART synchronous mode ..... | 3638 |
| 67.5.16 | USART single-wire half-duplex communication ..... | 3642 |
| 67.5.17 | USART receiver timeout ..... | 3642 |
| 67.5.18 | USART smartcard mode ..... | 3643 |
| 67.5.19 | USART IrDA SIR ENDEC block ..... | 3647 |
| 67.5.20 | Continuous communication using USART and DMA ..... | 3650 |
| 67.5.21 | RS232 hardware flow control and RS485 driver enable ..... | 3652 |
| 67.5.22 | USART autonomous mode ..... | 3654 |
| 67.6 | USART in low-power modes ..... | 3656 |
| 67.7 | USART interrupts | 3657 |
| 67.8 | USART registers | 3659 |
| 67.8.1 | USART control register 1 (USART_CR1) | 3659 |
| 67.8.2 | USART control register 1 [alternate] (USART_CR1) | 3663 |
| 67.8.3 | USART control register 2 (USART_CR2) | 3666 |
| 67.8.4 | USART control register 3 (USART_CR3) | 3670 |
| 67.8.5 | USART control register 3 [alternate] (USART_CR3) | 3674 |
| 67.8.6 | USART baud rate register (USART_BRR) | 3677 |
| 67.8.7 | USART guard time and prescaler register (USART_GTPR) | 3678 |
| 67.8.8 | USART receiver timeout register (USART_RTOR) | 3679 |
| 67.8.9 | USART request register (USART_RQR) | 3680 |
| 67.8.10 | USART interrupt and status register (USART_ISR) | 3681 |
| 67.8.11 | USART interrupt and status register [alternate] (USART_ISR) | 3687 |
| 67.8.12 | USART interrupt flag clear register (USART_ICR) | 3692 |
| 67.8.13 | USART receive data register (USART_RDR) | 3693 |
| 67.8.14 | USART transmit data register (USART_TDR) | 3694 |
| 67.8.15 | USART prescaler register (USART_PRESC) | 3694 |
| 67.8.16 | USART autonomous mode control register (USART_AUTOCR) | 3695 |
| 67.8.17 | USART hardware configuration register 2 (USART_HWCFGR2) | 3696 |
| 67.8.18 | USART hardware configuration register 1 (USART_HWCFGR1) | 3697 |
| 67.8.19 | USART version register (USART_VERR) | 3697 |
| 67.8.20 | USART identification register (USART_IPIDR) | 3698 |
| 67.8.21 | USART size identification register (USART_SIDR) | 3698 |
| 67.8.22 | USART register map | 3699 |
| 68 | Low-power universal asynchronous receiver transmitter (LPUART) | 3701 |
| 68.1 | LPUART introduction | 3701 |
| 68.2 | LPUART main features | 3701 |
| 68.3 | LPUART implementation | 3702 |
| 68.4 | LPUART functional description | 3704 |
| 68.4.1 | LPUART block diagram | 3704 |
| 68.4.2 | LPUART pins and internal signals | 3705 |
| 68.4.3 | LPUART clocks | 3706 |
| 68.4.4 | LPUART character description | 3707 |
| 68.4.5 | LPUART FIFOs and thresholds | 3709 |
| 68.4.6 | LPUART transmitter | 3709 |
| 68.4.7 | LPUART receiver | 3713 |
| 68.4.8 | LPUART baud rate generation | 3717 |
| 68.4.9 | Tolerance of the LPUART receiver to clock deviation | 3718 |
| 68.4.10 | LPUART multiprocessor communication | 3719 |
| 68.4.11 | LPUART parity control | 3721 |
| 68.4.12 | LPUART single-wire half-duplex communication | 3722 |
| 68.4.13 | Continuous communication using DMA and LPUART | 3722 |
| 68.4.14 | RS232 hardware flow control | 3725 |
| 68.4.15 | LPUART autonomous mode | 3726 |
| 68.5 | LPUART in low-power modes | 3728 |
| 68.6 | LPUART interrupts | 3729 |
| 68.7 | LPUART registers | 3730 |
| 68.7.1 | LPUART control register 1 (LPUART_CR1) | 3730 |
| 68.7.2 | LPUART control register 1 [alternate] (LPUART_CR1) | 3733 |
| 68.7.3 | LPUART control register 2 (LPUART_CR2) | 3736 |
| 68.7.4 | LPUART control register 3 (LPUART_CR3) | 3738 |
| 68.7.5 | LPUART control register 3 [alternate] (LPUART_CR3) | 3740 |
| 68.7.6 | LPUART baud rate register (LPUART_BRR) | 3742 |
| 68.7.7 | LPUART request register (LPUART_RQR) | 3742 |
| 68.7.8 | LPUART interrupt and status register (LPUART_ISR) | 3743 |
| 68.7.9 | LPUART interrupt and status register [alternate] (LPUART_ISR) | 3748 |
| 68.7.10 | LPUART interrupt flag clear register (LPUART_ICR) | 3751 |
| 68.7.11 | LPUART receive data register (LPUART_RDR) | 3752 |
| 68.7.12 | LPUART transmit data register (LPUART_TDR) | 3752 |
| 68.7.13 | LPUART prescaler register (LPUART_PRESC) | 3753 |
| 68.7.14 | LPUART autonomous mode control register (LPUART_AUTOCR) | 3754 |
| 68.7.15 | LPUART hardware configuration register 2 (LPUART_HWCFGR2) | 3755 |
| 68.7.16 | LPUART hardware configuration register 1 (LPUART_HWCFGR1) | 3755 |
| 68.7.17 | LPUART version register (LPUART_VERR) | 3756 |
| 68.7.18 | LPUART identification register (LPUART_IPIDR) | 3756 |
| 68.7.19 | LPUART size identification register (LPUART_SIDR) | 3757 |
| 68.7.20 | LPUART register map | 3757 |
| 69 | Serial peripheral interface (SPI) | 3759 |
| 69.1 | SPI introduction | 3759 |
| 69.2 | SPI main features | 3759 |
| 69.3 | SPI implementation | 3760 |
| 69.4 | SPI functional description | 3761 |
| 69.4.1 | SPI block diagram | 3761 |
| 69.4.2 | SPI pins and internal signals | 3762 |
| 69.4.3 | SPI communication general aspects | 3764 |
| 69.4.4 | Communications between one master and one slave | 3764 |
| 69.4.5 | Standard multislave communication | 3767 |
| 69.4.6 | Multimaster communication | 3770 |
| 69.4.7 | Slave select (NSS pin) management | 3771 |
| 69.4.8 | Ready pin (RDY) management | 3775 |
| 69.4.9 | Communication formats | 3775 |
| 69.4.10 | Configuring the SPI | 3777 |
| 69.4.11 | Enabling the SPI | 3778 |
| 69.4.12 | SPI data transmission and reception procedures | 3779 |
| 69.4.13 | Disabling the SPI | 3783 |
| 69.4.14 | Communication using DMA (direct memory addressing) | 3784 |
| 69.4.15 | Autonomous mode | 3785 |
| 69.5 | SPI specific modes and control | 3787 |
| 69.5.1 | TI mode | 3787 |
| 69.5.2 | SPI error flags | 3788 |
| 69.5.3 | CRC computation | 3791 |
| 69.6 | SPI in low-power modes | 3792 |
| 69.7 | SPI interrupts | 3792 |
| 69.8 | I2S main features | 3794 |
| 69.9 | I2S functional description | 3794 |
| 69.9.1 | I2S general description | 3794 |
| 69.9.2 | Pin sharing with SPI function | 3795 |
| 69.9.3 | Bitfields usable in I2S/PCM mode | 3795 |
| 69.9.4 | Slave and master modes | 3796 |
| 69.9.5 | Supported audio protocols | 3796 |
| 69.9.6 | Additional serial interface flexibility | 3802 |
| 69.9.7 | Startup sequence | 3804 |
| 69.9.8 | Stop sequence | 3806 |
| 69.9.9 | Clock generator | 3807 |
| 69.9.10 | Internal FIFOs | 3809 |
| 69.9.11 | FIFO status flags | 3810 |
| 69.9.12 | Handling of underrun situation | 3810 |
| 69.9.13 | Handling of overrun situation | 3811 |
| 69.9.14 | Frame error detection | 3812 |
| 69.9.15 | DMA interface | 3814 |
| 69.9.16 | Autonomous mode | 3814 |
| 69.9.17 | Programing examples | 3814 |
| 69.10 | I2S interrupts | 3817 |
| 69.11 | SPI/I2S registers | 3817 |
| 69.11.1 | SPI/I2S control register 1 (SPI_CR1) | 3817 |
| 69.11.2 | SPI/I2S control register 2 (SPI_CR2) | 3819 |
| 69.11.3 | SPI/I2S configuration register 1 (SPI_CFG1) | 3820 |
| 69.11.4 | SPI/I2S configuration register 2 (SPI_CFG2) | 3823 |
| 69.11.5 | SPI/I2S interrupt enable register (SPI_IER) | 3825 |
| 69.11.6 | SPI/I2S status register (SPI_SR) | 3826 |
| 69.11.7 | SPI/I2S interrupt/status flags clear register (SPI_IFCR) | 3829 |
| 69.11.8 | SPI/I2S autonomous mode control register (SPI_AUTOCR) | 3830 |
| 69.11.9 | SPI/I2S transmit data register (SPI_TXDR) | 3830 |
| 69.11.10 | SPI/I2S receive data register (SPI_RXDR) | 3831 |
| 69.11.11 | SPI/I2S polynomial register (SPI_CRCPOLY) | 3832 |
| 69.11.12 | SPI/I2S transmitter CRC register (SPI_TXCRC) | 3832 |
| 69.11.13 | SPI/I2S receiver CRC register (SPI_RXCRC) | 3833 |
| 69.11.14 | SPI/I2S underrun data register (SPI_UDRDR) | 3834 |
| 69.11.15 | SPI/I2S configuration register (SPI_I2SCFGR) | 3834 |
| 69.11.16 | SPI/I2S hardware configuration register (SPI_HWCFGR2) | 3836 |
| 69.11.17 | SPI/I2S hardware configuration register (SPI_HWCFGR1) | 3837 |
| 69.11.18 | SPI/I2S version register (SPI_VERR) | 3838 |
| 69.11.19 | SPI/I2S identification register (SPI_IPIDR) | 3838 |
| 69.11.20 | SPI/I2S size identification register (SPI_SIDR) | 3838 |
| 69.11.21 | SPI/I2S register map | 3839 |
| 70 | Serial audio interface (SAI) | 3841 |
| 70.1 | SAI introduction | 3841 |
| 70.2 | SAI main features | 3841 |
| 70.3 | SAI implementation | 3842 |
| 70.4 | SAI functional description | 3842 |
| 70.4.1 | SAI block diagram | 3842 |
| 70.4.2 | SAI pins and internal signals | 3844 |
| 70.4.3 | Main SAI modes | 3845 |
| 70.4.4 | SAI synchronization mode | 3846 |
| 70.4.5 | Audio data size | 3847 |
| 70.4.6 | Frame synchronization | 3847 |
| 70.4.7 | Slot configuration | 3850 |
| 70.4.8 | SAI clock generator | 3852 |
| 70.4.9 | Internal FIFOs | 3855 |
| 70.4.10 | PDM interface | 3857 |
| 70.4.11 | AC'97 link controller | 3865 |
| 70.4.12 | SPDIF output | 3867 |
| 70.4.13 | Specific features | 3870 |
| 70.4.14 | Error flags | 3874 |
| 70.4.15 | Disabling the SAI | 3877 |
| 70.4.16 | SAI DMA interface | 3877 |
| 70.5 | SAI interrupts | 3878 |
| 70.6 | SAI registers | 3880 |
| 70.6.1 | SAI global configuration register (SAI_GCR) | 3880 |
| 70.6.2 | SAI configuration register 1 (SAI_ACR1) | 3880 |
| 70.6.3 | SAI configuration register 2 (SAI_ACR2) | 3883 |
| 70.6.4 | SAI frame configuration register (SAI_AFRCR) | 3885 |
| 70.6.5 | SAI slot register (SAI_ASLOTR) | 3886 |
| 70.6.6 | SAI interrupt mask register (SAI_AIM) | 3887 |
| 70.6.7 | SAI status register (SAI_ASR) | 3889 |
| 70.6.8 | SAI clear flag register (SAI_ACLRFR) | 3891 |
| 70.6.9 | SAI data register (SAI_ADR) | 3892 |
| 70.6.10 | SAI configuration register 1 (SAI_BCR1) | 3892 |
| 70.6.11 | SAI configuration register 2 (SAI_BCR2) | 3895 |
| 70.6.12 | SAI frame configuration register (SAI_BFRCR) | 3897 |
| 70.6.13 | SAI slot register (SAI_BSLOTR) | 3898 |
| 70.6.14 | SAI interrupt mask register (SAI_BIM) | 3899 |
| 70.6.15 | SAI status register (SAI_BSR) | 3900 |
| 70.6.16 | SAI clear flag register (SAI_BCLRFR) | 3902 |
| 70.6.17 | SAI data register (SAI_BDR) | 3903 |
| 70.6.18 | SAI PDM control register (SAI_PDMCR) | 3904 |
| 70.6.19 | SAI PDM delay register (SAI_PDMDLY) | 3905 |
| 70.6.20 | SAI hardware configuration register (SAI_HWCFGR) | 3907 |
| 70.6.21 | SAI version register (SAI_VERR) ..... | 3908 |
| 70.6.22 | SAI identification register (SAI_IPIDR) ..... | 3908 |
| 70.6.23 | SAI size identification register (SAI_SIDR) ..... | 3909 |
| 70.6.24 | SAI register map ..... | 3909 |
| 71 | SPDIF receiver interface (SPDIFRX) ..... | 3911 |
| 71.1 | SPDIFRX interface introduction ..... | 3911 |
| 71.2 | SPDIFRX main features ..... | 3911 |
| 71.3 | SPDIFRX functional description ..... | 3911 |
| 71.3.1 | SPDIFRX pins and internal signals ..... | 3912 |
| 71.3.2 | S/PDIF protocol (IEC-60958) ..... | 3913 |
| 71.3.3 | SPDIFRX decoder (SPDIFRX_DC) ..... | 3915 |
| 71.3.4 | SPDIFRX tolerance to clock deviation ..... | 3919 |
| 71.3.5 | SPDIFRX synchronization ..... | 3919 |
| 71.3.6 | SPDIFRX handling ..... | 3921 |
| 71.3.7 | Data reception management ..... | 3923 |
| 71.3.8 | Dedicated control flow ..... | 3925 |
| 71.3.9 | Reception errors ..... | 3926 |
| 71.3.10 | Clocking strategy ..... | 3928 |
| 71.3.11 | Symbol clock generation ..... | 3928 |
| 71.3.12 | DMA interface ..... | 3930 |
| 71.3.13 | Interrupt generation ..... | 3931 |
| 71.3.14 | Register protection ..... | 3932 |
| 71.4 | Programming procedures ..... | 3932 |
| 71.4.1 | Initialization phase ..... | 3933 |
| 71.4.2 | Handling of interrupts coming from SPDIFRX ..... | 3934 |
| 71.4.3 | Handling of interrupts coming from DMA ..... | 3934 |
| 71.5 | SPDIFRX interface registers ..... | 3935 |
| 71.5.1 | SPDIFRX control register (SPDIFRX_CR) ..... | 3935 |
| 71.5.2 | SPDIFRX interrupt mask register (SPDIFRX_IMR) ..... | 3937 |
| 71.5.3 | SPDIFRX status register (SPDIFRX_SR) ..... | 3938 |
| 71.5.4 | SPDIFRX interrupt flag clear register (SPDIFRX_IFCR) ..... | 3940 |
| 71.5.5 | SPDIFRX data input register (SPDIFRX_FMT0_DR) ..... | 3941 |
| 71.5.6 | SPDIFRX data input register (SPDIFRX_FMT1_DR) ..... | 3941 |
| 71.5.7 | SPDIFRX data input register (SPDIFRX_FMT2_DR) ..... | 3942 |
| 71.5.8 | SPDIFRX channel status register (SPDIFRX_CSR) ..... | 3943 |
| 71.5.9 | SPDIFRX debug information register (SPDIFRX_DIR) ..... | 3943 |
| 71.5.10 | SPDIFRX version register (SPDIFRX_VERR) . . . . . | 3944 |
| 71.5.11 | SPDIFRX identification register (SPDIFRX_IPIDR) . . . . . | 3944 |
| 71.5.12 | SPDIFRX size identification register (SPDIFRX_SIDR) . . . . . | 3945 |
| 71.5.13 | SPDIFRX interface register map . . . . . | 3945 |
| 72 | Controller area network with flexible data rate (FDCAN) . . . . . | 3947 |
| 72.1 | FDCAN introduction . . . . . | 3947 |
| 72.2 | FDCAN main features . . . . . | 3950 |
| 72.3 | TTCAN implementation . . . . . | 3950 |
| 72.4 | FDCAN functional description . . . . . | 3951 |
| 72.4.1 | Operating modes . . . . . | 3952 |
| 72.4.2 | Error management . . . . . | 3961 |
| 72.4.3 | Message RAM . . . . . | 3961 |
| 72.4.4 | FIFO acknowledge handling . . . . . | 3973 |
| 72.4.5 | Bit timing . . . . . | 3974 |
| 72.4.6 | Clock calibration on CAN . . . . . | 3975 |
| 72.4.7 | Application . . . . . | 3979 |
| 72.4.8 | TTCAN operations (FDCAN1 only) . . . . . | 3980 |
| 72.4.9 | TTCAN configuration . . . . . | 3981 |
| 72.4.10 | Message scheduling . . . . . | 3983 |
| 72.4.11 | TTCAN gap control . . . . . | 3990 |
| 72.4.12 | Stop watch . . . . . | 3991 |
| 72.4.13 | Local time, cycle time, global time, and external clock synchronization . . . . . | 3991 |
| 72.4.14 | TTCAN error level . . . . . | 3994 |
| 72.4.15 | TTCAN message handling . . . . . | 3995 |
| 72.4.16 | TTCAN interrupt and error handling . . . . . | 3998 |
| 72.4.17 | Level 0 . . . . . | 3999 |
| 72.4.18 | Synchronization to external time schedule . . . . . | 4001 |
| 72.4.19 | FDCAN Rx buffer and FIFO element . . . . . | 4002 |
| 72.4.20 | FDCAN Tx buffer element . . . . . | 4004 |
| 72.4.21 | FDCAN Tx event FIFO element . . . . . | 4006 |
| 72.4.22 | FDCAN standard message ID filter element . . . . . | 4007 |
| 72.4.23 | FDCAN extended message ID filter element . . . . . | 4009 |
| 72.4.24 | FDCAN trigger memory element . . . . . | 4010 |
| 72.5 | FDCAN registers . . . . . | 4012 |
| 72.5.1 | FDCAN core release register (FDCAN_CREL) . . . . . | 4012 |
| 72.5.2 | FDCAN Endian register (FDCAN_ENDN) ..... | 4012 |
| 72.5.3 | FDCAN data bit timing and prescaler register (FDCAN_DBTP) .... | 4012 |
| 72.5.4 | FDCAN test register (FDCAN_TEST) ..... | 4013 |
| 72.5.5 | FDCAN RAM watchdog register (FDCAN_RWD) ..... | 4014 |
| 72.5.6 | FDCAN CC control register (FDCAN_CCCR) ..... | 4015 |
| 72.5.7 | FDCAN nominal bit timing and prescaler register (FDCAN_NBTP) .. | 4017 |
| 72.5.8 | FDCAN timestamp counter configuration register (FDCAN_TSCC) .. | 4018 |
| 72.5.9 | FDCAN timestamp counter value register (FDCAN_TSCV) ..... | 4018 |
| 72.5.10 | FDCAN timeout counter configuration register (FDCAN_TOCC) .... | 4019 |
| 72.5.11 | FDCAN timeout counter value register (FDCAN_TOCV) ..... | 4020 |
| 72.5.12 | FDCAN error counter register (FDCAN_ECR) ..... | 4020 |
| 72.5.13 | FDCAN protocol status register (FDCAN_PSR) ..... | 4021 |
| 72.5.14 | FDCAN transmitter delay compensation register (FDCAN_TDCR) .. | 4023 |
| 72.5.15 | FDCAN interrupt register (FDCAN_IR) ..... | 4023 |
| 72.5.16 | FDCAN interrupt enable register (FDCAN_IE) ..... | 4026 |
| 72.5.17 | FDCAN interrupt line select register (FDCAN_ILS) ..... | 4028 |
| 72.5.18 | FDCAN interrupt line enable register (FDCAN_ILE) ..... | 4029 |
| 72.5.19 | FDCAN global filter configuration register (FDCAN_GFC) ..... | 4030 |
| 72.5.20 | FDCAN standard ID filter configuration register (FDCAN_SIDFC) .. | 4031 |
| 72.5.21 | FDCAN extended ID filter configuration register (FDCAN_XIDFC) .. | 4032 |
| 72.5.22 | FDCAN extended ID and mask register (FDCAN_XIDAM) ..... | 4032 |
| 72.5.23 | FDCAN high priority message status register (FDCAN_HPMS) .... | 4033 |
| 72.5.24 | FDCAN new data 1 register (FDCAN_NDAT1) ..... | 4034 |
| 72.5.25 | FDCAN new data 2 register (FDCAN_NDAT2) ..... | 4034 |
| 72.5.26 | FDCAN Rx FIFO 0 configuration register (FDCAN_RXF0C) ..... | 4035 |
| 72.5.27 | FDCAN Rx FIFO 0 status register (FDCAN_RXF0S) ..... | 4035 |
| 72.5.28 | FDCAN Rx FIFO 0 acknowledge register (FDCAN_RXF0A) ..... | 4036 |
| 72.5.29 | FDCAN Rx buffer configuration register (FDCAN_RXBC) ..... | 4037 |
| 72.5.30 | FDCAN Rx FIFO 1 configuration register (FDCAN_RXF1C) ..... | 4037 |
| 72.5.31 | FDCAN Rx FIFO 1 status register (FDCAN_RXF1S) ..... | 4038 |
| 72.5.32 | FDCAN Rx FIFO 1 acknowledge register (FDCAN_RXF1A) ..... | 4039 |
| 72.5.33 | FDCAN Rx buffer element size configuration register (FDCAN_RXESC) ..... | 4039 |
| 72.5.34 | FDCAN Tx buffer configuration register (FDCAN_TXBC) ..... | 4040 |
| 72.5.35 | FDCAN Tx FIFO/queue status register (FDCAN_TXFQS) ..... | 4041 |
| 72.5.36 | FDCAN Tx buffer element size configuration register (FDCAN_TXESC) ..... | 4042 |
| 72.5.37 | FDCAN Tx buffer request pending register (FDCAN_TXBRP) .... | 4043 |
| 72.5.38 | FDCAN Tx buffer add request register (FDCAN_TXBAR) . . . . . | 4043 |
| 72.5.39 | FDCAN Tx buffer cancellation request register (FDCAN_TXBCR) . . | 4044 |
| 72.5.40 | FDCAN Tx buffer transmission occurred register (FDCAN_TXBTO) | 4044 |
| 72.5.41 | FDCAN Tx buffer cancellation finished register (FDCAN_TXBCF) . . | 4045 |
| 72.5.42 | FDCAN Tx buffer transmission interrupt enable register (FDCAN_TXBTIE) . . . . . | 4045 |
| 72.5.43 | FDCAN Tx buffer cancellation finished interrupt enable register (FDCAN_TXBCIE) . . . . . | 4046 |
| 72.5.44 | FDCAN Tx event FIFO configuration register (FDCAN_TXEFC) . . . | 4046 |
| 72.5.45 | FDCAN Tx event FIFO status register (FDCAN_TXEFS) . . . . . | 4047 |
| 72.5.46 | FDCAN Tx event FIFO acknowledge register (FDCAN_TXEFA) . . . | 4048 |
| 72.5.47 | FDCAN register map . . . . . | 4048 |
| 72.6 | TTCAN registers . . . . . | 4052 |
| 72.6.1 | FDCAN TT trigger memory configuration register (FDCAN_TTTMC) . . . . . | 4052 |
| 72.6.2 | FDCAN TT reference message configuration register (FDCAN_TTRMC) . . . . . | 4052 |
| 72.6.3 | FDCAN TT operation configuration register (FDCAN_TTOCF) . . . . | 4053 |
| 72.6.4 | FDCAN TT matrix limits register (FDCAN_TTMLM) . . . . . | 4055 |
| 72.6.5 | FDCAN TUR configuration register (FDCAN_TURCF) . . . . . | 4056 |
| 72.6.6 | FDCAN TT operation control register (FDCAN_TTOCN) . . . . . | 4057 |
| 72.6.7 | FDCAN TT global time preset register (FDCAN_TTGTP) . . . . . | 4059 |
| 72.6.8 | FDCAN TT time mark register (FDCAN_TTTMK) . . . . . | 4059 |
| 72.6.9 | FDCAN TT interrupt register (FDCAN_TTIR) . . . . . | 4060 |
| 72.6.10 | FDCAN TT interrupt enable register (FDCAN_TTIE) . . . . . | 4062 |
| 72.6.11 | FDCAN TT interrupt line select register (FDCAN_TTILS) . . . . . | 4064 |
| 72.6.12 | FDCAN TT operation status register (FDCAN_TTOST) . . . . . | 4065 |
| 72.6.13 | FDCAN TUR numerator actual register (FDCAN_TURNA) . . . . . | 4067 |
| 72.6.14 | FDCAN TT local and global time register (FDCAN_TTLGT) . . . . . | 4068 |
| 72.6.15 | FDCAN TT cycle time and count register (FDCAN_TTCTC) . . . . . | 4068 |
| 72.6.16 | FDCAN TT capture time register (FDCAN_TTCPT) . . . . . | 4069 |
| 72.6.17 | FDCAN TT cycle sync mark register (FDCAN_TTCSM) . . . . . | 4069 |
| 72.6.18 | FDCAN TT trigger select register (FDCAN_TTTS) . . . . . | 4070 |
| 72.6.19 | FDCAN TT register map . . . . . | 4070 |
| 72.7 | CCU registers . . . . . | 4072 |
| 72.7.1 | Clock calibration unit core release register (FDCAN_CCU_CREL) . . | 4072 |
| 72.7.2 | Calibration configuration register (FDCAN_CCU_CCFG) . . . . . | 4072 |
| 72.7.3 | Calibration status register (FDCAN_CCU_CSTAT) . . . . . | 4074 |
| 72.7.4 | Calibration watchdog register (FDCAN_CCW_CWD) . . . . . | 4074 |
| 72.7.5 | Clock calibration unit interrupt register (FDCAN_CCW_IR) . . . . . | 4075 |
| 72.7.6 | Clock calibration unit interrupt enable register (FDCAN_CCW_IE) . . . . . | 4076 |
| 72.7.7 | CCU register map . . . . . | 4076 |
| 73 | USB subsystem (USBSS) . . . . . | 4078 |
| 73.1 | Overview . . . . . | 4078 |
| 73.2 | USB2 host high-speed port . . . . . | 4078 |
| 73.2.1 | USB2 host high-speed port main features . . . . . | 4078 |
| 73.2.2 | USB2 host high-speed port implementation . . . . . | 4080 |
| 73.2.3 | USB2 host high-speed port functional description . . . . . | 4081 |
| 73.2.4 | USB2 host high-speed host interrupts . . . . . | 4084 |
| 73.2.5 | USB2PHY1 integration . . . . . | 4084 |
| 73.2.6 | Connections to SYSCFG block . . . . . | 4086 |
| 73.3 | USB2 OTG high-speed port . . . . . | 4088 |
| 73.3.1 | USB2 OTG port main features . . . . . | 4088 |
| 73.3.2 | USB2 OTG high-speed port functional description . . . . . | 4089 |
| 73.3.3 | USB2 OTG high-speed port interrupts . . . . . | 4092 |
| 73.3.4 | USB2PHY2 integration . . . . . | 4092 |
| 73.3.5 | SYSCFG registers . . . . . | 4094 |
| 73.3.6 | Connections to SYSCFG block . . . . . | 4095 |
| 73.4 | Debug signals . . . . . | 4096 |
| 74 | USB on-the-go high-speed (OTG) . . . . . | 4098 |
| 74.1 | OTG introduction . . . . . | 4098 |
| 74.2 | OTG main features . . . . . | 4099 |
| 74.2.1 | General features . . . . . | 4099 |
| 74.2.2 | Host-mode features . . . . . | 4100 |
| 74.2.3 | Peripheral-mode features . . . . . | 4100 |
| 74.3 | OTG implementation . . . . . | 4100 |
| 74.4 | OTG functional description . . . . . | 4101 |
| 74.4.1 | OTG block diagram . . . . . | 4101 |
| 74.4.2 | OTG pin and internal signals . . . . . | 4101 |
| 74.4.3 | OTG core . . . . . | 4102 |
| 74.4.4 | High-speed OTG PHY connected to OTG . . . . . | 4102 |
| 74.4.5 | Battery charging detection . . . . . | 4102 |
| 74.5 | OTG dual role device (DRD) ..... | 4103 |
| 74.6 | OTG as a USB peripheral ..... | 4103 |
| 74.6.1 | Peripheral states ..... | 4104 |
| 74.6.2 | Peripheral endpoints ..... | 4105 |
| 74.7 | OTG as a USB host ..... | 4107 |
| 74.7.1 | USB host states ..... | 4108 |
| 74.7.2 | Host channels ..... | 4109 |
| 74.7.3 | Host scheduler ..... | 4110 |
| 74.8 | OTG SOF trigger ..... | 4111 |
| 74.8.1 | Host SOFs ..... | 4112 |
| 74.8.2 | Peripheral SOFs ..... | 4112 |
| 74.9 | OTG low-power modes ..... | 4112 |
| 74.10 | OTG Dynamic update of the OTG_HFIR register ..... | 4113 |
| 74.11 | OTG data FIFOs ..... | 4114 |
| 74.11.1 | FIFO allocation for DMA address register storage ..... | 4114 |
| 74.11.2 | Peripheral FIFO architecture ..... | 4115 |
| 74.11.3 | Host FIFO architecture ..... | 4116 |
| 74.11.4 | FIFO RAM allocation ..... | 4117 |
| 74.12 | OTG interrupts ..... | 4119 |
| 74.13 | OTG control and status registers ..... | 4121 |
| 74.13.1 | CSR memory map ..... | 4121 |
| 74.14 | OTG registers ..... | 4126 |
| 74.14.1 | OTG control and status register (OTG_GOTGCTL) ..... | 4126 |
| 74.14.2 | OTG interrupt register (OTG_GOTGINT) ..... | 4128 |
| 74.14.3 | OTG AHB configuration register (OTG_GAHBCFG) ..... | 4129 |
| 74.14.4 | OTG USB configuration register (OTG_GUSBCFG) ..... | 4130 |
| 74.14.5 | OTG reset register (OTG_GRSTCTL) ..... | 4132 |
| 74.14.6 | OTG core interrupt register [alternate] (OTG_GINTSTS) ..... | 4135 |
| 74.14.7 | OTG core interrupt register [alternate] (OTG_GINTSTS) ..... | 4139 |
| 74.14.8 | OTG interrupt mask register [alternate] (OTG_GINTMSK) ..... | 4144 |
| 74.14.9 | OTG interrupt mask register [alternate] (OTG_GINTMSK) ..... | 4145 |
| 74.14.10 | OTG receive status debug read register [alternate] (OTG_GRXSTSR) ..... | 4147 |
| 74.14.11 | OTG receive status debug read register [alternate] (OTG_GRXSTSR) ..... | 4148 |
| 74.14.12 | OTG status read and pop registers (OTG_GRXSTSP) ..... | 4149 |
| 74.14.13 OTG status read and pop registers [alternate] (OTG_GRXSTSP) .. | 4150 |
| 74.14.14 OTG receive FIFO size register (OTG_GRXFSIZ) ..... | 4151 |
| 74.14.15 OTG host non-periodic transmit FIFO size register [alternate] (OTG_HNPTXFSIZ) ..... | 4152 |
| 74.14.16 Endpoint 0 transmit FIFO size [alternate] (OTG_DIEPTXF0) ..... | 4152 |
| 74.14.17 OTG non-periodic transmit FIFO/queue status register (OTG_HNPTXSTS) ..... | 4153 |
| 74.14.18 OTG general core configuration register (OTG_GCCFG) ..... | 4154 |
| 74.14.19 OTG core ID register (OTG_CID) ..... | 4155 |
| 74.14.20 OTG core LPM configuration register (OTG_GLPMCFG) ..... | 4156 |
| 74.14.21 OTG interrupt register (OTG_GDFIFOCFG) ..... | 4160 |
| 74.14.22 OTG host periodic transmit FIFO size register (OTG_HPTXFSIZ) ..... | 4160 |
| 74.14.23 OTG device IN endpoint transmit FIFO x size register (OTG_DIEPTXFx) ..... | 4161 |
| 74.14.24 Host-mode registers ..... | 4161 |
| 74.14.25 OTG host configuration register (OTG_HCFG) ..... | 4161 |
| 74.14.26 OTG host frame interval register (OTG_HFIR) ..... | 4162 |
| 74.14.27 OTG host frame number/frame time remaining register (OTG_HFNUM) ..... | 4163 |
| 74.14.28 OTG_Host periodic transmit FIFO/queue status register (OTG_HPTXSTS) ..... | 4164 |
| 74.14.29 OTG host all channels interrupt register (OTG_HAINT) ..... | 4165 |
| 74.14.30 OTG host all channels interrupt mask register (OTG_HAINTMSK) ..... | 4165 |
| 74.14.31 OTG host port control and status register (OTG_HPRT) ..... | 4166 |
| 74.14.32 OTG host channel x characteristics register (OTG_HCCHARx) .... | 4168 |
| 74.14.33 OTG host channel x split control register (OTG_HCSPLTx) ..... | 4169 |
| 74.14.34 OTG host channel x interrupt register (OTG_HCINTx) ..... | 4170 |
| 74.14.35 OTG host channel x interrupt mask register (OTG_HCINTMSKx) .. | 4171 |
| 74.14.36 OTG host channel x transfer size register (OTG_HCTSIZx) ..... | 4172 |
| 74.14.37 OTG host channel x DMA address register(OTG_HCDMAx) ..... | 4173 |
| 74.14.38 Device-mode registers ..... | 4173 |
| 74.14.39 OTG device configuration register (OTG_DCFG) ..... | 4173 |
| 74.14.40 OTG device control register (OTG_DCTL) ..... | 4175 |
| 74.14.41 OTG device status register (OTG_DSTS) ..... | 4177 |
| 74.14.42 OTG device IN endpoint common interrupt mask register (OTG_DIEPMSK) ..... | 4178 |
| 74.14.43 OTG device OUT endpoint common interrupt mask register (OTG_DOEPMSK) ..... | 4179 |
| 74.14.44 | OTG device all endpoints interrupt register (OTG_DAIN_T) | 4180 |
| 74.14.45 | OTG all endpoints interrupt mask register (OTG_DAIN_TMSK) | 4181 |
| 74.14.46 | OTG device threshold control register (OTG_DTHRCTL) | 4181 |
| 74.14.47 | OTG device IN endpoint FIFO empty interrupt mask register (OTG_DIEPEMPMSK) | 4182 |
| 74.14.48 | OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 4183 |
| 74.14.49 | OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 4185 |
| 74.14.50 | OTG device IN endpoint x interrupt register (OTG_DIEPINTx) | 4187 |
| 74.14.51 | OTG device IN endpoint 0 transfer size register (OTG_DIEPTSIZ0) | 4188 |
| 74.14.52 | OTG device IN endpoint x DMA address register (OTG_DIEPDMAx) | 4189 |
| 74.14.53 | OTG device IN endpoint transmit FIFO status register (OTG_DTXFSTSx) | 4189 |
| 74.14.54 | OTG device IN endpoint x transfer size register (OTG_DIEPTSIZx) | 4190 |
| 74.14.55 | OTG device control OUT endpoint 0 control register (OTG_DOEPCTL0) | 4190 |
| 74.14.56 | OTG device OUT endpoint x interrupt register (OTG_DOEPINTx) | 4192 |
| 74.14.57 | OTG device OUT endpoint 0 transfer size register (OTG_DOEPTSIZ0) | 4194 |
| 74.14.58 | OTG device OUT endpoint x DMA address register (OTG_DOEPDMAx) | 4195 |
| 74.14.59 | OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 4195 |
| 74.14.60 | OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 4197 |
| 74.14.61 | OTG device OUT endpoint x transfer size register (OTG_DOEPTSIZx) | 4199 |
| 74.14.62 | OTG power and clock gating control register (OTG_PCGCCTL) | 4200 |
| 74.14.63 | OTG power and clock gating control register 1 (OTG_PCGCCTL1) | 4201 |
| 74.14.64 | OTG register map | 4202 |
| 74.15 | OTG programming model | 4209 |
| 74.15.1 | Core initialization | 4209 |
| 74.15.2 | Host initialization | 4210 |
| 74.15.3 | Device initialization | 4211 |
| 74.15.4 | DMA mode | 4211 |
| 74.15.5 | Host programming model | 4211 |
| 74.15.6 | Device programming model | 4244 |
| 74.15.7 | Worst case response time | 4265 |
| 74.15.8 | OTG programming model | 4267 |
| 75 | USB2 EHCI/OHCI high/full/low-speed host controller (USBH) | 4268 |
| 75.1 | Introduction | 4268 |
| 75.2 | USBH main features | 4268 |
| 75.3 | USBH functional description | 4269 |
| 75.3.1 | USBH block diagram | 4269 |
| 75.3.2 | Description of USBH packet buffer | 4269 |
| 75.3.3 | Description of USBH root hub | 4269 |
| 75.4 | USBH interrupts | 4270 |
| 75.5 | USBH registers | 4270 |
| 75.5.1 | USBH OHCI standard registers | 4270 |
| 75.5.2 | USBH OHCI implementation register #6 (USBH_OHCI_INSNREG06) | 4271 |
| 75.5.3 | USBH OHCI implementation register #7 (USBH_OHCI_INSNREG07) | 4272 |
| 75.5.4 | USBH EHCI standard registers | 4272 |
| 75.5.5 | USBH EHCI implementation register #1 (USBH_EHCI_INSNREG01) | 4273 |
| 75.5.6 | USBH EHCI implementation register #2 (USBH_EHCI_INSNREG02) | 4274 |
| 75.5.7 | USBH EHCI implementation register #3 (USBH_EHCI_INSNREG03) | 4274 |
| 75.5.8 | USBH EHCI implementation register #4 (USBH_EHCI_INSNREG04) | 4276 |
| 75.5.9 | USBH EHCI implementation register #5 (USBH_EHCI_INSNREG05) | 4277 |
| 75.5.10 | USBH EHCI implementation register #6 (USBH_EHCI_INSNREG06) | 4278 |
| 75.5.11 | USBH EHCI implementation register #7 (USBH_EHCI_INSNREG07) | 4278 |
| 75.5.12 | USBH register map | 4279 |
| 76 | Ethernet subsystem overview (ETHSS) | 4283 |
| 76.1 | Introduction | 4283 |
| 76.2 | ETHSS main features | 4283 |
| 76.3 | ETHSS functional description | 4283 |
| 76.3.1 | ETHSS block diagram | 4283 |
| 76.3.2 | ETHSS pins and internal signals | 4284 |
| 76.3.3 | ETHSS clocks | 4287 |
| 77 | Ethernet (ETH): gigabit media access control (GMAC) with DMA controller | 4288 |
| 77.1 | Ethernet introduction | 4288 |
| 77.2 | Ethernet main features | 4288 |
| 77.2.1 | Standard compliance | 4288 |
| 77.2.2 | MAC features | 4288 |
| 77.2.3 | Transaction layer (MTL) features | 4290 |
| 77.2.4 | DMA block features | 4291 |
| 77.2.5 | Bus interface features | 4292 |
| 77.2.6 | Audio and video features | 4293 |
| 77.2.7 | Time sensitive networking features | 4293 |
| 77.2.8 | Generic queuing features | 4293 |
| 77.3 | Ethernet pins and internal signals | 4293 |
| 77.4 | Ethernet architecture | 4295 |
| 77.4.1 | DMA controller | 4297 |
| 77.4.2 | MTL | 4304 |
| 77.4.3 | MAC | 4304 |
| 77.4.4 | Multiple channels and queues support | 4309 |
| 77.5 | Ethernet functional description: MAC | 4321 |
| 77.5.1 | Double VLAN processing | 4321 |
| 77.5.2 | Source address and VLAN insertion, replacement, or deletion | 4322 |
| 77.5.3 | Queue/channel-based VLAN tag insertion on Tx | 4323 |
| 77.5.4 | Packet filtering | 4324 |
| 77.5.5 | IEEE 1588 timestamp support | 4336 |
| 77.5.6 | Time sensitive networking (TSN) | 4362 |
| 77.5.7 | Checksum offload engine | 4391 |
| 77.5.8 | TCP segmentation offload | 4397 |
| 77.5.9 | IPv4 ARP offload | 4403 |
| 77.5.10 | Loopback | 4404 |
| 77.5.11 | Flow control | 4405 |
| 77.5.12 | MAC management counters | 4408 |
| 77.5.13 | Interrupts generated by the MAC | 4412 |
| 77.5.14 | MAC and MMC register descriptions | 4412 |
| 77.6 | Ethernet functional description: PHY interfaces | 4413 |
| 77.6.1 | Station management agent (SMA) ..... | 4413 |
| 77.6.2 | Media independent interface (MII) ..... | 4420 |
| 77.6.3 | Reduced media independent interface (RMII) ..... | 4421 |
| 77.6.4 | Reduced gigabit media independent interface (RGMII) ..... | 4424 |
| 77.7 | Ethernet low-power modes ..... | 4426 |
| 77.7.1 | Low-power management ..... | 4426 |
| 77.7.2 | Energy-efficient Ethernet (EEE) ..... | 4432 |
| 77.8 | Ethernet interrupts ..... | 4439 |
| 77.8.1 | DMA interrupts ..... | 4439 |
| 77.8.2 | MTL interrupts ..... | 4440 |
| 77.8.3 | MAC interrupts ..... | 4441 |
| 77.9 | Ethernet programming model ..... | 4442 |
| 77.9.1 | DMA initialization ..... | 4442 |
| 77.9.2 | MTL initialization ..... | 4444 |
| 77.9.3 | MAC initialization ..... | 4444 |
| 77.9.4 | Performing normal receive and transmit operation ..... | 4445 |
| 77.9.5 | Stopping and starting transmission ..... | 4446 |
| 77.9.6 | Programming guidelines for switching to new descriptor list in RxDMA ..... | 4446 |
| 77.9.7 | Programming guidelines for switching the AXI clock frequency .... | 4446 |
| 77.9.8 | Programming guidelines for multichannel multiqueue operation .... | 4447 |
| 77.9.9 | Programming guidelines for GMII link state transitions ..... | 4449 |
| 77.9.10 | Programming guidelines for IEEE 1588 timestamping ..... | 4450 |
| 77.9.11 | Programming guidelines for PTP offload feature ..... | 4451 |
| 77.9.12 | Programming guidelines for AV feature ..... | 4455 |
| 77.9.13 | Programming guidelines for Energy Efficient Ethernet (EEE) ..... | 4457 |
| 77.9.14 | Programming guidelines for flexible pulse-per-second (PPS) output | 4458 |
| 77.9.15 | Programming guidelines for IEEE 1588 auxiliary snapshot ..... | 4460 |
| 77.9.16 | Programming guidelines for TSO ..... | 4461 |
| 77.9.17 | Programming guidelines to perform VLAN filtering on the receiver .. | 4462 |
| 77.9.18 | Programming guidelines for extended VLAN filtering and routing on reception ..... | 4462 |
| 77.9.19 | Programming sequence for queue/channel- based VLAN inclusion register ..... | 4463 |
| 77.9.20 | Programming guidelines for EST ..... | 4464 |
| 77.9.21 | Programming the launch time in time-based scheduling ..... | 4465 |
| 77.9.22 | Enabling the frame preemption function ..... | 4465 |
| 77.10 | Descriptors | 4466 |
| 77.10.1 | Descriptor overview | 4466 |
| 77.10.2 | Descriptor structure | 4467 |
| 77.10.3 | Transmit descriptor | 4470 |
| 77.10.4 | Receive descriptor | 4483 |
| 77.10.5 | Enhanced descriptor for time-based scheduling | 4496 |
| 77.11 | Ethernet registers | 4500 |
| 77.11.1 | Ethernet register maps | 4500 |
| 77.11.2 | Ethernet DMA registers | 4500 |
| 77.11.3 | Ethernet MTL registers | 4538 |
| 77.11.4 | Ethernet MAC and MMC registers | 4570 |
| 78 | Hardware debug port (HDP) | 4731 |
| 78.1 | HDP main features | 4731 |
| 78.2 | Functional description | 4731 |
| 78.3 | HDP registers | 4733 |
| 78.3.1 | HDP control register (HDP_CTRL) | 4733 |
| 78.3.2 | HDP multiplexer control register (HDP_MUX) | 4733 |
| 78.3.3 | HDP read back value register (HDP_VAL) | 4734 |
| 78.3.4 | HDP general purpose output set register (HDP_GPOSET) | 4734 |
| 78.3.5 | HDP general purpose output clear register (HDP_GPOCLR) | 4734 |
| 78.3.6 | HDP general purpose output value register (HDP_GPOVAL) | 4735 |
| 78.3.7 | HDP version register (HDP_VERR) | 4735 |
| 78.3.8 | HDP identification register (HDP_IPIDR) | 4736 |
| 78.3.9 | HDP size identification register (HDP_SIDR) | 4736 |
| 78.3.10 | HDP register map | 4736 |
| 79 | Software error robustness collector (SERC) | 4738 |
| 79.1 | Introduction | 4738 |
| 79.2 | SERF main features | 4738 |
| 79.3 | SERF functional description | 4738 |
| 79.3.1 | SERF block diagram | 4738 |
| 79.3.2 | SERF key internal signals | 4740 |
| 79.3.3 | SERF resets and clocks | 4740 |
| 79.3.4 | Functionality and programming model | 4740 |
| 79.4 | SERF low-power modes | 4746 |
| 79.5 | SERC interrupts | 4746 |
| 79.6 | SERC registers | 4747 |
| 79.6.1 | SERC interrupt enable register 0 (SERC_IER0) | 4747 |
| 79.6.2 | SERC interrupt enable register 1 (SERC_IER1) | 4748 |
| 79.6.3 | SERC interrupt enable register 2 (SERC_IER2) | 4748 |
| 79.6.4 | SERC interrupt enable register 3 (SERC_IER3) | 4749 |
| 79.6.5 | SERC interrupt enable register 4 (SERC_IER4) | 4749 |
| 79.6.6 | SERC interrupt enable register 5 (SERC_IER5) | 4749 |
| 79.6.7 | SERC interrupt status register 0 (SERC_ISR0) | 4750 |
| 79.6.8 | SERC interrupt status register 1 (SERC_ISR1) | 4750 |
| 79.6.9 | SERC interrupt status register 2 (SERC_ISR2) | 4751 |
| 79.6.10 | SERC interrupt status register 3 (SERC_ISR3) | 4751 |
| 79.6.11 | SERC interrupt status register 4 (SERC_ISR4) | 4751 |
| 79.6.12 | SERC interrupt status register 5 (SERC_ISR5) | 4752 |
| 79.6.13 | SERC interrupt clear register 0 (SERC_ICR0) | 4752 |
| 79.6.14 | SERC interrupt clear register 1 (SERC_ICR1) | 4753 |
| 79.6.15 | SERC interrupt clear register 2 (SERC_ICR2) | 4753 |
| 79.6.16 | SERC interrupt clear register 3 (SERC_ICR3) | 4753 |
| 79.6.17 | SERC interrupt clear register 4 (SERC_ICR4) | 4754 |
| 79.6.18 | SERC interrupt clear register 5 (SERC_ICR5) | 4754 |
| 79.6.19 | SERC enable (SERC_ENABLE) | 4755 |
| 79.6.20 | SERC hardware configuration register (SERC_HWCFGR) | 4755 |
| 79.6.21 | SERC version register (SERC_VERR) | 4756 |
| 79.6.22 | SERC identification register (SERC_IPIDR) | 4756 |
| 79.6.23 | SERC size identification register (SERC_SIDR) | 4756 |
| 79.6.24 | SERC register map | 4757 |
| 80 | Debug support (DBG) | 4759 |
| 80.1 | DBG introduction | 4759 |
| 80.2 | DBG use cases | 4759 |
| 80.3 | DBG block diagram | 4761 |
| 80.4 | DBG pins | 4761 |
| 80.5 | DBG power and clocking | 4762 |
| 80.5.1 | DBG power domains | 4762 |
| 80.5.2 | DBG clocks | 4763 |
| 80.5.3 | Debug and low-power modes | 4764 |
| 80.5.4 | Debug reset | 4764 |
| 80.6 | Security | 4765 |
| 80.6.1 | Authentication signals | 4765 |
| 80.7 | Chip-level TAP controller (CLTAPC) | 4767 |
| 80.8 | Serial-wire and JTAG debug port (SWJ-DP) | 4767 |
| 80.8.1 | JTAG debug port | 4768 |
| 80.8.2 | SWD debug port | 4768 |
| 80.8.3 | Access ports | 4768 |
| 80.8.4 | Authentication | 4770 |
| 80.9 | System debug features | 4771 |
| 80.9.1 | System ROM tables | 4771 |
| 80.9.2 | CoreSight global timestamp generator (TSGEN) | 4773 |
| 80.9.3 | Cross trigger interface (CTI) and matrix (CTM) | 4775 |
| 80.9.4 | Trace funnel (CSTF) | 4782 |
| 80.9.5 | Embedded trace FIFO (ETF) | 4782 |
| 80.9.6 | Embedded trace router (ETR) | 4783 |
| 80.9.7 | Trace port interface unit (TPIU) | 4784 |
| 80.9.8 | Replicator | 4784 |
| 80.9.9 | Serial-wire output (SWO) | 4785 |
| 80.9.10 | System trace macrocell (STM) | 4785 |
| 80.9.11 | Microcontroller debug unit (DBGMCU) | 4793 |
| 80.10 | Cortex-A35 debug features | 4813 |
| 80.10.1 | Cortex-A35 debug unit | 4814 |
| 80.10.2 | Cortex-A35 performance monitoring unit (PMU) | 4814 |
| 80.10.3 | Embedded trace macrocell (ETM) | 4814 |
| 80.10.4 | Cross trigger interface (CTI) | 4815 |
| 80.11 | Cortex-M33 debug features | 4815 |
| 80.11.1 | ROM tables | 4815 |
| 80.11.2 | Data watchpoint and trace unit (DWT) | 4817 |
| 80.11.3 | Instrumentation trace macrocell (ITM) | 4817 |
| 80.11.4 | Breakpoint unit (FPB) | 4818 |
| 80.11.5 | Embedded trace macrocell (ETM) | 4818 |
| 80.11.6 | Cross trigger interface (CTI) | 4818 |
| 80.12 | Debug authentication | 4819 |
| 80.12.1 | Main characteristics | 4819 |
| 80.12.2 | Debug authentication protocol principle | 4819 |
| 80.12.3 | Debug authentication protocol details ..... | 4820 |
| 80.13 | DBGMCU authentication protocol status mailbox ..... | 4820 |
| 80.14 | Debug versus TIL ..... | 4821 |
| 80.15 | References ..... | 4821 |
| 81 | Device electronic signature ..... | 4822 |
| 81.1 | Unique device ID register (96 bits) (UID) ..... | 4822 |
| 81.2 | Device part number (RPN) ..... | 4823 |
| 81.3 | Device version ..... | 4824 |
| 81.4 | Package data register (PKG) ..... | 4825 |
| 82 | Important security notice ..... | 4826 |
| 83 | Revision history ..... | 4827 |
List of tables
| Table 1. | STNoC routing of the DDR traffic . . . . . | 173 |
| Table 2. | Connectivity matrix . . . . . | 174 |
| Table 3. | STNoC master port main characteristics . . . . . | 178 |
| Table 4. | Slave port main characteristics . . . . . | 179 |
| Table 5. | MLAHB300 master port main characteristics . . . . . | 181 |
| Table 6. | MLAHB300 target port main characteristics . . . . . | 182 |
| Table 7. | MLAHB150 master port main characteristics . . . . . | 182 |
| Table 8. | MLAHB150 slave ports main characteristics . . . . . | 183 |
| Table 9. | Register boundary addresses for Cortex-A35 (CPU1) and Cortex-M33 (CPU2) . . . . . | 186 |
| Table 10. | Cortex-A35 subsystem configuration . . . . . | 203 |
| Table 11. | Cortex-A35 subsystem reset sources . . . . . | 204 |
| Table 12. | CA35SS SYSCFG register map and reset value . . . . . | 215 |
| Table 13. | Mapping SSC registers to secure flag register . . . . . | 218 |
| Table 14. | CA35SS SSC register map and reset value . . . . . | 225 |
| Table 15. | Cortex-M33 reset sources . . . . . | 230 |
| Table 16. | IDAU partitioning . . . . . | 232 |
| Table 17. | Memory partitioning . . . . . | 233 |
| Table 18. | Overview of RIF core components . . . . . | 238 |
| Table 19. | Interrupt connection types . . . . . | 242 |
| Table 20. | Access-type definitions for Arm TrustZone cores . . . . . | 242 |
| Table 21. | RIF illegal access definitions (security) . . . . . | 242 |
| Table 22. | RIF illegal access definitions (privilege) . . . . . | 243 |
| Table 23. | RIF illegal access definitions (compartments) . . . . . | 243 |
| Table 24. | BSEC internal input/output signals . . . . . | 250 |
| Table 25. | BSEC initial status reporting structure . . . . . | 255 |
| Table 26. | BSEC ad-hoc error/status reporting structure . . . . . | 256 |
| Table 27. | BSEC states definition . . . . . | 256 |
| Table 28. | Current HDPL coding . . . . . | 259 |
| Table 29. | BSEC Next HDPL register usage . . . . . | 260 |
| Table 30. | Debug and trace profiles . . . . . | 260 |
| Table 31. | BSEC debug register legal values . . . . . | 261 |
| Table 32. | BSEC register map and reset values . . . . . | 284 |
| Table 33. | STM32MP21xx OTP mapping . . . . . | 288 |
| Table 34. | STM32MP21xx OTP fuse description (lower OTP region) . . . . . | 294 |
| Table 35. | STM32MP21xx OTP fuse description (mid OTP region) . . . . . | 302 |
| Table 36. | STM32MP21xx OTP fuse description (upper OTP region) . . . . . | 304 |
| Table 37. | RIMU resource assignment . . . . . | 308 |
| Table 38. | Indexes for non-RIF-aware peripherals (RISUP) . . . . . | 309 |
| Table 39. | Indexes for RIF-aware peripherals (with RCC control index) . . . . . | 310 |
| Table 40. | RIMU internal input/output signal . . . . . | 312 |
| Table 41. | RISUP internal input/output signals . . . . . | 312 |
| Table 42. | DAP compartment ID allocation . . . . . | 313 |
| Table 43. | RIFSC register map and reset values . . . . . | 327 |
| Table 44. | RISAB resource assignment . . . . . | 330 |
| Table 45. | RISAB internal input/output signals . . . . . | 331 |
| Table 46. | RISAB register map and reset values . . . . . | 345 |
| Table 47. | RISAF resource assignment . . . . . | 348 |
| Table 48. | RISAF internal input/output signals ..... | 349 |
| Table 49. | RISAF subregion security setup matrix ..... | 351 |
| Table 50. | RISAF register map and reset values ..... | 373 |
| Table 51. | IAC internal signals ..... | 377 |
| Table 52. | IAC interrupt request ..... | 378 |
| Table 53. | IAC register map and reset values ..... | 382 |
| Table 54. | Frequency values for the DDRSS clocks versus data rate versus DDR JEDEC standard ..... | 385 |
| Table 55. | List of observable signals sent directly to HDP ..... | 389 |
| Table 56. | List of observable signals selectable and sent to HDP ..... | 390 |
| Table 57. | Detailed AC swizzling register values ..... | 398 |
| Table 58. | DDRSS register map and reset values ..... | 402 |
| Table 59. | DDRCTRL register map and reset values ..... | 509 |
| Table 60. | Function of DDRPHYC pins versus DDR protocol ..... | 527 |
| Table 61. | DDRPHYC register map and reset values ..... | 658 |
| Table 62. | Signals coming from DFI command-address decoder ..... | 696 |
| Table 63. | Signals monitored at performance logging interface (provided by DDRCTRL) ..... | 697 |
| Table 64. | Events generated by the DFI command address decoder ..... | 698 |
| Table 65. | Filtering policy ..... | 704 |
| Table 66. | DDRPERFM register map and reset values ..... | 711 |
| Table 67. | Internal SRAM features ..... | 714 |
| Table 68. | Internal SRAM hardware erase feature ..... | 714 |
| Table 69. | Effect of low-power modes on RAMCFG ..... | 716 |
| Table 70. | RAMCFG interrupt requests ..... | 717 |
| Table 71. | RAMCFG register map and reset values ..... | 732 |
| Table 72. | ICACHE features ..... | 736 |
| Table 73. | TAG memory dimensioning parameters for n-way set associative operating mode (default) ..... | 738 |
| Table 74. | TAG memory dimensioning parameters for direct-mapped cache mode ..... | 739 |
| Table 75. | ICACHE cacheability for AHB transaction ..... | 741 |
| Table 76. | Memory configurations ..... | 741 |
| Table 77. | ICACHE remap region size, base address, and remap address ..... | 742 |
| Table 78. | ICACHE interrupts ..... | 746 |
| Table 79. | ICACHE register map and reset values ..... | 753 |
| Table 80. | DCACHE features ..... | 756 |
| Table 81. | TAG memory dimensioning parameters ..... | 759 |
| Table 82. | DCACHE cacheability for AHB transaction ..... | 761 |
| Table 83. | DCACHE interrupts ..... | 766 |
| Table 84. | DCACHE register map and reset values ..... | 774 |
| Table 85. | PWR pin overview ..... | 778 |
| Table 86. | \(V_{DDCPU}/V_{DDCORE}\) voltage levels (for reference only) ..... | 781 |
| Table 87. | VSW domain function when VDDand VDDA18AON are presents ..... | 792 |
| Table 88. | CPU1 low-power mode summary ..... | 803 |
| Table 89. | CPU2 low-power mode summary ..... | 804 |
| Table 90. | System low-power modes ..... | 805 |
| Table 91. | Functionalities depending on system operating mode ..... | 806 |
| Table 92. | External regulators control ..... | 809 |
| Table 93. | PDD low-power mode control ..... | 810 |
| Table 94. | Low-power mode exit flags ..... | 812 |
| Table 95. | CPU1 CSleep mode ..... | 816 |
| Table 96. | CPU2 CSleep mode ..... | 816 |
| Table 97. | CPU1 CStop mode ..... | 817 |
| Table 98. | CPU2 CStop mode | 817 |
| Table 99. | D1 DStop1 mode | 818 |
| Table 100. | D1 DStandby mode | 819 |
| Table 101. | Stop1 mode | 820 |
| Table 102. | Stop2 mode | 821 |
| Table 103. | LP-Stop1 mode | 821 |
| Table 104. | LPLV-Stop1 mode | 822 |
| Table 105. | LP-Stop2 mode | 822 |
| Table 106. | LPLV-Stop2 mode | 823 |
| Table 107. | CPU1_HW_BEN and CPU2_HW_BEN management | 824 |
| Table 108. | Standby mode | 824 |
| Table 109. | PWR status flags | 827 |
| Table 110. | PWR register allocation to RIF resource and access conditions | 830 |
| Table 111. | PWR register map and reset values | 860 |
| Table 112. | Pin overview | 866 |
| Table 113. | IWDG timeout event combinations when TDCID = CPU1 | 870 |
| Table 114. | IWDG timeout event combinations when TDCID = CPU2 | 870 |
| Table 115. | Reset coverage summary | 873 |
| Table 116. | RCC registers with specific reset and specific voltages | 875 |
| Table 117. | RCC_HWRSTSCLRR, RCC_C1HWRSTSCLRR, RCC_C2HWRSTSCLRR flags | 877 |
| Table 118. | First CPUx boot selection | 880 |
| Table 119. | HOLD_BOOT state control after system Standby exit | 882 |
| Table 120. | Oscillator states versus system modes | 887 |
| Table 121. | Root clock mapping | 906 |
| Table 122. | APB root clock mapping | 908 |
| Table 123. | HSI, MSI and HSE states versus system modes | 911 |
| Table 124. | Resources blocked during clock restore sequence | 916 |
| Table 125. | Kernel clock distribution overview | 918 |
| Table 126. | Ratio between clock timers and ck_icn_apbx | 921 |
| Table 127. | ADC kernel clock source selection | 922 |
| Table 128. | Gating control of the APB clocks with ck_icn_p_ddrc and ck_icn_p_ddrphyc | 925 |
| Table 129. | Gating control of ck_icn_s_ddr clock | 926 |
| Table 130. | DDRCKMOD control description | 926 |
| Table 131. | DDRCTRL low-power states description | 927 |
| Table 132. | Recommended configurations when DDR is not shared (DDRSHR = 0) | 932 |
| Table 133. | Recommended configurations when DDR is shared (DDRSHR = 1) | 933 |
| Table 134. | MCDCG control bit when DDR is not shared (DDRSHR = 0) | 933 |
| Table 135. | MCDCG control bit when DDR is shared (DDRSHR = 1) | 934 |
| Table 136. | DPHYCG control bit when DDR is not shared (DDRSHR = 0) | 934 |
| Table 137. | DPHYCG control bit when DDR is shared (DDRSHR = 1) | 935 |
| Table 138. | Shareable peripherals list | 938 |
| Table 139. | Peripheral bus clock enabling logic | 940 |
| Table 140. | Peripheral kernel clock enabling logic | 941 |
| Table 141. | CPU1 mode details | 943 |
| Table 142. | Bus clock enable details for ck_icn_ahbx with x = 2,5,6 and ck_icn_apby with y = 1,2,3,4,5,dbg | 945 |
| Table 143. | FMC interface clocks from RCC | 946 |
| Table 144. | OCTOSPI clocks from RCC | 947 |
| Table 145. | OCTOSPI interface clocks from DLYBOS1 | 947 |
| Table 146. | SDMMC clocks from RCC | 949 |
| Table 147. | SDMMC interface clocks from DLYBSD1/2/3 | 950 |
| Table 148. | Ethernet clocks from RCC | 952 |
| Table 149. | Ethernet clocks to/from I/Os . . . . . | 952 |
| Table 150. | Active I/O per mode (MII, RMII, RGMII) . . . . . | 952 |
| Table 151. | Ethernet MAC speed encoding . . . . . | 954 |
| Table 152. | Cortex-A35 interface clocks from RCC . . . . . | 955 |
| Table 153. | Debug and Trace subsystem external clocks . . . . . | 956 |
| Table 154. | Camera subsystem external clocks . . . . . | 957 |
| Table 155. | Camera subsystem internal clocks . . . . . | 958 |
| Table 156. | Display subsystem external clocks . . . . . | 959 |
| Table 157. | USBH port clocks . . . . . | 960 |
| Table 158. | USB2 OTG high speed clocks from RCC and oscillator . . . . . | 961 |
| Table 159. | Security clocks from RCC . . . . . | 964 |
| Table 160. | Interrupt sources and control . . . . . | 966 |
| Table 161. | RCC register allocation to RIF resource and access conditions . . . . . | 972 |
| Table 162. | RCC register map and reset values . . . . . | 1150 |
| Table 163. | IPCC interface signals . . . . . | 1171 |
| Table 164. | Bits used for the communication . . . . . | 1171 |
| Table 165. | IPCC security modes . . . . . | 1177 |
| Table 166. | Access to channels . . . . . | 1178 |
| Table 167. | IPCC register map and reset values . . . . . | 1192 |
| Table 168. | Port x bit configurations . . . . . | 1195 |
| Table 169. | Secure AF between peripherals and allocated I/Os . . . . . | 1202 |
| Table 170. | GPIO protected bits . . . . . | 1203 |
| Table 171. | GPIO register map and reset values . . . . . | 1228 |
| Table 172. | SYSCFG register map and reset values . . . . . | 1281 |
| Table 173. | Peripherals interconnect matrix . . . . . | 1292 |
| Table 174. | Peripherals interconnect matrix details . . . . . | 1295 |
| Table 175. | Implementation of HPDMA1/2/3 channels . . . . . | 1318 |
| Table 176. | HPDMA1/2/3 wake-up in low-power modes . . . . . | 1318 |
| Table 177. | Programmed HPDMA1/2/3 request . . . . . | 1319 |
| Table 178. | Programmed HPDMA1/2/3 request as a block request . . . . . | 1323 |
| Table 179. | HPDMA1/2/3 channel with peripheral early termination . . . . . | 1323 |
| Table 180. | Programmed HPDMA1/2/3 request with peripheral early termination . . . . . | 1323 |
| Table 181. | Programmed HPDMA1/2/3 trigger . . . . . | 1324 |
| Table 182. | Programmed HPDMA source/destination burst . . . . . | 1348 |
| Table 183. | Programmed data handling . . . . . | 1353 |
| Table 184. | Effect of low-power modes on HPDMA . . . . . | 1377 |
| Table 185. | HPDMA interrupt requests . . . . . | 1377 |
| Table 186. | HPDMA register map and reset values . . . . . | 1432 |
| Table 187. | STM32MP21xx interrupt mapping for Cortex-M33 . . . . . | 1436 |
| Table 188. | STM32MP21xx Interrupt Mapping for Cortex-A35 . . . . . | 1445 |
| Table 189. | GICD register map and reset values . . . . . | 1474 |
| Table 190. | GICC register map and reset values . . . . . | 1485 |
| Table 191. | GICH register map and reset values . . . . . | 1491 |
| Table 192. | GICV register map and reset values . . . . . | 1499 |
| Table 193. | EXTI implementation . . . . . | 1502 |
| Table 194. | EXTI signals . . . . . | 1503 |
| Table 195. | EVG signals . . . . . | 1504 |
| Table 196. | EXTI1 wake-up interrupts . . . . . | 1505 |
| Table 197. | EXTI2 wake-up interrupts . . . . . | 1508 |
| Table 198. | EXTI event input configurations and register control . . . . . | 1510 |
| Table 199. | Masking functionality . . . . . | 1513 |
| Table 200. | Register protection overview . . . . . | 1514 |
| Table 201. | Register protection hierarchy overview. .... | 1516 |
| Table 202. | EXTIx register map sections. .... | 1516 |
| Table 203. | EXTI1 register map and reset values. .... | 1588 |
| Table 204. | EXTI2 register map and reset values. .... | 1593 |
| Table 205. | CRC internal input/output signals. .... | 1598 |
| Table 206. | CRC register map and reset values. .... | 1603 |
| Table 207. | FMC interface interrupts. .... | 1606 |
| Table 208. | RX and TX delays in lock mode. .... | 1610 |
| Table 209. | Number of delay elements enabled in each delay unit. .... | 1611 |
| Table 210. | Octo-SPI interface interrupts. .... | 1611 |
| Table 211. | OCTOSPI1 CS mapping. .... | 1611 |
| Table 212. | DLYBOS1 SYSCFG bits. .... | 1613 |
| Table 213. | OCTOSPI modes and recommended clock configuration. .... | 1614 |
| Table 214. | SD/eMMC interface interrupts. .... | 1620 |
| Table 215. | DLYBSD1 SYSCFG bits. .... | 1620 |
| Table 216. | DLYBSD2 SYSCFG bits. .... | 1621 |
| Table 217. | DLYBSD3 SYSCFG bits. .... | 1622 |
| Table 218. | SD speed modes and recommended clock configuration. .... | 1622 |
| Table 219. | eMMC Speed modes and recommended clock configuration. .... | 1623 |
| Table 220. | FMC features. .... | 1626 |
| Table 221. | FMC internal signals. .... | 1627 |
| Table 222. | FMC memory regions (default mapping). .... | 1629 |
| Table 223. | NOR/PSRAM subregion selection. .... | 1629 |
| Table 224. | NOR/PSRAM External memory address. .... | 1630 |
| Table 225. | NAND access memory map. .... | 1630 |
| Table 226. | FMC RIF register properties and definitions. .... | 1632 |
| Table 227. | Programmable NOR/PSRAM access parameters. .... | 1641 |
| Table 228. | Non-multiplexed I/O NOR flash memory. .... | 1641 |
| Table 229. | 16-bit multiplexed I/O NOR flash memory. .... | 1642 |
| Table 230. | Non-multiplexed I/Os PSRAM/SRAM. .... | 1642 |
| Table 231. | 16-bit multiplexed I/O PSRAM. .... | 1642 |
| Table 232. | NOR flash/PSRAM: Example of supported memories and transactions. .... | 1643 |
| Table 233. | FMC_BCRx bitfields (mode 1). .... | 1647 |
| Table 234. | FMC_BTRx bitfields (mode 1). .... | 1647 |
| Table 235. | FMC_BCRx bitfields (mode A). .... | 1649 |
| Table 236. | FMC_BTRx bitfields (mode A). .... | 1650 |
| Table 237. | FMC_BWTRx bitfields (mode A). .... | 1650 |
| Table 238. | FMC_BCRx bitfields (mode 2/B). .... | 1652 |
| Table 239. | FMC_BTRx bitfields (mode 2/B). .... | 1653 |
| Table 240. | FMC_BWTRx bitfields (mode 2/B). .... | 1653 |
| Table 241. | FMC_BCRx bitfields (mode C). .... | 1655 |
| Table 242. | FMC_BTRx bitfields (mode C). .... | 1655 |
| Table 243. | FMC_BWTRx bitfields (mode C). .... | 1656 |
| Table 244. | FMC_BCRx bitfields (mode D). .... | 1657 |
| Table 245. | FMC_BTRx bitfields (mode D). .... | 1658 |
| Table 246. | FMC_BWTRx bitfields (mode D). .... | 1658 |
| Table 247. | FMC_BCRx bitfields (muxed mode). .... | 1660 |
| Table 248. | FMC_BTRx bitfields (muxed mode). .... | 1661 |
| Table 249. | FMC_BCRx bitfields (Synchronous multiplexed read mode). .... | 1666 |
| Table 250. | FMC_BTRx bitfields (Synchronous multiplexed read mode). .... | 1667 |
| Table 251. | FMC_BCRx bitfields (Synchronous multiplexed write mode). .... | 1668 |
| Table 252. | FMC_BTRx bitfields (Synchronous multiplexed write mode). .... | 1669 |
| Table 253. | Programmable NAND flash access parameters . . . . . | 1682 |
| Table 254. | 8-bit NAND flash memory . . . . . | 1683 |
| Table 255. | 16-bit NAND flash memory . . . . . | 1683 |
| Table 256. | Supported memories and transactions . . . . . | 1684 |
| Table 257. | Number of ECC parity bytes per sector . . . . . | 1689 |
| Table 258. | FMC NAND controller Interrupt request . . . . . | 1697 |
| Table 259. | HPR relevant bits . . . . . | 1703 |
| Table 260. | ECC result relevant bits . . . . . | 1704 |
| Table 261. | FMC register map . . . . . | 1722 |
| Table 262. | OCTOSPI implementation . . . . . | 1728 |
| Table 263. | OCTOSPI input/output pins . . . . . | 1730 |
| Table 264. | OCTOSPI internal signals . . . . . | 1730 |
| Table 265. | Command/address phase description . . . . . | 1739 |
| Table 266. | OctaRAM command address bit assignment (based on 64-Mbyte OctaRAM) . . . . . | 1750 |
| Table 267. | Address alignment cases . . . . . | 1757 |
| Table 268. | OCTOSPI interrupt requests . . . . . | 1759 |
| Table 269. | OCTOSPI register map and reset values . . . . . | 1784 |
| Table 270. | SDMMC features . . . . . | 1788 |
| Table 271. | SDMMC operation modes SD and SDIO . . . . . | 1791 |
| Table 272. | SDMMC operation modes eMMC . . . . . | 1791 |
| Table 273. | SDMMC internal input/output signals . . . . . | 1792 |
| Table 274. | SDMMC pins . . . . . | 1793 |
| Table 275. | SDMMC Command and data phase selection . . . . . | 1794 |
| Table 276. | Command token format . . . . . | 1800 |
| Table 277. | Short response with CRC token format . . . . . | 1801 |
| Table 278. | Short response without CRC token format . . . . . | 1801 |
| Table 279. | Long response with CRC token format . . . . . | 1801 |
| Table 280. | Specific Commands overview . . . . . | 1802 |
| Table 281. | Command path status flags . . . . . | 1803 |
| Table 282. | Command path error handling . . . . . | 1803 |
| Table 283. | Data token format . . . . . | 1811 |
| Table 284. | Data path status flags and clear bits . . . . . | 1811 |
| Table 285. | Data path error handling . . . . . | 1813 |
| Table 286. | Data FIFO access . . . . . | 1814 |
| Table 287. | Transmit FIFO status flags . . . . . | 1815 |
| Table 288. | Receive FIFO status flags . . . . . | 1817 |
| Table 289. | AHB and SDMMC_CK clock frequency relation . . . . . | 1821 |
| Table 290. | SDIO special operation control . . . . . | 1822 |
| Table 291. | 4-bit mode Start, interrupt, and CRC-status Signaling detection . . . . . | 1826 |
| Table 292. | CMD12 use cases . . . . . | 1831 |
| Table 293. | Data block gap hardware flow control behavior . . . . . | 1843 |
| Table 294. | Hardware flow control selection . . . . . | 1843 |
| Table 295. | SDMMC interrupts . . . . . | 1847 |
| Table 296. | Response type and SDMMC_RESPxR registers . . . . . | 1854 |
| Table 297. | SDMMC register map . . . . . | 1872 |
| Table 298. | STM32MP21xx features . . . . . | 1875 |
| Table 299. | DLYB functional signals . . . . . | 1877 |
| Table 300. | SDMMC DLYB interconnections . . . . . | 1878 |
| Table 301. | OCTOSPI DLYB interconnections . . . . . | 1878 |
| Table 302. | ADC features . . . . . | 1883 |
| Table 303. | ADC input/output pins . . . . . | 1885 |
| Table 304. | ADC internal input/output signals ..... | 1885 |
| Table 305. | ADC1 interconnection ..... | 1885 |
| Table 306. | ADC2 interconnection ..... | 1887 |
| Table 307. | Configuring the trigger polarity for regular external triggers ..... | 1908 |
| Table 308. | Configuring the trigger polarity for injected external triggers ..... | 1908 |
| Table 309. | TSAR timings depending on resolution ..... | 1910 |
| Table 310. | Offset computation versus data resolution ..... | 1914 |
| Table 311. | 12-bit data formats ..... | 1916 |
| Table 312. | Numerical examples for 32-bit or 16-bit format (POSSPFF = 0) ..... | 1917 |
| Table 313. | Analog window watchdog features ..... | 1925 |
| Table 314. | Analog watchdog 1 channel selection ..... | 1926 |
| Table 315. | Analog watchdog 1, 2, 3 comparison ..... | 1927 |
| Table 316. | Maximum output results versus N and M ..... | 1932 |
| Table 317. | Oversampler operating mode summary ..... | 1936 |
| Table 318. | DELAY bits versus ADC resolution ..... | 1936 |
| Table 319. | ADC interrupts ..... | 1940 |
| Table 320. | ADC register map and reset values ..... | 1975 |
| Table 321. | ADC register map and reset values (master and slave ADC common registers) ..... | 1978 |
| Table 322. | DTS internal input/output signals ..... | 1980 |
| Table 323. | SDA slave registers ..... | 1985 |
| Table 324. | SDA TS control register (SDATS_CR) ..... | 1985 |
| Table 325. | SDA TS configuration register (SDATS_CFGR) ..... | 1986 |
| Table 326. | SDA TS data register (SDATS_DR) ..... | 1987 |
| Table 327. | SDA TS timer register (SDATS_TIMERR) ..... | 1988 |
| Table 328. | Output resolution configuration ..... | 1993 |
| Table 329. | DTS interrupts ..... | 1994 |
| Table 330. | DTS register memory map ..... | 1995 |
| Table 331. | PVT common register map and reset values ..... | 2015 |
| Table 332. | PVT IRQ register map and reset values ..... | 2015 |
| Table 333. | DTS TSC clock synthesizer register map and reset values ..... | 2016 |
| Table 334. | DTS TS individual register map and reset values ..... | 2018 |
| Table 335. | VREFBUF typical values ..... | 2020 |
| Table 336. | VREF buffer modes ..... | 2021 |
| Table 337. | VREFBUF register map and reset values ..... | 2025 |
| Table 338. | MDF features ..... | 2027 |
| Table 339. | MDF external pins ..... | 2030 |
| Table 340. | MDF internal signals ..... | 2030 |
| Table 341. | MDF trigger connections ..... | 2030 |
| Table 342. | MDF break connections ..... | 2031 |
| Table 343. | MDF ADC data connections ..... | 2031 |
| Table 344. | Control of the common clock generation ..... | 2039 |
| Table 345. | Clock constraints with respect to the incoming stream ..... | 2040 |
| Table 346. | Data size according to CIC order and CIC decimation values ..... | 2047 |
| Table 347. | Maximum decimation ratio versus order and input data size ..... | 2048 |
| Table 348. | Possible gain values ..... | 2049 |
| Table 349. | Recommended maximum gain values versus CIC decimation ratios ..... | 2051 |
| Table 350. | Most common microphone settings ..... | 2051 |
| Table 351. | HPF 3 dB cut-off frequencies examples ..... | 2053 |
| Table 352. | Register protection summary ..... | 2074 |
| Table 353. | Effect of low-power modes on MDF ..... | 2075 |
| Table 354. | MDF interrupt requests ..... | 2077 |
| Table 355. | Examples of MDF settings for microphone capture | 2078 |
| Table 356. | Programming sequence | 2078 |
| Table 357. | Output signal levels | 2085 |
| Table 358. | MDF register map and reset values | 2110 |
| Table 359. | Camera subsystem RIF peripheral ID | 2118 |
| Table 360. | DCMI input/output pins | 2124 |
| Table 361. | DCMI internal input/output signals | 2124 |
| Table 362. | Positioning of captured data bytes in 32-bit words (8-bit width) | 2126 |
| Table 363. | Positioning of captured data bytes in 32-bit words (10-bit width) | 2126 |
| Table 364. | Positioning of captured data bytes in 32-bit words (12-bit width) | 2126 |
| Table 365. | Positioning of captured data bytes in 32-bit words (14-bit width) | 2127 |
| Table 366. | Data storage in monochrome progressive video format | 2132 |
| Table 367. | Data storage in RGB progressive video format | 2133 |
| Table 368. | Data storage in YCbCr progressive video format | 2133 |
| Table 369. | Data storage in YCbCr progressive video format - Y extraction mode | 2133 |
| Table 370. | DCMI interrupts. | 2134 |
| Table 371. | DCMI register map and reset values | 2145 |
| Table 372. | Available pipelines | 2147 |
| Table 373. | Glossary | 2148 |
| Table 374. | DCMIPP input/output pads | 2153 |
| Table 375. | DCMIPP input/output pins | 2153 |
| Table 376. | DCMIPP clocks | 2153 |
| Table 377. | DCMIPP resets | 2154 |
| Table 378. | Parallel interface maximum resolution (80 MHz) | 2155 |
| Table 379. | Supported pixel formats | 2157 |
| Table 380. | DCMIPP_CMCR bit function. | 2159 |
| Table 381. | DCMIPP_PRCR bit function | 2162 |
| Table 382. | DCMIPP_PRESCR and DCMIPP_PRESUR bit function | 2162 |
| Table 383. | DCMIPP_CMTPGCR1 and DCMIPP_CMTPGCR2 bit function | 2164 |
| Table 384. | DCMIPP_PxFCTCR bit function | 2172 |
| Table 385. | DCMIPP_P0PPCR bit function | 2175 |
| Table 386. | DCMIPP_P0DCCNTR and DCMIPP_P0DCLMTR bit function. | 2178 |
| Table 387. | DCMIPP_P1SRCR bit function | 2180 |
| Table 388. | DCMIPP_P1BPRCR and DCMIPP_P1BPRSR bit function | 2181 |
| Table 389. | DCMIPP_P1DECR bit function | 2182 |
| Table 390. | DCMIPP_P1BLCCR bit function | 2183 |
| Table 391. | DCMIPP_P1EXCR1 and DCMIPP_P1EXCR2 bit function. | 2184 |
| Table 392. | DCMIPP_P1DMCR bit function | 2186 |
| Table 393. | DCMIPP_PxCCyy (yy = R0, R1, G0, G1, B0, B1) bit function | 2187 |
| Table 394. | Color conversion: examples of coefficients | 2188 |
| Table 395. | DCMIPP_P1CTCR1,2,3 bit function | 2190 |
| Table 396. | DCMIPP_P1STyCR (y = 1, 2, 3), DCMIPP_P1STySR (y = 1, 2, 3), DCMIPP_P1STSTR and DCMIPP_P1STSZR bit function | 2191 |
| Table 397. | Statistics extraction: collected data vs. modes | 2193 |
| Table 398. | DCMIPP_P1HSCR, DCMIPP_P1HSSR, DCMIPP_P1HSMAR1, DCMIPP_P1HSMAR2, and DCMIPP_P1HSSMAR bit function | 2195 |
| Table 399. | DCMIPP_PxCRSTR and DCMIPP_PxCRSZR bit function | 2202 |
| Table 400. | DCMIPP_PxDCCR bit function | 2203 |
| Table 401. | DCMIPP_PxDSCR, DCMIPP_PxDSRTIOR, DCMIPP_PxDSSZR. | 2204 |
| Table 402. | DCMIPP_PxPPCR bit function | 2206 |
| Table 403. | Parallel interface input pixel formats | 2219 |
| Table 404. | Correspondence between index and DCMIPP_PRCR register values. | 2220 |
| Table 405. | Parallel interface input pixel formats . . . . . | 2221 |
| Table 406. | Pixel pipe output pixel format . . . . . | 2221 |
| Table 407. | Dump pipe OUTPUT pixel formats . . . . . | 2223 |
| Table 408. | Shadow and physical registers . . . . . | 2230 |
| Table 409. | DCMIPP low power modes . . . . . | 2232 |
| Table 410. | DCMIPP interrupts . . . . . | 2235 |
| Table 411. | Event connection . . . . . | 2236 |
| Table 412. | DCMIPP registers organization . . . . . | 2238 |
| Table 413. | DCMIPP register map and reset values . . . . . | 2340 |
| Table 414. | Glossary of terms . . . . . | 2354 |
| Table 415. | Effect of low-power modes on CSI-2 Host controller . . . . . | 2373 |
| Table 416. | List of errors detected by the CSI-2 Host controller . . . . . | 2373 |
| Table 417. | List of events that trigger an interrupt . . . . . | 2374 |
| Table 418. | CSI-2 Host and PHY register map and reset values . . . . . | 2412 |
| Table 419. | PSSI input/output pins . . . . . | 2418 |
| Table 420. | PSSI internal input/output signals . . . . . | 2418 |
| Table 421. | Positioning of captured data bytes in 32-bit words (8-bit width) . . . . . | 2419 |
| Table 422. | Positioning of captured data bytes in 32-bit words (16-bit width) . . . . . | 2420 |
| Table 423. | PSSI interrupt requests . . . . . | 2423 |
| Table 424. | PSSI register map and reset values . . . . . | 2430 |
| Table 425. | Display subsystem RIF peripheral ID . . . . . | 2437 |
| Table 426. | LTDC pins . . . . . | 2442 |
| Table 427. | Clock domain for each register . . . . . | 2443 |
| Table 428. | LTDC register access and updated durations . . . . . | 2445 |
| Table 429. | Pixel data mapping versus color format . . . . . | 2448 |
| Table 430. | LTDC interrupt requests . . . . . | 2465 |
| Table 431. | LTDC register map and reset values . . . . . | 2502 |
| Table 432. | RNG internal input/output signals . . . . . | 2511 |
| Table 433. | RNG interrupt requests . . . . . | 2520 |
| Table 434. | RNG configurations . . . . . | 2521 |
| Table 435. | Additional health test configurations . . . . . | 2521 |
| Table 436. | Configuration selection . . . . . | 2521 |
| Table 437. | RNG register map and reset map . . . . . | 2530 |
| Table 438. | CRYP1 versus SAES features . . . . . | 2534 |
| Table 439. | SAES internal input/output signals . . . . . | 2535 |
| Table 440. | SAES approved AES symmetric key functions . . . . . | 2536 |
| Table 441. | Counter mode initialization vector definition . . . . . | 2546 |
| Table 442. | Initialization of IV registers in GCM mode . . . . . | 2549 |
| Table 443. | GCM last block definition . . . . . | 2549 |
| Table 444. | Initialization of IV registers in CCM mode . . . . . | 2555 |
| Table 445. | SAES data swapping example . . . . . | 2564 |
| Table 446. | Key endianness in SAES_KEYRx registers (128/192/256-bit keys) . . . . . | 2566 |
| Table 447. | IVI bitfield spread over SAES_IVRx registers . . . . . | 2568 |
| Table 448. | SAES interrupt requests . . . . . | 2570 |
| Table 449. | Processing latency for ECB, CBC and CTR . . . . . | 2571 |
| Table 450. | Processing latency for GCM and CCM . . . . . | 2572 |
| Table 451. | SAES register map and reset values . . . . . | 2587 |
| Table 452. | CRYP versus SAES features . . . . . | 2590 |
| Table 453. | CRYP internal input/output signals . . . . . | 2592 |
| Table 454. | CRYP approved AES symmetric key functions . . . . . | 2592 |
| Table 455. | CRYP approved DES/TDES symmetric key functions . . . . . | 2592 |
| Table 456. | Counter mode initialization vector definition . . . . . | 2606 |
| Table 457. | GCM mode IVI registers initialization ..... | 2609 |
| Table 458. | GCM last block definition ..... | 2609 |
| Table 459. | CCM mode IVI registers initialization ..... | 2616 |
| Table 460. | DES/TDES data swapping example ..... | 2621 |
| Table 461. | AES data swapping example ..... | 2622 |
| Table 462. | Key endianness in CRYP_KxR/LR registers (AES 128/192/256-bit keys) ..... | 2624 |
| Table 463. | Key endianness in CRYP_KxR/LR registers (DES K1 and TDES K1/2/3) ..... | 2624 |
| Table 464. | Initialization vector endianness in CRYP_IVxR registers (AES) ..... | 2625 |
| Table 465. | Initialization vector endianness in CRYP_IVxR registers (DES/TDES) ..... | 2625 |
| Table 466. | CRYP interrupt requests ..... | 2627 |
| Table 467. | Processing latency for ECB, CBC and CTR ..... | 2628 |
| Table 468. | Processing latency for GCM and CCM (in clock cycles) ..... | 2629 |
| Table 469. | CRYP register map and reset values ..... | 2644 |
| Table 470. | HASH internal input/output signals ..... | 2649 |
| Table 471. | Information on supported hash algorithms ..... | 2649 |
| Table 472. | Hash processor outputs ..... | 2653 |
| Table 473. | Processing time (in clock cycle) ..... | 2660 |
| Table 474. | HASH interrupt requests ..... | 2661 |
| Table 475. | HASH1 register map and reset values ..... | 2671 |
| Table 476. | OTFDEC internal input/output signals ..... | 2674 |
| Table 477. | OTFDEC interrupt requests ..... | 2678 |
| Table 478. | OTFDEC register map and reset values ..... | 2691 |
| Table 479. | Internal input/output signals ..... | 2696 |
| Table 480. | PKA integer arithmetic functions list ..... | 2697 |
| Table 481. | PKA prime field (Fp) elliptic curve functions list ..... | 2698 |
| Table 482. | Example of 'a' curve coefficient for ECC Fp scalar ..... | 2704 |
| Table 483. | Montgomery parameter computation ..... | 2704 |
| Table 484. | Modular addition ..... | 2705 |
| Table 485. | Modular subtraction ..... | 2705 |
| Table 486. | Montgomery multiplication ..... | 2706 |
| Table 487. | Modular exponentiation (normal mode) ..... | 2707 |
| Table 488. | Modular exponentiation (fast mode) ..... | 2707 |
| Table 489. | Modular exponentiation (protected mode) ..... | 2708 |
| Table 490. | Modular inversion ..... | 2708 |
| Table 491. | Modular reduction ..... | 2709 |
| Table 492. | Arithmetic addition ..... | 2709 |
| Table 493. | Arithmetic subtraction ..... | 2709 |
| Table 494. | Arithmetic multiplication ..... | 2710 |
| Table 495. | Arithmetic comparison ..... | 2710 |
| Table 496. | CRT exponentiation ..... | 2711 |
| Table 497. | Point on elliptic curve Fp check ..... | 2712 |
| Table 498. | ECC Fp scalar multiplication ..... | 2712 |
| Table 499. | ECDSA sign - Inputs ..... | 2714 |
| Table 500. | ECDSA sign - Outputs ..... | 2714 |
| Table 501. | Extended ECDSA sign - additional outputs ..... | 2715 |
| Table 502. | ECDSA verification - inputs ..... | 2715 |
| Table 503. | ECDSA verification - outputs ..... | 2716 |
| Table 504. | ECC complete addition ..... | 2716 |
| Table 505. | ECC double base ladder ..... | 2717 |
| Table 506. | ECC projective to affine ..... | 2718 |
| Table 507. | Family of supported curves for ECC operations ..... | 2719 |
| Table 508. | Modular exponentiation ..... | 2720 |
| Table 509. | ECC scalar multiplication . . . . . | 2720 |
| Table 510. | ECDSA signature average computation time . . . . . | 2721 |
| Table 511. | ECDSA verification average computation times . . . . . | 2721 |
| Table 512. | ECC double base ladder average computation times . . . . . | 2721 |
| Table 513. | ECC projective to affine average computation times . . . . . | 2721 |
| Table 514. | ECC complete addition average computation times . . . . . | 2721 |
| Table 515. | Point on elliptic curve Fp check average computation times . . . . . | 2721 |
| Table 516. | Montgomery parameters average computation times. . . . . | 2722 |
| Table 517. | PKA interrupt requests . . . . . | 2722 |
| Table 518. | PKA register map and reset values . . . . . | 2729 |
| Table 519. | TIM input/output pins . . . . . | 2732 |
| Table 520. | TIM internal input/output signals. . . . . | 2732 |
| Table 521. | Interconnect to the tim_ti1 input multiplexer. . . . . | 2733 |
| Table 522. | Interconnect to the tim_ti2 input multiplexer. . . . . | 2733 |
| Table 523. | Interconnect to the tim_ti3 input multiplexer. . . . . | 2734 |
| Table 524. | Interconnect to the tim_ti4 input multiplexer. . . . . | 2734 |
| Table 525. | Internal trigger connection . . . . . | 2734 |
| Table 526. | Interconnect to the tim_etr input multiplexer. . . . . | 2735 |
| Table 527. | Timer break interconnect . . . . . | 2735 |
| Table 528. | Timer break2 interconnect . . . . . | 2736 |
| Table 529. | System break interconnect . . . . . | 2736 |
| Table 530. | CCR and ARR register change dithering pattern . . . . . | 2768 |
| Table 531. | CCR register change dithering pattern in center-aligned PWM mode . . . . . | 2769 |
| Table 532. | Behavior of timer outputs versus tim_brk/tim_brk2 inputs . . . . . | 2781 |
| Table 533. | Break protection disarming conditions . . . . . | 2783 |
| Table 534. | Counting direction versus encoder signals (CC1P = CC2P = 0) . . . . . | 2791 |
| Table 535. | Counting direction versus encoder signals and polarity settings . . . . . | 2795 |
| Table 536. | DMA request. . . . . | 2816 |
| Table 537. | Effect of low-power modes on TIM1/TIM8 . . . . . | 2817 |
| Table 538. | Interrupt requests . . . . . | 2817 |
| Table 539. | Output control bits for complementary tim_ocx and tim_ocxn channels with break feature . . . . . | 2844 |
| Table 540. | TIMx register map and reset values . . . . . | 2871 |
| Table 541. | STM32MP21xx general purpose timers . . . . . | 2875 |
| Table 542. | TIM input/output pins . . . . . | 2877 |
| Table 543. | TIM internal input/output signals. . . . . | 2877 |
| Table 544. | Interconnect to the tim_ti1 input multiplexer. . . . . | 2878 |
| Table 545. | Interconnect to the tim_ti2 input multiplexer. . . . . | 2878 |
| Table 546. | Interconnect to the tim_ti3 input multiplexer. . . . . | 2878 |
| Table 547. | Interconnect to the tim_ti4 input multiplexer. . . . . | 2879 |
| Table 548. | TIMx internal trigger connection . . . . . | 2879 |
| Table 549. | Interconnect to the tim_etr input multiplexer. . . . . | 2879 |
| Table 550. | CCR and ARR register change dithering pattern . . . . . | 2911 |
| Table 551. | CCR register change dithering pattern in center-aligned PWM mode . . . . . | 2912 |
| Table 552. | Counting direction versus encoder signals(CC1P = CC2P = 0) . . . . . | 2921 |
| Table 553. | Counting direction versus encoder signals and polarity settings . . . . . | 2926 |
| Table 554. | DMA request. . . . . | 2950 |
| Table 555. | Effect of low-power modes on TIM2/TIM3/TIM4/TIM5 . . . . . | 2950 |
| Table 556. | Interrupt requests . . . . . | 2951 |
| Table 557. | Output control bit for standard tim_ocx channels . . . . . | 2972 |
| Table 558. | TIM2/TIM3/TIM4/TIM5 register map and reset values . . . . . | 2987 |
| Table 559. | TIM internal input/output signals. . . . . | 2991 |
| Table 560. | TIMx_ARR register change dithering pattern . . . . . | 3001 |
| Table 561. | DMA request . . . . . | 3002 |
| Table 562. | Effect of low-power modes on TIM6/TIM7 . . . . . | 3002 |
| Table 563. | Interrupt request . . . . . | 3002 |
| Table 564. | TIMx register map and reset values . . . . . | 3012 |
| Table 565. | TIM input/output pins . . . . . | 3017 |
| Table 566. | TIM internal input/output signals . . . . . | 3017 |
| Table 567. | Interconnect to the tim_ti1 input multiplexer . . . . . | 3018 |
| Table 568. | Interconnect to the tim_ti2 input multiplexer . . . . . | 3018 |
| Table 569. | TIMx internal trigger connection . . . . . | 3018 |
| Table 570. | CCR and ARR register change dithering pattern . . . . . | 3036 |
| Table 571. | Effect of low-power modes on TIM10/TIM11/TIM12/TIM13/TIM14 . . . . . | 3045 |
| Table 572. | Interrupt requests . . . . . | 3045 |
| Table 573. | Output control bit for standard tim_ocx channels . . . . . | 3057 |
| Table 574. | TIM12 register map and reset values . . . . . | 3065 |
| Table 575. | Output control bit for standard tim_ocx channels . . . . . | 3074 |
| Table 576. | TIM10/TIM11/TIM13/TIM14 register map and reset values . . . . . | 3081 |
| Table 577. | TIM input/output pins . . . . . | 3086 |
| Table 578. | TIM internal input/output signals . . . . . | 3087 |
| Table 579. | Interconnect to the tim_ti1 input multiplexer . . . . . | 3087 |
| Table 580. | Interconnect to the tim_ti2 input multiplexer . . . . . | 3088 |
| Table 581. | TIMx internal trigger connection . . . . . | 3088 |
| Table 582. | Timer break interconnect . . . . . | 3089 |
| Table 583. | System break interconnect . . . . . | 3089 |
| Table 584. | CCR and ARR register change dithering pattern . . . . . | 3109 |
| Table 585. | Break protection disarming conditions . . . . . | 3118 |
| Table 586. | DMA request . . . . . | 3129 |
| Table 587. | Effect of low-power modes on TIM15/TIM16/TIM17 . . . . . | 3130 |
| Table 588. | Interrupt requests . . . . . | 3130 |
| Table 589. | Output control bits for complementary tim_ocx and tim_ocxn channels with break feature (TIM15) . . . . . | 3146 |
| Table 590. | TIM15 register map and reset values . . . . . | 3162 |
| Table 591. | Output control bits for complementary tim_oc1 and tim_oc1n channels with break feature (TIM16/TIM17) . . . . . | 3176 |
| Table 592. | TIM16/TIM17 register map and reset values . . . . . | 3193 |
| Table 593. | STM32MP21xx LPTIM features . . . . . | 3197 |
| Table 594. | LPTIM1/2/3/4 input/output pins . . . . . | 3199 |
| Table 595. | LPTIM5 input/output pins . . . . . | 3199 |
| Table 596. | LPTIM1/2/3/4 internal signals . . . . . | 3200 |
| Table 597. | LPTIM5 internal signals . . . . . | 3200 |
| Table 598. | LPTIM1/2/3/4/5 external trigger connections . . . . . | 3201 |
| Table 599. | LPTIM1/2/3/4/5 input 1 connections . . . . . | 3201 |
| Table 600. | LPTIM1/2 input 2 connections . . . . . | 3201 |
| Table 601. | LPTIM1/2/3/4 input capture 1 connections . . . . . | 3201 |
| Table 602. | LPTIM1/2/3 input capture 2 connections . . . . . | 3202 |
| Table 603. | Prescaler division ratios . . . . . | 3203 |
| Table 604. | Encoder counting scenarios . . . . . | 3210 |
| Table 605. | Input capture Glitch filter latency (in counter step unit) . . . . . | 3214 |
| Table 606. | Interrupt events . . . . . | 3220 |
| Table 607. | LPTIM register map and reset values . . . . . | 3247 |
| Table 608. | STGENC register map and reset values . . . . . | 3265 |
| Table 609. | STGENR register map and reset values . . . . . | 3266 |
| Table 610. | STM32MP21xx IWDG features | 3270 |
| Table 611. | IWDG delays versus actions | 3271 |
| Table 612. | IWDG internal input/output signals | 3272 |
| Table 613. | Effect of low power modes on IWDG | 3277 |
| Table 614. | IWDG interrupt request | 3279 |
| Table 615. | IWDG register map and reset values | 3287 |
| Table 616. | STM32MP21xx WWDG features | 3288 |
| Table 617. | WWDG internal input/output signals | 3289 |
| Table 618. | WWDG register map and reset values | 3295 |
| Table 619. | RTC input/output pins | 3299 |
| Table 620. | RTC internal input/output signals | 3299 |
| Table 621. | RTC interconnection | 3300 |
| Table 622. | RTC pin PC13 configuration | 3300 |
| Table 623. | PI8 configuration | 3303 |
| Table 624. | RTC_OUT mapping | 3304 |
| Table 625. | RTC resource number allocation | 3307 |
| Table 626. | Effect of low-power modes on RTC | 3321 |
| Table 627. | RTC pins functionality over modes | 3321 |
| Table 628. | Nonsecure interrupt requests | 3322 |
| Table 629. | Secure interrupt requests | 3323 |
| Table 630. | RTC register map and reset values | 3358 |
| Table 631. | TAMP input/output pins | 3364 |
| Table 632. | TAMP internal input/output signals | 3364 |
| Table 633. | TAMP interconnection | 3365 |
| Table 634. | CID regions | 3370 |
| Table 635. | RIF TAMP resource number allocation | 3370 |
| Table 636. | Device resource x tamper protection | 3374 |
| Table 637. | Active tamper output change period | 3378 |
| Table 638. | Minimum ATPER value | 3379 |
| Table 639. | Active tamper filtered pulse duration | 3380 |
| Table 640. | Effect of low-power modes on TAMP | 3382 |
| Table 641. | TAMP pins functionality over modes | 3382 |
| Table 642. | Nonsecure interrupt requests | 3382 |
| Table 643. | Secure interrupt requests | 3383 |
| Table 644. | TAMP register map and reset values | 3420 |
| Table 645. | I2C implementation | 3424 |
| Table 646. | I2C input/output pins | 3425 |
| Table 647. | I2C internal input/output signals | 3426 |
| Table 648. | I2C1 interconnection | 3426 |
| Table 649. | I2C2 interconnection | 3426 |
| Table 650. | I2C3 interconnection | 3427 |
| Table 651. | Comparison of analog and digital filters | 3430 |
| Table 652. | I2C-bus and SMBus specification data setup and hold times | 3432 |
| Table 653. | I2C configuration | 3436 |
| Table 654. | I2C-bus and SMBus specification clock timings | 3447 |
| Table 655. | Timing settings for fI2CCLK of 8 MHz | 3457 |
| Table 656. | Timing settings for fI2CCLK of 16 MHz | 3457 |
| Table 657. | SMBus timeout specifications | 3459 |
| Table 658. | SMBus with PEC configuration | 3461 |
| Table 659. | TIMEOUTA[11:0] for maximum tTIMEOUT of 25 ms | 3462 |
| Table 660. | TIMEOUTB[11:0] for maximum tLOW:SEXT and tLOW:MEXT of 8 ms | 3462 |
| Table 661. | TIMEOUTA[11:0] for maximum tIDLE of 50 µs | 3462 |
| Table 662. | Effect of low-power modes to I2C . . . . . | 3472 |
| Table 663. | I2C interrupt requests . . . . . | 3473 |
| Table 664. | I2C register map and reset values . . . . . | 3491 |
| Table 665. | I3C peripheral controller/target features versus MIPI v1.1 . . . . . | 3495 |
| Table 666. | I3C instantiation . . . . . | 3498 |
| Table 667. | I3C wake-up . . . . . | 3498 |
| Table 668. | I3C autonomous mode with DMA in Stop mode(s) . . . . . | 3498 |
| Table 669. | I3C FIFOs implementation . . . . . | 3499 |
| Table 670. | I3C interrupt(s) . . . . . | 3499 |
| Table 671. | I3C input/output pins . . . . . | 3500 |
| Table 672. | I3C internal input/output signals . . . . . | 3500 |
| Table 673. | I3C register usage . . . . . | 3513 |
| Table 674. | I3C registers/fields usage versus controller state . . . . . | 3514 |
| Table 675. | I3C registers/fields usage versus target state . . . . . | 3517 |
| Table 676. | List of supported I3C CCCs, as controller/target . . . . . | 3520 |
| Table 677. | I3C controller error management . . . . . | 3552 |
| Table 678. | I3C target error management . . . . . | 3554 |
| Table 679. | Effect of low-power modes . . . . . | 3558 |
| Table 680. | I3C register map and reset values . . . . . | 3605 |
| Table 681. | Instance implementation on STM32MP21xx . . . . . | 3610 |
| Table 682. | USART/LPUART features . . . . . | 3611 |
| Table 683. | USART/UART input/output pins . . . . . | 3613 |
| Table 684. | USART internal input/output signals . . . . . | 3614 |
| Table 685. | USART interconnection (USART1/2/3/6 and UART4/5/7) . . . . . | 3614 |
| Table 686. | Noise detection from sampled data . . . . . | 3626 |
| Table 687. | Tolerance of the USART receiver when BRR [3:0] = 0000 . . . . . | 3630 |
| Table 688. | Tolerance of the USART receiver when BRR[3:0] is different from 0000 . . . . . | 3630 |
| Table 689. | USART frame formats . . . . . | 3635 |
| Table 690. | Effect of low-power modes on the USART . . . . . | 3656 |
| Table 691. | USART interrupt requests . . . . . | 3657 |
| Table 692. | USART register map and reset values . . . . . | 3699 |
| Table 693. | Instance implementation on STM32MP21xx . . . . . | 3702 |
| Table 694. | USART/LPUART features . . . . . | 3702 |
| Table 695. | LPUART input/output pins . . . . . | 3705 |
| Table 696. | LPUART internal input/output signals . . . . . | 3705 |
| Table 697. | LPUART interconnections (LPUART1) . . . . . | 3706 |
| Table 698. | Error calculation for programmed baud rates at lpuart_ker_ck_pres= 32.768 kHz . . . . . | 3717 |
| Table 699. | Tolerance of the LPUART receiver . . . . . | 3718 |
| Table 701. | Effect of low-power modes on the LPUART . . . . . | 3728 |
| Table 702. | LPUART interrupt requests . . . . . | 3729 |
| Table 703. | LPUART register map and reset values . . . . . | 3757 |
| Table 704. | SPI features . . . . . | 3760 |
| Table 705. | SPI/I2S input/output pins . . . . . | 3762 |
| Table 706. | SPI internal input/output signals . . . . . | 3763 |
| Table 707. | SPI interconnection (SPI1 to SPI6) . . . . . | 3763 |
| Table 708. | Effect of low-power modes on the SPI . . . . . | 3792 |
| Table 709. | SPI wake-up and interrupt requests . . . . . | 3793 |
| Table 710. | Bitfields usable in PCM/I2S mode . . . . . | 3795 |
| Table 711. | WS and CK level before SPI/I2S is enabled when AFCNTR = 1 . . . . . | 3804 |
| Table 712. | Serial data line swapping . . . . . | 3804 |
| Table 713. | CLKGEN programming examples for usual I2S frequencies . . . . . | 3808 |
| Table 714. | I2S interrupt requests . . . . . | 3817 |
| Table 715. | SPI register map and reset values ..... | 3839 |
| Table 716. | SAI features ..... | 3842 |
| Table 717. | SAI internal input/output signals ..... | 3844 |
| Table 718. | SAI input/output pins. .... | 3844 |
| Table 719. | External synchronization selection ..... | 3847 |
| Table 720. | MCLK_x activation conditions. .... | 3852 |
| Table 721. | Clock generator programming examples ..... | 3855 |
| Table 722. | SAI_A configuration for TDM mode ..... | 3862 |
| Table 723. | TDM frame configuration examples ..... | 3864 |
| Table 724. | SOPD pattern ..... | 3868 |
| Table 725. | Parity bit calculation ..... | 3868 |
| Table 726. | Audio sampling frequency versus symbol rates ..... | 3869 |
| Table 727. | SAI interrupt sources ..... | 3878 |
| Table 728. | SAI register map and reset values ..... | 3909 |
| Table 729. | SPDIFRX internal input/output signals ..... | 3912 |
| Table 730. | SPDIFRX pins. .... | 3912 |
| Table 731. | Transition sequence for preamble ..... | 3918 |
| Table 732. | Minimum spdifrx_ker_ck frequency versus audio sampling rate ..... | 3928 |
| Table 733. | Conditions of spdifrx_symb_ck generation. .... | 3929 |
| Table 734. | Bit field property versus SPDIFRX state. .... | 3932 |
| Table 735. | SPDIFRX interface register map and reset values ..... | 3945 |
| Table 736. | CAN subsystem I/O signals ..... | 3947 |
| Table 737. | CAN subsystem I/O pins. .... | 3948 |
| Table 738. | CAN triggers ..... | 3948 |
| Table 739. | Main features ..... | 3950 |
| Table 740. | DLC coding in FDCAN ..... | 3955 |
| Table 741. | Example of filter configuration for Rx buffers ..... | 3968 |
| Table 742. | Example of filter configuration for Debug messages ..... | 3969 |
| Table 743. | Possible configurations for frame transmission ..... | 3969 |
| Table 744. | Tx buffer/FIFO - Queue element size ..... | 3970 |
| Table 745. | First byte of level 1 reference message ..... | 3980 |
| Table 746. | First four bytes of level 2 reference message. .... | 3981 |
| Table 747. | First four bytes of level 0 reference message. .... | 3981 |
| Table 748. | TUR configuration example ..... | 3982 |
| Table 749. | System matrix, Node A. .... | 3987 |
| Table 750. | Trigger list, Node A. .... | 3988 |
| Table 751. | Number of data bytes transmitted with a reference message. .... | 3995 |
| Table 752. | Rx buffer and FIFO element ..... | 4002 |
| Table 753. | Rx buffer and FIFO element description. .... | 4002 |
| Table 754. | Tx buffer and FIFO element ..... | 4004 |
| Table 755. | Tx buffer element description ..... | 4004 |
| Table 756. | Tx Event FIFO element. .... | 4006 |
| Table 757. | Tx Event FIFO element description ..... | 4006 |
| Table 758. | Standard message ID filter element ..... | 4007 |
| Table 759. | Standard message ID filter element field description ..... | 4008 |
| Table 760. | Extended message ID filter element. .... | 4009 |
| Table 761. | Extended message ID filter element field description. .... | 4009 |
| Table 762. | Trigger memory element. .... | 4010 |
| Table 763. | Trigger memory element description ..... | 4010 |
| Table 764. | FDCAN register map and reset values ..... | 4048 |
| Table 765. | FDCAN TT register map and reset values ..... | 4070 |
| Table 766. | CCU register map and reset values ..... | 4076 |
| Table 767. | Implementation parameters . . . . . | 4080 |
| Table 768. | USB2 host high-speed port pins . . . . . | 4082 |
| Table 769. | USB2 host high-speed port internal signals . . . . . | 4082 |
| Table 770. | USB2 host high-speed host memory requirements . . . . . | 4084 |
| Table 771. | USB2 host high-speed host interrupts . . . . . | 4084 |
| Table 772. | USB2 host high-speed host wake-up event . . . . . | 4084 |
| Table 773. | connections to SYSCFG block . . . . . | 4086 |
| Table 774. | USB2 OTG high-speed port pins . . . . . | 4089 |
| Table 775. | USB2 OTG high-speed port internal signals. . . . . | 4090 |
| Table 776. | OTG high-speed port clocks . . . . . | 4091 |
| Table 777. | USB2 OTG high-speed port memory requirements . . . . . | 4092 |
| Table 778. | USB2 OTG high-speed port interrupt . . . . . | 4092 |
| Table 779. | USB2 OTG high-speed port wake-up event . . . . . | 4092 |
| Table 780. | Connections to SYSCFG block. . . . . | 4095 |
| Table 781. | USB debug signals . . . . . | 4096 |
| Table 782. | OTG speeds supported . . . . . | 4098 |
| Table 783. | OTG implementation. . . . . | 4100 |
| Table 784. | OTG input/output pins. . . . . | 4101 |
| Table 785. | OTG input/output signals . . . . . | 4102 |
| Table 786. | Compatibility of STM32 low power modes with the OTG . . . . . | 4112 |
| Table 787. | FIFO allocation for DMA address register storage (OTG_DIEPDMAx/DOEPDMAx and OTG_HCDMAx) . . . . . | 4114 |
| Table 788. | Core global control and status registers (CSRs). . . . . | 4121 |
| Table 789. | Host-mode control and status registers (CSRs) . . . . . | 4122 |
| Table 790. | Device-mode control and status registers . . . . . | 4123 |
| Table 791. | Data FIFO (DFIFO) access register map . . . . . | 4125 |
| Table 792. | Power and clock gating control and status registers . . . . . | 4126 |
| Table 793. | TRDT values . . . . . | 4132 |
| Table 794. | Minimum duration for soft disconnect . . . . . | 4176 |
| Table 795. | OTG register map and reset values . . . . . | 4202 |
| Table 796. | USBH register map and reset values . . . . . | 4279 |
| Table 797. | PHY interface selection . . . . . | 4285 |
| Table 798. | Ethernet peripheral pins . . . . . | 4293 |
| Table 799. | Internal Ethernet input/output signals . . . . . | 4294 |
| Table 800. | Fixed priority scheme for DMA channels . . . . . | 4309 |
| Table 801. | Routing DA/SA failed packets to Rx queue . . . . . | 4314 |
| Table 802. | Routing DA/SA pass but VLAN filter fail packets to Rx queue . . . . . | 4314 |
| Table 803. | Priority routing of filter pass packets when OMCBCQ = 0 . . . . . | 4314 |
| Table 804. | Priority routing of filter pass packets when OMCBCQ = 1 . . . . . | 4315 |
| Table 805. | Weight for DMA channels . . . . . | 4317 |
| Table 806. | Example of credit value per transmit cycle . . . . . | 4318 |
| Table 807. | Double VLAN processing features in Tx path. . . . . | 4321 |
| Table 808. | Double VLAN processing in Rx path . . . . . | 4322 |
| Table 809. | VLAN insertion or replacement based on VLTI bit . . . . . | 4323 |
| Table 810. | Destination address filtering . . . . . | 4327 |
| Table 811. | Source address filtering . . . . . | 4328 |
| Table 812. | VLAN match status . . . . . | 4329 |
| Table 813. | OTS and ITS bit values with at least one perfect filter enabled . . . . . | 4332 |
| Table 814. | OTS and ITS bit values with only VLAN Hash filter enabled . . . . . | 4333 |
| Table 815. | Rx Queue routing table for Unicast-tagged packets . . . . . | 4334 |
| Table 816. | Ordinary clock: PTP messages for snapshot . . . . . | 4337 |
| Table 817. | End-to-end transparent clock: PTP messages for snapshot . . . . . | 4338 |
| Table 818. | Peer-to-peer transparent clock: PTP messages for snapshot | 4339 |
| Table 819. | Egress and ingress latency for PHY interfaces | 4343 |
| Table 820. | Minimum PTP clock frequency example | 4343 |
| Table 821. | Message format defined in IEEE 1588-2008 | 4344 |
| Table 822. | Message format defined in IEEE 1588-2008 | 4345 |
| Table 823. | IPv6-UDP PTP packet fields required for control and status | 4346 |
| Table 824. | Ethernet PTP packet fields required for control and status | 4347 |
| Table 825. | Timestamp Snapshot Dependency on ETH_MACTSCR bits | 4348 |
| Table 826. | PTP message generation criteria | 4354 |
| Table 827. | Common PTP message header fields | 4356 |
| Table 828. | MAC transmit PTP mode and one-step timestamping operation | 4359 |
| Table 829. | External memory used for holding the two gate-control lists | 4364 |
| Table 830. | GCL and associated registers - BTR and CTR | 4368 |
| Table 831. | GCL and associated registers - BTR and CTR, execution time > CycleTime | 4369 |
| Table 832. | GCL and Associated Registers - BTR and CTR | 4371 |
| Table 833. | Extending to New List By Truncating the Current List | 4372 |
| Table 834. | Switching to New List By Extending the Current List | 4373 |
| Table 835. | Gate Control List When FPE is disabled | 4375 |
| Table 836. | Gate Control List When FPE is enabled | 4375 |
| Table 837. | Valid SMD Values of mPacket | 4378 |
| Table 838. | Valid frag_count values | 4378 |
| Table 839. | Current and Previous SMD Values | 4379 |
| Table 840. | Current and previous SMD values | 4379 |
| Table 841. | Preemption Control Values on MRI Interface for Various Frame Types | 4383 |
| Table 842. | MMC Counters and Associated Interrupt Registers | 4384 |
| Table 843. | Transmit checksum offload engine functions for different packet types | 4393 |
| Table 844. | Receive checksum offload engine functions for different packet types | 4396 |
| Table 845. | TSO: TCP and IP header fields | 4400 |
| Table 846. | Pause packet fields | 4405 |
| Table 847. | Tx MAC flow control | 4406 |
| Table 848. | Rx MAC flow control | 4407 |
| Table 849. | Size of the maximum receive packet | 4411 |
| Table 850. | MCD clock selection | 4414 |
| Table 851. | MDIO Clause 45 frame structure | 4415 |
| Table 852. | MDIO Clause 22 frame structure | 4416 |
| Table 853. | Remote wake-up packet filter register | 4429 |
| Table 854. | Description of the remote wake-up filter fields | 4429 |
| Table 855. | Remote wake-up packet and PMT interrupt generation | 4431 |
| Table 856. | Transfer complete interrupt behavior | 4440 |
| Table 857. | TDES0 normal descriptor (read format) | 4470 |
| Table 858. | TDES1 normal descriptor (read format) | 4471 |
| Table 859. | TDES2 normal descriptor (read format) | 4471 |
| Table 860. | TDES3 normal descriptor (read format) | 4472 |
| Table 861. | TDES0 normal descriptor (write-back format) | 4475 |
| Table 862. | TDES1 normal descriptor (write-back format) | 4475 |
| Table 863. | TDES2 normal descriptor (write-back format) | 4476 |
| Table 864. | TDES3 normal descriptor (write-back format) | 4476 |
| Table 865. | TDES0 context descriptor | 4480 |
| Table 866. | TDES1 context descriptor | 4480 |
| Table 867. | TDES2 context descriptor | 4481 |
| Table 868. | TDES3 context descriptor | 4481 |
| Table 869. | RDES0 normal descriptor (read format) | 4484 |
| Table 870. | RDES1 normal descriptor (read format) . . . . . | 4484 |
| Table 871. | RDES2 normal descriptor (read format) . . . . . | 4484 |
| Table 872. | RDES3 normal descriptor (read format) . . . . . | 4485 |
| Table 873. | RDES0 normal descriptor (write-back format) . . . . . | 4486 |
| Table 874. | RDES1 normal descriptor (write-back format) . . . . . | 4487 |
| Table 875. | RDES2 normal descriptor (write-back format) . . . . . | 4489 |
| Table 876. | RDES3 normal descriptor (write-back format) . . . . . | 4491 |
| Table 877. | RDES0 context descriptor . . . . . | 4494 |
| Table 878. | RDES1 context descriptor . . . . . | 4495 |
| Table 879. | RDES2 context descriptor . . . . . | 4495 |
| Table 880. | RDES3 context descriptor . . . . . | 4495 |
| Table 881. | Enhanced normal descriptor (read format) . . . . . | 4496 |
| Table 882. | ETH_DMA common register map and reset values . . . . . | 4530 |
| Table 883. | ETH_DMA_CH0 register map and reset values . . . . . | 4532 |
| Table 884. | ETH_DMA_CH1 register map and reset values . . . . . | 4533 |
| Table 885. | ETH_DMA_CH2 register map and reset values . . . . . | 4535 |
| Table 886. | ETH_DMA_CH3 register map and reset values . . . . . | 4536 |
| Table 887. | ETH_MTL register map and reset values . . . . . | 4565 |
| Table 888. | Giant packet status based on S2KP and JE bits . . . . . | 4575 |
| Table 889. | Packet length based on the CST and ACS bits . . . . . | 4575 |
| Table 890. | Ethernet MAC register map and reset values . . . . . | 4715 |
| Table 891. | HDP signal muxing . . . . . | 4732 |
| Table 892. | HDP register map and reset values . . . . . | 4736 |
| Table 893. | Key internal signals . . . . . | 4740 |
| Table 894. | SERF resources mapping . . . . . | 4745 |
| Table 895. | SERC register map and reset values . . . . . | 4757 |
| Table 896. | JTAG/Serial-wire debug port pins . . . . . | 4761 |
| Table 897. | Trace port pins . . . . . | 4762 |
| Table 898. | Serial-wire trace port pins . . . . . | 4762 |
| Table 899. | Trigger pins . . . . . | 4762 |
| Table 900. | Authentication signal connectivity . . . . . | 4766 |
| Table 901. | Authentication signal initial states . . . . . | 4766 |
| Table 902. | CLTAPC registers . . . . . | 4767 |
| Table 903. | AP0 (DBGMCU APB) authentication behavior . . . . . | 4770 |
| Table 904. | AP1 (debug APB) authentication behavior . . . . . | 4770 |
| Table 905. | AP2-3 authentication behavior . . . . . | 4770 |
| Table 906. | Debug subsystem ROM table . . . . . | 4771 |
| Table 907. | Cortex-A35 subsystem ROM table . . . . . | 4772 |
| Table 908. | DBGMCU ROM table . . . . . | 4772 |
| Table 909. | Trace subsystem CTI_0 inputs . . . . . | 4777 |
| Table 910. | Trace subsystem CTI_0 outputs . . . . . | 4777 |
| Table 911. | Trace subsystem CTI_1 inputs . . . . . | 4778 |
| Table 912. | Trace subsystem CTI_1 outputs . . . . . | 4778 |
| Table 913. | Cortex-A35_0 CTI inputs . . . . . | 4778 |
| Table 914. | Cortex-A35_0 CTI outputs . . . . . | 4779 |
| Table 915. | Cortex-M33 CTI inputs . . . . . | 4779 |
| Table 916. | Cortex-M33 CTI outputs . . . . . | 4779 |
| Table 917. | Replicator allocation . . . . . | 4784 |
| Table 918. | STM extended stimulus port memory map . . . . . | 4786 |
| Table 919. | STM trace packet ID mapping to AXI masters . . . . . | 4786 |
| Table 920. | Hardware event mapping 0 to 3 . . . . . | 4787 |
| Table 921. | Hardware event mapping 4 to 7 . . . . . | 4789 |
| Table 922. | Hardware event mapping 8 to 9 ..... | 4791 |
| Table 923. | IWDG1 behavior in debug ..... | 4795 |
| Table 924. | DBGMCU register map and reset values ..... | 4811 |
| Table 925. | Cortex-M33 CPU ROM table ..... | 4816 |
| Table 926. | Document revision history ..... | 4827 |
List of figures
| Figure 1. | STM32MP21xx interconnect top view | 171 |
| Figure 2. | STNoC-based MPU-side AXI interconnect | 176 |
| Figure 3. | STNoC internal router distribution (request path) and frequency distribution | 177 |
| Figure 4. | MLAHB interconnect for STM32MP21xx | 180 |
| Figure 5. | Memory map | 185 |
| Figure 6. | Cortex-M33 sub-system | 229 |
| Figure 7. | RIF principle | 237 |
| Figure 8. | RIF block diagram | 237 |
| Figure 9. | RIF access control principle | 239 |
| Figure 10. | Accesses to secure memories and peripherals | 240 |
| Figure 11. | Accesses to secure memories and peripherals | 240 |
| Figure 12. | RIF interrupt connection types | 241 |
| Figure 13. | Trusted domain chaining principle | 244 |
| Figure 14. | Wake-up CPU principle | 246 |
| Figure 15. | BSEC block diagram | 250 |
| Figure 16. | BSEC fuse mapping overview | 251 |
| Figure 17. | Device typical lifecycle | 253 |
| Figure 18. | RIMU block diagram (without inheritance) | 311 |
| Figure 19. | RIMU block diagram (with inheritance from RISUP programming) | 311 |
| Figure 20. | RISUP block diagram | 312 |
| Figure 21. | DAP and its RIMU | 314 |
| Figure 22. | Allocation of RISUP resources | 315 |
| Figure 23. | RISUP initialization principle | 317 |
| Figure 24. | RISAB block diagram | 331 |
| Figure 25. | RISAB region programming overview | 332 |
| Figure 26. | RISAB initialization principle | 333 |
| Figure 27. | RISAF block diagram (without DDRMCE) | 348 |
| Figure 28. | RISAF4 block diagram (with DDRMCE) | 349 |
| Figure 29. | RISAF region programming | 350 |
| Figure 30. | RISAF initialization principle | 353 |
| Figure 31. | RISAF region on-the-fly resizing | 354 |
| Figure 32. | IAC block diagram | 376 |
| Figure 33. | DDRSS top-level diagram | 384 |
| Figure 34. | ClkSwitcher architecture view | 386 |
| Figure 35. | AC-swizzling muxing stage | 388 |
| Figure 36. | Observability infrastructure organization | 391 |
| Figure 37. | Clock gating the DDRCTRL core clk in automatic self-refresh | 392 |
| Figure 38. | DDRCTRL block diagram | 406 |
| Figure 39. | Quasi-dynamic register programming | 414 |
| Figure 40. | DDRPHYC block diagram | 527 |
| Figure 41. | ACX4 component organization | 530 |
| Figure 42. | PHY clocking distribution | 531 |
| Figure 43. | DDRSS boot sequence | 532 |
| Figure 44. | DDRPERFM top view | 695 |
| Figure 45. | ICACHE block diagram | 737 |
| Figure 46. | ICACHE TAG and data memories functional view | 739 |
| Figure 47. | ICACHE remapping address mechanism | 742 |
| Figure 48. | DCACHE block diagram | 757 |
| Figure 49. | DCACHE TAG and data memories functional view ..... | 760 |
| Figure 50. | Power control block diagram ..... | 777 |
| Figure 51. | Power supply overview ..... | 780 |
| Figure 52. | Device startup supply sequence. .... | 783 |
| Figure 53. | Device Run2 supply sequence. .... | 784 |
| Figure 54. | Device low-power Stop1 supply sequence ..... | 785 |
| Figure 55. | Device low-power Stop2 supply sequence ..... | 786 |
| Figure 56. | Device low-power LP-Stop1/LPLV-Stop1 supply sequence ..... | 787 |
| Figure 57. | Device low-power LP-Stop2 supply sequence ..... | 788 |
| Figure 58. | Device Standby mode power control ..... | 789 |
| Figure 59. | Device Standby mode power control CPU2 wake-up alone ..... | 789 |
| Figure 60. | Device VBAT mode power control ..... | 790 |
| Figure 61. | VSW / Backup domain ..... | 791 |
| Figure 62. | VDD domain. .... | 793 |
| Figure 63. | Power-on reset/power-down reset waveform ..... | 795 |
| Figure 64. | BOR thresholds ..... | 796 |
| Figure 65. | vddcore_ok reset thresholds. .... | 796 |
| Figure 66. | vddcpu_ok reset thresholds ..... | 797 |
| Figure 67. | PVD thresholds. .... | 798 |
| Figure 68. | V08CAP thresholds. .... | 800 |
| Figure 69. | Temperature thresholds ..... | 801 |
| Figure 70. | Power states and external regulator control ..... | 810 |
| Figure 71. | Detailed state diagram of power control modes ..... | 811 |
| Figure 72. | PWR_CPU_ON, PWR_ON and PWR_LP multiplexing ..... | 826 |
| Figure 73. | RCC block diagram. .... | 865 |
| Figure 74. | System reset circuit ..... | 868 |
| Figure 75. | NRST reset pulse control ..... | 872 |
| Figure 76. | NRSTC1MS reset pulse control ..... | 873 |
| Figure 77. | Reset source registers ..... | 876 |
| Figure 78. | Boot sequences versus system states ..... | 879 |
| Figure 79. | HOLD_BOOT CPUx reset ..... | 882 |
| Figure 80. | HOLD_BOOT state in legacy mode ..... | 883 |
| Figure 81. | HOLD_BOOT state in wake-up single event mode ..... | 883 |
| Figure 82. | HOLD_BOOT state in wake-up dual event mode. .... | 884 |
| Figure 83. | Top-level clock tree. .... | 886 |
| Figure 84. | HSE clock source ..... | 888 |
| Figure 85. | HSE clock generation ..... | 889 |
| Figure 86. | HSI calibration flow. .... | 891 |
| Figure 87. | MSI calibration flow. .... | 892 |
| Figure 88. | LSE clock generation ..... | 893 |
| Figure 89. | HSE and LSE CSS function ..... | 895 |
| Figure 90. | MCOy clock observation. .... | 897 |
| Figure 91. | PLL block diagram ..... | 898 |
| Figure 92. | PLL with SSMOD (spread-spectrum modulator) configuration. .... | 898 |
| Figure 93. | Spread-spectrum modulation ..... | 901 |
| Figure 94. | Flexclkgen block diagram ..... | 904 |
| Figure 95. | Flexclkgen programming flow ..... | 905 |
| Figure 96. | Root control module description. .... | 908 |
| Figure 97. | Clock restore activation versus system mode. .... | 913 |
| Figure 98. | Clock restore process activated after system Stop. .... | 915 |
| Figure 99. | Wake-up from CStop ..... | 916 |
| Figure 100. | Peripheral clock distribution for TIMs ..... | 921 |
| Figure 101. Peripheral clock distribution for ADCs ..... | 922 |
| Figure 102. Clock distribution for the DDR subsystem ..... | 924 |
| Figure 103. Entering and exiting self-refresh in ASR mode ..... | 929 |
| Figure 104. Entering and exiting self-refresh in HSR mode ..... | 930 |
| Figure 105. Allowed transitions between SSR, ASR and HSR modes ..... | 931 |
| Figure 106. Peripheral allocation example. .... | 936 |
| Figure 107. Peripheral clock enable logic details. .... | 940 |
| Figure 108. CPU1 low-power interface ..... | 944 |
| Figure 109. CPU1 PLL1 stop sequence ..... | 944 |
| Figure 110. FMC interface clocking ..... | 946 |
| Figure 111. OCTOSPI interface clocking. .... | 947 |
| Figure 112. SDMMC interface clocking ..... | 949 |
| Figure 113. Single GMAC clocks ..... | 951 |
| Figure 114. CA35SS interface clocks ..... | 955 |
| Figure 115. Debug and Trace external clocks ..... | 957 |
| Figure 116. Camera interface clocks ..... | 958 |
| Figure 117. Display subsystem clocking ..... | 959 |
| Figure 118. USBH and OTG ports clocking ..... | 960 |
| Figure 119. Security clocking. .... | 963 |
| Figure 120. Interrupt block diagram ..... | 965 |
| Figure 121. RCC RIF description. .... | 971 |
| Figure 122. IPCC block diagram ..... | 1170 |
| Figure 123. IPCC Simplex channel mode transfer timing ..... | 1172 |
| Figure 124. IPCC Simplex - Send procedure state diagram ..... | 1172 |
| Figure 125. IPCC Simplex - Receive procedure state diagram ..... | 1173 |
| Figure 126. IPCC Half-duplex channel mode transfer timing. .... | 1174 |
| Figure 127. IPCC Half-duplex - Send procedure state diagram ..... | 1175 |
| Figure 128. IPCC Half-duplex - Receive procedure state diagram ..... | 1176 |
| Figure 129. Basic structure of an I/O port bit ..... | 1195 |
| Figure 130. Input floating/pull-up/pull-down configurations ..... | 1199 |
| Figure 131. Output configuration ..... | 1200 |
| Figure 132. Alternate function configuration ..... | 1200 |
| Figure 133. Programmable analog configuration. .... | 1201 |
| Figure 134. I/O compensation cell control overview ..... | 1232 |
| Figure 135. HPDMA block diagram ..... | 1327 |
| Figure 136. HPDMA channel direct programming without linked-list (HPDMA_CxLLR = 0) ..... | 1328 |
| Figure 137. HPDMA channel suspend and resume sequence ..... | 1329 |
| Figure 138. HPDMA channel abort and restart sequence ..... | 1330 |
| Figure 139. HPDMA channel terminate and drain FIFO sequence ..... | 1331 |
| Figure 140. Static linked-list data structure (all Uxx = 1) of a linear addressing channel x ..... | 1333 |
| Figure 141. Static linked-list data structure (all Uxx = 1) of a 2D addressing channel x ..... | 1334 |
| Figure 142. HPDMA dynamic linked-list data structure of linear addressing channel x. .... | 1335 |
| Figure 143. HPDMA dynamic linked-list data structure of a 2D addressing channel x ..... | 1335 |
| Figure 144. HPDMA channel execution and linked-list programming in run-to-completion mode (HPDMA_CxCR.LSM = 0) ..... | 1337 |
| Figure 145. Inserting a LLIn with an auxiliary HPDMA channel y ..... | 1339 |
| Figure 146. HPDMA channel execution and linked-list programming in link step mode (HPDMA_CxCR.LSM = 1) ..... | 1341 |
| Figure 147. Building LLIn+1: HPDMA dynamic linked-lists in link step mode ..... | 1342 |
| Figure 148. Replace with a new LLIn' in register file in link step mode ..... | 1343 |
| Figure 149. Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 1) ..... | 1344 |
| Figure 150. Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 2) ..... | 1345 |
| Figure 151. HPDMA channel execution and linked-list programming ..... | 1347 |
| Figure 152. Programmed 2D addressing ..... | 1350 |
| Figure 153. HPDMA arbitration policy ..... | 1365 |
| Figure 154. Trigger hit, memorization and overrun waveform ..... | 1369 |
| Figure 155. HPDMA circular buffer programming: update of the memory start address with a linear addressing channel ..... | 1370 |
| Figure 156. Shared HPDMA channel with circular buffering: update of the memory start address with a linear addressing channel ..... | 1371 |
| Figure 157. GIC block diagram ..... | 1458 |
| Figure 158. EXTI block diagram ..... | 1503 |
| Figure 159. Configurable event trigger logic CPU wake-up ..... | 1511 |
| Figure 160. Direct event trigger logic CPU wake-up ..... | 1512 |
| Figure 161. EXTI mux GPIO selection ..... | 1513 |
| Figure 162. CRC calculation unit block diagram ..... | 1598 |
| Figure 163. FMC interface block diagram ..... | 1605 |
| Figure 164. FMC interface reset ..... | 1605 |
| Figure 165. Octo-SPI interface block diagram ..... | 1607 |
| Figure 166. OCTOSPI interface resets ..... | 1608 |
| Figure 167. Programmable delay block diagram ..... | 1609 |
| Figure 168. Flash configuration example: 2× 8-bit flash devices connected to the OCTOSPI interface ..... | 1612 |
| Figure 169. Flash configuration example: dual quad mode. Two 4-bit devices are connected to the same Chip Select of the OCTOSPI interface .. | 1613 |
| Figure 170. SD/eMMC interface block diagram ..... | 1618 |
| Figure 171. SD/eMMC interface resets ..... | 1619 |
| Figure 172. FMC block diagram ..... | 1627 |
| Figure 173. Mode 1 read access waveforms ..... | 1646 |
| Figure 174. Mode 1 write access waveforms ..... | 1646 |
| Figure 175. Mode A read access waveforms ..... | 1648 |
| Figure 176. Mode A write access waveforms ..... | 1649 |
| Figure 177. Mode 2 and mode B read access waveforms ..... | 1651 |
| Figure 178. Mode 2 write access waveforms ..... | 1651 |
| Figure 179. Mode B write access waveforms ..... | 1652 |
| Figure 180. Mode C read access waveforms ..... | 1654 |
| Figure 181. Mode C write access waveforms ..... | 1654 |
| Figure 182. Mode D read access waveforms ..... | 1656 |
| Figure 183. Mode D write access waveforms ..... | 1657 |
| Figure 184. Muxed read access waveforms ..... | 1659 |
| Figure 185. Muxed write access waveforms ..... | 1660 |
| Figure 186. Asynchronous wait during a read access waveforms ..... | 1663 |
| Figure 187. Asynchronous wait during a write access waveforms ..... | 1663 |
| Figure 188. Wait configuration waveforms ..... | 1665 |
| Figure 189. Synchronous multiplexed read mode waveforms - NOR, PSRAM (CRAM) ..... | 1666 |
| Figure 190. Synchronous multiplexed write mode waveforms - PSRAM (CRAM) ..... | 1668 |
| Figure 191. NAND flash controller waveforms for common memory access ..... | 1685 |
| Figure 192. NAND flash controller waveforms for TCLR and TAR timings ..... | 1685 |
| Figure 193. Access to NAND flash memory ..... | 1687 |
| Figure 194. NAND flash page (2 Kbytes) layout with BCH ..... | 1691 |
| Figure 195. Example of 2 Kbyte page program sequence with 4-bit BCH ..... | 1692 |
| Figure 196. Chained-page read command timings ..... | 1694 |
| Figure 197. Example of 2-Kbyte page read sequence with 4-bit BCH ..... | 1695 |
| Figure 198. OCTOSPI block diagram in octal configuration ..... | 1729 |
| Figure 199. OCTOSPI block diagram in quad configuration ..... | 1729 |
| Figure 200. OCTOSPI block diagram in dual-quad configuration ..... | 1730 |
| Figure 201. SDR read command in octal configuration ..... | 1731 |
| Figure 202. DTR read in octal-SPI mode with DQS (Macronix mode) example ..... | 1734 |
| Figure 203. SDR write command in octo-SPI mode example ..... | 1736 |
| Figure 204. DTR write in octal-SPI mode (Macronix mode) example ..... | 1737 |
| Figure 205. Example of HyperBus read operation ..... | 1739 |
| Figure 206. HyperBus write operation with initial latency ..... | 1740 |
| Figure 207. HyperBus read operation with additional latency ..... | 1740 |
| Figure 208. HyperBus write operation with additional latency ..... | 1741 |
| Figure 209. HyperBus write operation with no latency (register write) ..... | 1741 |
| Figure 210. HyperBus read operation page crossing with latency ..... | 1742 |
| Figure 211. D0/D1 data ordering in octal-SPI DTR mode (Micron) - Read access ..... | 1749 |
| Figure 212. D0/D1 data ordering in octal-SPI DTR mode with DQS and CLK polarity aligned during Read access ..... | 1749 |
| Figure 213. OctaRAM read operation with reverse data ordering D1/D0 ..... | 1750 |
| Figure 214. NCS when CKMODE = 0 (T = CLK period) ..... | 1755 |
| Figure 215. NCS when CKMODE = 1 in SDR mode (T = CLK period) ..... | 1756 |
| Figure 216. NCS when CKMODE = 1 in DTR mode (T = CLK period) ..... | 1756 |
| Figure 217. NCS when CKMODE = 1 with an abort (T = CLK period) ..... | 1756 |
| Figure 218. Example of software control of two external memories ..... | 1757 |
| Figure 219. SDMMC “no response” and “no data” operations ..... | 1789 |
| Figure 220. SDMMC (multiple) block read operation ..... | 1789 |
| Figure 221. SDMMC (multiple) block write operation ..... | 1790 |
| Figure 222. SDMMC (sequential) stream read operation ..... | 1790 |
| Figure 223. SDMMC (sequential) stream write operation ..... | 1790 |
| Figure 224. SDMMC block diagram ..... | 1792 |
| Figure 225. SDMMC Command and data phase relation ..... | 1794 |
| Figure 226. Control unit ..... | 1796 |
| Figure 227. Command/response path ..... | 1797 |
| Figure 228. Command path state machine (CPSM) ..... | 1798 |
| Figure 229. Data path ..... | 1804 |
| Figure 230. DDR mode data packet clocking ..... | 1805 |
| Figure 231. DDR mode CRC status / boot acknowledgment clocking ..... | 1805 |
| Figure 232. Data path state machine (DPSM) ..... | 1806 |
| Figure 233. CLKMUX unit ..... | 1817 |
| Figure 234. Linked list structures ..... | 1820 |
| Figure 235. Asynchronous interrupt generation ..... | 1823 |
| Figure 236. Synchronous interrupt period data read ..... | 1824 |
| Figure 237. Synchronous interrupt period data write ..... | 1824 |
| Figure 238. Asynchronous interrupt period data read ..... | 1825 |
| Figure 239. Asynchronous interrupt period data write ..... | 1826 |
| Figure 240. Clock stop with SDMMC_CK for DS, HS, SDR12, SDR25 ..... | 1829 |
| Figure 241. Clock stop with SDMMC_CK for DDR50, SDR50, SDR104 ..... | 1829 |
| Figure 242. Read Wait with SDMMC_CK < 50 MHz ..... | 1830 |
| Figure 243. Read Wait with SDMMC_CK > 50 MHz ..... | 1830 |
| Figure 244. CMD12 stream timing ..... | 1833 |
| Figure 245. CMD5 Sleep Awake procedure ..... | 1835 |
| Figure 246. Normal boot mode operation ..... | 1837 |
| Figure 247. Alternative boot mode operation ..... | 1838 |
| Figure 248. Command response R1b busy signaling ..... | 1839 |
| Figure 249. SDMMC state control ..... | 1840 |
| Figure 250. Card cycle power / power up diagram ..... | 1841 |
| Figure 251. Read block gap hardware flow timing ..... | 1842 |
| Figure 252. CMD11 signal voltage switch sequence ..... | 1844 |
| Figure 253. Voltage switch transceiver typical application ..... | 1846 |
| Figure 254. DLYB block diagram ..... | 1876 |
| Figure 255. ADC block diagram ..... | 1884 |
| Figure 256. ADC clock scheme ..... | 1890 |
| Figure 257. ADC1 connectivity ..... | 1892 |
| Figure 258. ADC2 connectivity ..... | 1893 |
| Figure 259. Enabling/disabling the ADC ..... | 1898 |
| Figure 260. Bulb mode timing diagram ..... | 1901 |
| Figure 261. Analog-to-digital conversion time ..... | 1906 |
| Figure 262. Stopping ongoing regular conversions ..... | 1907 |
| Figure 263. Stopping ongoing regular and injected conversions ..... | 1907 |
| Figure 264. Injected conversion latency during ongoing regular conversion ..... | 1909 |
| Figure 265. Single conversions of a sequence, software trigger ..... | 1911 |
| Figure 266. Continuous conversion of a sequence, software trigger ..... | 1911 |
| Figure 267. Single conversions of a sequence, hardware trigger ..... | 1912 |
| Figure 268. Continuous conversions of a sequence, hardware trigger ..... | 1912 |
| Figure 269. Right alignment (offset disabled, unsigned value) ..... | 1914 |
| Figure 270. Right alignment (offset enabled, signed value) ..... | 1915 |
| Figure 271. Left alignment (offset disabled, unsigned value) ..... | 1915 |
| Figure 272. Left alignment (offset enabled, signed value) ..... | 1916 |
| Figure 273. Example of overrun (OVRMOD = 0) ..... | 1919 |
| Figure 274. Example of overrun (OVRMOD = 1) ..... | 1919 |
| Figure 275. AUTDLY = 1, regular conversion in continuous mode, software trigger ..... | 1923 |
| Figure 276. AUTDLY = 1, regular hardware conversions interrupted by injected conversions (DISCEN = 0; JDISCEN = 0) ..... | 1923 |
| Figure 277. AUTDLY = 1, regular hardware conversions interrupted by injected conversions (DISCEN = 1, JDISCEN = 1) ..... | 1924 |
| Figure 278. AUTDLY = 1, regular continuous conversions interrupted by injected conversions ..... | 1924 |
| Figure 279. AUTDLY = 1 in autoinjection mode (JAUTO = 1) ..... | 1925 |
| Figure 280. Analog watchdog guarded area ..... | 1926 |
| Figure 281. ADC_AWDy_OUT signal generation (on all regular channels) ..... | 1928 |
| Figure 282. ADC_AWDy_OUT signal generation (AWDy flag not cleared by software) ..... | 1929 |
| Figure 283. ADC_AWDy_OUT signal generation (on a single regular channel) ..... | 1929 |
| Figure 284. ADC_AWDy_OUT signal generation (on all injected channels) ..... | 1930 |
| Figure 285. 12-bit result oversampling with 10-bit right shift and rounding ..... | 1931 |
| Figure 286. Triggered regular oversampling mode (TROVS bit = 1) ..... | 1933 |
| Figure 287. Regular oversampling modes (4x ratio) ..... | 1934 |
| Figure 288. Regular and injected oversampling modes used simultaneously ..... | 1935 |
| Figure 289. Triggered regular oversampling with injection ..... | 1935 |
| Figure 290. Oversampling in autoinjection mode ..... | 1936 |
| Figure 291. VBAT channel block diagram ..... | 1938 |
| Figure 292. VREFINT channel block diagram ..... | 1938 |
| Figure 293. DTS block diagram ..... | 1979 |
| Figure 294. Serial data adapter ..... | 1982 |
| Figure 295. SDA data format ..... | 1983 |
| Figure 296. Falling alarms ..... | 1988 |
| Figure 297. Rising alarms ..... | 1989 |
| Figure 298. VREFBUF block diagram ..... | 2020 |
| Figure 299. MDF block diagram ..... | 2029 |
| Figure 300. SITFx overview ..... | 2033 |
| Figure 301. SPI timing example ..... | 2034 |
| Figure 302. Manchester timing example (SITFMOD = 11) ..... | 2036 |
| Figure 303. CKGEN overview ..... | 2039 |
| Figure 304. BSMX overview ..... | 2041 |
| Figure 305. SCD functional view ..... | 2042 |
| Figure 306. SCD timing example ..... | 2042 |
| Figure 307. DFLT overview ..... | 2044 |
| Figure 308. Programmable delay ..... | 2045 |
| Figure 309. CIC3 and CIC5 frequency response with decimation ratio = 32 ..... | 2047 |
| Figure 310. Reshape filter frequency response normalized (FRS / 2 = 1) ..... | 2052 |
| Figure 311. Out-of-limit detector thresholds ..... | 2055 |
| Figure 312. Trigger logic for DFLT and CKGEN ..... | 2057 |
| Figure 313. Asynchronous continuous mode (ACQMOD[2:0] = 0) ..... | 2058 |
| Figure 314. Asynchronous single-shot mode (ACQMOD[2:0] = 001) ..... | 2059 |
| Figure 315. Synchronous continuous mode (ACQMOD[2:0] = 010) ..... | 2060 |
| Figure 316. Synchronous single-shot mode (ACQMOD[2:0] = 011) ..... | 2061 |
| Figure 317. Window continuous mode (ACQMOD[2:0] = 100) ..... | 2062 |
| Figure 318. Snapshot mode example ..... | 2064 |
| Figure 319. Discard function example ..... | 2065 |
| Figure 320. Start sequence with DFLTEN, in continuous mode, audio configuration ..... | 2066 |
| Figure 321. Start sequence with trigger input, in continuous mode, motor configuration ..... | 2067 |
| Figure 322. Break interface simplified view ..... | 2068 |
| Figure 323. MDF_DFLTxD data format ..... | 2068 |
| Figure 324. Data resynchronization ..... | 2069 |
| Figure 325. Data transfer in interleaved-transfer mode ..... | 2070 |
| Figure 326. Data path for interleaved- and independent-transfer modes ..... | 2072 |
| Figure 327. Example of overflow and transfer to memory ..... | 2073 |
| Figure 328. MDF interrupt interface ..... | 2076 |
| Figure 329. Sensor connection examples ..... | 2081 |
| Figure 330. Global frequency response ..... | 2082 |
| Figure 331. Detailed frequency response ..... | 2082 |
| Figure 332. Simplified DFLT view with gain information ..... | 2084 |
| Figure 333. Camera subsystem block diagram ..... | 2116 |
| Figure 334. Camera subsystem clock diagram ..... | 2117 |
| Figure 335. DCMI block diagram ..... | 2124 |
| Figure 336. DCMI signal waveforms ..... | 2125 |
| Figure 337. Timing diagram ..... | 2127 |
| Figure 338. Frame capture waveforms in snapshot mode ..... | 2129 |
| Figure 339. Frame capture waveforms in continuous grab mode ..... | 2130 |
| Figure 340. Coordinates and size of the window after cropping ..... | 2130 |
| Figure 341. Data capture waveforms ..... | 2131 |
| Figure 342. Pixel raster scan order ..... | 2132 |
| Figure 343. DCMIPP overview ..... | 2148 |
| Figure 344. DCMIPP block diagram ..... | 2152 |
| Figure 345. VC flow processed by one pipe ..... | 2169 |
| Figure 346. Two exclusive VC flows processed by one reconfigured pipe ..... | 2170 |
| Figure 347. Two overlapping VC flows processed by two pipes ..... | 2170 |
| Figure 348. Snapshot (CPTMODE = 1) and Continuous (CPTMODE = 0) capture modes ..... | 2171 |
| Figure 349. Pipe0 (dump) architecture overview ..... | 2174 |
| Figure 350. Pipe1 ISP architecture view ..... | 2178 |
| Figure 351. Block diagram ..... | 2201 |
| Figure 352. | Downsize with coverage filtering ..... | 2204 |
| Figure 353. | Pipe2 architecture overview ..... | 2208 |
| Figure 354. | Use case: Pipe0 (statistics), Pipe1 (pixels) ..... | 2209 |
| Figure 355. | Statistics and RGB data for single virtual channel data flow ..... | 2210 |
| Figure 356. | Three pipes within a single virtual channel in CSI2 mode ..... | 2211 |
| Figure 357. | Handling interleaved packet ..... | 2211 |
| Figure 358. | Handling interleaved packets across two pixel pipes ..... | 2211 |
| Figure 359. | Interlaced video (based on single pixel pipe) ..... | 2212 |
| Figure 360. | Interlaced video (based on two pixel pipes) ..... | 2212 |
| Figure 361. | 3D sensors (top-bottom) processed by two pixel pipes ..... | 2217 |
| Figure 362. | CSI-2 Host block diagram ..... | 2356 |
| Figure 363. | CSI-2 Host architecture ..... | 2357 |
| Figure 364. | CSI-2 Host clock domain ..... | 2359 |
| Figure 365. | Lane merger input and output (one data lane) ..... | 2360 |
| Figure 366. | Lane merger input and output (two data lanes) ..... | 2360 |
| Figure 367. | Data lane mapping ..... | 2360 |
| Figure 368. | Low-level protocol overview ..... | 2361 |
| Figure 369. | CSI2- long-packet structure for a D-PHY physical layer ..... | 2362 |
| Figure 370. | Short-packet structure based on D-PHY physical layer ..... | 2362 |
| Figure 371. | DATA ID structure in short or long packet format ..... | 2363 |
| Figure 372. | Data interleaving using data type ..... | 2364 |
| Figure 373. | Data interleaving using virtual channels ..... | 2365 |
| Figure 374. | RAW6 (BPP6) input and output format ..... | 2366 |
| Figure 375. | Raw7 (BPP7) input and output format ..... | 2367 |
| Figure 376. | Raw8 (BPP8) input and output format ..... | 2368 |
| Figure 377. | Raw 10 (BPP10) input and output format ..... | 2368 |
| Figure 378. | Raw12 (BPP12) input/output format ..... | 2369 |
| Figure 379. | Raw14 (BPP14) input format ..... | 2370 |
| Figure 380. | Raw16 (BPP16) input/output format ..... | 2371 |
| Figure 381. | PSSI block diagram ..... | 2417 |
| Figure 382. | Top-level block diagram ..... | 2417 |
| Figure 383. | Data enable in receive mode waveform diagram (CKPOL=0) ..... | 2421 |
| Figure 384. | Data enable waveform diagram in transmit mode (CKPOL=1) ..... | 2421 |
| Figure 385. | Ready in receive mode waveform diagram (CKPOL=0) ..... | 2422 |
| Figure 386. | Bidirectional PSSI_DE/PSSI_RDY waveform ..... | 2423 |
| Figure 387. | Bidirectional PSSI_DE/PSSI_RDY connection diagram ..... | 2423 |
| Figure 388. | Display subsystem block diagram ..... | 2433 |
| Figure 389. | Display subsystem clock diagram ..... | 2433 |
| Figure 390. | Display RIF peripheral ID ..... | 2436 |
| Figure 391. | LTDC block diagram ..... | 2441 |
| Figure 392. | Layer window programmable parameters ..... | 2455 |
| Figure 393. | Blending two layers ..... | 2455 |
| Figure 394. | LTDC synchronous timings ..... | 2459 |
| Figure 395. | RNG block diagram ..... | 2511 |
| Figure 396. | NIST SP800-90B entropy source model ..... | 2512 |
| Figure 397. | RNG initialization overview ..... | 2515 |
| Figure 398. | SAES usage in the device ..... | 2534 |
| Figure 399. | SAES block diagram ..... | 2535 |
| Figure 400. | Encryption/ decryption typical usage ..... | 2537 |
| Figure 401. | Typical operation with authentication ..... | 2539 |
| Figure 402. | Example of suspend mode management ..... | 2540 |
| Figure 403. | ECB encryption ..... | 2541 |
| Figure 404. ECB decryption. .... | 2541 |
| Figure 405. CBC encryption. .... | 2542 |
| Figure 406. CBC decryption. .... | 2542 |
| Figure 407. Message construction in CTR mode. .... | 2545 |
| Figure 408. CTR encryption. .... | 2546 |
| Figure 409. Message construction in GCM. .... | 2548 |
| Figure 410. GCM authenticated encryption. .... | 2549 |
| Figure 411. Message construction in GMAC mode. .... | 2552 |
| Figure 412. GMAC authentication mode. .... | 2552 |
| Figure 413. Message construction in CCM mode. .... | 2553 |
| Figure 414. CCM mode authenticated encryption. .... | 2555 |
| Figure 415. Usage of wrapped keys in ECB and CBC modes. .... | 2559 |
| Figure 416. Operation with wrapped keys in CTR mode. .... | 2561 |
| Figure 417. 128-bit block construction according to the data type. .... | 2565 |
| Figure 418. Key protection mechanisms. .... | 2567 |
| Figure 419. CRYPT block diagram. .... | 2591 |
| Figure 420. Encryption/ decryption typical usage. .... | 2593 |
| Figure 421. Typical operation with authentication. .... | 2596 |
| Figure 422. Example of suspend mode management. .... | 2597 |
| Figure 423. DES/TDES ECB encryption. .... | 2598 |
| Figure 424. DES/TDES ECB decryption. .... | 2598 |
| Figure 425. DES/TDES CBC encryption. .... | 2599 |
| Figure 426. DES/TDES CBC decryption. .... | 2599 |
| Figure 427. AES-ECB encryption. .... | 2601 |
| Figure 428. AES-ECB decryption. .... | 2602 |
| Figure 429. AES-CBC encryption. .... | 2602 |
| Figure 430. AES-CBC decryption. .... | 2603 |
| Figure 431. Message construction in CTR mode. .... | 2605 |
| Figure 432. AES-CTR encryption. .... | 2606 |
| Figure 433. Message construction in GCM. .... | 2608 |
| Figure 434. GCM authenticated encryption. .... | 2609 |
| Figure 435. Message construction in GMAC mode. .... | 2613 |
| Figure 436. GMAC authentication mode. .... | 2613 |
| Figure 437. Message construction in CCM mode. .... | 2614 |
| Figure 438. CCM mode authenticated encryption. .... | 2616 |
| Figure 439. 64-bit block construction according to the data type. .... | 2621 |
| Figure 440. 128-bit block construction according to the data type. .... | 2623 |
| Figure 441. HASH block diagram. .... | 2648 |
| Figure 442. Message data swapping feature. .... | 2651 |
| Figure 443. HASH suspend/resume mechanism. .... | 2657 |
| Figure 444. OTFDEC block diagram. .... | 2674 |
| Figure 445. Typical OTFDEC use in a SoC. .... | 2675 |
| Figure 446. AES CTR decryption flow. .... | 2676 |
| Figure 447. OTFDEC flow control overview (dual burst read request). .... | 2677 |
| Figure 448. PKA block diagram. .... | 2696 |
| Figure 449. Advanced-control timer block diagram. .... | 2731 |
| Figure 450. Counter timing diagram with prescaler division change from 1 to 2. .... | 2737 |
| Figure 451. Counter timing diagram with prescaler division change from 1 to 4. .... | 2738 |
| Figure 452. Counter timing diagram, internal clock divided by 1. .... | 2739 |
| Figure 453. Counter timing diagram, internal clock divided by 2. .... | 2740 |
| Figure 454. Counter timing diagram, internal clock divided by 4. .... | 2740 |
| Figure 455. Counter timing diagram, internal clock divided by N. .... | 2741 |
| Figure 456. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 2741 |
| Figure 457. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) . . . . . | 2742 |
| Figure 458. Counter timing diagram, internal clock divided by 1 . . . . . | 2743 |
| Figure 459. Counter timing diagram, internal clock divided by 2 . . . . . | 2744 |
| Figure 460. Counter timing diagram, internal clock divided by 4 . . . . . | 2744 |
| Figure 461. Counter timing diagram, internal clock divided by N . . . . . | 2745 |
| Figure 462. Counter timing diagram, update event when repetition counter is not used . . . . . | 2745 |
| Figure 463. Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 . . . . . | 2747 |
| Figure 464. Counter timing diagram, internal clock divided by 2 . . . . . | 2747 |
| Figure 465. Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 . . . . . | 2748 |
| Figure 466. Counter timing diagram, internal clock divided by N . . . . . | 2748 |
| Figure 467. Counter timing diagram, update event with ARPE = 1 (counter underflow) . . . . . | 2749 |
| Figure 468. Counter timing diagram, Update event with ARPE = 1 (counter overflow) . . . . . | 2750 |
| Figure 469. Update rate examples depending on mode and TIMx_RCR register settings . . . . . | 2751 |
| Figure 471. Control circuit in normal mode, internal clock divided by 1 . . . . . | 2753 |
| Figure 472. tim_ti2 external clock connection example . . . . . | 2753 |
| Figure 473. Control circuit in external clock mode 1 . . . . . | 2754 |
| Figure 474. External trigger input block . . . . . | 2755 |
| Figure 475. Control circuit in external clock mode 2 . . . . . | 2756 |
| Figure 476. Capture/compare channel (example: channel 1 input stage) . . . . . | 2756 |
| Figure 477. Capture/compare channel 1 main circuit . . . . . | 2757 |
| Figure 478. Output stage of capture/compare channel (channel 1, idem ch. 2, 3 and 4) . . . . . | 2757 |
| Figure 479. Output stage of capture/compare channel (channel 5, idem ch. 6) . . . . . | 2758 |
| Figure 480. PWM input mode timing . . . . . | 2760 |
| Figure 481. Output compare mode, toggle on tim_oc1 . . . . . | 2762 |
| Figure 482. Edge-aligned PWM waveforms (ARR = 8) . . . . . | 2763 |
| Figure 483. Center-aligned PWM waveforms (ARR = 8) . . . . . | 2764 |
| Figure 484. Dithering principle . . . . . | 2765 |
| Figure 485. Data format and register coding in dithering mode . . . . . | 2766 |
| Figure 486. PWM resolution vs frequency . . . . . | 2767 |
| Figure 487. PWM dithering pattern . . . . . | 2768 |
| Figure 488. Dithering effect on duty cycle in center-aligned PWM mode . . . . . | 2769 |
| Figure 489. Generation of 2 phase-shifted PWM signals with 50% duty cycle . . . . . | 2771 |
| Figure 490. Combined PWM mode on channel 1 and 3 . . . . . | 2772 |
| Figure 491. 3-phase combined PWM signals with multiple trigger pulses per period . . . . . | 2773 |
| Figure 492. Complementary output with symmetrical dead-time insertion . . . . . | 2774 |
| Figure 493. Asymmetrical deadtime . . . . . | 2775 |
| Figure 494. Dead-time waveforms with delay greater than the negative pulse . . . . . | 2775 |
| Figure 495. Dead-time waveforms with delay greater than the positive pulse . . . . . | 2775 |
| Figure 496. Break and Break2 circuitry overview . . . . . | 2778 |
| Figure 497. Various output behavior in response to a break event on tim_brk (OSSI = 1) . . . . . | 2780 |
| Figure 498. PWM output state following tim_brk and tim_brk2 assertion (OSSI = 1) . . . . . | 2781 |
| Figure 499. PWM output state following tim_brk assertion (OSSI = 0) . . . . . | 2782 |
| Figure 500. Output redirection (tim_brk2 request not represented) . . . . . | 2783 |
| Figure 501. Clearing TIMx tim_ocxref . . . . . | 2784 |
| Figure 502. 6-step generation, COM example (OSSR = 1) . . . . . | 2785 |
| Figure 503. Example of one pulse mode . . . . . | 2786 |
| Figure 504. Retriggerable one-pulse mode . . . . . | 2788 |
| Figure 505. Pulse generator circuitry . . . . . | 2788 |
| Figure 506. Pulse generation on compare event, for edge-aligned and encoder modes . . . . . | 2789 |
| Figure 507. Extended pulsewidth in case of concurrent triggers ..... | 2790 |
| Figure 508. Example of counter operation in encoder interface mode..... | 2792 |
| Figure 509. Example of encoder interface mode with tim_ti1fp1 polarity inverted..... | 2792 |
| Figure 510. Quadrature encoder counting modes ..... | 2793 |
| Figure 511. Direction plus clock encoder mode..... | 2794 |
| Figure 512. Directional clock encoder mode (CC1P = CC2P = 0)..... | 2794 |
| Figure 513. Directional clock encoder mode (CC1P = CC2P = 1)..... | 2795 |
| Figure 514. Index gating options ..... | 2796 |
| Figure 515. Jittered Index signals ..... | 2796 |
| Figure 516. Index generation for IPOS[1:0] = 11 ..... | 2797 |
| Figure 517. Counter reading with index gated on channel A (IPOS[1:0] = 11) ..... | 2797 |
| Figure 518. Counter reading with index ungated (IPOS[1:0] = 00) ..... | 2798 |
| Figure 519. Counter reading with index gated on channel A and B..... | 2798 |
| Figure 520. Encoder mode behavior in case of narrow index pulse (IPOS[1:0] = 11)..... | 2799 |
| Figure 521. Counter reset Narrow index pulse (closer view, ARR = 0x07) ..... | 2800 |
| Figure 522. Index behavior in x1 and x2 mode (IPOS[1:0] = 01)..... | 2801 |
| Figure 523. Directional index sensitivity..... | 2801 |
| Figure 524. Counter reset as function of FIDX bit setting ..... | 2802 |
| Figure 525. Index blanking..... | 2802 |
| Figure 526. Index behavior in clock + direction mode, IPOS[0] = 1..... | 2803 |
| Figure 527. Index behavior in directional clock mode, IPOS[0] = 1..... | 2803 |
| Figure 528. State diagram for quadrature encoded signals..... | 2804 |
| Figure 529. Up-counting encoder error detection ..... | 2805 |
| Figure 530. Down-counting encode error detection..... | 2806 |
| Figure 531. Encoder mode change with preload transferred on update (SMSPS = 0) ..... | 2807 |
| Figure 532. Measuring time interval between edges on three signals..... | 2808 |
| Figure 533. Example of Hall sensor interface ..... | 2810 |
| Figure 534. Control circuit in reset mode ..... | 2811 |
| Figure 535. Control circuit in Gated mode ..... | 2812 |
| Figure 536. Control circuit in trigger mode..... | 2813 |
| Figure 537. Control circuit in external clock mode 2 + trigger mode ..... | 2814 |
| Figure 538. General-purpose timer block diagram ..... | 2876 |
| Figure 539. Counter timing diagram with prescaler division change from 1 to 2 ..... | 2881 |
| Figure 540. Counter timing diagram with prescaler division change from 1 to 4 ..... | 2882 |
| Figure 541. Counter timing diagram, internal clock divided by 1 ..... | 2883 |
| Figure 542. Counter timing diagram, internal clock divided by 2 ..... | 2883 |
| Figure 543. Counter timing diagram, internal clock divided by 4 ..... | 2884 |
| Figure 544. Counter timing diagram, internal clock divided by N..... | 2884 |
| Figure 545. Counter timing diagram, Update event when ARPE = 0 (TIMx_ARR not preloaded)..... | 2885 |
| Figure 546. Counter timing diagram, Update event when ARPE = 1 (TIMx_ARR preloaded)..... | 2886 |
| Figure 547. Counter timing diagram, internal clock divided by 1 ..... | 2887 |
| Figure 548. Counter timing diagram, internal clock divided by 2 ..... | 2888 |
| Figure 549. Counter timing diagram, internal clock divided by 4 ..... | 2888 |
| Figure 550. Counter timing diagram, internal clock divided by N..... | 2889 |
| Figure 551. Counter timing diagram, Update event..... | 2889 |
| Figure 552. Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 ..... | 2891 |
| Figure 553. Counter timing diagram, internal clock divided by 2 ..... | 2891 |
| Figure 554. Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 ..... | 2892 |
| Figure 555. Counter timing diagram, internal clock divided by N..... | 2892 |
| Figure 556. Counter timing diagram, Update event with ARPE = 1 (counter underflow)..... | 2893 |
| Figure 557. Counter timing diagram, Update event with ARPE = 1 (counter overflow)..... | 2894 |
| Figure 558. Control circuit in normal mode, internal clock divided by 1..... | 2895 |
| Figure 559. | tim_ti2 external clock connection example | 2895 |
| Figure 560. | Control circuit in external clock mode 1 | 2896 |
| Figure 561. | External trigger input block | 2897 |
| Figure 562. | Control circuit in external clock mode 2 | 2898 |
| Figure 563. | Capture/compare channel (example: channel 1 input stage) | 2898 |
| Figure 564. | Capture/compare channel 1 main circuit | 2899 |
| Figure 565. | Output stage of capture/compare channel (channel 1, idem ch.2, 3 and 4) | 2899 |
| Figure 566. | PWM input mode timing | 2902 |
| Figure 567. | Output compare mode, toggle on tim_oc1 | 2904 |
| Figure 568. | Edge-aligned PWM waveforms (ARR = 8) | 2905 |
| Figure 569. | Center-aligned PWM waveforms (ARR = 8) | 2906 |
| Figure 570. | Dithering principle | 2907 |
| Figure 571. | Data format and register coding in dithering mode | 2908 |
| Figure 572. | PWM resolution vs frequency (16-bit mode) | 2909 |
| Figure 573. | PWM resolution vs frequency (32-bit mode) | 2909 |
| Figure 574. | PWM dithering pattern | 2910 |
| Figure 575. | Dithering effect on duty cycle in center-aligned PWM mode | 2911 |
| Figure 576. | Generation of two phase-shifted PWM signals with 50% duty cycle | 2913 |
| Figure 577. | Combined PWM mode on channels 1 and 3 | 2914 |
| Figure 578. | OCREF_CLR input selection multiplexer | 2915 |
| Figure 579. | Clearing TIMx tim_ocxref | 2915 |
| Figure 580. | Example of One-pulse mode | 2916 |
| Figure 581. | Retriggerable one-pulse mode | 2918 |
| Figure 582. | Pulse generator circuitry | 2919 |
| Figure 583. | Pulse generation on compare event, for edge-aligned and encoder modes | 2919 |
| Figure 584. | Extended pulse width in case of concurrent triggers | 2920 |
| Figure 585. | Example of counter operation in encoder interface mode | 2922 |
| Figure 586. | Example of encoder interface mode with tim_ti1fp1 polarity inverted | 2922 |
| Figure 587. | Quadrature encoder counting modes | 2923 |
| Figure 588. | Direction plus clock encoder mode | 2924 |
| Figure 589. | Directional clock encoder mode (CC1P = CC2P = 0) | 2925 |
| Figure 590. | Directional clock encoder mode (CC1P = CC2P = 1) | 2925 |
| Figure 591. | Index gating options | 2927 |
| Figure 592. | Jittered Index signals | 2927 |
| Figure 593. | Index generation for IPOS[1:0] = 11 | 2928 |
| Figure 594. | Counter reading with index gated on channel A (IPOS[1:0] = 11) | 2928 |
| Figure 595. | Counter reading with index ungated (IPOS[1:0] = 00) | 2929 |
| Figure 596. | Counter reading with index gated on channel A and B | 2929 |
| Figure 597. | Encoder mode behavior in case of narrow index pulse (IPOS[1:0] = 11) | 2930 |
| Figure 598. | Counter reset Narrow index pulse (closer view, ARR = 0x07) | 2931 |
| Figure 599. | Index behavior in x1 and x2 mode (IPOS[1:0] = 01) | 2932 |
| Figure 600. | Directional index sensitivity | 2932 |
| Figure 601. | Counter reset as function of FIDX bit setting | 2933 |
| Figure 602. | Index blanking | 2933 |
| Figure 603. | Index behavior in clock + direction mode, IPOS[0] = 1 | 2934 |
| Figure 604. | Index behavior in directional clock mode, IPOS[0] = 1 | 2934 |
| Figure 605. | State diagram for quadrature encoded signals | 2935 |
| Figure 606. | Up-counting encoder error detection | 2936 |
| Figure 607. | Down-counting encode error detection | 2937 |
| Figure 608. | Encoder mode change with preload transferred on update (SMSPS = 0) | 2938 |
| Figure 609. | Control circuit in reset mode | 2940 |
| Figure 610. | Control circuit in gated mode | 2941 |
| Figure 611. Control circuit in trigger mode . . . . . | 2941 |
| Figure 612. Control circuit in external clock mode 2 + trigger mode . . . . . | 2943 |
| Figure 613. Master/Slave timer example . . . . . | 2943 |
| Figure 614. Master/slave connection example with 1 channel only timers . . . . . | 2944 |
| Figure 615. Gating TIM_slv with tim_oc1ref of TIM_mstr . . . . . | 2945 |
| Figure 616. Gating TIM_slv with Enable of TIM_mstr . . . . . | 2946 |
| Figure 617. Triggering TIM_slv with update of TIM_mstr . . . . . | 2947 |
| Figure 618. Triggering TIM_slv with Enable of TIM_mstr . . . . . | 2947 |
| Figure 619. Triggering TIM_mstr and TIM_slv with TIM_mstr tim_ti1 input . . . . . | 2948 |
| Figure 620. Basic timer block diagram . . . . . | 2991 |
| Figure 621. Control circuit in normal mode, internal clock divided by 1 . . . . . | 2992 |
| Figure 622. Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 2993 |
| Figure 623. Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 2994 |
| Figure 624. Counter timing diagram, internal clock divided by 1 . . . . . | 2995 |
| Figure 625. Counter timing diagram, internal clock divided by 2 . . . . . | 2995 |
| Figure 626. Counter timing diagram, internal clock divided by 4 . . . . . | 2996 |
| Figure 627. Counter timing diagram, internal clock divided by N . . . . . | 2996 |
| Figure 628. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 2997 |
| Figure 629. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) . . . . . | 2998 |
| Figure 630. Dithering principle . . . . . | 2999 |
| Figure 631. Data format and register coding in dithering mode . . . . . | 2999 |
| Figure 632. FCnt resolution vs frequency . . . . . | 3000 |
| Figure 633. PWM dithering pattern . . . . . | 3000 |
| Figure 634. General-purpose timer block diagram (TIM12) . . . . . | 3016 |
| Figure 635. General-purpose timer block diagram (TIM10/TIM11/TIM13/TIM14) . . . . . | 3017 |
| Figure 636. Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 3020 |
| Figure 637. Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 3020 |
| Figure 638. Counter timing diagram, internal clock divided by 1 . . . . . | 3021 |
| Figure 639. Counter timing diagram, internal clock divided by 2 . . . . . | 3022 |
| Figure 640. Counter timing diagram, internal clock divided by 4 . . . . . | 3022 |
| Figure 641. Counter timing diagram, internal clock divided by N . . . . . | 3023 |
| Figure 642. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 3023 |
| Figure 643. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) . . . . . | 3024 |
| Figure 644. Control circuit in normal mode, internal clock divided by 1 . . . . . | 3025 |
| Figure 645. tim_ti2 external clock connection example . . . . . | 3025 |
| Figure 646. Control circuit in external clock mode 1 . . . . . | 3026 |
| Figure 647. Capture/compare channel 1 input stage (TIM10/TIM11/TIM13/TIM14) . . . . . | 3027 |
| Figure 648. Capture/compare channel 1 input stage (TIM12) . . . . . | 3027 |
| Figure 649. Capture/compare channel 1 main circuit . . . . . | 3028 |
| Figure 650. Output stage of capture/compare channel 1 . . . . . | 3028 |
| Figure 651. PWM input mode timing . . . . . | 3030 |
| Figure 652. Output compare mode, toggle on tim_oc1 . . . . . | 3032 |
| Figure 653. Edge-aligned PWM waveforms (ARR = 8) . . . . . | 3033 |
| Figure 654. Dithering principle . . . . . | 3034 |
| Figure 655. Data format and register coding in dithering mode . . . . . | 3034 |
| Figure 656. PWM resolution vs frequency . . . . . | 3035 |
| Figure 657. PWM dithering pattern . . . . . | 3036 |
| Figure 658. Combined PWM mode on channel 1 and 2 . . . . . | 3038 |
| Figure 659. | Example of one pulse mode . . . . . | 3039 |
| Figure 660. | Retriggerable one pulse mode . . . . . | 3040 |
| Figure 661. | Measuring time interval between edges on 2 signals . . . . . | 3041 |
| Figure 662. | Control circuit in reset mode . . . . . | 3042 |
| Figure 663. | Control circuit in gated mode . . . . . | 3043 |
| Figure 664. | Control circuit in trigger mode . . . . . | 3043 |
| Figure 665. | TIM15 block diagram . . . . . | 3085 |
| Figure 666. | TIM16/TIM17 block diagram . . . . . | 3086 |
| Figure 667. | Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 3090 |
| Figure 668. | Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 3091 |
| Figure 669. | Counter timing diagram, internal clock divided by 1 . . . . . | 3092 |
| Figure 670. | Counter timing diagram, internal clock divided by 2 . . . . . | 3093 |
| Figure 671. | Counter timing diagram, internal clock divided by 4 . . . . . | 3093 |
| Figure 672. | Counter timing diagram, internal clock divided by N . . . . . | 3094 |
| Figure 673. | Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 3094 |
| Figure 674. | Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) . . . . . | 3095 |
| Figure 675. | Update rate examples depending on mode and TIMx_RCR register settings . . . . . | 3096 |
| Figure 676. | Control circuit in normal mode, internal clock divided by 1 . . . . . | 3097 |
| Figure 677. | tim_ti2 external clock connection example . . . . . | 3097 |
| Figure 678. | Control circuit in external clock mode 1 . . . . . | 3098 |
| Figure 679. | Capture/compare channel (example: channel 1 input stage) . . . . . | 3099 |
| Figure 680. | Capture/compare channel 1 main circuit . . . . . | 3099 |
| Figure 681. | Output stage of capture/compare channel (channel 1) . . . . . | 3100 |
| Figure 682. | Output stage of capture/compare channel (channel 2 for TIM15) . . . . . | 3100 |
| Figure 683. | PWM input mode timing . . . . . | 3103 |
| Figure 684. | Output compare mode, toggle on tim_oc1 . . . . . | 3105 |
| Figure 685. | Edge-aligned PWM waveforms (ARR = 8) . . . . . | 3106 |
| Figure 686. | Dithering principle . . . . . | 3107 |
| Figure 687. | Data format and register coding in dithering mode . . . . . | 3107 |
| Figure 688. | PWM resolution vs frequency . . . . . | 3108 |
| Figure 689. | PWM dithering pattern . . . . . | 3109 |
| Figure 690. | Combined PWM mode on channel 1 and 2 . . . . . | 3111 |
| Figure 691. | Complementary output with symmetrical dead-time insertion . . . . . | 3112 |
| Figure 692. | Asymmetrical deadtime . . . . . | 3113 |
| Figure 693. | Dead-time waveforms with delay greater than the negative pulse . . . . . | 3113 |
| Figure 694. | Dead-time waveforms with delay greater than the positive pulse . . . . . | 3113 |
| Figure 695. | Break circuitry overview . . . . . | 3115 |
| Figure 696. | Output behavior in response to a break event on tim_brk . . . . . | 3117 |
| Figure 697. | Output redirection . . . . . | 3119 |
| Figure 698. | tim_ocref_clr input selection multiplexer . . . . . | 3120 |
| Figure 699. | 6-step generation, COM example (OSSR = 1) . . . . . | 3121 |
| Figure 700. | Example of one pulse mode . . . . . | 3122 |
| Figure 701. | Retriggerable one pulse mode . . . . . | 3124 |
| Figure 702. | Measuring time interval between edges on 2 signals . . . . . | 3124 |
| Figure 703. | Control circuit in reset mode . . . . . | 3125 |
| Figure 704. | Control circuit in gated mode . . . . . | 3126 |
| Figure 705. | Control circuit in trigger mode . . . . . | 3127 |
| Figure 706. | LPTIM1/2/3/4 block diagram(1) . . . . . | 3198 |
| Figure 707. | LPTIM5 block diagram(1) . . . . . | 3199 |
| Figure 708. | Glitch filter timing diagram . . . . . | 3203 |
| Figure 709. LPTIM output waveform, single-counting mode configuration when repetition register content is different than zero (with PRELOAD = 1) . . . . . | 3205 |
| Figure 710. LPTIM output waveform, single-counting mode configuration and Set-once mode activated (WAVE bit is set) . . . . . | 3205 |
| Figure 711. LPTIM output waveform, Continuous counting mode configuration . . . . . | 3206 |
| Figure 712. Waveform generation . . . . . | 3207 |
| Figure 713. Encoder mode counting sequence . . . . . | 3211 |
| Figure 714. Continuous counting mode when repetition register LPTIM_RCR different from zero (with PRELOAD = 1) . . . . . | 3212 |
| Figure 715. Capture/compare input stage (channel 1) . . . . . | 3213 |
| Figure 716. Capture/compare output stage (channel 1) . . . . . | 3213 |
| Figure 717. Edge-aligned PWM mode (PRELOAD = 1) . . . . . | 3215 |
| Figure 718. Edge-aligned PWM waveforms (ARR=8 and CCxP = 0) . . . . . | 3216 |
| Figure 719. PWM mode with immediate update versus preloaded update . . . . . | 3217 |
| Figure 720. STGEN block diagram . . . . . | 3252 |
| Figure 721. Top view of independent watchdogs . . . . . | 3269 |
| Figure 722. Windows watchdogs top view . . . . . | 3269 |
| Figure 723. Independent watchdog block diagram . . . . . | 3271 |
| Figure 724. Reset timing due to timeout . . . . . | 3273 |
| Figure 725. Reset timing due to refresh in the not allowed area . . . . . | 3274 |
| Figure 726. Changing PR, RL, and performing a refresh(1) . . . . . | 3275 |
| Figure 727. Window comparator update(1) . . . . . | 3276 |
| Figure 728. Independent watchdog interrupt timing diagram . . . . . | 3278 |
| Figure 729. Early wake-up comparator update(1) . . . . . | 3279 |
| Figure 730. Watchdog block diagram . . . . . | 3289 |
| Figure 731. Window watchdog timing diagram . . . . . | 3291 |
| Figure 732. RTC block diagram . . . . . | 3298 |
| Figure 733. TAMP block diagram . . . . . | 3363 |
| Figure 734. Backup registers protection zones . . . . . | 3368 |
| Figure 735. Access rights for TAMP resources according to the CID . . . . . | 3372 |
| Figure 736. Tamper sampling with precharge pulse . . . . . | 3376 |
| Figure 737. Low level detection with precharge and filtering . . . . . | 3377 |
| Figure 738. Active tamper filtering . . . . . | 3380 |
| Figure 739. Block diagram . . . . . | 3425 |
| Figure 740. I2C-bus protocol . . . . . | 3429 |
| Figure 741. Setup and hold timings . . . . . | 3431 |
| Figure 742. I2C initialization flow . . . . . | 3433 |
| Figure 743. Data reception . . . . . | 3434 |
| Figure 744. Data transmission . . . . . | 3435 |
| Figure 745. Target initialization flow . . . . . | 3438 |
| Figure 746. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 0 . . . . . | 3440 |
| Figure 747. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 1 . . . . . | 3441 |
| Figure 748. Transfer bus diagrams for I2C target transmitter (mandatory events only) . . . . . | 3442 |
| Figure 749. Transfer sequence flow for I2C target receiver, NOSTRETCH = 0 . . . . . | 3443 |
| Figure 750. Transfer sequence flow for I2C target receiver, NOSTRETCH = 1 . . . . . | 3444 |
| Figure 751. Transfer bus diagrams for I2C target receiver (mandatory events only) . . . . . | 3444 |
| Figure 752. Controller clock generation . . . . . | 3446 |
| Figure 753. Controller initialization flow . . . . . | 3448 |
| Figure 754. 10-bit address read access with HEAD10R = 0 . . . . . | 3448 |
| Figure 755. 10-bit address read access with HEAD10R = 1 . . . . . | 3449 |
| Figure 756. Transfer sequence flow for I2C controller transmitter, N ≤ 255 bytes . . . . . | 3450 |
| Figure 757. Transfer sequence flow for I2C controller transmitter, N > 255 bytes. .... | 3451 |
| Figure 758. Transfer bus diagrams for I2C controller transmitter (mandatory events only) ..... | 3452 |
| Figure 759. Transfer sequence flow for I2C controller receiver, N ≤ 255 bytes ..... | 3454 |
| Figure 760. Transfer sequence flow for I2C controller receiver, N > 255 bytes. .... | 3455 |
| Figure 761. Transfer bus diagrams for I2C controller receiver (mandatory events only) ..... | 3456 |
| Figure 762. Timeout intervals for \(t_{\text{LOW:SEXT}}\), \(t_{\text{LOW:MEXT}}\) ..... | 3460 |
| Figure 763. Transfer sequence flow for SMBus target transmitter N bytes + PEC ..... | 3463 |
| Figure 764. Transfer bus diagram for SMBus target transmitter (SBC = 1) ..... | 3464 |
| Figure 765. Transfer sequence flow for SMBus target receiver N bytes + PEC ..... | 3465 |
| Figure 766. Bus transfer diagrams for SMBus target receiver (SBC = 1) ..... | 3466 |
| Figure 767. Bus transfer diagrams for SMBus controller transmitter ..... | 3467 |
| Figure 768. Bus transfer diagrams for SMBus controller receiver ..... | 3469 |
| Figure 769. I3C block diagram ..... | 3500 |
| Figure 770. I3C (primary) controller state and programming sequence diagram ..... | 3505 |
| Figure 771. I3C target state and programing sequence diagram ..... | 3510 |
| Figure 772. I3C CCC messages, as controller ..... | 3524 |
| Figure 773. I3C broadcast ENTDAACCC, as controller ..... | 3525 |
| Figure 774. I3C broadcast, direct read and direct write RSTACT CCC, as controller ..... | 3526 |
| Figure 775. I3C CCC messages, as target ..... | 3528 |
| Figure 776. I3C broadcast ENTDAACCC, as target ..... | 3529 |
| Figure 777. I3C broadcast DEFTGTS CCC, as target ..... | 3530 |
| Figure 778. I3C broadcast DEFGRPA CCC, as target ..... | 3531 |
| Figure 779. I3C private read/write messages, as controller ..... | 3533 |
| Figure 780. I3C private read/write messages, as target ..... | 3534 |
| Figure 781. Legacy I2C read/write messages, as controller ..... | 3535 |
| Figure 782. IBI transfer, as controller/target ..... | 3536 |
| Figure 783. Hot-join request transfer, as controller/target ..... | 3538 |
| Figure 784. Controller-role request transfer, as controller/target ..... | 3539 |
| Figure 785. C-FIFO management, as controller ..... | 3540 |
| Figure 786. TX-FIFO management, as controller ..... | 3542 |
| Figure 787. RX-FIFO management, as controller ..... | 3544 |
| Figure 788. S-FIFO management, as controller ..... | 3547 |
| Figure 789. RX-FIFO management, as target on the I3C bus ..... | 3548 |
| Figure 790. TX-FIFO management with I3C_TGTTDR, as target on the I3C bus ..... | 3550 |
| Figure 791. TX-FIFO management by software without I3C_TGTTDR if reading less bytes than TX-FIFO size, as target ..... | 3552 |
| Figure 792. USART block diagram ..... | 3612 |
| Figure 793. Word length programming ..... | 3616 |
| Figure 794. Configurable stop bits ..... | 3618 |
| Figure 795. TC/TXE behavior when transmitting ..... | 3620 |
| Figure 796. Start bit detection when oversampling by 16 or 8 ..... | 3621 |
| Figure 797. usart_ker_ck clock divider block diagram ..... | 3624 |
| Figure 798. Data sampling when oversampling by 16 ..... | 3625 |
| Figure 799. Data sampling when oversampling by 8 ..... | 3626 |
| Figure 800. Mute mode using Idle line detection ..... | 3633 |
| Figure 801. Mute mode using address mark detection ..... | 3634 |
| Figure 802. Break detection in LIN mode (11-bit break length - LBDL bit is set) ..... | 3637 |
| Figure 803. Break detection in LIN mode vs. Framing error detection ..... | 3638 |
| Figure 804. USART example of synchronous master transmission ..... | 3639 |
| Figure 805. USART data clock timing diagram in synchronous master mode |
| (M bits = 00) . . . . . | 3639 | |
| Figure 806. | USART data clock timing diagram in synchronous master mode (M bits = 01) . . . . . | 3640 |
| Figure 807. | USART data clock timing diagram in synchronous slave mode (M bits = 00) . . . . . | 3641 |
| Figure 808. | ISO 7816-3 asynchronous protocol . . . . . | 3643 |
| Figure 809. | Parity error detection using the 1.5 stop bits . . . . . | 3645 |
| Figure 810. | IrDA SIR ENDEC block diagram. . . . . | 3649 |
| Figure 811. | IrDA data modulation (3/16) - normal mode . . . . . | 3649 |
| Figure 812. | Transmission using DMA . . . . . | 3651 |
| Figure 813. | Reception using DMA. . . . . | 3652 |
| Figure 814. | Hardware flow control between two USARTs. . . . . | 3652 |
| Figure 815. | RS232 RTS flow control . . . . . | 3653 |
| Figure 816. | RS232 CTS flow control . . . . . | 3654 |
| Figure 817. | LPUART block diagram . . . . . | 3704 |
| Figure 818. | LPUART word length programming . . . . . | 3708 |
| Figure 819. | Configurable stop bits. . . . . | 3710 |
| Figure 820. | TC/TXE behavior when transmitting . . . . . | 3712 |
| Figure 821. | lpuart_ker_ck clock divider block diagram . . . . . | 3716 |
| Figure 822. | Mute mode using Idle line detection . . . . . | 3720 |
| Figure 823. | Mute mode using address mark detection . . . . . | 3721 |
| Figure 824. | Transmission using DMA . . . . . | 3723 |
| Figure 825. | Reception using DMA. . . . . | 3724 |
| Figure 826. | Hardware flow control between an LPUART and another device. . . . . | 3725 |
| Figure 827. | RS232 CTS flow control . . . . . | 3726 |
| Figure 828. | SPI/I2S block diagram . . . . . | 3761 |
| Figure 829. | Full-duplex single master/ single slave application. . . . . | 3765 |
| Figure 830. | Half-duplex single master/ single slave application . . . . . | 3765 |
| Figure 831. | Simplex single master / single slave application (master in transmit-only / slave in receive-only mode) . . . . . | 3766 |
| Figure 832. | Master and three independent slaves connected in star topology . . . . . | 3768 |
| Figure 833. | Master and three slaves connected in circular (daisy chain) topology . . . . . | 3770 |
| Figure 834. | Multimaster application. . . . . | 3771 |
| Figure 835. | Scheme of NSS control logic . . . . . | 3773 |
| Figure 836. | Data flow timing control (SSOE = 1, SSOM = 0, SSM = 0) . . . . . | 3773 |
| Figure 837. | NSS interleaving pulses between data (SSOE = 1, SSOM = 1, SSM = 0). . . . . | 3774 |
| Figure 838. | Data clock timing diagram . . . . . | 3776 |
| Figure 839. | Data alignment when data size is not equal to 8, 16 or 32 bits . . . . . | 3777 |
| Figure 840. | TI mode transfer . . . . . | 3787 |
| Figure 841. | Optional configurations of the slave behavior when an underrun condition is detected . . . . . | 3789 |
| Figure 842. | Waveform examples . . . . . | 3797 |
| Figure 843. | Master I2S Philips protocol waveforms (16/32-bit full accuracy) . . . . . | 3798 |
| Figure 844. | I2S Philips standard waveforms . . . . . | 3798 |
| Figure 845. | Master MSB-justified 16- or 32-bit full-accuracy length . . . . . | 3799 |
| Figure 846. | Master MSB-justified 16- or 24-bit data length . . . . . | 3799 |
| Figure 847. | Slave MSB-justified 16-, 24- or 32-bit data length . . . . . | 3800 |
| Figure 848. | LSB-justified 16 or 24-bit data length . . . . . | 3800 |
| Figure 849. | Master PCM when the frame length is equal the data length. . . . . | 3801 |
| Figure 850. | Master PCM standard waveforms (16 or 24-bit data length) . . . . . | 3801 |
| Figure 851. | Slave PCM waveforms . . . . . | 3802 |
| Figure 852. | Startup sequence, I2S Philips standard, master. . . . . | 3805 |
| Figure 853. | Startup sequence, I2S Philips standard, slave . . . . . | 3806 |
| Figure 854. | Stop sequence, I2S Philips standard, master | 3806 |
| Figure 855. | I2S clock generator architecture | 3807 |
| Figure 856. | Data Format | 3809 |
| Figure 857. | Handling of underrun situation | 3811 |
| Figure 858. | Handling of overrun situation | 3812 |
| Figure 859. | Frame error detection, with FIXCH = 0 | 3813 |
| Figure 860. | Frame error detection, with FIXCH = 1 | 3813 |
| Figure 861. | SAI functional block diagram | 3843 |
| Figure 862. | Audio frame | 3847 |
| Figure 863. | FS role is start of frame + channel side identification (FSDEF = TRIS = 1) | 3849 |
| Figure 864. | FS role is start of frame (FSDEF = 0) | 3850 |
| Figure 865. | Slot size configuration with FBOFF = 0 in SAI_xSLOTR | 3851 |
| Figure 866. | First bit offset | 3851 |
| Figure 867. | Audio block clock generator overview | 3853 |
| Figure 868. | PDM typical connection and timing | 3857 |
| Figure 869. | Detailed PDM interface block diagram | 3858 |
| Figure 870. | Start-up sequence | 3859 |
| Figure 871. | SAI_ADR format in TDM mode, 32-bit slot width | 3860 |
| Figure 872. | SAI_ADR format in TDM mode, 16-bit slot width | 3861 |
| Figure 873. | SAI_ADR format in TDM mode, 8-bit slot width | 3862 |
| Figure 874. | AC'97 audio frame | 3865 |
| Figure 875. | Example of typical AC'97 configuration on devices featuring at least two embedded SAIs (three external AC'97 decoders) | 3866 |
| Figure 876. | SPDIF format | 3867 |
| Figure 877. | SAI_xDR register ordering | 3868 |
| Figure 878. | Data companding hardware in an audio block in the SAI | 3871 |
| Figure 879. | Tristate strategy on SD output line on an inactive slot | 3873 |
| Figure 880. | Tristate on output data line in a protocol like I2S | 3874 |
| Figure 881. | Overrun detection error | 3875 |
| Figure 882. | FIFO underrun event | 3875 |
| Figure 883. | SPDIFRX block diagram | 3912 |
| Figure 884. | S/SPDIF sub-frame format | 3913 |
| Figure 885. | S/SPDIF block format | 3914 |
| Figure 886. | S/SPDIF preambles | 3914 |
| Figure 887. | Channel coding example | 3915 |
| Figure 888. | SPDIFRX decoder | 3916 |
| Figure 889. | Noise filtering and edge detection | 3916 |
| Figure 890. | Thresholds | 3918 |
| Figure 891. | Synchronization flowchart | 3920 |
| Figure 892. | Synchronization process scheduling | 3921 |
| Figure 893. | SPDIFRX states | 3922 |
| Figure 894. | SPDIFRX_FMTx_DR register format | 3924 |
| Figure 895. | Channel/user data format | 3925 |
| Figure 896. | S/SPDIF overrun error when RXSTEO = 0 | 3927 |
| Figure 897. | S/SPDIF overrun error when RXSTEO = 1 | 3928 |
| Figure 898. | SPDIFRX interface interrupt mapping diagram | 3931 |
| Figure 899. | CAN subsystem | 3949 |
| Figure 900. | FD CAN block diagram | 3951 |
| Figure 901. | Transceiver delay measurement | 3956 |
| Figure 902. | Pin control in bus monitoring mode | 3958 |
| Figure 903. | Pin control in loop back mode | 3960 |
| Figure 904. | CAN error state diagram | 3961 |
| Figure 905. Message RAM configuration. . . . . | 3962 |
| Figure 906. Standard message ID filter path . . . . . | 3965 |
| Figure 907. Extended message ID filter path. . . . . | 3966 |
| Figure 908. Example of mixed configuration dedicated Tx buffers / Tx FIFO . . . . . | 3972 |
| Figure 909. Example of mixed configuration dedicated Tx buffers / Tx queue . . . . . | 3972 |
| Figure 910. Bit timing . . . . . | 3974 |
| Figure 911. Bypass operation . . . . . | 3976 |
| Figure 912. FSM calibration. . . . . | 3977 |
| Figure 913. Cycle time and global time synchronization . . . . . | 3992 |
| Figure 914. TTCAN level 0 and level 2 drift compensation . . . . . | 3993 |
| Figure 915. Level 0 schedule synchronization state machine . . . . . | 4000 |
| Figure 916. Level 0 master to slave relation . . . . . | 4001 |
| Figure 917. USB sub-system overview . . . . . | 4078 |
| Figure 918. USB2 host high-speed port block diagram . . . . . | 4081 |
| Figure 919. USB2 host high-speed port reset . . . . . | 4083 |
| Figure 920. USB2 OTG high-speed port block diagram . . . . . | 4089 |
| Figure 921. USB2 OTG high-speed port resets. . . . . | 4090 |
| Figure 922. Multiplexing of debug signals in the USB Sub-system . . . . . | 4096 |
| Figure 923. OTG high-speed block diagram . . . . . | 4101 |
| Figure 924. OTG A-B device connection . . . . . | 4103 |
| Figure 925. OTG peripheral-only connection. . . . . | 4104 |
| Figure 926. OTG host-only connection . . . . . | 4108 |
| Figure 927. SOF connectivity (SOF trigger output to TIM and ITR1 connection) . . . . . | 4111 |
| Figure 928. Updating OTG_HFIR dynamically (RLDCTRL = 1) . . . . . | 4113 |
| Figure 929. Device-mode FIFO address mapping and AHB FIFO access mapping . . . . . | 4115 |
| Figure 930. Host-mode FIFO address mapping and AHB FIFO access mapping. . . . . | 4116 |
| Figure 931. Interrupt hierarchy. . . . . | 4120 |
| Figure 932. Transmit FIFO write task . . . . . | 4214 |
| Figure 933. Receive FIFO read task . . . . . | 4215 |
| Figure 934. Normal bulk/control OUT/SETUP . . . . . | 4216 |
| Figure 935. Bulk/control IN transactions . . . . . | 4220 |
| Figure 936. Normal interrupt OUT . . . . . | 4223 |
| Figure 937. Normal interrupt IN . . . . . | 4228 |
| Figure 938. Isochronous OUT transactions . . . . . | 4230 |
| Figure 939. Isochronous IN transactions . . . . . | 4233 |
| Figure 940. Normal bulk/control OUT/SETUP transactions - DMA . . . . . | 4235 |
| Figure 941. Normal bulk/control IN transaction - DMA. . . . . | 4237 |
| Figure 942. Normal interrupt OUT transactions - DMA mode . . . . . | 4238 |
| Figure 943. Normal interrupt IN transactions - DMA mode . . . . . | 4239 |
| Figure 944. Normal isochronous OUT transaction - DMA mode . . . . . | 4240 |
| Figure 945. Normal isochronous IN transactions - DMA mode . . . . . | 4241 |
| Figure 946. Receive FIFO packet read . . . . . | 4247 |
| Figure 947. Processing a SETUP packet . . . . . | 4249 |
| Figure 948. Bulk OUT transaction . . . . . | 4256 |
| Figure 949. TRDT max timing case . . . . . | 4266 |
| Figure 950. USBH block diagram . . . . . | 4269 |
| Figure 951. Ethernet subsystem block diagram. . . . . | 4284 |
| Figure 952. ETHSS external signals (simplified view) . . . . . | 4285 |
| Figure 953. Ethernet subsystem internal signals. . . . . | 4286 |
| Figure 954. High-level Ethernet block diagram . . . . . | 4296 |
| Figure 955. DMA transmission flow (standard mode) . . . . . | 4299 |
| Figure 956. DMA transmission flow (OSP mode) . . . . . | 4301 |
| Figure 957. Receive DMA flow ..... | 4303 |
| Figure 958. Overview of MAC transmission flow ..... | 4306 |
| Figure 959. MAC reception flow ..... | 4308 |
| Figure 960. Packet filtering sequence ..... | 4325 |
| Figure 961. Networked time synchronization ..... | 4339 |
| Figure 962. Propagation delay calculation in clocks supporting peer-to-peer path correction ..... | 4340 |
| Figure 963. System time update using fine correction method ..... | 4350 |
| Figure 964. Time aware shaper implementation for traffic scheduling. .... | 4362 |
| Figure 965. Implementing a guard band to avoid delays due to interfering frames ..... | 4363 |
| Figure 966. GCL governing gate close and open events block diagram (from IEEE 802.1 Qbv specifications) ..... | 4364 |
| Figure 967. GCL and associated registers - BaseTime and CycleTime ..... | 4368 |
| Figure 968. GCL and associated registers - BaseTime and CycleTime list execution time > CycleTime ..... | 4369 |
| Figure 969. Switching to a new Configuration that is Aligned with the Existing Configuration. .... | 4370 |
| Figure 970. Switching to the New List by Truncating the Current List ..... | 4372 |
| Figure 971. Switching to New List By Extending the Current List ..... | 4373 |
| Figure 972. mPacket formats ..... | 4377 |
| Figure 973. MAC data Alignment Feature ..... | 4382 |
| Figure 974. Time-based scheduler implementation ..... | 4390 |
| Figure 975. Time-based scheduling flow ..... | 4391 |
| Figure 976. TCP segmentation offload overview ..... | 4397 |
| Figure 977. TCP segmentation offload flow ..... | 4398 |
| Figure 978. Header and payload fields of segmented packets ..... | 4401 |
| Figure 979. Supported PHY interfaces ..... | 4413 |
| Figure 980. SMA Interface block ..... | 4414 |
| Figure 981. MDIO packet structure (Clause 45) ..... | 4415 |
| Figure 982. MDIO packet structure (Clause 22) ..... | 4416 |
| Figure 983. SMA write operation flow ..... | 4417 |
| Figure 984. Write data packet ..... | 4418 |
| Figure 985. Read data packet ..... | 4418 |
| Figure 986. Media independent interface (MII) signals ..... | 4420 |
| Figure 987. RMII block diagram ..... | 4422 |
| Figure 988. Transmission bit order ..... | 4423 |
| Figure 989. Receive bit order ..... | 4424 |
| Figure 990. RGMII block diagram and interface signals ..... | 4425 |
| Figure 991. LPI transitions (Transmit, 100 Mbds) ..... | 4434 |
| Figure 992. LPI Tx clock gating (when LPITCSE = 1) ..... | 4435 |
| Figure 993. LPI transitions (receive, 100 Mbit/s) ..... | 4436 |
| Figure 994. Descriptor ring structure ..... | 4467 |
| Figure 995. DMA descriptor ring ..... | 4468 |
| Figure 996. Descriptor tail pointer example 1 ..... | 4469 |
| Figure 997. Descriptor tail pointer example 2 ..... | 4469 |
| Figure 998. Transmit descriptor (read format) ..... | 4470 |
| Figure 999. Transmit descriptor write-back format ..... | 4475 |
| Figure 1000. Transmit context descriptor format ..... | 4480 |
| Figure 1001. Receive normal descriptor (read format) ..... | 4483 |
| Figure 1002. Receive normal descriptor (write-back format) ..... | 4486 |
| Figure 1003. Receive context descriptor ..... | 4494 |
| Figure 1004. Enhanced normal descriptor (read format) ..... | 4496 |
| Figure 1005. Enhanced normal descriptor (write format) ..... | 4497 |
| Figure 1006.Enhanced context descriptor (read format) . . . . . | 4498 |
| Figure 1007.Enhanced context descriptor (write format) . . . . . | 4499 |
| Figure 1008.Generation of ETH_DMAISR flags . . . . . | 4522 |
| Figure 1009.Hardware debug port block diagram. . . . . | 4731 |
| Figure 1010.SERF overview . . . . . | 4739 |
| Figure 1011.AXI SERD block diagram . . . . . | 4741 |
| Figure 1012.AHB SERD for IP block diagram . . . . . | 4742 |
| Figure 1013.AHB SERD for ICN block diagram . . . . . | 4743 |
| Figure 1014.AHB SERDAB for AHB2APB block diagram . . . . . | 4744 |
| Figure 1015.SERC block diagram . . . . . | 4744 |
| Figure 1016.SERF with an RISUP . . . . . | 4745 |
| Figure 1017.Block diagram of debug support infrastructure . . . . . | 4761 |
| Figure 1018.Debug clock domains . . . . . | 4763 |
| Figure 1019.Debug and access port connections. . . . . | 4769 |
| Figure 1020.CoreSight™ components topology . . . . . | 4773 |
| Figure 1021.CoreSight timestamp distribution . . . . . | 4774 |
| Figure 1022.Embedded cross trigger . . . . . | 4776 |
| Figure 1023.Mapping trigger inputs to outputs . . . . . | 4780 |
| Figure 1024.Cross trigger configuration example . . . . . | 4781 |
| Figure 1025.System trace macrocell . . . . . | 4785 |
| Figure 1026.Cortex-M33 CoreSight topology . . . . . | 4816 |
Chapters
- 1. Documentation conventions
- 2. Memory and bus architecture
- 3. Arm Cortex-A35 (CA35SS)
- 4. Arm Cortex-M33 (CM33SS)
- 5. System security
- 6. Boot and security control (BSEC)
- 7. OTP mapping (OTP)
- 8. Resource isolation framework security controller (RIFSC)
- 9. Resource isolation slave unit for address space protection (block-based) (RISAB)
- 10. Resource isolation slave unit for address space protection (full version) (RISAF)
- 11. Illegal access controller (IAC)
- 12. DDR subsystem architecture (DDRSS)
- 13. DDR3L/DDR4/LPDDR4 controller (DDRCTRL)
- 14. DDR physical interface control (DDRPHYC)
- 15. DDR performance monitor (DDRPERFM)
- 16. SRAM configuration controller (RAMCFG)
- 17. Instruction cache (ICACHE)
- 18. Data cache (DCACHE)
- 19. Power control (PWR)
- 20. Reset and clock control (RCC)
- 21. Inter-processor communication controller (IPCC)
- 22. General-purpose I/Os (GPIO)
- 23. System configuration controller (SYSCFG)
- 24. Peripheral interconnects
- 25. High-performance direct memory access controller (HPDMA)
- 26. Interrupt list
- 27. Nested vectored interrupt controller (NVIC)
- 28. Global interrupt controller (GIC)
- 29. Extended interrupts and event controller (EXTI)
- 30. Cyclic redundancy check calculation unit (CRC)
- 31. Mass storage interfaces
- 32. Flexible memory controller (FMC)
- 33. Octo-SPI interface (OCTOSPI)
- 34. Secure digital input/output MultiMediaCard interface (SDMMC)
- 35. Delay block (DLYB)
- 36. Analog-to-digital converters (ADC)
- 37. Digital temperature sensor (DTS)
- 38. Voltage reference buffer (VREFBUF)
- 39. Multi-function digital filter (MDF)
- 40. Camera subsystem
- 41. Digital camera interface (DCMI)
- 42. Digital camera interface pixel pipeline (DCMIPP)
- 43. CSI-2 Host (CSI)
- 44. Parallel synchronous slave interface (PSSI)
- 45. Display subsystem
- 46. LCD-TFT display controller (LTDC)
- 47. True random number generator (RNG)
- 48. Cryptographic processor (SAES)
- 49. Cryptographic processor (CRYP)
- 50. Hash processor (HASH)
- 51. On-the-fly decryption engine (OTFDEC)
- 52. Public key accelerator (PKA)
- 53. Advanced-control timers (TIM1/TIM8)
- 54. General-purpose timers (TIM2/TIM3/TIM4/TIM5)
- 55. Basic timers (TIM6/TIM7)
- 56. General-purpose timers (TIM10/TIM11/TIM12/TIM13/TIM14)
- 57. General purpose timers (TIM15/TIM16/TIM17)
- 58. Low-power timer (LPTIM)
- 59. System timer generator (STGEN)
- 60. Watchdog overview
- 61. Independent watchdog (IWDG)
- 62. System window watchdog (WWDG)
- 63. Real-time clock (RTC)
- 64. Tamper and backup registers (TAMP)
- 65. Inter-integrated circuit interface (I2C)
- 66. Improved inter-integrated circuit (I3C)
- 67. Universal synchronous/asynchronous receiver transmitter (USART/UART)
- 68. Low-power universal asynchronous receiver transmitter (LPUART)
- 69. Serial peripheral interface (SPI)
- 70. Serial audio interface (SAI)
- 71. SPDIF receiver interface (SPDIFRX)
- 72. Controller area network with flexible data rate (FDCAN)
- 73. USB subsystem (USBSS)
- 74. USB on-the-go high-speed (OTG)
- 75. USB2 EHCI/OHCI high/full/low-speed host controller (USBH)
- 76. Ethernet subsystem overview (ETHSS)
- 77. Ethernet (ETH): gigabit media access control (GMAC) with DMA controller
- 78. Hardware debug port (HDP)
- 79. Software error robustness collector (SERC)
- 80. Debug support (DBG)
- 81. Device electronic signature
- 82. Important security notice
- 83. Revision history