RM0486-STM32N6x5-x7
This document is addressed to application developers. It provides complete information on how to use the STM32N645xx, STM32N647xx, STM32N655xx, and STM32N657xx (referred to as STM32N6x5/x7xx) microcontrollers memory and peripherals.
For ordering information, mechanical and electrical device characteristics, refer to the datasheet.
For information on the Arm® Cortex®-M55 core, refer to the corresponding Arm® Technical Reference Manual available on http://infocenter.arm.com.
STM32N6x5/x7xx microcontrollers include ST state-of-the-art patented technology.
Related documents
- • STM32N6x5/x7xx datasheet (DS14791)
- • STM32 Cortex®-M55 MCUs programming manual (PM0273)
- • UM3234 “How to proceed with boot ROM on STM32N6 MCUs”
- • STM32N6xxxx device errata sheet (ES0620)
Contents
| 1 | Documentation conventions | 156 |
| 1.1 | General information | 156 |
| 1.2 | List of abbreviations for registers | 156 |
| 1.3 | Register reset value | 157 |
| 1.4 | Glossary | 157 |
| 1.5 | Availability of peripherals | 157 |
| 2 | Memory and bus architecture | 158 |
| 2.1 | System architecture | 158 |
| 2.1.1 | Introduction | 158 |
| 2.1.2 | Bus architecture | 158 |
| 2.2 | Bus network-on-chip (NoC) | 162 |
| 2.2.1 | STNoC AXI | 162 |
| 2.2.2 | NPU_NIC network interconnect | 162 |
| 2.2.3 | Multi-layer AHB interconnect (AHBM) | 162 |
| 2.3 | Memory organization | 163 |
| 2.3.1 | Introduction | 163 |
| 2.3.2 | Memory map and register boundary addresses | 164 |
| 3 | System security | 182 |
| 3.1 | Key security features | 182 |
| 3.2 | Secure boot | 183 |
| 3.3 | Secure provisioning | 183 |
| 3.4 | Temporal isolation | 184 |
| 3.5 | Resource isolation | 184 |
| 3.5.1 | Trustzone filtering using IDAU/SAU | 185 |
| 3.5.2 | Privileged OS-controlled isolation | 186 |
| 3.5.3 | RIF infrastructure | 186 |
| 3.5.4 | Multi-tenancy | 187 |
| 3.5.5 | NPU timeslicing | 188 |
| 3.5.6 | NPU cache (CACHEAXI) management | 189 |
| 3.5.7 | Memory firewalls | 189 |
| 3.5.8 | RIF-aware peripherals | 190 |
| 3.6 | Secure storage ..... | 193 |
| 3.6.1 | Battery backup registers ..... | 193 |
| 3.6.2 | Secure RAM and registers ..... | 193 |
| 3.6.3 | Fuse secrets ..... | 193 |
| 3.6.4 | Hardware key management ..... | 193 |
| 3.6.5 | Unique ID ..... | 195 |
| 3.7 | Tamper detection and response ..... | 195 |
| 3.8 | Crypto engines ..... | 197 |
| 3.8.1 | Accelerators ..... | 197 |
| 3.8.2 | Memory cipher engine (MCE) ..... | 199 |
| 3.8.3 | NPU encryption ..... | 199 |
| 3.9 | Access controlled debug ..... | 200 |
| 4 | Boot and security control (BSEC) ..... | 201 |
| 4.1 | Introduction ..... | 201 |
| 4.2 | BSEC main features ..... | 201 |
| 4.3 | BSEC functional description ..... | 202 |
| 4.3.1 | BSEC block diagram ..... | 202 |
| 4.3.2 | BSEC internal signals ..... | 202 |
| 4.3.3 | BSEC reset and clocks ..... | 203 |
| 4.3.4 | Organization and use of fuses ..... | 204 |
| 4.3.5 | Operations on fuses ..... | 205 |
| 4.3.6 | BSEC read and programming status reporting ..... | 207 |
| 4.3.7 | Lifecycle management ..... | 208 |
| 4.3.8 | Epoch registers ..... | 209 |
| 4.3.9 | BSEC local access control ..... | 210 |
| 4.3.10 | Temporal isolation in BSEC ..... | 210 |
| 4.3.11 | BSEC debug and trace control ..... | 211 |
| 4.3.12 | Device features control ..... | 212 |
| 4.3.13 | Scratch registers ..... | 212 |
| 4.3.14 | JTAG registers ..... | 212 |
| 4.3.15 | STM32 root hardware unique key (RHUK) ..... | 212 |
| 4.3.16 | BSEC error management ..... | 213 |
| 4.3.17 | BSEC tamper response mechanisms ..... | 213 |
| 4.4 | BSEC interrupts ..... | 213 |
| 4.5 | BSEC registers ..... | 213 |
| 4.5.1 | BSEC fuse word w value register (BSEC_FVRw) . . . . . | 214 |
| 4.5.2 | BSEC sticky programming lock register x (BSEC_SPLOCKx) . . . . . | 215 |
| 4.5.3 | BSEC sticky write lock register x (BSEC_SWLOCKx) . . . . . | 215 |
| 4.5.4 | BSEC sticky reload lock register x (BSEC_SRLOCKx) . . . . . | 216 |
| 4.5.5 | BSEC OTP valid register x (BSEC_OTPVLDRx) . . . . . | 216 |
| 4.5.6 | BSEC shadowed fuses status register x (BSEC_SFSRx) . . . . . | 217 |
| 4.5.7 | BSEC OTP control register (BSEC_OTPCR) . . . . . | 217 |
| 4.5.8 | BSEC write data register (BSEC_WDR) . . . . . | 218 |
| 4.5.9 | BSEC scratch register x (BSEC_SCRATCHRx) . . . . . | 219 |
| 4.5.10 | BSEC lock register (BSEC_LOCKR) . . . . . | 219 |
| 4.5.11 | BSEC JTAG input register (BSEC_JTAGINR) . . . . . | 220 |
| 4.5.12 | BSEC JTAG output register (BSEC_JTAGOUTR) . . . . . | 220 |
| 4.5.13 | BSEC unmap register (BSEC_UNMAPR) . . . . . | 220 |
| 4.5.14 | BSEC status register (BSEC_SR) . . . . . | 221 |
| 4.5.15 | BSEC OTP status register (BSEC_OTPSR) . . . . . | 222 |
| 4.5.16 | BSEC epoch register (BSEC_EPOCHRx) . . . . . | 223 |
| 4.5.17 | BSEC epoch selection control register (BSEC_EPOCHSELCR) . . . . . | 224 |
| 4.5.18 | BSEC debug control register (BSEC_DBGCR) . . . . . | 224 |
| 4.5.19 | BSEC AP unlock (BSEC_AP_UNLOCK) . . . . . | 225 |
| 4.5.20 | BSEC HDPL status register (BSEC_HDPLSR) . . . . . | 226 |
| 4.5.21 | BSEC HDPL control register (BSEC_HDPLCR) . . . . . | 226 |
| 4.5.22 | BSEC next HDPL control register (BSEC_NEXTHDPLCR) . . . . . | 227 |
| 4.5.23 | BSEC write once scratch register x (BSEC_WOSCRx) . . . . . | 227 |
| 4.5.24 | BSEC hot reset count register (BSEC_HRCR) . . . . . | 228 |
| 4.5.25 | BSEC warm reset count register (BSEC_WRCR) . . . . . | 228 |
| 4.5.26 | BSEC register map . . . . . | 228 |
| 5 | OTP mapping (OTP) . . . . . | 231 |
| 6 | Resource isolation framework security controller (RIFSC) . . . . . | 248 |
| 6.1 | Introduction . . . . . | 248 |
| 6.2 | RIFSC main features . . . . . | 248 |
| 6.3 | RIFSC functional description . . . . . | 248 |
| 6.3.1 | RIFSC reset and clocks . . . . . | 248 |
| 6.3.2 | RISUP . . . . . | 248 |
| 6.3.3 | RCC security settings for RIF-aware peripherals and RAMs . . . . . | 249 |
| 6.3.4 | RIMU . . . . . | 250 |
| 6.4 | RIFSC registers ..... | 251 |
| 6.4.1 | RIFSC RISC slave configuration register x (RIFSC_RISC_CR) ..... | 251 |
| 6.4.2 | RIFSC RISC slave security configuration register x (RIFSC_RISC_SECCFGRx) ..... | 252 |
| 6.4.3 | RIFSC RISFC slave privileged register x (RIFSC_RISC_PRIVCFGRx) ..... | 252 |
| 6.4.4 | RIFSC RISC slave resource configuration lock register x (RIFSC_RISC_RCFGLOCKRx) ..... | 253 |
| 6.4.5 | RIFSC RIMC master configuration register (RIFSC_RIMC_CR) ..... | 253 |
| 6.4.6 | RIFSC RIMC master attribute register x (RIFSC_RIMC_ATTRx) ..... | 254 |
| 6.4.7 | RIFSC peripheral protection status register 0 (RIFSC_PPSR0) ..... | 254 |
| 6.4.8 | RIFSC peripheral protection status register 1 (RIFSC_PPSR1) ..... | 255 |
| 6.4.9 | RIFSC peripheral protection status register 2 (RIFSC_PPSR2) ..... | 255 |
| 6.4.10 | RIFSC peripheral protection status register 3 (RIFSC_PPSR3) ..... | 255 |
| 6.4.11 | RIFSC peripheral protection status register 4 (RIFSC_PPSR4) ..... | 256 |
| 6.4.12 | RIFSC peripheral protection status register 5 (RIFSC_PPSR5) ..... | 256 |
| 6.4.13 | RIFSC register map ..... | 257 |
| 7 | Resource isolation slave unit for address space protection (full version) (RISAF) ..... | 258 |
| 7.1 | RISAF introduction ..... | 258 |
| 7.2 | RISAF main features ..... | 258 |
| 7.3 | RISAF implementation ..... | 259 |
| 7.4 | RISAF functional description ..... | 260 |
| 7.4.1 | RISAF block diagram ..... | 260 |
| 7.4.2 | RISAF internal signals ..... | 260 |
| 7.4.3 | RISAF reset and clocks ..... | 261 |
| 7.4.4 | RISAF address space management ..... | 261 |
| 7.4.5 | RISAF programming ..... | 262 |
| 7.4.6 | RISAF runtime modification of region or subregion configuration ..... | 263 |
| 7.4.7 | Managing illegal accesses ..... | 264 |
| 7.5 | RISAF registers ..... | 265 |
| 7.5.1 | RISAF configuration register (RISAF_CR) ..... | 265 |
| 7.5.2 | RISAF illegal access status register (RISAF_IASR) ..... | 265 |
| 7.5.3 | RISAF illegal access clear register (RISAF_IACR) ..... | 266 |
| 7.5.4 | RISAF illegal access error status register (RISAF_IAESR) ..... | 266 |
| 7.5.5 | RISAF illegal address register (RISAF_IADDR) ..... | 267 |
| 7.5.6 | RISAF region x configuration register (RISAF_REGx_CFGR) ..... | 267 |
| 7.5.7 | RISAF region x start-address register (RISAF_REGx_STARTR) . . . . . | 268 |
| 7.5.8 | RISAF region x end-address register (RISAF_REGx_ENDR) . . . . . | 269 |
| 7.5.9 | RISAF region x CID configuration register (RISAF_REGx_CIDCFGR) . . . . . | 269 |
| 7.5.10 | RISAF region x subregion A configuration register (RISAF_REGx_ACFGR) . . . . . | 270 |
| 7.5.11 | RISAF region x subregion A start-address register (RISAF_REGx_ASTARTR) . . . . . | 272 |
| 7.5.12 | RISAF region x subregion A end-address register (RISAF_REGx_AENDR) . . . . . | 272 |
| 7.5.13 | RISAF region x subregion A nested mode register (RISAF_REGx_ANESTR) . . . . . | 273 |
| 7.5.14 | RISAF region x subregion B configuration register (RISAF_REGx_BCFGR) . . . . . | 274 |
| 7.5.15 | RISAF region x subregion B start-address register (RISAF_REGx_BSTARTR) . . . . . | 275 |
| 7.5.16 | RISAF region x subregion B end-address register (RISAF_REGx_BENDR) . . . . . | 276 |
| 7.5.17 | RISAF region x subregion B nested mode register (RISAF_REGx_BNESTR) . . . . . | 277 |
| 7.5.18 | RISAF register map . . . . . | 278 |
| 8 | Illegal access controller (IAC) . . . . . | 280 |
| 8.1 | IAC introduction . . . . . | 280 |
| 8.2 | IAC main features . . . . . | 280 |
| 8.3 | IAC implementation . . . . . | 280 |
| 8.4 | IAC functional description . . . . . | 281 |
| 8.4.1 | IAC block diagram . . . . . | 281 |
| 8.4.2 | IAC internal signals . . . . . | 282 |
| 8.4.3 | IAC reset and clocks . . . . . | 282 |
| 8.4.4 | IAC use in RIF . . . . . | 282 |
| 8.4.5 | IAC management by trusted application . . . . . | 282 |
| 8.5 | IAC interrupts . . . . . | 283 |
| 8.6 | IAC registers . . . . . | 283 |
| 8.6.1 | IAC interrupt enable register x (IAC_IERx) . . . . . | 283 |
| 8.6.2 | IAC interrupt status register x (IAC_ISRx) . . . . . | 283 |
| 8.6.3 | IAC interrupt clear register x (IAC_ICRx) . . . . . | 284 |
| 8.6.4 | IAC ILAC input status register x (IAC_IISRx) . . . . . | 284 |
| 8.6.5 | IAC register map . . . . . | 285 |
| 9 | Boot modes | 286 |
| 9.1 | Boot after system reset | 286 |
| 9.1.1 | Flash boot | 286 |
| 9.1.2 | Serial boot | 286 |
| 9.1.3 | Development boot | 287 |
| 9.2 | Boot from a low-power mode | 287 |
| 10 | SRAM configuration controller (RAMCFG) | 288 |
| 10.1 | RAMCFG introduction | 288 |
| 10.2 | RAMCFG main features | 288 |
| 10.3 | RAMCFG functional description | 288 |
| 10.3.1 | Internal SRAM features | 288 |
| 10.3.2 | FLEXRAM control | 289 |
| 10.3.3 | ECC (BKPSRAM) | 292 |
| 10.4 | RAMCFG low-power modes | 293 |
| 10.5 | RAMCFG interrupts | 294 |
| 10.6 | RAMCFG registers | 295 |
| 10.6.1 | RAMCFG AXISRAM1 control register (RAMCFG_AXISRAM1CR) | 295 |
| 10.6.2 | RAMCFG AXISRAMx interrupt status register (RAMCFG_AXISRAMxISR) | 295 |
| 10.6.3 | RAMCFG AXISRAMx erase key register (RAMCFG_AXISRAMxERKEYR) | 296 |
| 10.6.4 | RAMCFG AXISRAMx control register (RAMCFG_AXISRAMxCR) | 296 |
| 10.6.5 | RAMCFG AHBSRAMx control register (RAMCFG_AHBSRAMxCR) | 297 |
| 10.6.6 | RAMCFG AHBSRAMx interrupt status register (RAMCFG_AHBSRAMxISR) | 297 |
| 10.6.7 | RAMCFG AHBSRAMx erase key register (RAMCFG_AHBSRAMxERKEYR) | 298 |
| 10.6.8 | RAMCFG VENCRAM control register (RAMCFG_VENCRAMCR) | 298 |
| 10.6.9 | RAMCFG VENCRAM interrupt status register (RAMCFG_VENCRAMISR) | 299 |
| 10.6.10 | RAMCFG VENCRAM erase key register (RAMCFG_VENCRAMERKEYR) | 299 |
| 10.6.11 | RAMCFG BKPSRAM control register (RAMCFG_BKPSRAMCR) | 300 |
| 10.6.12 | RAMCFG BKPSRAM interrupt enable register (RAMCFG_BKPSRAMIER) | 301 |
| 10.6.13 | RAMCFG BKPSRAM interrupt status register (RAMCFG_BKPSRAMISR) | 301 |
| 10.6.14 | RAMCFG BKPSRAM single error address register (RAMCFG_BKPSRAMESEAR) ..... | 302 |
| 10.6.15 | RAMCFG BKPSRAM double error address register (RAMCFG_BKPSRAMEDEAR) ..... | 302 |
| 10.6.16 | RAMCFG BKPSRAM interrupt clear register (RAMCFG_BKPSRAMICR) ..... | 303 |
| 10.6.17 | RAMCFG BKPSRAM ECC key register (RAMCFG_BKPSRAMECCKEYR) ..... | 303 |
| 10.6.18 | RAMCFG BKPSRAM erase key register (RAMCFG_BKPSRAMERKEYR) ..... | 304 |
| 10.6.19 | RAMCFG FLEXRAM control register (RAMCFG_FLEXRAMCR) ..... | 304 |
| 10.6.20 | RAMCFG FLEXRAM interrupt status register (RAMCFG_FLEXRAMISR) ..... | 305 |
| 10.6.21 | RAMCFG FLEXRAM erase key register (RAMCFG_FLEXRAMERKEYR) ..... | 305 |
| 10.6.22 | RAMCFG register map ..... | 306 |
| 11 | Texture cache (ICACHE) ..... | 308 |
| 11.1 | ICACHE introduction ..... | 308 |
| 11.2 | ICACHE main features ..... | 308 |
| 11.3 | ICACHE implementation ..... | 309 |
| 11.4 | ICACHE functional description ..... | 309 |
| 11.4.1 | ICACHE block diagram ..... | 310 |
| 11.4.2 | ICACHE reset and clocks ..... | 310 |
| 11.4.3 | ICACHE TAG memory ..... | 311 |
| 11.4.4 | Direct-mapped ICACHE (1-way cache) ..... | 312 |
| 11.4.5 | ICACHE enable ..... | 313 |
| 11.4.6 | Cacheable and noncacheable traffic ..... | 313 |
| 11.4.7 | Cacheable accesses ..... | 314 |
| 11.4.8 | ICACHE maintenance ..... | 314 |
| 11.4.9 | ICACHE performance monitoring ..... | 315 |
| 11.4.10 | ICACHE boot ..... | 315 |
| 11.5 | ICACHE low-power modes ..... | 315 |
| 11.6 | ICACHE error management and interrupts ..... | 316 |
| 11.7 | ICACHE registers ..... | 316 |
| 11.7.1 | ICACHE control register (ICACHE_CR) ..... | 316 |
| 11.7.2 | ICACHE status register (ICACHE_SR) ..... | 317 |
| 11.7.3 | ICACHE interrupt enable register (ICACHE_IER) ..... | 318 |
| 11.7.4 | ICACHE flag clear register (ICACHE_FCR) . . . . . | 318 |
| 11.7.5 | ICACHE hit monitor register (ICACHE_HMONR) . . . . . | 319 |
| 11.7.6 | ICACHE miss monitor register (ICACHE_MMONR) . . . . . | 319 |
| 11.7.7 | ICACHE register map . . . . . | 319 |
| 12 | AXI cache (CACHEAXI) . . . . . | 321 |
| 12.1 | CACHEAXI introduction . . . . . | 321 |
| 12.2 | CACHEAXI main features . . . . . | 322 |
| 12.3 | CACHEAXI implementation . . . . . | 323 |
| 12.4 | CACHEAXI functional description . . . . . | 324 |
| 12.4.1 | CACHEAXI block diagram . . . . . | 325 |
| 12.4.2 | CACHEAXI reset and clocks . . . . . | 325 |
| 12.4.3 | CACHEAXI TAG memory . . . . . | 326 |
| 12.4.4 | CACHEAXI enable . . . . . | 329 |
| 12.4.5 | Cacheable and noncacheable AXI traffic to slave cache port . . . . . | 329 |
| 12.4.6 | Cacheable accesses . . . . . | 330 |
| 12.4.7 | AXI traffic to master port . . . . . | 331 |
| 12.4.8 | AXI traffic to slave SRAM port . . . . . | 332 |
| 12.4.9 | CACHEAXI security . . . . . | 332 |
| 12.4.10 | CACHEAXI maintenance . . . . . | 332 |
| 12.4.11 | CACHEAXI performance monitoring . . . . . | 334 |
| 12.4.12 | CACHEAXI boot . . . . . | 335 |
| 12.5 | CACHEAXI low-power modes . . . . . | 335 |
| 12.6 | CACHEAXI error management and interrupts . . . . . | 335 |
| 12.7 | CACHEAXI registers . . . . . | 337 |
| 12.7.1 | CACHEAXI control register 1 (CACHEAXI_CR1) . . . . . | 337 |
| 12.7.2 | CACHEAXI status register (CACHEAXI_SR) . . . . . | 338 |
| 12.7.3 | CACHEAXI interrupt enable register (CACHEAXI_IER) . . . . . | 339 |
| 12.7.4 | CACHEAXI flag clear register (CACHEAXI_FCR) . . . . . | 340 |
| 12.7.5 | CACHEAXI read-hit monitor register (CACHEAXI_RHMONR) . . . . . | 341 |
| 12.7.6 | CACHEAXI read-miss monitor register (CACHEAXI_RMMONR) . . . . . | 341 |
| 12.7.7 | CACHEAXI read-allocate miss monitor register (CACHEAXI_RAMMONR) . . . . . | 341 |
| 12.7.8 | CACHEAXI eviction monitor register (CACHEAXI_EVIMONR) . . . . . | 342 |
| 12.7.9 | CACHEAXI write-hit monitor register (CACHEAXI_WHMONR) . . . . . | 342 |
| 12.7.10 | CACHEAXI write-miss monitor register (CACHEAXI_WMMONR) . . . . . | 342 |
| 12.7.11 | CACHEAXI write-allocate miss monitor register (CACHEAXI_WAMMONR) | 343 |
| 12.7.12 | CACHEAXI write-through monitor register (CACHEAXI_WTMONR) | 343 |
| 12.7.13 | CACHEAXI control register 2 (CACHEAXI_CR2) | 343 |
| 12.7.14 | CACHEAXI command range start address register (CACHEAXI_CMDRSADDRR) | 344 |
| 12.7.15 | CACHEAXI command range end address register (CACHEAXI_CMDREADDRR) | 345 |
| 12.7.16 | CACHEAXI register map | 345 |
| 13 | Power control (PWR) | 347 |
| 13.1 | PWR introduction | 347 |
| 13.2 | PWR main features | 347 |
| 13.3 | PWR block diagram | 348 |
| 13.3.1 | PWR pins and internal signals | 348 |
| 13.4 | Power supplies | 350 |
| 13.4.1 | System supply startup | 353 |
| 13.4.2 | Core domain | 355 |
| 13.4.3 | PWR external supply | 356 |
| 13.4.4 | Backup domain | 357 |
| 13.4.5 | Retention domain | 358 |
| 13.4.6 | Analog supply | 360 |
| 13.5 | Power supply supervision | 360 |
| 13.5.1 | Power-on reset (POR)/power-down reset (PDR) | 361 |
| 13.5.2 | Brownout reset (BOR) | 361 |
| 13.5.3 | Vdda18pmu_ok reset | 362 |
| 13.5.4 | Vddcore_ok reset | 363 |
| 13.5.5 | VDDCORE monitoring | 363 |
| 13.5.6 | Programmable voltage detector (PVD) | 364 |
| 13.5.7 | Peripheral voltage monitoring (PVM) | 365 |
| 13.5.8 | Battery voltage thresholds | 366 |
| 13.5.9 | Temperature thresholds | 367 |
| 13.6 | Power management | 368 |
| 13.6.1 | Operating modes | 368 |
| 13.6.2 | Voltage scaling | 373 |
| 13.6.3 | Power management examples | 374 |
| 13.7 | Low-power modes | 376 |
| 13.7.1 | Slowing down system clocks ..... | 377 |
| 13.7.2 | Controlling peripheral clocks ..... | 377 |
| 13.7.3 | Entering low-power modes ..... | 377 |
| 13.7.4 | Exiting low-power modes ..... | 377 |
| 13.7.5 | Sleep mode ..... | 378 |
| 13.7.6 | Stop mode ..... | 379 |
| 13.7.7 | Standby mode ..... | 381 |
| 13.7.8 | Power mode output pins ..... | 383 |
| 13.8 | PWR security and privileged protection ..... | 383 |
| 13.8.1 | Secure/nonsecure access filtering ..... | 384 |
| 13.8.2 | Privileged/unprivileged access filtering ..... | 385 |
| 13.9 | PWR registers ..... | 385 |
| 13.9.1 | PWR control register 1 (PWR_CR1) ..... | 385 |
| 13.9.2 | PWR control register 2 (PWR_CR2) ..... | 386 |
| 13.9.3 | PWR control register 3 (PWR_CR3) ..... | 387 |
| 13.9.4 | PWR control register 4 (PWR_CR4) ..... | 387 |
| 13.9.5 | PWR voltage scaling control register (PWR_VOSCR) ..... | 388 |
| 13.9.6 | PWR backup domain control register 1 (PWR_BDCR1) ..... | 389 |
| 13.9.7 | PWR backup domain control register 2 (PWR_BDCR2) ..... | 390 |
| 13.9.8 | PWR disable backup protection control register (PWR_DBPCR) .... | 391 |
| 13.9.9 | PWR CPU control register (PWR_CPUCR) ..... | 391 |
| 13.9.10 | PWR supply voltage monitoring control register 1 (PWR_SVMCR1) .. | 392 |
| 13.9.11 | PWR supply voltage monitoring control register 2 (PWR_SVMCR2) .. | 394 |
| 13.9.12 | PWR supply voltage monitoring control register 3 (PWR_SVMCR3) .. | 395 |
| 13.9.13 | PWR wake-up clear register (PWR_WKUPCR) ..... | 397 |
| 13.9.14 | PWR wake-up status register (PWR_WKUPSR) ..... | 398 |
| 13.9.15 | PWR wake-up enable and polarity register (PWR_WKUPEPR) .... | 399 |
| 13.9.16 | PWR security configuration register (PWR_SECCFGR) ..... | 401 |
| 13.9.17 | PWR privilege configuration register (PWR_PRIVCFGR) ..... | 402 |
| 13.9.18 | PWR debug control register 1 (PWR_CRCFG1) ..... | 405 |
| 13.9.19 | PWR debug control register 2 (PWR_CRCFG2) ..... | 406 |
| 13.9.20 | PWR Debug control register 3 (PWR_CRCFG3) ..... | 406 |
| 13.9.21 | PWR register map ..... | 408 |
| 14 | Reset and clock control (RCC) ..... | 411 |
| 14.1 | RCC main features ..... | 411 |
| 14.2 | RCC power domains ..... | 411 |
| 14.3 | RCC block diagram ..... | 412 |
| 14.4 | RCC pins and internal signals ..... | 412 |
| 14.5 | Functional description of RCC reset ..... | 414 |
| 14.5.1 | Reset from the PWR ..... | 414 |
| 14.5.2 | System and application resets (sys_rst, nreset_rstn) ..... | 415 |
| 14.5.3 | NRST reset ..... | 416 |
| 14.5.4 | Low-power mode security reset (lpwr_rst) ..... | 416 |
| 14.5.5 | Backup domain reset ..... | 417 |
| 14.5.6 | CoreSight debug reset ..... | 417 |
| 14.5.7 | Option-byte loading ..... | 417 |
| 14.5.8 | Reset of peripherals ..... | 418 |
| 14.5.9 | Reset pulse control (RPCTL) ..... | 418 |
| 14.5.10 | Reset coverage summary ..... | 419 |
| 14.5.11 | Reset source identification ..... | 420 |
| 14.5.12 | Power-on and wake-up sequences ..... | 420 |
| 14.6 | Functional description of RCC clocks ..... | 421 |
| 14.6.1 | Clock naming convention ..... | 424 |
| 14.6.2 | Oscillator description ..... | 424 |
| 14.6.3 | Clock security system (CSS) ..... | 432 |
| 14.6.4 | Clock output generation (MCO1/MCO2) ..... | 435 |
| 14.6.5 | PLL description ..... | 435 |
| 14.6.6 | System clocks ..... | 440 |
| 14.6.7 | Clock generation in Stop and Standby modes ..... | 443 |
| 14.6.8 | Peripheral clock distribution ..... | 444 |
| 14.6.9 | General clock concept overview ..... | 468 |
| 14.6.10 | Peripheral allocation ..... | 469 |
| 14.6.11 | Peripheral clock-gating control ..... | 470 |
| 14.6.12 | CPU and bus matrix clock-gating control ..... | 472 |
| 14.6.13 | Low-power emulation modes ..... | 473 |
| 14.7 | RCC interrupts ..... | 474 |
| 14.8 | RCC application information ..... | 474 |
| 14.8.1 | HSE crystal auto-detection ..... | 474 |
| 14.8.2 | Calibration and clock frequency measurement using TIMx ..... | 475 |
| 14.8.3 | Clock monitoring ..... | 476 |
| 14.8.4 | Clock frequency limits ..... | 476 |
| 14.9 | RCC security ..... | 477 |
| 14.9.1 | Internal register protection | 478 |
| 14.9.2 | Internal register write-protection | 479 |
| 14.10 | RCC registers | 479 |
| 14.10.1 | RCC control register (RCC_CR) | 479 |
| 14.10.2 | RCC status register (RCC_SR) | 481 |
| 14.10.3 | RCC Stop mode control register (RCC_STOPCR) | 482 |
| 14.10.4 | RCC configuration register 1 (RCC_CFGR1) | 483 |
| 14.10.5 | RCC configuration register 2 (RCC_CFGR2) | 484 |
| 14.10.6 | RCC backup domain protection register (RCC_BDCR) | 486 |
| 14.10.7 | RCC reset status register for hardware (RCC_HWRSR) | 487 |
| 14.10.8 | RCC reset register (RCC_RSR) | 488 |
| 14.10.9 | RCC LSE configuration register (RCC_LSECFGR) | 490 |
| 14.10.10 | RCC MSI configuration register (RCC_MSICFGR) | 491 |
| 14.10.11 | RCC HSI configuration register (RCC_HSICFGR) | 492 |
| 14.10.12 | RCC HSI monitor control register (RCC_HSIMCR) | 493 |
| 14.10.13 | RCC HSI monitor status register (RCC_HSIMSR) | 493 |
| 14.10.14 | RCC HSE configuration register (RCC_HSECFGR) | 494 |
| 14.10.15 | RCC PLL1 configuration register 1 (RCC_PLL1CFGR1) | 495 |
| 14.10.16 | RCC PLL1 configuration register 2 (RCC_PLL1CFGR2) | 496 |
| 14.10.17 | RCC PLL1 configuration register 3 (RCC_PLL1CFGR3) | 497 |
| 14.10.18 | RCC PLL2 configuration register 1 (RCC_PLL2CFGR1) | 498 |
| 14.10.19 | RCC PLL2 configuration register 2 (RCC_PLL2CFGR2) | 499 |
| 14.10.20 | RCC PLL2 configuration register 3 (RCC_PLL2CFGR3) | 500 |
| 14.10.21 | RCC PLL3 configuration register 1 (RCC_PLL3CFGR1) | 501 |
| 14.10.22 | RCC PLL3 configuration register 2 (RCC_PLL3CFGR2) | 502 |
| 14.10.23 | RCC PLL3 configuration register 3 (RCC_PLL3CFGR3) | 503 |
| 14.10.24 | RCC PLL4 configuration register 1 (RCC_PLL4CFGR1) | 504 |
| 14.10.25 | RCC PLL4 configuration register 2 (RCC_PLL4CFGR2) | 505 |
| 14.10.26 | RCC PLL4 configuration register 3 (RCC_PLL4CFGR3) | 505 |
| 14.10.27 | RCC IC1 configuration register (RCC_IC1CFGR) | 507 |
| 14.10.28 | RCC IC2 configuration register (RCC_IC2CFGR) | 508 |
| 14.10.29 | RCC IC3 configuration register (RCC_IC3CFGR) | 509 |
| 14.10.30 | RCC IC4 configuration register (RCC_IC4CFGR) | 509 |
| 14.10.31 | RCC IC5 configuration register (RCC_IC5CFGR) | 510 |
| 14.10.32 | RCC IC6 configuration register (RCC_IC6CFGR) | 511 |
| 14.10.33 | RCC IC7 configuration register (RCC_IC7CFGR) | 512 |
| 14.10.34 | RCC IC8 configuration register (RCC_IC8CFGR) | 512 |
| 14.10.35 | RCC IC9 configuration register (RCC_IC9CFGR) . . . . . | 513 |
| 14.10.36 | RCC IC10 configuration register (RCC_IC10CFGR) . . . . . | 514 |
| 14.10.37 | RCC IC11 configuration register (RCC_IC11CFGR) . . . . . | 514 |
| 14.10.38 | RCC IC12 configuration register (RCC_IC12CFGR) . . . . . | 515 |
| 14.10.39 | RCC IC13 configuration register (RCC_IC13CFGR) . . . . . | 516 |
| 14.10.40 | RCC IC14 configuration register (RCC_IC14CFGR) . . . . . | 517 |
| 14.10.41 | RCC IC15 configuration register (RCC_IC15CFGR) . . . . . | 518 |
| 14.10.42 | RCC IC16 configuration register (RCC_IC16CFGR) . . . . . | 518 |
| 14.10.43 | RCC IC17 configuration register (RCC_IC17CFGR) . . . . . | 519 |
| 14.10.44 | RCC IC18 configuration register (RCC_IC18CFGR) . . . . . | 520 |
| 14.10.45 | RCC IC19 configuration register (RCC_IC19CFGR) . . . . . | 520 |
| 14.10.46 | RCC IC20 configuration register (RCC_IC20CFGR) . . . . . | 521 |
| 14.10.47 | RCC clock-source interrupt enable register (RCC_CIER) . . . . . | 522 |
| 14.10.48 | RCC clock-source interrupt flag register (RCC_CIFR) . . . . . | 523 |
| 14.10.49 | RCC clock-source interrupt clear register (RCC_CICR) . . . . . | 525 |
| 14.10.50 | RCC clock configuration for independent peripheral register 1 (RCC_CCIPR1) . . . . . | 527 |
| 14.10.51 | RCC clock configuration for independent peripheral register 2 (RCC_CCIPR2) . . . . . | 528 |
| 14.10.52 | RCC clock configuration for independent peripheral register 3 (RCC_CCIPR3) . . . . . | 530 |
| 14.10.53 | RCC clock configuration for independent peripheral register 4 (RCC_CCIPR4) . . . . . | 530 |
| 14.10.54 | RCC clock configuration for independent peripheral register 5 (RCC_CCIPR5) . . . . . | 532 |
| 14.10.55 | RCC clock configuration for independent peripheral register 6 (RCC_CCIPR6) . . . . . | 534 |
| 14.10.56 | RCC clock configuration for independent peripheral register 7 (RCC_CCIPR7) . . . . . | 536 |
| 14.10.57 | RCC clock configuration for independent peripheral register 8 (RCC_CCIPR8) . . . . . | 538 |
| 14.10.58 | RCC clock configuration for independent peripheral register 9 (RCC_CCIPR9) . . . . . | 538 |
| 14.10.59 | RCC clock configuration for independent peripheral register 12 (RCC_CCIPR12) . . . . . | 540 |
| 14.10.60 | RCC clock configuration for independent peripheral register 13 (RCC_CCIPR13) . . . . . | 542 |
| 14.10.61 | RCC clock configuration for independent peripheral register 14 (RCC_CCIPR14) . . . . . | 544 |
| 14.10.62 | RCC miscellaneous configurations reset register (RCC_MISCRSTR) . . . . . | 545 |
| 14.10.63 | RCC embedded memories reset register (RCC_MEMRSTR) . . . . . | 546 |
| 14.10.64 | RCC AHB1 reset register (RCC_AHB1RSTR) . . . . . | 548 |
| 14.10.65 | RCC AHB2 reset register (RCC_AHB2RSTR) . . . . . | 549 |
| 14.10.66 | RCC AHB3 reset register (RCC_AHB3RSTR) . . . . . | 550 |
| 14.10.67 | RCC AHB4 reset register (RCC_AHB4RSTR) . . . . . | 551 |
| 14.10.68 | RCC AHB5 reset register (RCC_AHB5RSTR) . . . . . | 553 |
| 14.10.69 | RCC APB1L reset register (RCC_APB1LRSTR) . . . . . | 556 |
| 14.10.70 | RCC APB1H reset register (RCC_APB1HRSTR) . . . . . | 560 |
| 14.10.71 | RCC APB2 reset register (RCC_APB2RSTR) . . . . . | 561 |
| 14.10.72 | RCC APB4L reset register (RCC_APB4LRSTR) . . . . . | 563 |
| 14.10.73 | RCC APB4H reset register (RCC_APB4HRSTR) . . . . . | 565 |
| 14.10.74 | RCC APB5 reset register (RCC_APB5RSTR) . . . . . | 566 |
| 14.10.75 | RCC IC dividers enable register (RCC_DIVENR) . . . . . | 567 |
| 14.10.76 | RCC embedded buses enable register (RCC_BUSENR) . . . . . | 570 |
| 14.10.77 | RCC miscellaneous configurations enable register (RCC_MISCFENR) . . . . . | 572 |
| 14.10.78 | RCC embedded memories enable register (RCC_MEMENR) . . . . . | 573 |
| 14.10.79 | RCC AHB1 enable register (RCC_AHB1ENR) . . . . . | 575 |
| 14.10.80 | RCC AHB2 enable register (RCC_AHB2ENR) . . . . . | 575 |
| 14.10.81 | RCC AHB3 enable register (RCC_AHB3ENR) . . . . . | 576 |
| 14.10.82 | RCC AHB4 enable register (RCC_AHB4ENR) . . . . . | 577 |
| 14.10.83 | RCC AHB5 enable register (RCC_AHB5ENR) . . . . . | 580 |
| 14.10.84 | RCC APB1L enable register (RCC_APB1LENR) . . . . . | 584 |
| 14.10.85 | RCC APB1H enable register (RCC_APB1HENR) . . . . . | 587 |
| 14.10.86 | RCC APB2 enable register (RCC_APB2ENR) . . . . . | 588 |
| 14.10.87 | RCC APB3 enable register (RCC_APB3ENR) . . . . . | 591 |
| 14.10.88 | RCC APB4L enable register (RCC_APB4LENR) . . . . . | 591 |
| 14.10.89 | RCC APB4H enable register (RCC_APB4HENR) . . . . . | 593 |
| 14.10.90 | RCC APB5 enable register (RCC_APB5ENR) . . . . . | 594 |
| 14.10.91 | RCC embedded buses sleep enable register (RCC_BUSLPENR) . . . | 595 |
| 14.10.92 | RCC miscellaneous configurations sleep enable register (RCC_MISCLPENR) . . . . . | 596 |
| 14.10.93 | RCC embedded memories sleep enable register (RCC_MEMLPENR) . . . . . | 597 |
| 14.10.94 | RCC AHB1 sleep enable register (RCC_AHB1LPENR) . . . . . | 599 |
| 14.10.95 | RCC AHB2 sleep enable register (RCC_AHB2LPENR) . . . . . | 599 |
| 14.10.96 | RCC AHB3 sleep enable register (RCC_AHB3LPENR) . . . . . | 600 |
| 14.10.97 | RCC AHB4 sleep enable register (RCC_AHB4LPENR) . . . . . | 601 |
| 14.10.98 | RCC AHB5 sleep enable register (RCC_AHB5LPENR) | 604 |
| 14.10.99 | RCC APB1L sleep enable register (RCC_APB1LLPENR) | 607 |
| 14.10.100 | RCC APB1H sleep enable register (RCC_APB1HLPENR) | 611 |
| 14.10.101 | RCC APB2 sleep enable register (RCC_APB2LPENR) | 612 |
| 14.10.102 | RCC APB3 sleep enable register (RCC_APB3LPENR) | 614 |
| 14.10.103 | RCC APB4L sleep enable register (RCC_APB4LLPENR) | 615 |
| 14.10.104 | RCC APB4H sleep enable register (RCC_APB4HLPENR) | 617 |
| 14.10.105 | RCC APB5 sleep enable register (RCC_APB5LPENR) | 618 |
| 14.10.106 | RCC reset duration control register (RCC_RDCR) | 619 |
| 14.10.107 | RCC oscillator secure configuration register 0 (RCC_SECCFGR0) | 620 |
| 14.10.108 | RCC oscillator privilege configuration register 0 (RCC_PRIVCFGR0) | 620 |
| 14.10.109 | RCC oscillator lock configuration register 0 (RCC_LOCKCFGR0) | 621 |
| 14.10.110 | RCC oscillator public configuration register 0 (RCC_PUBCFGR0) | 622 |
| 14.10.111 | RCC PLL secure configuration register 1 (RCC_SECCFGR1) | 623 |
| 14.10.112 | RCC PLL privilege configuration register 1 (RCC_PRIVCFGR1) | 624 |
| 14.10.113 | RCC PLL lock configuration register 1 (RCC_LOCKCFGR1) | 624 |
| 14.10.114 | RCC PLL public configuration register 1 (RCC_PUBCFGR1) | 625 |
| 14.10.115 | RCC divider secure configuration register 2 (RCC_SECCFGR2) | 626 |
| 14.10.116 | RCC divider privilege configuration register 2 (RCC_PRIVCFGR2) | 628 |
| 14.10.117 | RCC divider lock configuration register 2 (RCC_LOCKCFGR2) | 630 |
| 14.10.118 | RCC divider public configuration register 2 (RCC_PUBCFGR2) | 633 |
| 14.10.119 | RCC system secure configuration register 3 (RCC_SECCFGR3) | 635 |
| 14.10.120 | RCC system privilege configuration register 3 (RCC_PRIVCFGR3) | 636 |
| 14.10.121 | RCC system lock configuration register 3 (RCC_LOCKCFGR3) | 637 |
| 14.10.122 | RCC system public configuration register 3 (RCC_PUBCFGR3) | 638 |
| 14.10.123 | RCC bus secure configuration register 4 (RCC_SECCFGR4) | 638 |
| 14.10.124 | RCC bus privilege configuration register 4 (RCC_PRIVCFGR4) | 640 |
| 14.10.125 | RCC bus lock configuration register 4 (RCC_LOCKCFGR4) | 642 |
| 14.10.126 | RCC bus public configuration register 4 (RCC_PUBCFGR4) | 643 |
| 14.10.127 | RCC bus public configuration register 4 (RCC_PUBCFGR5) | 645 |
| 14.10.128 | RCC control set register (RCC_CSR) | 647 |
| 14.10.129 | RCC Stop mode configuration set register (RCC_STOPCSR) | 648 |
| 14.10.130 | RCC miscellaneous reset register (RCC_MISCRSTSR) | 648 |
| 14.10.131 | RCC memory reset register (RCC_MEMRSTSR) | 649 |
| 14.10.132 | RCC AHB1 reset register (RCC_AHB1RSTSR) | 650 |
| 14.10.133 | RCC AHB2 reset register (RCC_AHB2RSTSR) | 650 |
| 14.10.134RCC AHB3 reset register (RCC_AHB3RSTSR) | 651 |
| 14.10.135RCC AHB4 reset register (RCC_AHB4RSTSR) | 652 |
| 14.10.136RCC AHB5 reset register (RCC_AHB5RSTSR) | 653 |
| 14.10.137RCC APB1L reset register (RCC_APB1LRSTSR) | 654 |
| 14.10.138RCC APB1H reset register (RCC_APB1HRSTSR) | 656 |
| 14.10.139RCC APB2 reset register (RCC_APB2RSTSR) | 657 |
| 14.10.140RCC APB4L reset register (RCC_APB4LRSTSR) | 658 |
| 14.10.141RCC APB4H reset register (RCC_APB4HRSTSR) | 659 |
| 14.10.142RCC APB5 reset register (RCC_APB5RSTSR) | 659 |
| 14.10.143RCC divider enable register (RCC_DIVENSR) | 660 |
| 14.10.144RCC bus enable register (RCC_BUSENSR) | 661 |
| 14.10.145RCC miscellaneous enable register (RCC_MISCENSR) | 662 |
| 14.10.146RCC memory enable register (RCC_MEMENSR) | 663 |
| 14.10.147RCC AHB1 enable register (RCC_AHB1ENSR) | 664 |
| 14.10.148RCC AHB2 enable register (RCC_AHB2ENSR) | 664 |
| 14.10.149RCC AHB3 enable register (RCC_AHB3ENSR) | 665 |
| 14.10.150RCC AHB4 enable register (RCC_AHB4ENSR) | 666 |
| 14.10.151RCC AHB5 enable register (RCC_AHB5ENSR) | 667 |
| 14.10.152RCC APB1L enable register (RCC_APB1LENR) | 668 |
| 14.10.153RCC APB1H enable register (RCC_APB1HENR) | 670 |
| 14.10.154RCC APB2 enable register (RCC_APB2ENR) | 671 |
| 14.10.155RCC APB3 enable register (RCC_APB3ENR) | 672 |
| 14.10.156RCC APB4L enable register (RCC_APB4LENR) | 672 |
| 14.10.157RCC APB4H enable register (RCC_APB4HENR) | 674 |
| 14.10.158RCC APB5 enable register (RCC_APB5ENR) | 674 |
| 14.10.159RCC bus sleep enable register (RCC_BUSLPENSR) | 675 |
| 14.10.160RCC miscellaneous sleep enable register (RCC_MISCLPENSR) | 675 |
| 14.10.161RCC memory sleep enable register (RCC_MEMLPENSR) | 676 |
| 14.10.162RCC AHB1 sleep enable register (RCC_AHB1LPENSR) | 677 |
| 14.10.163RCC AHB2 sleep enable register (RCC_AHB2LPENSR) | 677 |
| 14.10.164RCC AHB3 sleep enable register (RCC_AHB3LPENSR) | 678 |
| 14.10.165RCC AHB4 sleep enable register (RCC_AHB4LPENSR) | 679 |
| 14.10.166RCC AHB5 sleep enable register (RCC_AHB5LPENSR) | 680 |
| 14.10.167RCC APB1L sleep enable register (RCC_APB1LLPENSR) | 681 |
| 14.10.168RCC APB1H sleep enable register (RCC_APB1HLPENSR) | 683 |
| 14.10.169RCC APB2 sleep enable register (RCC_APB2LPENSR) | 684 |
| 14.10.170RCC APB3 sleep enable register (RCC_APB3LPENSR) | 685 |
| 14.10.171RCC APB4L sleep enable register (RCC_APB4LLPENSR) . . . . . | 685 |
| 14.10.172RCC APB4H sleep enable register (RCC_APB4HLPENSR) . . . . . | 687 |
| 14.10.173RCC APB5 sleep enable register (RCC_APB5LPENSR) . . . . . | 687 |
| 14.10.174RCC oscillator privilege configuration set register 0 (RCC_PRIVCFGSR0) . . . . . | 688 |
| 14.10.175RCC oscillator public configuration set register 0 (RCC_PUBCFGSR0) . . . . . | 688 |
| 14.10.176RCC PLL privilege configuration set register 1 (RCC_PRIVCFGSR1) | 689 |
| 14.10.177RCC PLL public configuration set register 1 (RCC_PUBCFGSR1) . . | 690 |
| 14.10.178RCC divider privilege configuration set register 2 (RCC_PRIVCFGSR2) . . . . . | 691 |
| 14.10.179RCC divider public configuration set register 2 (RCC_PUBCFGSR2) . . . . . | 692 |
| 14.10.180RCC system privilege configuration set register 3 (RCC_PRIVCFGSR3) . . . . . | 694 |
| 14.10.181RCC system public configuration set register 3 (RCC_PUBCFGSR3) | 695 |
| 14.10.182RCC privilege configuration set register 4 (RCC_PRIVCFGSR4) . . . | 696 |
| 14.10.183RCC public configuration set register 4 (RCC_PUBCFGSR4) . . . . . | 697 |
| 14.10.184RCC public configuration set register 5 (RCC_PUBCFGSR5) . . . . . | 698 |
| 14.10.185RCC control clear register (RCC_CCR) . . . . . | 700 |
| 14.10.186RCC Stop mode configuration clear register (RCC_STOPCCR) . . . . | 700 |
| 14.10.187RCC miscellaneous reset clear register (RCC_MISCRSTCR) . . . . . | 701 |
| 14.10.188RCC memory reset clear register (RCC_MEMRSTCR) . . . . . | 702 |
| 14.10.189RCC AHB1 reset clear register (RCC_AHB1RSTCR) . . . . . | 703 |
| 14.10.190RCC AHB2 reset clear register (RCC_AHB2RSTCR) . . . . . | 703 |
| 14.10.191RCC AHB3 reset clear register (RCC_AHB3RSTCR) . . . . . | 704 |
| 14.10.192RCC AHB4 reset clear register (RCC_AHB4RSTCR) . . . . . | 704 |
| 14.10.193RCC AHB5 reset clear register (RCC_AHB5RSTCR) . . . . . | 705 |
| 14.10.194RCC APB1L reset clear register (RCC_APB1LRSTCR) . . . . . | 707 |
| 14.10.195RCC APB1H reset clear register (RCC_APB1HRSTCR) . . . . . | 709 |
| 14.10.196RCC APB2 reset clear register (RCC_APB2RSTCR) . . . . . | 709 |
| 14.10.197RCC APB4L reset clear register (RCC_APB4LRSTCR) . . . . . | 711 |
| 14.10.198RCC APB4H reset clear register (RCC_APB4HRSTCR) . . . . . | 712 |
| 14.10.199RCC APB5 reset clear register (RCC_APB5RSTCR) . . . . . | 712 |
| 14.10.200RCC divider enable clear register (RCC_DIVENCR) . . . . . | 713 |
| 14.10.201RCC bus enable clear register (RCC_BUSENCR) . . . . . | 714 |
| 14.10.202RCC miscellaneous enable clear register (RCC_MISCECR) . . . . . | 715 |
| 14.10.203RCC memory enable clear register (RCC_MEMENCR) . . . . . | 715 |
| 14.10.204RCC AHB1 enable clear register (RCC_AHB1ENCR) ..... | 716 |
| 14.10.205RCC AHB2 enable clear register (RCC_AHB2ENCR) ..... | 717 |
| 14.10.206RCC AHB3 enable clear register (RCC_AHB3ENCR) ..... | 717 |
| 14.10.207RCC AHB4 enable clear register (RCC_AHB4ENCR) ..... | 718 |
| 14.10.208RCC AHB5 enable clear register (RCC_AHB5ENCR) ..... | 719 |
| 14.10.209RCC APB1L enable clear register (RCC_APB1LENCR) ..... | 721 |
| 14.10.210RCC APB1H enable clear register (RCC_APB1HENCR) ..... | 723 |
| 14.10.211RCC APB2 enable clear register (RCC_APB2ENCR) ..... | 724 |
| 14.10.212RCC APB3 enable clear register (RCC_APB3ENCR) ..... | 725 |
| 14.10.213RCC APB4L enable clear register (RCC_APB4LENCR) ..... | 725 |
| 14.10.214RCC APB4H enable clear register (RCC_APB4HENCR) ..... | 726 |
| 14.10.215RCC APB5 enable clear register (RCC_APB5ENCR) ..... | 727 |
| 14.10.216RCC bus sleep enable clear register (RCC_BUSLPENCR) ..... | 728 |
| 14.10.217RCC miscellaneous sleep enable clear register (RCC_MISCLPENCR) ..... | 728 |
| 14.10.218RCC memory sleep enable clear register (RCC_MEMLPENCR) .... | 729 |
| 14.10.219RCC AHB1 sleep enable clear register (RCC_AHB1LPENCR) .... | 730 |
| 14.10.220RCC AHB2 sleep enable clear register (RCC_AHB2LPENCR) .... | 730 |
| 14.10.221RCC AHB3 sleep enable clear register (RCC_AHB3LPENCR) .... | 731 |
| 14.10.222RCC AHB4 sleep enable clear register (RCC_AHB4LPENCR) .... | 732 |
| 14.10.223RCC AHB5 sleep enable clear register (RCC_AHB5LPENCR) .... | 733 |
| 14.10.224RCC APB1L sleep enable clear register (RCC_APB1LLPENCR) ... | 735 |
| 14.10.225RCC APB1H sleep enable clear register (RCC_APB1HLPENCR) ... | 736 |
| 14.10.226RCC APB2 sleep enable clear register (RCC_APB2LPENCR) .... | 737 |
| 14.10.227RCC APB3 sleep enable clear register (RCC_APB3LPENCR) .... | 738 |
| 14.10.228RCC APB4L sleep enable clear register (RCC_APB4LLPENCR) ... | 739 |
| 14.10.229RCC APB4H sleep enable clear register (RCC_APB4HLPENCR) ... | 740 |
| 14.10.230RCC APB5 sleep enable clear register (RCC_APB5LPENCR) .... | 740 |
| 14.10.231RCC oscillator privilege configuration clear register 0 (RCC_PRIVCFGCR0) ..... | 741 |
| 14.10.232RCC oscillator public configuration clear register 0 (RCC_PUBCFGCR0) ..... | 742 |
| 14.10.233RCC PLL privilege configuration clear register 1 (RCC_PRIVCFGCR1) ..... | 742 |
| 14.10.234RCC PLL public configuration clear register 1 (RCC_PUBCFGCR1) . | 743 |
| 14.10.235RCC divider privilege configuration clear register 2 (RCC_PRIVCFGCR2) ..... | 744 |
| 14.10.236RCC divider public configuration clear register 2 (RCC_PUBCFGCR2) ..... | 745 |
| 14.10.237 | RCC system privilege configuration clear register 3 (RCC_PRIVCFGCR3) ..... | 747 |
| 14.10.238 | RCC system public configuration clear register 3 (RCC_PUBCFGCR3) ..... | 748 |
| 14.10.239 | RCC privilege configuration clear register 4 (RCC_PRIVCFGCR4) .. | 749 |
| 14.10.240 | RCC public configuration clear register 4 (RCC_PUBCFGCR4) .... | 751 |
| 14.10.241 | RCC public configuration clear register 4 (RCC_PUBCFGCR5) .... | 752 |
| 14.10.242 | RCC register map ..... | 754 |
| 15 | General-purpose I/Os (GPIO) ..... | 783 |
| 15.1 | Introduction ..... | 783 |
| 15.2 | GPIO main features ..... | 783 |
| 15.3 | GPIO functional description ..... | 783 |
| 15.3.1 | General-purpose I/O (GPIO) ..... | 785 |
| 15.3.2 | I/O pin AF multiplexer and mapping ..... | 786 |
| 15.3.3 | I/O port control registers ..... | 786 |
| 15.3.4 | I/O port data registers ..... | 787 |
| 15.3.5 | I/O data bitwise handling ..... | 787 |
| 15.3.6 | GPIO locking mechanism ..... | 787 |
| 15.3.7 | I/O AF input/output ..... | 788 |
| 15.3.8 | External interrupt/wake-up lines ..... | 788 |
| 15.3.9 | Input configuration ..... | 788 |
| 15.3.10 | Output configuration ..... | 788 |
| 15.3.11 | AF configuration ..... | 789 |
| 15.3.12 | Analog configuration ..... | 790 |
| 15.3.13 | Using HSE or LSE oscillator pins as GPIOs ..... | 791 |
| 15.3.14 | Using GPIO pins in VSW supply domain ..... | 791 |
| 15.3.15 | Advanced I/O configurations ..... | 791 |
| 15.3.16 | I/O pin isolation using TrustZone ..... | 791 |
| 15.3.17 | I/O pin isolation using privilege ..... | 793 |
| 15.4 | GPIO registers ..... | 794 |
| 15.4.1 | GPIO port x mode register (GPIOx_MODER) (x = A to H, N to Q) ... | 794 |
| 15.4.2 | GPIO port x output type register (GPIOx_OTYPER) (x = A to H, N to Q) ..... | 794 |
| 15.4.3 | GPIO port x output speed register (GPIOx_OSPEEDR) (x = A to H, N to Q) ..... | 795 |
| 15.4.4 | GPIO port x pull-up/pull-down register (GPIOx_PUPDR) (x = A to H, N to Q) ..... | 795 |
| 15.4.5 | GPIO port x input data register (GPIOx_IDR) (x = A to H, N to Q) . . . | 796 |
| 15.4.6 | GPIO port x output data register (GPIOx_ODR) (x = A to H, N to Q) . | 796 |
| 15.4.7 | GPIO port x bit set/reset register (GPIOx_BSRR) (x = A to H, N to Q) | 797 |
| 15.4.8 | GPIO port x configuration lock register (GPIOx_LCKR) (x = A to H, N to Q) . . . . . | 798 |
| 15.4.9 | GPIO port x AF low register (GPIOx_AFRL) (x = A to H, N to Q) . . . . | 799 |
| 15.4.10 | GPIO port x AF high register (GPIOx_AFRH) (x = A to H, N to Q) . . . | 799 |
| 15.4.11 | GPIO port x bit reset register (GPIOx_BRR) (x = A to H, N to Q) . . . . | 800 |
| 15.4.12 | GPIO port x secure configuration register (GPIOx_SECCFGR) (x = A to H, N to Q) . . . . . | 800 |
| 15.4.13 | GPIO port x privileged configuration register (GPIOx_PRIVCFGR) (x = A to H, N to Q) . . . . . | 801 |
| 15.4.14 | GPIO port x resource configuration lock register (GPIOx_RCFGLOCKR) (x = A to H, N to Q) . . . . . | 802 |
| 15.4.15 | GPIO port x delay low register (GPIOx_DELAYRL) (x = A to H, N to Q) . . . . . | 802 |
| 15.4.16 | GPIO port x delay high register (GPIOx_DELAYRH) (x = A to H, N to Q) . . . . . | 803 |
| 15.4.17 | GPIO port x advanced configuration low register (GPIOx_ADVCFGRL) (x = A to H, N to Q) . . . . . | 803 |
| 15.4.18 | GPIO port x advanced configuration high register (GPIOx_ADVCFGRH) (x =A to H, N to Q) . . . . . | 804 |
| 15.4.19 | GPIO register map . . . . . | 805 |
| 16 | System configuration controller (SYSCFG) . . . . . | 808 |
| 16.0.1 | I/O compensation cell . . . . . | 808 |
| 16.1 | SYSCFG registers . . . . . | 809 |
| 16.1.1 | SYSCFG boot pin control register (SYSCFG_BOOTCR) . . . . . | 809 |
| 16.1.2 | SYSCFG Cortex-M55 control register (SYSCFG_CM55CR) . . . . . | 810 |
| 16.1.3 | SYSCFG Cortex-M55 TCM control register (SYSCFG_CM55TCMCR) . . . . . | 810 |
| 16.1.4 | SYSCFG Cortex-M55 memory RW margin register (SYSCFG_CM55RWMCR) . . . . . | 811 |
| 16.1.5 | SYSCFG Cortex-M55 SVTOR control register (SYSCFG_INITSVTORCR) . . . . . | 812 |
| 16.1.6 | SYSCFG Cortex-M55 NSVTOR control register (SYSCFG_INITNSVTORCR) . . . . . | 812 |
| 16.1.7 | SYSCFG Cortex-M55 reset type control register (SYSCFG_CM55RSTCR) . . . . . | 813 |
| 16.1.8 | SYSCFG Cortex-M55 P-AHB write posting control register (SYSCFG_CM55PAHBWPR) . . . . . | 813 |
| 16.1.9 | SYSCFG VENCRAM control register (SYSCFG_VENCRAMCR) | 814 |
| 16.1.10 | SYSCFG potential tamper reset register (SYSCFG_POTTAMPRSTCR) | 814 |
| 16.1.11 | SYSCFG NPUNIC QoS control register (SYSCFG_NPUNICQOSCR) | 815 |
| 16.1.12 | SYSCFG AHB-AXI bridge early write response control register (SYSCFG_ICNEWRCR) | 815 |
| 16.1.13 | SYSCFG ICN clock gating control register (SYSCFG_ICNCGCR) | 816 |
| 16.1.14 | SYSCFG VDDIO4 compensation cell control register (SYSCFG_VDDIO4CCCR) | 817 |
| 16.1.15 | SYSCFG VDDIO4 compensation cell status register (SYSCFG_VDDIO4CCSR) | 817 |
| 16.1.16 | SYSCFG VDDIO5 compensation cell control register (SYSCFG_VDDIO5CCCR) | 818 |
| 16.1.17 | SYSCFG VDDIO5 compensation cell status register (SYSCFG_VDDIO5CCSR) | 819 |
| 16.1.18 | SYSCFG VDDIO2 compensation cell control register (SYSCFG_VDDIO2CCCR) | 819 |
| 16.1.19 | SYSCFG VDDIO2 compensation cell status register (SYSCFG_VDDIO2CCSR) | 820 |
| 16.1.20 | SYSCFG VDDIO3 compensation cell control register (SYSCFG_VDDIO3CCCR) | 821 |
| 16.1.21 | SYSCFG VDDIO3 compensation cell status register (SYSCFG_VDDIO3CCSR) | 821 |
| 16.1.22 | SYSCFG VDD compensation cell control register (SYSCFG_VDDCCCR) | 822 |
| 16.1.23 | SYSCFG VDD compensation cell status register (SYSCFG_VDDCCSR) | 823 |
| 16.1.24 | SYSCFG control timer break register (SYSCFG_CBR) | 823 |
| 16.1.25 | SYSCFG DMA CID secure control register (SYSCFG_SEC_AIDCR) | 824 |
| 16.1.26 | SYSCFG FMC retiming logic control register (SYSCFG_FMC_RETIMECR) | 825 |
| 16.1.27 | SYSCFG NPU RAM interleaving control register (SYSCFG_NPU_ICNCR) | 825 |
| 16.1.28 | SYSCFG boot pin status register (SYSCFG_BOOTSR) | 826 |
| 16.1.29 | SYSCFG AHB write posting address error register (SYSCFG_AHBWP_ERROR_SR) | 826 |
| 16.1.30 | SYSCFG SMPS observable signals through HDP selection configuration register (SYSCFG_SMPSHDPCR) | 827 |
| 16.1.31 | SYSCFG DMA CID nonsecure control register (SYSCFG_SECPRIV_AIDCR) | 827 |
| 16.1.32 | SYSCFG device ID register (SYSCFG_DEVICEID) | 828 |
| 16.1.33 | SYSCFG register map | 828 |
| 17 | Peripherals interconnect matrix | 832 |
| 17.1 | Introduction | 832 |
| 17.2 | Connection summary | 832 |
| 18 | High-performance direct memory access controller (HPDMA) | 833 |
| 18.1 | HPDMA introduction | 833 |
| 18.2 | HPDMA main features | 833 |
| 18.3 | HPDMA implementation | 834 |
| 18.3.1 | HPDMA channels | 834 |
| 18.3.2 | HPDMA allowed AXI maximum burst length | 835 |
| 18.3.3 | HPDMA in low-power modes | 835 |
| 18.3.4 | HPDMA requests | 835 |
| 18.3.5 | HPDMA block requests | 840 |
| 18.3.6 | HPDMA channels with peripheral early termination | 840 |
| 18.3.7 | HPDMA triggers | 841 |
| 18.4 | HPDMA functional description | 844 |
| 18.4.1 | HPDMA block diagram | 844 |
| 18.4.2 | HPDMA channel state and direct programming without any linked-list | 845 |
| 18.4.3 | HPDMA channel suspend and resume | 846 |
| 18.4.4 | HPDMA channel abort and restart | 847 |
| 18.4.5 | HPDMA linked-list data structure | 848 |
| 18.4.6 | Linked-list item transfer execution | 851 |
| 18.4.7 | HPDMA channel state and linked-list programming in run-to-completion mode | 851 |
| 18.4.8 | HPDMA channel state and linked-list programming in link step mode | 855 |
| 18.4.9 | HPDMA channel state and linked-list programming | 862 |
| 18.4.10 | HPDMA FIFO-based transfers | 864 |
| 18.4.11 | HPDMA transfer request and arbitration | 880 |
| 18.4.12 | HPDMA triggered transfer | 884 |
| 18.4.13 | HPDMA circular buffering with linked-list programming | 885 |
| 18.4.14 | HPDMA transfer in peripheral flow-control mode | 887 |
| 18.4.15 | HPDMA secure/nonsecure channel | 888 |
| 18.4.16 | HPDMA privileged/unprivileged channel | 889 |
| 18.4.17 | HPDMA error management | 889 |
| 18.5 | HPDMA in debug mode | 891 |
| 18.6 | HPDMA in low-power modes ..... | 891 |
| 18.7 | HPDMA interrupts ..... | 892 |
| 18.8 | HPDMA registers ..... | 893 |
| 18.8.1 | HPDMA secure configuration register (HPDMA_SECCFGR) ..... | 893 |
| 18.8.2 | HPDMA privileged configuration register (HPDMA_PRIVCFGR) .... | 894 |
| 18.8.3 | HPDMA configuration lock register (HPDMA_RCFGLOCKR) ..... | 895 |
| 18.8.4 | HPDMA nonsecure masked interrupt status register (HPDMA_MISR) ..... | 895 |
| 18.8.5 | HPDMA secure masked interrupt status register (HPDMA_SMISR) .. | 896 |
| 18.8.6 | HPDMA channel x linked-list base address register (HPDMA_CxLBAR) ..... | 897 |
| 18.8.7 | HPDMA channel x CID register (HPDMA_CxCIDCFGR) ..... | 898 |
| 18.8.8 | HPDMA channel x semaphore control register (HPDMA_CxSEMCER) ..... | 899 |
| 18.8.9 | HPDMA channel x flag clear register (HPDMA_CxFCR) ..... | 901 |
| 18.8.10 | HPDMA channel x status register (HPDMA_CxSR) ..... | 902 |
| 18.8.11 | HPDMA channel x control register (HPDMA_CxCR) ..... | 903 |
| 18.8.12 | HPDMA channel x transfer register 1 (HPDMA_CxTR1) ..... | 906 |
| 18.8.13 | HPDMA channel x transfer register 2 (HPDMA_CxTR2) ..... | 910 |
| 18.8.14 | HPDMA channel x block register 1 (HPDMA_CxBR1) ..... | 914 |
| 18.8.15 | HPDMA channel x alternate block register 1 (HPDMA_CxBR1) .... | 915 |
| 18.8.16 | HPDMA channel x source address register (HPDMA_CxSAR) ..... | 918 |
| 18.8.17 | HPDMA channel x destination address register (HPDMA_CxDAR) .. | 920 |
| 18.8.18 | HPDMA channel x transfer register 3 (HPDMA_CxTR3) ..... | 922 |
| 18.8.19 | HPDMA channel x block register 2 (HPDMA_CxBR2) ..... | 923 |
| 18.8.20 | HPDMA channel x linked-list address register (HPDMA_CxLLR) .... | 924 |
| 18.8.21 | HPDMA channel x alternate linked-list address register (HPDMA_CxLLR) ..... | 926 |
| 18.8.22 | HPDMA register map ..... | 928 |
| 19 | General purpose direct memory access controller (GPDMA) ..... | 930 |
| 19.1 | GPDMA introduction ..... | 930 |
| 19.2 | GPDMA main features ..... | 930 |
| 19.3 | GPDMA implementation ..... | 931 |
| 19.3.1 | GPDMA channels ..... | 931 |
| 19.3.2 | GPDMA in low-power modes ..... | 932 |
| 19.3.3 | GPDMA requests ..... | 932 |
| 19.3.4 | GPDMA block requests ..... | 937 |
| 19.3.5 | GPDMA channels with peripheral early termination | 937 |
| 19.3.6 | GPDMA triggers | 937 |
| 19.4 | GPDMA functional description | 941 |
| 19.4.1 | GPDMA block diagram | 941 |
| 19.4.2 | GPDMA channel state and direct programming without any linked-list | 941 |
| 19.4.3 | GPDMA channel suspend and resume | 942 |
| 19.4.4 | GPDMA channel abort and restart | 943 |
| 19.4.5 | GPDMA linked-list data structure | 944 |
| 19.4.6 | Linked-list item transfer execution | 947 |
| 19.4.7 | GPDMA channel state and linked-list programming in run-to-completion mode | 947 |
| 19.4.8 | GPDMA channel state and linked-list programming in link step mode | 951 |
| 19.4.9 | GPDMA channel state and linked-list programming | 958 |
| 19.4.10 | GPDMA FIFO-based transfers | 960 |
| 19.4.11 | GPDMA transfer request and arbitration | 967 |
| 19.4.12 | GPDMA triggered transfer | 971 |
| 19.4.13 | GPDMA circular buffering with linked-list programming | 972 |
| 19.4.14 | GPDMA transfer in peripheral flow-control mode | 974 |
| 19.4.15 | GPDMA secure/nonsecure channel | 975 |
| 19.4.16 | GPDMA privileged/unprivileged channel | 976 |
| 19.4.17 | GPDMA error management | 976 |
| 19.5 | GPDMA in debug mode | 978 |
| 19.6 | GPDMA in low-power modes | 978 |
| 19.7 | GPDMA interrupts | 979 |
| 19.8 | GPDMA registers | 980 |
| 19.8.1 | GPDMA secure configuration register (GPDMA_SECCFGR) | 980 |
| 19.8.2 | GPDMA privileged configuration register (GPDMA_PRIVCFGR) | 981 |
| 19.8.3 | GPDMA configuration lock register (GPDMA_RCFGLOCKR) | 981 |
| 19.8.4 | GPDMA nonsecure masked interrupt status register (GPDMA_MISR) | 982 |
| 19.8.5 | GPDMA secure masked interrupt status register (GPDMA_SMISR) | 983 |
| 19.8.6 | GPDMA channel x linked-list base address register (GPDMA_CxLBAR) | 983 |
| 19.8.7 | GPDMA channel x flag clear register (GPDMA_CxFCR) | 984 |
| 19.8.8 | GPDMA channel x status register (GPDMA_CxSR) | 985 |
| 19.8.9 | GPDMA channel x control register (GPDMA_CxCR) | 986 |
| 19.8.10 | GPDMA channel x transfer register 1 (GPDMA_CxTR1) . . . . . | 988 |
| 19.8.11 | GPDMA channel x transfer register 2 (GPDMA_CxTR2) . . . . . | 992 |
| 19.8.12 | GPDMA channel x block register 1 (GPDMA_CxBR1) . . . . . | 996 |
| 19.8.13 | GPDMA channel x alternate block register 1 (GPDMA_CxBR1) . . . . . | 997 |
| 19.8.14 | GPDMA channel x source address register (GPDMA_CxSAR) . . . . . | 1000 |
| 19.8.15 | GPDMA channel x destination address register (GPDMA_CxDAR) . . . . . | 1002 |
| 19.8.16 | GPDMA channel x transfer register 3 (GPDMA_CxTR3) . . . . . | 1003 |
| 19.8.17 | GPDMA channel x block register 2 (GPDMA_CxBR2) . . . . . | 1004 |
| 19.8.18 | GPDMA channel x linked-list address register (GPDMA_CxLLR) . . . . . | 1005 |
| 19.8.19 | GPDMA channel x alternate linked-list address register (GPDMA_CxLLR) . . . . . | 1007 |
| 19.8.20 | GPDMA register map . . . . . | 1008 |
| 20 | Neural-ART accelerator™ (NPU) . . . . . | 1011 |
| 20.1 | NPU introduction . . . . . | 1011 |
| 20.2 | NPU implementation . . . . . | 1012 |
| 20.3 | NPU functional description . . . . . | 1013 |
| 20.3.1 | NPU block diagram . . . . . | 1013 |
| 20.3.2 | NPU pins and internal signals . . . . . | 1014 |
| 20.3.3 | Configuration network . . . . . | 1014 |
| 20.3.4 | Clock/reset manager . . . . . | 1015 |
| 20.3.5 | Stream link . . . . . | 1015 |
| 20.3.6 | Stream switch . . . . . | 1015 |
| 20.3.7 | Stream engines . . . . . | 1015 |
| 20.3.8 | Encryption/Decryption unit . . . . . | 1016 |
| 20.3.9 | Decompression unit . . . . . | 1016 |
| 20.3.10 | Convolutional accelerator . . . . . | 1018 |
| 20.3.11 | Pooling unit . . . . . | 1019 |
| 20.3.12 | Activation unit . . . . . | 1020 |
| 20.3.13 | Arithmetic unit . . . . . | 1022 |
| 20.3.14 | Reconfigurable buffer . . . . . | 1023 |
| 20.3.15 | Epoch controller . . . . . | 1023 |
| 20.3.16 | Interrupt controller . . . . . | 1024 |
| 20.4 | Configuration examples . . . . . | 1024 |
| 20.4.1 | DMA transfer . . . . . | 1024 |
| 20.4.2 | Simple processing . . . . . | 1024 |
| 20.4.3 | Multiple processing . . . . . | 1025 |
| 20.4.4 | Conv-Pool-ReLU ..... | 1025 |
| 20.4.5 | Chained convolutions ..... | 1026 |
| 20.4.6 | Split convolutions ..... | 1026 |
| 20.5 | Address space ..... | 1027 |
| 20.6 | System integration ..... | 1028 |
| 20.6.1 | System considerations ..... | 1028 |
| 20.6.2 | Architecture intent ..... | 1028 |
| 21 | Chrom-ART Accelerator controller (DMA2D) ..... | 1031 |
| 21.1 | DMA2D introduction ..... | 1031 |
| 21.2 | DMA2D main features ..... | 1031 |
| 21.3 | DMA2D functional description ..... | 1032 |
| 21.3.1 | General description ..... | 1032 |
| 21.3.2 | DMA2D internal signals ..... | 1033 |
| 21.3.3 | DMA2D control ..... | 1034 |
| 21.3.4 | DMA2D foreground and background FIFOs ..... | 1034 |
| 21.3.5 | DMA2D foreground and background PFC ..... | 1034 |
| 21.3.6 | DMA2D foreground and background CLUT interface ..... | 1036 |
| 21.3.7 | DMA2D blender ..... | 1038 |
| 21.3.8 | DMA2D output PFC ..... | 1038 |
| 21.3.9 | DMA2D output FIFO ..... | 1038 |
| 21.3.10 | DMA2D output FIFO byte reordering ..... | 1039 |
| 21.3.11 | DMA2D AXI master port timer ..... | 1041 |
| 21.3.12 | DMA2D transactions ..... | 1041 |
| 21.3.13 | DMA2D configuration ..... | 1041 |
| 21.3.14 | YCbCr support ..... | 1045 |
| 21.3.15 | DMA2D transfer control (start, suspend, abort, and completion) .... | 1045 |
| 21.3.16 | Watermark ..... | 1046 |
| 21.3.17 | Error management ..... | 1046 |
| 21.3.18 | AXI dead time ..... | 1046 |
| 21.4 | DMA2D interrupts ..... | 1046 |
| 21.5 | DMA2D registers ..... | 1047 |
| 21.5.1 | DMA2D control register (DMA2D_CR) ..... | 1047 |
| 21.5.2 | DMA2D interrupt status register (DMA2D_ISR) ..... | 1049 |
| 21.5.3 | DMA2D interrupt flag clear register (DMA2D_IFCR) ..... | 1049 |
| 21.5.4 | DMA2D foreground memory address register (DMA2D_FGMAR) .. | 1050 |
| 21.5.5 | DMA2D foreground offset register (DMA2D_FGOR) . . . . . | 1050 |
| 21.5.6 | DMA2D background memory address register (DMA2D_BGMAR) . . . . . | 1051 |
| 21.5.7 | DMA2D background offset register (DMA2D_BGOR) . . . . . | 1051 |
| 21.5.8 | DMA2D foreground PFC control register (DMA2D_FGPFCCR) . . . . . | 1052 |
| 21.5.9 | DMA2D foreground color register (DMA2D_FGCOLR) . . . . . | 1054 |
| 21.5.10 | DMA2D background PFC control register (DMA2D_BGPFCCR) . . . . . | 1054 |
| 21.5.11 | DMA2D background color register (DMA2D_BGCOLR) . . . . . | 1056 |
| 21.5.12 | DMA2D foreground CLUT memory address register (DMA2D_FGCMAR) . . . . . | 1056 |
| 21.5.13 | DMA2D background CLUT memory address register (DMA2D_BGCMAR) . . . . . | 1057 |
| 21.5.14 | DMA2D output PFC control register (DMA2D_OPFCCR) . . . . . | 1057 |
| 21.5.15 | DMA2D output color register (DMA2D_OCOLR) . . . . . | 1058 |
| 21.5.16 | DMA2D output color register [alternate] (DMA2D_OCOLR) . . . . . | 1059 |
| 21.5.17 | DMA2D output color register [alternate] (DMA2D_OCOLR) . . . . . | 1059 |
| 21.5.18 | DMA2D output color register [alternate] (DMA2D_OCOLR) . . . . . | 1060 |
| 21.5.19 | DMA2D output memory address register (DMA2D_OMAR) . . . . . | 1060 |
| 21.5.20 | DMA2D output offset register (DMA2D_OOR) . . . . . | 1061 |
| 21.5.21 | DMA2D number of line register (DMA2D_NLR) . . . . . | 1061 |
| 21.5.22 | DMA2D line watermark register (DMA2D_LWR) . . . . . | 1062 |
| 21.5.23 | DMA2D AXI master timer configuration register (DMA2D_AMTCR) . . . . . | 1062 |
| 21.5.24 | DMA2D foreground CLUT (DMA2D_FGCLUTx) . . . . . | 1063 |
| 21.5.25 | DMA2D background CLUT (DMA2D_BGCLUTx) . . . . . | 1063 |
| 21.5.26 | DMA2D register map . . . . . | 1064 |
| 22 | Chrom-GRC (GFXMMU) . . . . . | 1066 |
| 22.1 | GFXMMU introduction . . . . . | 1066 |
| 22.2 | GFXMMU main features . . . . . | 1066 |
| 22.3 | GFXMMU functional and architectural description . . . . . | 1066 |
| 22.3.1 | GFXMMU block diagram . . . . . | 1066 |
| 22.3.2 | GFXMMU internal signals . . . . . | 1067 |
| 22.3.3 | Virtual memory . . . . . | 1067 |
| 22.3.4 | Packing and unpacking . . . . . | 1069 |
| 22.3.5 | MMU architecture . . . . . | 1070 |
| 22.4 | GTZC TZIC GFXMMU interrupts . . . . . | 1073 |
| 22.5 | GFXMMU registers . . . . . | 1074 |
| 22.5.1 | GFXMMU configuration register (GFXMMU_CR) . . . . . | 1074 |
| 22.5.2 | GFXMMU status register (GFXMMU_SR) . . . . . | 1076 |
| 22.5.3 | GFXMMU flag clear register (GFXMMU_FCR) . . . . . | 1076 |
| 22.5.4 | GFXMMU default value register (GFXMMU_DVR) . . . . . | 1077 |
| 22.5.5 | GFXMMU default alpha register (GFXMMU_DAR) . . . . . | 1077 |
| 22.5.6 | GFXMMU buffer x configuration register (GFXMMU_BxCR) . . . . . | 1078 |
| 22.5.7 | GFXMMU LUT entry x low (GFXMMU_LUTxL) . . . . . | 1078 |
| 22.5.8 | GFXMMU LUT entry x high (GFXMMU_LUTxH) . . . . . | 1079 |
| 22.5.9 | GFXMMU register map . . . . . | 1079 |
| 23 | Graphic timer (GFXTIM) . . . . . | 1081 |
| 23.1 | GFXTIM introduction . . . . . | 1081 |
| 23.2 | GFXTIM main features . . . . . | 1081 |
| 23.3 | GFXTIM functional description . . . . . | 1081 |
| 23.3.1 | Block diagram . . . . . | 1081 |
| 23.3.2 | GFXTIM pins and internal signals . . . . . | 1082 |
| 23.3.3 | Clock generator . . . . . | 1083 |
| 23.3.4 | Example of clock generator configuration . . . . . | 1085 |
| 23.3.5 | Absolute timers . . . . . | 1089 |
| 23.3.6 | Relative timers . . . . . | 1090 |
| 23.3.7 | Tearing-effect detection . . . . . | 1091 |
| 23.3.8 | Event generator . . . . . | 1091 |
| 23.3.9 | Watchdog timer . . . . . | 1092 |
| 23.4 | GFXTIM interrupts . . . . . | 1093 |
| 23.5 | GFXTIM registers . . . . . | 1094 |
| 23.5.1 | GFXTIM configuration register (GFXTIM_CR) . . . . . | 1094 |
| 23.5.2 | GFXTIM clock generator configuration register (GFXTIM_CGCR) . . . . . | 1095 |
| 23.5.3 | GFXTIM timers configuration register (GFXTIM_TCR) . . . . . | 1097 |
| 23.5.4 | GFXTIM timers disable register (GFXTIM_TDR) . . . . . | 1098 |
| 23.5.5 | GFXTIM events control register (GFXTIM_EVCR) . . . . . | 1099 |
| 23.5.6 | GFXTIM events selection register (GFXTIM_EVSR) . . . . . | 1099 |
| 23.5.7 | GFXTIM watchdog timer configuration register (GFXTIM_WDGTCR) . . . . . | 1101 |
| 23.5.8 | GFXTIM interrupt status register (GFXTIM_ISR) . . . . . | 1103 |
| 23.5.9 | GFXTIM interrupt clear register (GFXTIM_ICR) . . . . . | 1104 |
| 23.5.10 | GFXTIM interrupt enable register (GFXTIM_IER) . . . . . | 1106 |
| 23.5.11 | GFXTIM timers status register (GFXTIM_TSR) . . . . . | 1108 |
| 23.5.12 | GFXTIM line-clock counter reload register (GFXTIM_LCCRR) . . . . . | 1109 |
| 23.5.13 | GFXTIM frame-clock counter reload register (GFXTIM_FCCRR) . . . | 1109 |
| 23.5.14 | GFXTIM absolute time register (GFXTIM_ATR) . . . . . | 1109 |
| 23.5.15 | GFXTIM absolute frame counter register (GFXTIM_AFCR) . . . . . | 1110 |
| 23.5.16 | GFXTIM absolute line counter register (GFXTIM_ALCR) . . . . . | 1110 |
| 23.5.17 | GFXTIM absolute frame counter compare 1 register (GFXTIM_AFCC1R) . . . . . | 1111 |
| 23.5.18 | GFXTIM absolute line counter compare 1 register (GFXTIM_ALCC1R) . . . . . | 1111 |
| 23.5.19 | GFXTIM absolute line counter compare 2 register (GFXTIM_ALCC2R) . . . . . | 1111 |
| 23.5.20 | GFXTIM relative frame counter 1 register (GFXTIM_RFC1R) . . . . . | 1112 |
| 23.5.21 | GFXTIM relative frame counter 1 reload register (GFXTIM_RFC1RR) . . . . . | 1112 |
| 23.5.22 | GFXTIM relative frame counter 2 register (GFXTIM_RFC2R) . . . . . | 1113 |
| 23.5.23 | GFXTIM relative frame counter 2 reload register (GFXTIM_RFC2RR) . . . . . | 1113 |
| 23.5.24 | GFXTIM watchdog counter register (GFXTIM_WDGCR) . . . . . | 1113 |
| 23.5.25 | GFXTIM watchdog reload register (GFXTIM_WDGRR) . . . . . | 1114 |
| 23.5.26 | GFXTIM watchdog pre-alarm register (GFXTIM_WDGPAR) . . . . . | 1114 |
| 23.5.27 | GFXTIM register map . . . . . | 1114 |
| 24 | Nested vectored interrupt controller (NVIC) . . . . . | 1117 |
| 24.1 | NVIC features . . . . . | 1117 |
| 24.1.1 | SysTick calibration value register . . . . . | 1117 |
| 24.1.2 | Interrupt and exception vectors . . . . . | 1117 |
| 25 | Extended interrupts and event controller (EXTI) . . . . . | 1125 |
| 25.1 | EXTI main features . . . . . | 1125 |
| 25.2 | EXTI implementation . . . . . | 1126 |
| 25.3 | EXTI block diagram . . . . . | 1126 |
| 25.3.1 | EXTI connections between peripherals and CPU . . . . . | 1127 |
| 25.3.2 | EXTI wake-up interrupt list . . . . . | 1128 |
| 25.4 | EXTI functional description . . . . . | 1130 |
| 25.4.1 | EXTI configurable event input wake-up . . . . . | 1130 |
| 25.4.2 | EXTI direct event input wake-up . . . . . | 1131 |
| 25.4.3 | EXTI multiplexer selection . . . . . | 1131 |
| 25.5 | EXTI functional behavior . . . . . | 1132 |
| 25.6 | EXTI event protection . . . . . | 1133 |
| 25.6.1 | EXTI register security protection | 1133 |
| 25.6.2 | EXTI register privilege protection | 1134 |
| 25.7 | EXTI registers | 1134 |
| 25.7.1 | EXTI rising trigger selection register (EXTI_RTSR1) | 1134 |
| 25.7.2 | EXTI falling trigger selection register (EXTI_FTSR1) | 1135 |
| 25.7.3 | EXTI software interrupt event register (EXTI_SWIER1) | 1136 |
| 25.7.4 | EXTI rising edge pending register (EXTI_RPR1) | 1137 |
| 25.7.5 | EXTI falling edge pending register (EXTI_FPR1) | 1137 |
| 25.7.6 | EXTI security configuration register (EXTI_SECCFGR1) | 1138 |
| 25.7.7 | EXTI privilege configuration register (EXTI_PRIVCFGR1) | 1138 |
| 25.7.8 | EXTI rising trigger selection register (EXTI_RTSR2) | 1139 |
| 25.7.9 | EXTI falling trigger selection register (EXTI_FTSR2) | 1140 |
| 25.7.10 | EXTI software interrupt event register (EXTI_SWIER2) | 1141 |
| 25.7.11 | EXTI rising edge pending register (EXTI_RPR2) | 1142 |
| 25.7.12 | EXTI falling edge pending register (EXTI_FPR2) | 1143 |
| 25.7.13 | EXTI security enable register (EXTI_SECCFGR2) | 1144 |
| 25.7.14 | EXTI privilege enable register (EXTI_PRIVCFGR2) | 1145 |
| 25.7.15 | EXTI rising trigger selection register (EXTI_RTSR3) | 1145 |
| 25.7.16 | EXTI falling trigger selection register (EXTI_FTSR3) | 1146 |
| 25.7.17 | EXTI software interrupt event register (EXTI_SWIER3) | 1147 |
| 25.7.18 | EXTI rising edge pending register (EXTI_RPR3) | 1148 |
| 25.7.19 | EXTI falling edge pending register (EXTI_FPR3) | 1148 |
| 25.7.20 | EXTI security enable register (EXTI_SECCFGR3) | 1149 |
| 25.7.21 | EXTI privilege enable register (EXTI_PRIVCFGR3) | 1150 |
| 25.7.22 | EXTI external interrupt selection register 1 (EXTI_EXTICR1) | 1150 |
| 25.7.23 | EXTI external interrupt selection register 2 (EXTI_EXTICR2) | 1153 |
| 25.7.24 | EXTI external interrupt selection register 3 (EXTI_EXTICR3) | 1156 |
| 25.7.25 | EXTI external interrupt selection register 4 (EXTI_EXTICR4) | 1158 |
| 25.7.26 | EXTI lock register (EXTI_LOCKR) | 1161 |
| 25.7.27 | EXTI CPU wake-up with interrupt mask register 1 (EXTI_IMR1) | 1161 |
| 25.7.28 | EXTI CPU wake-up with event mask register 1 (EXTI_EMR1) | 1162 |
| 25.7.29 | EXTI CPU wake-up with interrupt mask register 2 (EXTI_IMR2) | 1162 |
| 25.7.30 | EXTI CPU wake-up with event mask register 2 (EXTI_EMR2) | 1163 |
| 25.7.31 | EXTI CPU wake-up with interrupt mask register 3 (EXTI_IMR3) | 1163 |
| 25.7.32 | EXTI CPU wake-up with event mask register 3 (EXTI_EMR3) | 1164 |
| 25.7.33 | EXTI register map | 1166 |
| 26 | Cyclic redundancy check calculation unit (CRC) . . . . . | 1169 |
| 26.1 | CRC introduction . . . . . | 1169 |
| 26.2 | CRC main features . . . . . | 1169 |
| 26.3 | CRC functional description . . . . . | 1170 |
| 26.3.1 | CRC block diagram . . . . . | 1170 |
| 26.3.2 | CRC internal signals . . . . . | 1170 |
| 26.3.3 | CRC operation . . . . . | 1170 |
| 26.4 | CRC registers . . . . . | 1172 |
| 26.4.1 | CRC data register (CRC_DR) . . . . . | 1172 |
| 26.4.2 | CRC independent data register (CRC_IDR) . . . . . | 1172 |
| 26.4.3 | CRC control register (CRC_CR) . . . . . | 1173 |
| 26.4.4 | CRC initial value (CRC_INIT) . . . . . | 1174 |
| 26.4.5 | CRC polynomial (CRC_POL) . . . . . | 1174 |
| 26.4.6 | CRC register map . . . . . | 1175 |
| 27 | Flexible memory controller (FMC) . . . . . | 1176 |
| 27.1 | FMC main features . . . . . | 1176 |
| 27.2 | FMC implementation . . . . . | 1177 |
| 27.3 | FMC block diagram . . . . . | 1178 |
| 27.4 | FMC internal signals . . . . . | 1179 |
| 27.5 | AHB interface . . . . . | 1179 |
| 27.6 | AXI interface . . . . . | 1179 |
| 27.6.1 | Supported memories and transactions . . . . . | 1180 |
| 27.7 | External device address mapping . . . . . | 1181 |
| 27.7.1 | NOR/PSRAM address mapping . . . . . | 1182 |
| 27.7.2 | NAND flash memory address mapping . . . . . | 1182 |
| 27.7.3 | SDRAM address mapping . . . . . | 1183 |
| 27.8 | NOR flash/PSRAM controller . . . . . | 1186 |
| 27.8.1 | External memory interface signals . . . . . | 1188 |
| 27.8.2 | Supported memories and transactions . . . . . | 1190 |
| 27.8.3 | General timing rules . . . . . | 1192 |
| 27.8.4 | NOR flash/PSRAM controller asynchronous transactions . . . . . | 1192 |
| 27.8.5 | Synchronous transactions . . . . . | 1211 |
| 27.8.6 | NOR/PSRAM controller registers . . . . . | 1216 |
| 27.9 | NAND flash controller . . . . . | 1225 |
| 27.9.1 | External memory interface signals . . . . . | 1226 |
| 27.9.2 | NAND flash supported memories and transactions . . . . . | 1227 |
| 27.9.3 | Timing diagrams for NAND flash memory . . . . . | 1228 |
| 27.9.4 | NAND flash operations . . . . . | 1229 |
| 27.9.5 | NAND flash prewait function . . . . . | 1230 |
| 27.9.6 | NAND ECC controller . . . . . | 1231 |
| 27.9.7 | FMC command sequencer . . . . . | 1234 |
| 27.9.8 | NAND flash controller interrupt . . . . . | 1241 |
| 27.9.9 | NAND flash controller registers . . . . . | 1242 |
| 27.10 | SDRAM controller . . . . . | 1266 |
| 27.10.1 | SDRAM controller main features . . . . . | 1266 |
| 27.10.2 | SDRAM External memory interface signals . . . . . | 1266 |
| 27.10.3 | SDRAM controller functional description . . . . . | 1267 |
| 27.10.4 | Low-power modes . . . . . | 1273 |
| 27.10.5 | SDRAM controller registers . . . . . | 1275 |
| 27.11 | FMC register map . . . . . | 1283 |
| 28 | Extended-SPI interface (XSPI) . . . . . | 1288 |
| 28.1 | XSPI introduction . . . . . | 1288 |
| 28.2 | XSPI main features . . . . . | 1288 |
| 28.3 | XSPI implementation . . . . . | 1289 |
| 28.4 | XSPI functional description . . . . . | 1290 |
| 28.4.1 | XSPI block diagram . . . . . | 1290 |
| 28.4.2 | XSPI pins and internal signals . . . . . | 1294 |
| 28.4.3 | Clock constraints . . . . . | 1295 |
| 28.4.4 | XSPI interface to memory modes . . . . . | 1295 |
| 28.4.5 | XSPI regular-command protocol . . . . . | 1295 |
| 28.4.6 | XSPI regular-command protocol signal interface . . . . . | 1299 |
| 28.4.7 | HyperBus protocol . . . . . | 1304 |
| 28.4.8 | Specific features . . . . . | 1309 |
| 28.4.9 | XSPI operating modes introduction . . . . . | 1311 |
| 28.4.10 | XSPI indirect mode . . . . . | 1311 |
| 28.4.11 | XSPI automatic status-polling mode . . . . . | 1313 |
| 28.4.12 | XSPI memory-mapped mode . . . . . | 1313 |
| 28.4.13 | XSPI configuration introduction . . . . . | 1314 |
| 28.4.14 | XSPI system configuration . . . . . | 1314 |
| 28.4.15 | XSPI device configuration | 1315 |
| 28.4.16 | XSPI regular-command mode configuration | 1318 |
| 28.4.17 | XSPI HyperBus protocol configuration | 1320 |
| 28.4.18 | XSPI error management | 1321 |
| 28.4.19 | XSPI high-speed interface and calibration | 1321 |
| 28.4.20 | XSPI BUSY and ABORT | 1322 |
| 28.4.21 | XSPI reconfiguration or deactivation | 1323 |
| 28.4.22 | NCS behavior | 1323 |
| 28.4.23 | Software control of two external memories | 1323 |
| 28.4.24 | Hardware-controlled extended memory support | 1324 |
| 28.5 | Address alignment and data number | 1325 |
| 28.6 | XSPI interrupts | 1327 |
| 28.7 | XSPI registers | 1327 |
| 28.7.1 | XSPI control register (XSPI_CR) | 1327 |
| 28.7.2 | XSPI device configuration register 1 (XSPI_DCR1) | 1331 |
| 28.7.3 | XSPI device configuration register 2 (XSPI_DCR2) | 1332 |
| 28.7.4 | XSPI device configuration register 3 (XSPI_DCR3) | 1333 |
| 28.7.5 | XSPI device configuration register 4 (XSPI_DCR4) | 1334 |
| 28.7.6 | XSPI status register (XSPI_SR) | 1334 |
| 28.7.7 | XSPI flag clear register (XSPI_FCR) | 1335 |
| 28.7.8 | XSPI data length register (XSPI_DLR) | 1336 |
| 28.7.9 | XSPI address register (XSPI_AR) | 1336 |
| 28.7.10 | XSPI data register (XSPI_DR) | 1337 |
| 28.7.11 | XSPI polling status mask register (XSPI_PSMKR) | 1338 |
| 28.7.12 | XSPI polling status match register (XSPI_PSMAR) | 1338 |
| 28.7.13 | XSPI polling interval register (XSPI_PIR) | 1339 |
| 28.7.14 | XSPI communication configuration register (XSPI_CCR) | 1339 |
| 28.7.15 | XSPI timing configuration register (XSPI_TCR) | 1341 |
| 28.7.16 | XSPI instruction register (XSPI_IR) | 1342 |
| 28.7.17 | XSPI alternate bytes register (XSPI_ABR) | 1342 |
| 28.7.18 | XSPI low-power timeout register (XSPI_LPTR) | 1342 |
| 28.7.19 | XSPI wrap communication configuration register (XSPI_WPCCR) | 1343 |
| 28.7.20 | XSPI wrap timing configuration register (XSPI_WPTCR) | 1345 |
| 28.7.21 | XSPI wrap instruction register (XSPI_WPIR) | 1346 |
| 28.7.22 | XSPI wrap alternate byte register (XSPI_WPABR) | 1346 |
| 28.7.23 | XSPI write communication configuration register (XSPI_WCCR) ..... | 1346 |
| 28.7.24 | XSPI write timing configuration register (XSPI_WTCR) ..... | 1348 |
| 28.7.25 | XSPI write instruction register (XSPI_WIR) ..... | 1349 |
| 28.7.26 | XSPI write alternate byte register (XSPI_WABR) ..... | 1349 |
| 28.7.27 | XSPI HyperBus latency configuration register (XSPI_HLCR) ..... | 1350 |
| 28.7.28 | XSPI full-cycle calibration configuration (XSPI_CALFCR) ..... | 1350 |
| 28.7.29 | XSPI DLL master calibration configuration (XSPI_CALMR) ..... | 1351 |
| 28.7.30 | XSPI DLL slave output calibration configuration (XSPI_CALSOR) ..... | 1352 |
| 28.7.31 | XSPI DLL slave input calibration configuration (XSPI_CALSIR) .... | 1353 |
| 28.7.32 | XSPI register map ..... | 1353 |
| 29 | XSPI I/O manager (XSPIM) ..... | 1357 |
| 29.1 | XSPIM introduction ..... | 1357 |
| 29.2 | XSPIM main features ..... | 1357 |
| 29.3 | XSPIM implementation ..... | 1357 |
| 29.4 | XSPIM functional description ..... | 1357 |
| 29.4.1 | XSPIM block diagram ..... | 1357 |
| 29.4.2 | XSPIM input/output pins ..... | 1358 |
| 29.4.3 | XSPIM matrix ..... | 1359 |
| 29.4.4 | XSPIM multiplexed mode ..... | 1359 |
| 29.5 | Use cases description ..... | 1360 |
| 29.5.1 | XSPIs direct octal mode ..... | 1360 |
| 29.5.2 | XSPI direct 16-bit mode ..... | 1361 |
| 29.5.3 | XSPI dual-octal mode ..... | 1362 |
| 29.5.4 | XSPI swapped mode ..... | 1363 |
| 29.5.5 | Two XSPIs multiplexed mode to Port 1 accessing two external memories, and the third XSPI accessing Port 2 ..... | 1364 |
| 29.5.6 | Two XSPIs multiplexed mode to Port 2 accessing two external memories, and the third XSPI accessing Port 1 ..... | 1365 |
| 29.5.7 | XSPI1 and XSPI2 drive a single external memory ..... | 1366 |
| 29.5.8 | A single XSPI drives two external memories ..... | 1367 |
| 29.6 | XSPIM registers ..... | 1369 |
| 29.6.1 | XSPIM control register (XSPIM_CR) ..... | 1369 |
| 29.6.2 | XSPIM register map ..... | 1370 |
| 30 | Secure digital input/output MultiMediaCard interface (SDMMC) .. | 1371 |
| 30.1 | SDMMC main features . . . . . | 1371 |
| 30.2 | SDMMC implementation . . . . . | 1371 |
| 30.3 | SDMMC bus topology . . . . . | 1372 |
| 30.4 | SDMMC operation modes . . . . . | 1374 |
| 30.5 | SDMMC functional description . . . . . | 1375 |
| 30.5.1 | SDMMC block diagram . . . . . | 1375 |
| 30.5.2 | SDMMC pins and internal signals . . . . . | 1375 |
| 30.5.3 | General description . . . . . | 1376 |
| 30.5.4 | SDMMC adapter . . . . . | 1378 |
| 30.5.5 | SDMMC AHB slave interface . . . . . | 1400 |
| 30.5.6 | SDMMC AHB master interface . . . . . | 1401 |
| 30.5.7 | AHB and SDMMC_CK clock relation . . . . . | 1404 |
| 30.6 | Card functional description . . . . . | 1405 |
| 30.6.1 | SD I/O mode . . . . . | 1405 |
| 30.6.2 | CMD12 send timing . . . . . | 1413 |
| 30.6.3 | Sleep (CMD5) . . . . . | 1417 |
| 30.6.4 | Interrupt mode (Wait-IRQ) . . . . . | 1418 |
| 30.6.5 | Boot operation . . . . . | 1419 |
| 30.6.6 | Response R1b handling . . . . . | 1422 |
| 30.6.7 | Reset and card cycle power . . . . . | 1423 |
| 30.7 | Hardware flow control . . . . . | 1424 |
| 30.7.1 | Hardware flow control during data transfer . . . . . | 1424 |
| 30.7.2 | Block gap hardware flow control . . . . . | 1425 |
| 30.8 | Ultra-high-speed phase I (UHS-I) voltage switch . . . . . | 1426 |
| 30.9 | SDMMC interrupts . . . . . | 1430 |
| 30.10 | SDMMC registers . . . . . | 1431 |
| 30.10.1 | SDMMC power control register (SDMMC_POWER) . . . . . | 1431 |
| 30.10.2 | SDMMC clock control register (SDMMC_CLKCR) . . . . . | 1432 |
| 30.10.3 | SDMMC argument register (SDMMC_ARGR) . . . . . | 1434 |
| 30.10.4 | SDMMC command register (SDMMC_CMDR) . . . . . | 1434 |
| 30.10.5 | SDMMC command response register (SDMMC_RESPCMDR) . . . . . | 1436 |
| 30.10.6 | SDMMC response x register (SDMMC_RESPxR) . . . . . | 1437 |
| 30.10.7 | SDMMC data timer register (SDMMC_DTIMER) . . . . . | 1437 |
| 30.10.8 | SDMMC data length register (SDMMC_DLENR) . . . . . | 1438 |
| 30.10.9 | SDMMC data control register (SDMMC_DCTRL) . . . . . | 1439 |
| 30.10.10 | SDMMC data counter register (SDMMC_DCNTR) . . . . . | 1440 |
| 30.10.11 | SDMMC status register (SDMMC_STAR) ..... | 1441 |
| 30.10.12 | SDMMC interrupt clear register (SDMMC_ICR) ..... | 1444 |
| 30.10.13 | SDMMC mask register (SDMMC_MASKR) ..... | 1446 |
| 30.10.14 | SDMMC acknowledgment timer register (SDMMC_ACKTIMER) ... | 1449 |
| 30.10.15 | SDMMC data FIFO threshold register (SDMMC_FIFOTHRR) ..... | 1449 |
| 30.10.16 | SDMMC DMA control register (SDMMC_IDMACTRLR) ..... | 1450 |
| 30.10.17 | SDMMC IDMA buffer size register (SDMMC_IDMABSIZER) ..... | 1450 |
| 30.10.18 | SDMMC IDMA buffer base address register (SDMMC_IDMABASER) ..... | 1451 |
| 30.10.19 | SDMMC IDMA linked list address register (SDMMC_IDMALAR) ... | 1451 |
| 30.10.20 | SDMMC IDMA linked list memory base register (SDMMC_IDMABAR) ..... | 1452 |
| 30.10.21 | SDMMC data FIFO registers x (SDMMC_FIFORx) ..... | 1453 |
| 30.10.22 | SDMMC register map ..... | 1453 |
| 31 | Delay block (DLYB) ..... | 1456 |
| 31.1 | DLYB introduction ..... | 1456 |
| 31.2 | DLYB main features ..... | 1456 |
| 31.3 | DLYB implementation ..... | 1456 |
| 31.4 | DLYB functional description ..... | 1456 |
| 31.4.1 | DLYB diagram ..... | 1456 |
| 31.4.2 | DLYB internal signals ..... | 1458 |
| 31.4.3 | General description ..... | 1460 |
| 31.4.4 | Lock mode procedure ..... | 1461 |
| 31.4.5 | Bypass mode procedure ..... | 1461 |
| 31.5 | DLYB SDMMC registers description ..... | 1462 |
| 31.5.1 | Delay block SDMMC DLL configuration (DLYBSD_CFG) ..... | 1462 |
| 31.5.2 | Delay block SDMMC DLL status (DLYBSD_STATUS) ..... | 1463 |
| 31.5.3 | DLYB register map ..... | 1463 |
| 32 | Analog-to-digital converters (ADC) ..... | 1465 |
| 32.1 | ADC introduction ..... | 1465 |
| 32.2 | ADC main features ..... | 1465 |
| 32.3 | ADC implementation ..... | 1467 |
| 32.4 | ADC functional description ..... | 1468 |
| 32.4.1 | ADC block diagram ..... | 1468 |
| 32.4.2 | ADC pins and internal signals ..... | 1469 |
| 32.4.3 | ADC clocks | 1472 |
| 32.4.4 | ADC connectivity | 1474 |
| 32.4.5 | Slave AHB interface | 1476 |
| 32.4.6 | ADC Deep-power-down mode (DEEPPWD) | 1476 |
| 32.4.7 | Single-ended and differential input channels | 1476 |
| 32.4.8 | Calibration (ADCAL, CALADDOS, ADC_CALFACT) | 1477 |
| 32.4.9 | ADC on-off control (ADEN, ADDIS, ADRDY) | 1479 |
| 32.4.10 | Constraints when writing the ADC control bits | 1480 |
| 32.4.11 | Channel selection (ADC_SQRy, ADC_JSQR) | 1481 |
| 32.4.12 | Channel preselection register (ADC_PCSEL) | 1481 |
| 32.4.13 | Channel-wise programmable sampling time (SMPR1, SMPR2) | 1482 |
| 32.4.14 | Single conversion mode | 1483 |
| 32.4.15 | Continuous conversion mode (CONT = 1) | 1484 |
| 32.4.16 | Discontinuous mode (DISCEN, DISCNUM, JDISCEN) | 1485 |
| 32.4.17 | Starting conversions (ADSTART, JADSTART) | 1486 |
| 32.4.18 | Timing | 1487 |
| 32.4.19 | Stopping an ongoing conversion (ADSTP, JADSTP) | 1488 |
| 32.4.20 | Conversion on external trigger and trigger polarity (EXTSEL, EXTEN, JEXTSEL, JEXTEN) | 1490 |
| 32.4.21 | Injected channel management | 1491 |
| 32.4.22 | Programmable resolution (RES) - fast conversion mode | 1492 |
| 32.4.23 | End of conversion and end of sampling phase (EOC, JEOC, EOSMP) | 1493 |
| 32.4.24 | End of conversion sequence (EOS, JEOS) | 1493 |
| 32.4.25 | Timing diagram examples (single/continuous modes, hardware/software triggers) | 1494 |
| 32.4.26 | Data management | 1496 |
| 32.4.27 | Managing conversions using the MDF | 1504 |
| 32.4.28 | Dynamic low-power features | 1505 |
| 32.4.29 | Analog window watchdog (AWD1EN, JAWD1EN, AWD1SGL, AWD1CH, AWDCH of ADC_AWD2CR and ADC_AWD3CR, HTR, LTR, AWDFILT) | 1508 |
| 32.4.30 | Oversampler | 1513 |
| 32.4.31 | Dual ADC modes | 1519 |
| 32.4.32 | VBAT supply monitoring | 1534 |
| 32.4.33 | Monitoring the internal voltage reference | 1535 |
| 32.4.34 | Monitoring the supply voltage | 1537 |
| 32.5 | ADC interrupts | 1537 |
| 32.6 | ADC registers (for each ADC) ..... | 1538 |
| 32.6.1 | ADC interrupt and status register (ADC_ISR) ..... | 1538 |
| 32.6.2 | ADC interrupt enable register (ADC_IER) ..... | 1540 |
| 32.6.3 | ADC control register (ADC_CR) ..... | 1542 |
| 32.6.4 | ADC configuration register (ADC_CFGR1) ..... | 1545 |
| 32.6.5 | ADC configuration register 2 (ADC_CFGR2) ..... | 1548 |
| 32.6.6 | ADC sample time register 1 (ADC_SMPR1) ..... | 1551 |
| 32.6.7 | ADC sample time register 2 (ADC_SMPR2) ..... | 1552 |
| 32.6.8 | ADC channel preselection register (ADC_PCSEL) ..... | 1552 |
| 32.6.9 | ADC regular sequence register 1 (ADC_SQR1) ..... | 1553 |
| 32.6.10 | ADC regular sequence register 2 (ADC_SQR2) ..... | 1554 |
| 32.6.11 | ADC regular sequence register 3 (ADC_SQR3) ..... | 1555 |
| 32.6.12 | ADC regular sequence register 4 (ADC_SQR4) ..... | 1556 |
| 32.6.13 | ADC regular data register (ADC_DR) ..... | 1557 |
| 32.6.14 | ADC injected sequence register (ADC_JSQR) ..... | 1557 |
| 32.6.15 | ADC offset y configuration register (ADC_OFCFGRy) ..... | 1559 |
| 32.6.16 | ADC offset y register (ADC_OFRy) ..... | 1560 |
| 32.6.17 | ADC gain compensation register (ADC_GCOMP) ..... | 1560 |
| 32.6.18 | ADC injected channel y data register (ADC_JDRy) ..... | 1561 |
| 32.6.19 | ADC analog watchdog 2 configuration register (ADC_AWD2CR) ..... | 1562 |
| 32.6.20 | ADC analog watchdog 3 configuration register (ADC_AWD3CR) ..... | 1562 |
| 32.6.21 | ADC analog watchdog 1 lower threshold register (ADC_AWD1LTR) ..... | 1563 |
| 32.6.22 | ADC analog watchdog 1 higher threshold register (ADC_AWD1HTR) ..... | 1563 |
| 32.6.23 | ADC analog watchdog 2 lower threshold register (ADC_AWD2LTR) ..... | 1564 |
| 32.6.24 | ADC analog watchdog 2 higher threshold register (ADC_AWD2HTR) ..... | 1564 |
| 32.6.25 | ADC analog watchdog 3 lower threshold register (ADC_AWD3LTR) ..... | 1564 |
| 32.6.26 | ADC analog watchdog 3 higher threshold register (ADC_AWD3HTR) ..... | 1565 |
| 32.6.27 | ADC differential mode selection register (ADC_DIFSEL) ..... | 1565 |
| 32.6.28 | ADC calibration factors (ADC_CALFACT) ..... | 1566 |
| 32.6.29 | ADC option register (ADC_OR) ..... | 1567 |
| 32.7 | ADC common registers ..... | 1568 |
| 32.7.1 | ADC common status register (ADCC_CSR) ..... | 1568 |
| 32.7.2 | ADC common control register (ADCC_CCR) ..... | 1569 |
| 32.7.3 | ADC common regular data register for dual mode (ADCC_CDR) ..... | 1571 |
| 32.7.4 | ADC common regular data register for dual mode (ADCC_CDR2) ..... | 1571 |
| 32.8 | ADC register map ..... | 1572 |
| 33 | Digital temperature sensor (DTS) ..... | 1576 |
| 33.1 | Introduction ..... | 1576 |
| 33.2 | DTS main features ..... | 1576 |
| 33.3 | DTS functional description ..... | 1577 |
| 33.3.1 | DTS block diagram ..... | 1577 |
| 33.3.2 | DTS pins and internal signals ..... | 1577 |
| 33.3.3 | DTS reset and clocks ..... | 1578 |
| 33.3.4 | DTS serial data adapter (SDA) ..... | 1580 |
| 33.3.5 | Alarms ..... | 1586 |
| 33.3.6 | Main APB programming routines ..... | 1587 |
| 33.3.7 | Temperature sensor configuration ..... | 1590 |
| 33.4 | DTS interrupts ..... | 1592 |
| 33.5 | DTS registers ..... | 1593 |
| 33.5.1 | DTS PVT common registers ..... | 1593 |
| 33.5.2 | PVT IRQ registers ..... | 1595 |
| 33.5.3 | TS common registers ..... | 1599 |
| 33.5.4 | TS individual registers ..... | 1606 |
| 33.5.5 | DTS register map ..... | 1613 |
| 34 | Voltage reference buffer (VREFBUF) ..... | 1618 |
| 34.1 | VREFBUF introduction ..... | 1618 |
| 34.2 | VREFBUF implementation ..... | 1618 |
| 34.3 | VREFBUF functional description ..... | 1618 |
| 34.4 | VREFBUF trimming ..... | 1619 |
| 34.5 | VREFBUF power sequence ..... | 1620 |
| 34.6 | VREFBUF registers ..... | 1621 |
| 34.6.1 | VREFBUF control and status register (VREFBUF_CSR) ..... | 1621 |
| 34.6.2 | VREFBUF calibration control register (VREFBUF_CCR) ..... | 1622 |
| 34.6.3 | VREFBUF register map ..... | 1623 |
| 35 | Multi-function digital filter (MDF) ..... | 1624 |
| 35.1 | MDF introduction ..... | 1624 |
| 35.2 | MDF main features . . . . . | 1625 |
| 35.3 | MDF implementation . . . . . | 1625 |
| 35.4 | MDF functional description . . . . . | 1627 |
| 35.4.1 | MDF block diagram . . . . . | 1627 |
| 35.4.2 | MDF pins and internal signals . . . . . | 1628 |
| 35.4.3 | Serial input interfaces (SITF) . . . . . | 1629 |
| 35.4.4 | ADC slave interface (ADCITF) . . . . . | 1635 |
| 35.4.5 | Clock generator (CKGEN) . . . . . | 1636 |
| 35.4.6 | Bitstream matrix (BSMX) . . . . . | 1638 |
| 35.4.7 | Short-circuit detectors (SCD) . . . . . | 1639 |
| 35.4.8 | Digital filter processing (DFLT) . . . . . | 1641 |
| 35.4.9 | Out-of-limit detector (OLD) . . . . . | 1651 |
| 35.4.10 | Digital filter acquisition modes . . . . . | 1654 |
| 35.4.11 | Start-up sequence examples . . . . . | 1664 |
| 35.4.12 | Break interface . . . . . | 1665 |
| 35.4.13 | Data transfer to memory . . . . . | 1666 |
| 35.4.14 | Autonomous mode . . . . . | 1671 |
| 35.4.15 | Register protection . . . . . | 1672 |
| 35.5 | MDF low-power modes . . . . . | 1673 |
| 35.6 | MDF interrupts . . . . . | 1673 |
| 35.7 | MDF application informations . . . . . | 1675 |
| 35.7.1 | MDF configuration examples for audio capture . . . . . | 1675 |
| 35.7.2 | Programming examples . . . . . | 1676 |
| 35.7.3 | Connection examples . . . . . | 1678 |
| 35.7.4 | Global frequency response . . . . . | 1679 |
| 35.7.5 | Total MDF gain . . . . . | 1680 |
| 35.8 | MDF registers . . . . . | 1684 |
| 35.8.1 | MDF global control register (MDF_GCR) . . . . . | 1684 |
| 35.8.2 | MDF clock generator control register (MDF_CKGCR) . . . . . | 1685 |
| 35.8.3 | MDF serial interface control register x (MDF_SITFxCR) . . . . . | 1687 |
| 35.8.4 | MDF bitstream matrix control register x (MDF_BSMXxCR) . . . . . | 1688 |
| 35.8.5 | MDF digital filter control register x (MDF_DFLTxCr) . . . . . | 1689 |
| 35.8.6 | MDF digital filter configuration register x (MDF_DFLTxCICR) . . . . . | 1691 |
| 35.8.7 | MDF reshape filter configuration register x (MDF_DFLTxRSFR) . . . . . | 1693 |
| 35.8.8 | MDF integrator configuration register x (MDF_DFLTxINTR) . . . . . | 1694 |
| 35.8.9 | MDF out-of limit detector control register x (MDF_OLDxCR) . . . . . | 1694 |
| 35.8.10 | MDF OLDx low threshold register x (MDF_OLDxTHLR) . . . . . | 1696 |
| 35.8.11 | MDF OLDx high threshold register x (MDF_OLDxTHHR) . . . . . | 1696 |
| 35.8.12 | MDF delay control register x (MDF_DLYxCR) . . . . . | 1697 |
| 35.8.13 | MDF short circuit detector control register x (MDF_SCDxCR) . . . . . | 1697 |
| 35.8.14 | MDF DFLT0 interrupt enable register 0 (MDF_DFLT0IER) . . . . . | 1698 |
| 35.8.15 | MDF DFLTx interrupt enable register x (MDF_DFLTxIER) . . . . . | 1700 |
| 35.8.16 | MDF DFLT0 interrupt status register 0 (MDF_DFLT0ISR) . . . . . | 1701 |
| 35.8.17 | MDF DFLTx interrupt status register x (MDF_DFLTxISR) . . . . . | 1703 |
| 35.8.18 | MDF offset error compensation control register x (MDF_OECxCR) . . . . . | 1704 |
| 35.8.19 | MDF snapshot data register x (MDF_SNPSxDR) . . . . . | 1705 |
| 35.8.20 | MDF digital filter data register x (MDF_DFLTxDR) . . . . . | 1705 |
| 35.8.21 | MDF register map . . . . . | 1706 |
| 36 | Audio digital filter (ADF) . . . . . | 1708 |
| 36.1 | ADF introduction . . . . . | 1708 |
| 36.2 | ADF main features . . . . . | 1708 |
| 36.3 | ADF implementation . . . . . | 1709 |
| 36.4 | ADF functional description . . . . . | 1710 |
| 36.4.1 | ADF block diagram . . . . . | 1710 |
| 36.4.2 | ADF pins and internal signals . . . . . | 1710 |
| 36.4.3 | Serial input interface (SITF) . . . . . | 1711 |
| 36.4.4 | ADC slave interface (ADCITF) . . . . . | 1716 |
| 36.4.5 | Clock generator (CKGEN) . . . . . | 1716 |
| 36.4.6 | Bitstream matrix (BSMX) . . . . . | 1718 |
| 36.4.7 | Digital filter processing (DFLT) . . . . . | 1719 |
| 36.4.8 | Digital filter acquisition modes . . . . . | 1729 |
| 36.4.9 | Start-up sequence examples . . . . . | 1737 |
| 36.4.10 | Sound activity detection (SAD) . . . . . | 1738 |
| 36.4.11 | Data transfer to memory . . . . . | 1746 |
| 36.4.12 | Autonomous mode . . . . . | 1749 |
| 36.4.13 | Register protection . . . . . | 1749 |
| 36.5 | ADF low-power modes . . . . . | 1750 |
| 36.6 | ADF interrupts . . . . . | 1750 |
| 36.7 | ADF application information . . . . . | 1752 |
| 36.7.1 | ADF configuration examples for audio capture . . . . . | 1752 |
| 36.7.2 | Programming examples . . . . . | 1753 |
| 36.7.3 | Connection examples | 1755 |
| 36.7.4 | Global frequency response | 1756 |
| 36.7.5 | Total ADF gain | 1757 |
| 36.7.6 | How to compute SAD thresholds | 1760 |
| 36.8 | ADF registers | 1764 |
| 36.8.1 | ADF global control register (ADF_GCR) | 1764 |
| 36.8.2 | ADF clock generator control register (ADF_CKGCR) | 1764 |
| 36.8.3 | ADF serial interface control register 0 (ADF_SITF0CR) | 1766 |
| 36.8.4 | ADF bitstream matrix control register 0 (ADF_BSMX0CR) | 1768 |
| 36.8.5 | ADF digital filter control register 0 (ADF_DFLT0CR) | 1768 |
| 36.8.6 | ADF digital filter configuration register 0 (ADF_DFLT0CICR) | 1770 |
| 36.8.7 | ADF reshape filter configuration register 0 (ADF_DFLT0RSFR) | 1771 |
| 36.8.8 | ADF delay control register 0 (ADF_DLY0CR) | 1772 |
| 36.8.9 | ADF DFLT0 interrupt enable register (ADF_DFLT0IER) | 1773 |
| 36.8.10 | ADF DFLT0 interrupt status register 0 (ADF_DFLT0ISR) | 1774 |
| 36.8.11 | ADF SAD control register (ADF_SADCR) | 1775 |
| 36.8.12 | ADF SAD configuration register (ADF_SADCFGR) | 1777 |
| 36.8.13 | ADF SAD sound level register (ADF_SADSDLVR) | 1778 |
| 36.8.14 | ADF SAD ambient noise level register (ADF_SADANLVR) | 1779 |
| 36.8.15 | ADF digital filter data register 0 (ADF_DFLT0DR) | 1779 |
| 36.8.16 | ADF register map | 1779 |
| 37 | Camera subsystem | 1782 |
| 37.1 | Introduction | 1782 |
| 37.2 | Camera path main features | 1782 |
| 37.2.1 | DCMI path main features | 1782 |
| 37.2.2 | DCMIPP path main features | 1783 |
| 37.3 | Camera subsystem implementation | 1784 |
| 37.3.1 | Hardware settings | 1784 |
| 37.4 | Camera subsystem functional description | 1785 |
| 37.4.1 | Camera subsystem block diagram | 1785 |
| 37.4.2 | Camera subsystem pins and external signal interface | 1785 |
| 37.4.3 | Camera subsystem reset and clocks | 1786 |
| 37.4.4 | Streaming from the camera subsystem to slave peripherals | 1786 |
| 37.4.5 | Camera subsystem security | 1787 |
| 37.5 | Camera subsystem programmable parameters | 1788 |
| 37.5.1 | Low-resolution parallel camera and DCMI | 1789 |
| 37.5.2 | High-resolution parallel camera and DCMIPP | 1789 |
| 37.5.3 | High-resolution CSI2 camera and DCMIPP | 1790 |
| 37.5.4 | Sensors over target resolution | 1791 |
| 37.5.5 | Sensors over target pixel rate | 1791 |
| 37.5.6 | Double sensors | 1791 |
| 37.6 | Camera subsystem interrupts | 1792 |
| 37.7 | Camera subsystem registers | 1792 |
| 38 | Digital camera interface (DCMI) | 1793 |
| 38.1 | DCMI introduction | 1793 |
| 38.2 | DCMI main features | 1793 |
| 38.3 | DCMI functional description | 1793 |
| 38.3.1 | DCMI block diagram | 1794 |
| 38.3.2 | DCMI pins and internal signals | 1794 |
| 38.3.3 | DCMI clocks | 1795 |
| 38.3.4 | DCMI DMA interface | 1795 |
| 38.3.5 | DCMI physical interface | 1795 |
| 38.3.6 | DCMI synchronization | 1797 |
| 38.3.7 | DCMI capture modes | 1799 |
| 38.3.8 | DCMI crop feature | 1800 |
| 38.3.9 | DCMI JPEG format | 1801 |
| 38.3.10 | DCMI FIFO | 1801 |
| 38.3.11 | DCMI data format description | 1802 |
| 38.4 | DCMI interrupts | 1804 |
| 38.5 | DCMI registers | 1804 |
| 38.5.1 | DCMI control register (DCMI_CR) | 1804 |
| 38.5.2 | DCMI status register (DCMI_SR) | 1807 |
| 38.5.3 | DCMI raw interrupt status register (DCMI_RIS) | 1807 |
| 38.5.4 | DCMI interrupt enable register (DCMI_IER) | 1808 |
| 38.5.5 | DCMI masked interrupt status register (DCMI_MIS) | 1809 |
| 38.5.6 | DCMI interrupt clear register (DCMI_ICR) | 1810 |
| 38.5.7 | DCMI embedded synchronization code register (DCMI_ESCR) | 1811 |
| 38.5.8 | DCMI embedded synchronization unmask register (DCMI_ESUR) | 1811 |
| 38.5.9 | DCMI crop window start (DCMI_CWSTRT) | 1812 |
| 38.5.10 | DCMI crop window size (DCMI_CWSIZE) | 1813 |
| 38.5.11 | DCMI data register (DCMI_DR) . . . . . | 1813 |
| 38.5.12 | DCMI register map . . . . . | 1814 |
| 39 | Digital camera interface pixel pipeline (DCMIPP) . . . . . | 1815 |
| 39.1 | DCMIPP introduction . . . . . | 1815 |
| 39.2 | DCMIPP main features . . . . . | 1818 |
| 39.3 | DCMIPP functional description . . . . . | 1820 |
| 39.3.1 | DCMIPP block diagram . . . . . | 1820 |
| 39.3.2 | DCMIPP pads and internal signals . . . . . | 1821 |
| 39.3.3 | DCMIPP reset and clocks . . . . . | 1821 |
| 39.3.4 | DCMIPP maximum resolution . . . . . | 1824 |
| 39.3.5 | DCMIPP minimum requirements for frame structure . . . . . | 1825 |
| 39.3.6 | Description of DCMIPP pixel format support . . . . . | 1825 |
| 39.4 | DCMIPP input and flow control . . . . . | 1826 |
| 39.4.1 | DCMIPP common configuration . . . . . | 1827 |
| 39.4.2 | Parallel input interface . . . . . | 1827 |
| 39.4.3 | Interface from CSI-2 host . . . . . | 1831 |
| 39.4.4 | Input selection . . . . . | 1831 |
| 39.4.5 | Flow selection . . . . . | 1831 |
| 39.4.6 | Frame counter . . . . . | 1833 |
| 39.4.7 | Frame control . . . . . | 1834 |
| 39.4.8 | Pipe deactivation . . . . . | 1839 |
| 39.5 | Pipe0 (dump pipe) . . . . . | 1840 |
| 39.5.1 | Overview . . . . . | 1840 |
| 39.5.2 | Decimation . . . . . | 1841 |
| 39.5.3 | Crop/statistics selection/suppression . . . . . | 1841 |
| 39.5.4 | Header insertion . . . . . | 1842 |
| 39.5.5 | Dump counter . . . . . | 1843 |
| 39.5.6 | Double buffer mode . . . . . | 1844 |
| 39.6 | Pipe1 (ISP part) . . . . . | 1845 |
| 39.6.1 | Overview . . . . . | 1845 |
| 39.6.2 | Byte-to-pixel conversion . . . . . | 1845 |
| 39.6.3 | Statistics removal . . . . . | 1846 |
| 39.6.4 | Bad pixel removal . . . . . | 1847 |
| 39.6.5 | Input decimation . . . . . | 1848 |
| 39.6.6 | Black level calibration . . . . . | 1849 |
| 39.6.7 | Exposure compensation and white-balance calibration . . . . . | 1850 |
| 39.6.8 | Demosaicing . . . . . | 1851 |
| 39.6.9 | Color conversion . . . . . | 1853 |
| 39.6.10 | Contrast enhancement . . . . . | 1856 |
| 39.6.11 | Statistics extraction . . . . . | 1857 |
| 39.7 | Pipe1 (post-processing part) . . . . . | 1862 |
| 39.7.1 | Overview . . . . . | 1862 |
| 39.7.2 | Pixel 2D cropping . . . . . | 1862 |
| 39.7.3 | Decimation pre-downsize . . . . . | 1863 |
| 39.7.4 | Downsize . . . . . | 1864 |
| 39.7.5 | Regions of interest (ROIs) . . . . . | 1866 |
| 39.7.6 | Gamma conversion . . . . . | 1867 |
| 39.7.7 | YUV conversion . . . . . | 1867 |
| 39.7.8 | Chroma down-sampling . . . . . | 1867 |
| 39.7.9 | Pixel packing . . . . . | 1868 |
| 39.7.10 | Overrun detection . . . . . | 1870 |
| 39.8 | Pipe2 (post-processing) . . . . . | 1871 |
| 39.8.1 | Overview . . . . . | 1871 |
| 39.8.2 | Pipe1 and Pipe2 sharing image processing functions . . . . . | 1872 |
| 39.9 | Application use cases . . . . . | 1872 |
| 39.9.1 | Parallel interface camera sensor module . . . . . | 1872 |
| 39.9.2 | CSI2 camera sensor module . . . . . | 1873 |
| 39.9.3 | Force data type format from CSI-2 data flow (pixel pipes only) . . . . . | 1880 |
| 39.10 | Pixel format description . . . . . | 1883 |
| 39.10.1 | Parallel interface formats . . . . . | 1883 |
| 39.10.2 | Pixel pipe formats . . . . . | 1885 |
| 39.10.3 | Dump pipe formats . . . . . | 1886 |
| 39.10.4 | AXI IP-Plug . . . . . | 1888 |
| 39.11 | Shadow registers . . . . . | 1894 |
| 39.12 | DCMIPP low power modes . . . . . | 1896 |
| 39.13 | DCMIPP interrupts . . . . . | 1897 |
| 39.13.1 | Free-running DCMIPP . . . . . | 1897 |
| 39.13.2 | Interrupts . . . . . | 1897 |
| 39.13.3 | Event pins . . . . . | 1900 |
| 39.14 | DCMIPP registers . . . . . | 1901 |
| 39.14.1 | DCMIPP IP-Plug global register 1 (DCMIPP_IPGR1) . . . . . | 1901 |
| 39.14.2 | DCMIPP IP-Plug global register 2 (DCMIPP_IPGR2) ..... | 1902 |
| 39.14.3 | DCMIPP IP-Plug global register 3 (DCMIPP_IPGR3) ..... | 1902 |
| 39.14.4 | DCMIPP IP-Plug identification register (DCMIPP_IPGR8) ..... | 1903 |
| 39.14.5 | DCMIPP IP-Plug Clientx register 1 (DCMIPP_IPCxR1) ..... | 1903 |
| 39.14.6 | DCMIPP IP-Plug Clientx register 2 (DCMIPP_IPCxR2) ..... | 1904 |
| 39.14.7 | DCMIPP IP-Plug Clientx register 3 (DCMIPP_IPCxR3) ..... | 1904 |
| 39.14.8 | DCMIPP parallel interface control register (DCMIPP_PRCR) ..... | 1905 |
| 39.14.9 | DCMIPP parallel interface embedded synchronization code register (DCMIPP_PRESCR) ..... | 1906 |
| 39.14.10 | DCMIPP parallel interface embedded synchronization unmask register (DCMIPP PRESUR) ..... | 1907 |
| 39.14.11 | DCMIPP parallel interface interrupt enable register (DCMIPP_PRIER) ..... | 1908 |
| 39.14.12 | DCMIPP parallel interface status register (DCMIPP PRSR) ..... | 1908 |
| 39.14.13 | DCMIPP parallel interface interrupt clear register (DCMIPP PRFCR) ..... | 1909 |
| 39.14.14 | DCMIPP common configuration register (DCMIPP_CMCR) ..... | 1910 |
| 39.14.15 | DCMIPP common frame counter register (DCMIPP_CMFRCR) .... | 1911 |
| 39.14.16 | DCMIPP common interrupt enable register (DCMIPP_CMIER) .... | 1911 |
| 39.14.17 | DCMIPP common status register 1 (DCMIPP_CMSR1) ..... | 1912 |
| 39.14.18 | DCMIPP common status register 2 (DCMIPP_CMSR2) ..... | 1914 |
| 39.14.19 | DCMIPP common interrupt clear register (DCMIPP_CMFCR) .... | 1916 |
| 39.14.20 | DCMIPP Pipe0 flow selection configuration register (DCMIPP_P0FSCR) ..... | 1918 |
| 39.14.21 | DCMIPP Pipe0 flow control configuration register (DCMIPP_P0FCTCR) ..... | 1918 |
| 39.14.22 | DCMIPP Pipe0 statistic/crop start register (DCMIPP_P0SCSTR) ... | 1919 |
| 39.14.23 | DCMIPP Pipe0 statistic/crop size register (DCMIPP_P0SCSZR) ... | 1920 |
| 39.14.24 | DCMIPP Pipe0 dump counter register (DCMIPP_P0DCCNTR) .... | 1920 |
| 39.14.25 | DCMIPP Pipe0 dump limit register (DCMIPP_P0DCLMTR) ..... | 1921 |
| 39.14.26 | DCMIPP Pipe0 pixel packer configuration register (DCMIPP_P0PPCR) ..... | 1921 |
| 39.14.27 | DCMIPP Pipe0 pixel packer Memory0 address register 1 (DCMIPP_P0PPM0AR1) ..... | 1923 |
| 39.14.28 | DCMIPP Pipe0 pixel packer Memory0 address register 2 (DCMIPP_P0PPM0AR2) ..... | 1923 |
| 39.14.29 | DCMIPP Pipe0 status Memory0 address register (DCMIPP_P0STM0AR) ..... | 1923 |
| 39.14.30 | DCMIPP Pipe0 interrupt enable register (DCMIPP_P0IER) ..... | 1924 |
| 39.14.31 | DCMIPP Pipe0 status register (DCMIPP_P0SR) ..... | 1925 |
| 39.14.32 DCMIPP Pipe0 interrupt clear register (DCMIPP_P0FCR) ..... | 1926 |
| 39.14.33 DCMIPP Pipe0 current flow selection configuration register (DCMIPP_P0CFSCR) ..... | 1926 |
| 39.14.34 DCMIPP Pipe0 current flow control configuration register (DCMIPP_P0CFCTCR) ..... | 1927 |
| 39.14.35 DCMIPP Pipe0 current statistic/crop start register (DCMIPP_P0CSCSTR) ..... | 1928 |
| 39.14.36 DCMIPP Pipe0 current statistic/crop size register (DCMIPP_P0CSCSZR) ..... | 1928 |
| 39.14.37 DCMIPP Pipe0 current pixel packer configuration register (DCMIPP_P0CPPCR) ..... | 1929 |
| 39.14.38 DCMIPP Pipe0 current pixel packer Memory0 address register 1 (DCMIPP_P0CPPM0AR1) ..... | 1931 |
| 39.14.39 DCMIPP Pipe0 current pixel packer Memory0 address register 2 (DCMIPP_P0CPPM0AR2) ..... | 1931 |
| 39.14.40 DCMIPP Pipe1 flow selection configuration register (DCMIPP_P1FSCR) ..... | 1932 |
| 39.14.41 DCMIPP Pipe1 stat removal configuration register (DCMIPP_P1SRCR) ..... | 1933 |
| 39.14.42 DCMIPP Pipe1 bad pixel removal control register (DCMIPP_P1BPRCR) ..... | 1934 |
| 39.14.43 DCMIPP Pipe1 bad pixel removal status register (DCMIPP_P1BPRSR) ..... | 1934 |
| 39.14.44 DCMIPP Pipe1 decimation register (DCMIPP_P1DECR) ..... | 1935 |
| 39.14.45 DCMIPP Pipe1 black level calibration control register (DCMIPP_P1BLCCR) ..... | 1935 |
| 39.14.46 DCMIPP Pipe1 exposure control register 1 (DCMIPP_P1EXCR1) .. | 1936 |
| 39.14.47 DCMIPP Pipe1 exposure control register 2 (DCMIPP_P1EXCR2) .. | 1936 |
| 39.14.48 DCMIPP Pipe1 statistics1 control register (DCMIPP_P1ST1CR) .. | 1937 |
| 39.14.49 DCMIPP Pipe1 statistics 2 control register (DCMIPP_P1ST2CR) .. | 1938 |
| 39.14.50 DCMIPP Pipe1 statistics 3 control register (DCMIPP_P1ST3CR) .. | 1939 |
| 39.14.51 DCMIPP Pipe1 statistics window start register (DCMIPP_P1STSTR) ..... | 1940 |
| 39.14.52 DCMIPP Pipe1 statistics window size register (DCMIPP_P1STSZR) ..... | 1940 |
| 39.14.53 DCMIPP Pipe1 statistics 1 status register (DCMIPP_P1ST1SR) .. | 1941 |
| 39.14.54 DCMIPP Pipe1 statistics 2 status register (DCMIPP_P1ST2SR) .. | 1942 |
| 39.14.55 DCMIPP Pipe1 statistics 3 status register (DCMIPP_P1ST3SR) .. | 1942 |
| 39.14.56 DCMIPP Pipe1 demosaicing configuration register (DCMIPP_P1DMCR) ..... | 1942 |
| 39.14.57 DCMIPP Pipe1 ColorConv configuration register (DCMIPP_P1CCCR) ..... | 1943 |
| 39.14.58 DCMIPP Pipe1 ColorConv red coefficient register 1 (DCMIPP_P1CCRR1) | 1944 |
| 39.14.59 DCMIPP Pipe1 ColorConv red coefficient register 2 (DCMIPP_P1CCRR2) | 1944 |
| 39.14.60 DCMIPP Pipe1 ColorConv green coefficient register 1 (DCMIPP_P1CCGR1) | 1945 |
| 39.14.61 DCMIPP Pipe1 ColorConv green coefficient register 2 (DCMIPP_P1CCGR2) | 1945 |
| 39.14.62 DCMIPP Pipex ColorConv blue coefficient register 1 (DCMIPP_P1CCBR1) | 1946 |
| 39.14.63 DCMIPP Pipe1 ColorConv blue coefficient register 2 (DCMIPP_P1CCBR2) | 1946 |
| 39.14.64 DCMIPP Pipe1 contrast control register 1 (DCMIPP_P1CTCR1) | 1947 |
| 39.14.65 DCMIPP Pipe1 contrast control register 2 (DCMIPP_P1CTCR2) | 1947 |
| 39.14.66 DCMIPP Pipe1 contrast control register 3 (DCMIPP_P1CTCR3) | 1948 |
| 39.14.67 DCMIPP Pipex flow control configuration register (DCMIPP_PxFCTCR) | 1948 |
| 39.14.68 DCMIPP Pipex crop window start register (DCMIPP_PxCRSTR) | 1949 |
| 39.14.69 DCMIPP Pipex crop window size register (DCMIPP_PxCRSZR) | 1950 |
| 39.14.70 DCMIPP Pipex decimation register (DCMIPP_PxDCCR) | 1950 |
| 39.14.71 DCMIPP Pipex downsize configuration register (DCMIPP_PxDSCR) | 1951 |
| 39.14.72 DCMIPP Pipex downsize ratio register (DCMIPP_PxDSRTIOR) | 1951 |
| 39.14.73 DCMIPP Pipex downsize destination size register (DCMIPP_PxDSSZR) | 1952 |
| 39.14.74 DCMIPP Pipex common ROI configuration register (DCMIPP_PxCMRICR) | 1952 |
| 39.14.75 DCMIPP Pipe1 ROIx configuration register 1 (DCMIPP_P1RIxCR1) | 1954 |
| 39.14.76 DCMIPP Pipe1 ROIx configuration register 2 (DCMIPP_P1RIxCR2) | 1954 |
| 39.14.77 DCMIPP Pipex gamma configuration register (DCMIPP_PxGMCR) | 1955 |
| 39.14.78 DCMIPP Pipe1 YUVConv configuration register (DCMIPP_P1YUVCR) | 1955 |
| 39.14.79 DCMIPP Pipe1 YUVConv red coefficient register 1 (DCMIPP_P1YUVRR1) | 1955 |
| 39.14.80 DCMIPP Pipe1 YUVConv red coefficient register 2 (DCMIPP_P1YUVRR2) | 1956 |
| 39.14.81 DCMIPP Pipe1 YUVConv green coefficient register 1 (DCMIPP_P1YUVGR1) | 1956 |
| 39.14.82 DCMIPP Pipe1 YUVConv green coefficient register 2 (DCMIPP_P1YUVGR2) | 1957 |
| 39.14.83 DCMIPP Pipe1 YUVConv blue coefficient register 1 (DCMIPP_P1YUVBR1) | 1957 |
| 39.14.84 DCMIPP Pipe1 YUV blue coefficient register 2 (DCMIPP_P1YUVBR2) ..... | 1957 |
| 39.14.85 DCMIPP Pipe1 pixel packer configuration register (DCMIPP_P1PPCR) ..... | 1958 |
| 39.14.86 DCMIPP Pipe1 pixel packer Memory0 address register 1 (DCMIPP_P1PPM0AR1) ..... | 1959 |
| 39.14.87 DCMIPP Pipe1 pixel packer Memory0 address register 2 (DCMIPP_P1PPM0AR2) ..... | 1960 |
| 39.14.88 DCMIPP Pipex pixel packer Memory0 pitch register (DCMIPP_PxPPM0PR) ..... | 1960 |
| 39.14.89 DCMIPP Pipex status Memory0 address register (DCMIPP_PxSTM0AR) ..... | 1961 |
| 39.14.90 DCMIPP Pipex pixel packer Memory1 address register 1 (DCMIPP_PxPPM1AR1) ..... | 1961 |
| 39.14.91 DCMIPP Pipex pixel packer Memory1 address register 2 (DCMIPP_PxPPM1AR2) ..... | 1961 |
| 39.14.92 DCMIPP Pipex pixel packer Memory1 pitch register (DCMIPP_PxPPM1PR) ..... | 1962 |
| 39.14.93 DCMIPP Pipex status Memory1 address register (DCMIPP_PxSTM1AR) ..... | 1962 |
| 39.14.94 DCMIPP Pipex pixel packer memory2 address register 1 (DCMIPP_PxPPM2AR1) ..... | 1963 |
| 39.14.95 DCMIPP Pipex pixel packer memory2 address register 2 (DCMIPP_PxPPM2AR2) ..... | 1963 |
| 39.14.96 DCMIPP Pipex status Memory2 address register (DCMIPP_PxSTM2AR) ..... | 1963 |
| 39.14.97 DCMIPP Pipe1 interrupt enable register (DCMIPP_P1IER) ..... | 1964 |
| 39.14.98 DCMIPP Pipe1 status register (DCMIPP_P1SR) ..... | 1965 |
| 39.14.99 DCMIPP Pipe1 interrupt clear register (DCMIPP_P1FCR) ..... | 1966 |
| 39.14.100 DCMIPP Pipe1 current flow selection configuration register (DCMIPP_P1CFSCR) ..... | 1966 |
| 39.14.101 DCMIPP Pipe1 current bad pixel removal register (DCMIPP_P1CBPRCR) ..... | 1967 |
| 39.14.102 DCMIPP Pipe1 current black level calibration control register (DCMIPP_P1CBLCCR) ..... | 1968 |
| 39.14.103 DCMIPP Pipe1 current exposure control register 1 (DCMIPP_P1CEXCR1) ..... | 1968 |
| 39.14.104 DCMIPP Pipe1 current exposure control register 2 (DCMIPP_P1CEXCR2) ..... | 1969 |
| 39.14.105 DCMIPP Pipe1 current statistics 1 control register (DCMIPP_P1CST1CR) ..... | 1970 |
| 39.14.106 DCMIPP Pipe1 current statistics 2 control register (DCMIPP_P1CST2CR) ..... | 1971 |
| 39.14.107DCMIPP Pipe1 current statistics 3 control register (DCMIPP_P1CST3CR) ..... | 1972 |
| 39.14.108DCMIPP Pipe1 current statistics window start register (DCMIPP_P1CSTSTR) ..... | 1973 |
| 39.14.109DCMIPP Pipe1 current statistics window size register (DCMIPP_P1CSTSZR) ..... | 1973 |
| 39.14.110DCMIPP Pipe1 current ColorConv configuration register (DCMIPP_P1CCCCR) ..... | 1974 |
| 39.14.111DCMIPP Pipe1 current ColorConv red coefficient register 1 (DCMIPP_P1CCCR1) ..... | 1974 |
| 39.14.112DCMIPP Pipe1 current ColorConv red coefficient register 2 (DCMIPP_P1CCCR2) ..... | 1975 |
| 39.14.113DCMIPP Pipe1 current ColorConv green coefficient register 1 (DCMIPP_P1CCCG1) ..... | 1975 |
| 39.14.114DCMIPP Pipe1 current ColorConv green coefficient register 2 (DCMIPP_P1CCCG2) ..... | 1976 |
| 39.14.115DCMIPP Pipe1 current ColorConv blue coefficient register 1 (DCMIPP_P1CCCB1) ..... | 1976 |
| 39.14.116DCMIPP Pipe1 current ColorConv blue coefficient register 2 (DCMIPP_P1CCCB2) ..... | 1977 |
| 39.14.117DCMIPP Pipe1 current contrast control register 1 (DCMIPP_P1CCTCR1) ..... | 1977 |
| 39.14.118DCMIPP Pipe1 current contrast control register 2 (DCMIPP_P1CCTCR2) ..... | 1978 |
| 39.14.119DCMIPP Pipe1 current contrast control register 3 (DCMIPP_P1CCTCR3) ..... | 1978 |
| 39.14.120DCMIPP Pipe1 current flow control configuration register (DCMIPP_PxCFCTCR) ..... | 1979 |
| 39.14.121DCMIPP Pipe1 current crop window start register (DCMIPP_PxCCRSTR) ..... | 1980 |
| 39.14.122DCMIPP Pipe1 current crop window size register (DCMIPP_PxCCRSZR) ..... | 1980 |
| 39.14.123DCMIPP Pipe1 current decimation register (DCMIPP_PxCDCCR) .. | 1981 |
| 39.14.124DCMIPP Pipe1 current downsize configuration register (DCMIPP_PxCDSCR) ..... | 1981 |
| 39.14.125DCMIPP Pipe1 current downsize ratio register (DCMIPP_PxCDSRTIOR) ..... | 1982 |
| 39.14.126DCMIPP Pipe1 current downsize destination size register (DCMIPP_PxCDSSZR) ..... | 1982 |
| 39.14.127DCMIPP Pipe1 current common ROI configuration register (DCMIPP_PxCCMRICR) ..... | 1983 |
| 39.14.128DCMIPP Pipe1 current ROIx configuration register 1 (DCMIPP_P1CRIxCR1) ..... | 1984 |
| 39.14.129DCMIPP Pipe1 current ROIx configuration register 2 (DCMIPP_P1CRIxCR2) ..... | 1984 |
| 39.14.130DCMIPP Pipe1 current pixel packer configuration register (DCMIPP_P1CPPCR) ..... | 1985 |
| 39.14.131DCMIPP Pipe1 current pixel packer Memory0 address register 1 (DCMIPP_P1CPPM0AR1) ..... | 1986 |
| 39.14.132DCMIPP Pipe1 current pixel packer Memory0 address register 2 (DCMIPP_P1CPPM0AR2) ..... | 1987 |
| 39.14.133DCMIPP Pipex current pixel packer Memory0 pitch register (DCMIPP_PxCPPM0PR) ..... | 1987 |
| 39.14.134DCMIPP Pipex current pixel packer Memory1 address register 1 (DCMIPP_PxCPPM1AR1) ..... | 1987 |
| 39.14.135DCMIPP Pipex current pixel packer Memory1 address register 2 (DCMIPP_PxCPPM1AR2) ..... | 1988 |
| 39.14.136DCMIPP Pipex current pixel packer Memory1 pitch register (DCMIPP_PxCPPM1PR) ..... | 1988 |
| 39.14.137DCMIPP Pipex current pixel packer Memory2 address register 1 (DCMIPP_PxCPPM2AR1) ..... | 1989 |
| 39.14.138DCMIPP Pipex current pixel packer Memory2 address register 1 (DCMIPP_PxCPPM2AR2) ..... | 1989 |
| 39.14.139DCMIPP Pipe2 flow selection configuration register (DCMIPP_P2FSCR) ..... | 1989 |
| 39.14.140DCMIPP Pipe2 ROIx configuration register 1 (DCMIPP_P2RIxCR1) ..... | 1990 |
| 39.14.141DCMIPP Pipe2 ROIx configuration register 2 (DCMIPP_P2RIxCR2) ..... | 1991 |
| 39.14.142DCMIPP Pipe2 pixel packer configuration register (DCMIPP_P2PPCR) ..... | 1991 |
| 39.14.143DCMIPP Pipe2 pixel packer Memory0 address register 1 (DCMIPP_P2PPM0AR1) ..... | 1993 |
| 39.14.144DCMIPP Pipe2 pixel packer Memory0 address register 2 (DCMIPP_P2PPM0AR2) ..... | 1993 |
| 39.14.145DCMIPP Pipe2 interrupt enable register (DCMIPP_P2IER) ..... | 1993 |
| 39.14.146DCMIPP Pipe2 status register (DCMIPP_P2SR) ..... | 1994 |
| 39.14.147DCMIPP Pipe2 interrupt clear register (DCMIPP_P2FCR) ..... | 1995 |
| 39.14.148DCMIPP Pipe2 current flow selection configuration register (DCMIPP_P2CFSCR) ..... | 1996 |
| 39.14.149DCMIPP Pipe2 current ROIx configuration register 1 (DCMIPP_P2CRIxCR1) ..... | 1997 |
| 39.14.150DCMIPP Pipe2 current ROIx configuration register 2 (DCMIPP_P2CRIxCR2) ..... | 1997 |
| 39.14.151DCMIPP Pipe2 current pixel packer configuration register (DCMIPP_P2CPPCR) ..... | 1998 |
| 39.14.152DCMIPP Pipe2 current pixel packer Memory0 address register 1 (DCMIPP_P2CPPM0AR1) ..... | 1999 |
| 39.14.153 | DCMIPP Pipe2 current pixel packer Memory0 address register 2 (DCMIPP_P2CPPM0AR2) ..... | 1999 |
| 39.15 | DCMIPP register map ..... | 2000 |
| 40 | CSI-2 Host (CSI) ..... | 2015 |
| 40.1 | CSI introduction ..... | 2015 |
| 40.2 | Standard and references ..... | 2015 |
| 40.3 | Glossary ..... | 2015 |
| 40.4 | CSI-2 Host main features ..... | 2016 |
| 40.5 | CSI-2 Host functional description ..... | 2016 |
| 40.5.1 | General description ..... | 2016 |
| 40.5.2 | System level architecture ..... | 2018 |
| 40.5.3 | CSI-2 Host reset and clocks ..... | 2019 |
| 40.5.4 | Lane merger ..... | 2020 |
| 40.5.5 | Clock changer ..... | 2021 |
| 40.5.6 | Low-level protocol (LLP) ..... | 2022 |
| 40.5.7 | CSI-2 Host protocol output ..... | 2032 |
| 40.6 | CSI-2 Host programming guide ..... | 2032 |
| 40.6.1 | CSI-2 PHY setup ..... | 2032 |
| 40.6.2 | CSI-2 Host controller setup and data reception start ..... | 2033 |
| 40.6.3 | Data reception stop ..... | 2034 |
| 40.7 | CSI-2 Host low-power modes ..... | 2034 |
| 40.8 | CSI-2 Host interrupts and errors ..... | 2034 |
| 40.8.1 | Error handling ..... | 2036 |
| 40.8.2 | Interrupt handling ..... | 2038 |
| 40.9 | CSI-2 Host registers ..... | 2039 |
| 40.9.1 | CSI-2 Host control register (CSI_CR) ..... | 2039 |
| 40.9.2 | CSI-2 Host DPHY_RX control register (CSI_PCR) ..... | 2041 |
| 40.9.3 | CSI-2 Host virtual channel x configuration register 1 (CSI_VCxCFGR1) ..... | 2042 |
| 40.9.4 | CSI-2 Host virtual channel x configuration register 2 (CSI_VCxCFGR2) ..... | 2044 |
| 40.9.5 | CSI-2 Host virtual channel x configuration register 3 (CSI_VCxCFGR3) ..... | 2045 |
| 40.9.6 | CSI-2 Host virtual channel x configuration register 4 (CSI_VCxCFGR4) ..... | 2046 |
| 40.9.7 | CSI-2 Host line byte x configuration register (CSI_LBxCFGR) ..... | 2047 |
| 40.9.8 | CSI-2 Host timer x configuration register (CSI_TIMxCFGR) . . . . . | 2048 |
| 40.9.9 | CSI-2 Host lane merger configuration register (CSI_LMCFGR) . . . . . | 2048 |
| 40.9.10 | CSI-2 Host program interrupt register (CSI_PRGITR) . . . . . | 2049 |
| 40.9.11 | CSI-2 Host watchdog register (CSI_WDR) . . . . . | 2053 |
| 40.9.12 | CSI-2 Host interrupt enable register 0 (CSI_IER0) . . . . . | 2053 |
| 40.9.13 | CSI-2 Host interrupt enable register 1 (CSI_IER1) . . . . . | 2056 |
| 40.9.14 | CSI-2 Host status register 0 (CSI_SR0) . . . . . | 2058 |
| 40.9.15 | CSI-2 Host status register 1 (CSI_SR1) . . . . . | 2060 |
| 40.9.16 | CSI-2 Host flag clear register 0 (CSI_FCR0) . . . . . | 2062 |
| 40.9.17 | CSI-2 Host flag clear register 1 (CSI_FCR1) . . . . . | 2063 |
| 40.9.18 | CSI-2 Host short packet data field register (CSI_SPDFR) . . . . . | 2064 |
| 40.9.19 | CSI-2 Host error register 1 (CSI_ERR1) . . . . . | 2065 |
| 40.9.20 | CSI-2 Host error register 2 (CSI_ERR2) . . . . . | 2066 |
| 40.10 | CSI PHY registers . . . . . | 2066 |
| 40.10.1 | CSI PHY reset control register (CSI_PRCR) . . . . . | 2066 |
| 40.10.2 | CSI PHY mode control register (CSI_PMCR) . . . . . | 2067 |
| 40.10.3 | CSI PHY frequency control register (CSI_PFCR) . . . . . | 2068 |
| 40.10.4 | CSI PHY test control register 0 (CSI_PTCR0) . . . . . | 2068 |
| 40.10.5 | CSI PHY test control register 1 (CSI_PTCR1) . . . . . | 2069 |
| 40.10.6 | CSI PHY test status register (CSI_PTSR) . . . . . | 2069 |
| 40.10.7 | CSI-2 Host and PHY register map . . . . . | 2069 |
| 41 | Parallel synchronous slave interface (PSSI) . . . . . | 2073 |
| 41.1 | PSSI introduction . . . . . | 2073 |
| 41.2 | PSSI main features . . . . . | 2073 |
| 41.3 | PSSI functional description . . . . . | 2073 |
| 41.3.1 | PSSI block diagram . . . . . | 2074 |
| 41.3.2 | PSSI pins and internal signals . . . . . | 2074 |
| 41.3.3 | PSSI clock . . . . . | 2075 |
| 41.3.4 | PSSI data management . . . . . | 2075 |
| 41.3.5 | PSSI optional control signals . . . . . | 2077 |
| 41.4 | PSSI interrupts . . . . . | 2080 |
| 41.5 | PSSI registers . . . . . | 2081 |
| 41.5.1 | PSSI control register (PSSI_CR) . . . . . | 2081 |
| 41.5.2 | PSSI status register (PSSI_SR) . . . . . | 2082 |
| 41.5.3 | PSSI raw interrupt status register (PSSI_RIS) . . . . . | 2083 |
| 41.5.4 | PSSI interrupt enable register (PSSI_IER) ..... | 2084 |
| 41.5.5 | PSSI masked interrupt status register (PSSI_MIS) ..... | 2084 |
| 41.5.6 | PSSI interrupt clear register (PSSI_ICR) ..... | 2085 |
| 41.5.7 | PSSI data register (PSSI_DR) ..... | 2085 |
| 41.5.8 | PSSI register map ..... | 2086 |
| 42 | Display subsystem ..... | 2087 |
| 42.1 | Introduction ..... | 2087 |
| 42.2 | Display subsystem main features ..... | 2087 |
| 42.3 | Display subsystem implementation ..... | 2087 |
| 42.4 | Display subsystem functional description ..... | 2087 |
| 42.4.1 | Display subsystem block diagram ..... | 2087 |
| 42.4.2 | Display subsystem pins and external signal interface ..... | 2088 |
| 42.4.3 | Display subsystem clocks ..... | 2088 |
| 42.4.4 | Display subsystem security ..... | 2088 |
| 42.5 | Display subsystem programmable parameters ..... | 2091 |
| 42.6 | Display subsystem interrupts ..... | 2092 |
| 42.7 | Display subsystem registers ..... | 2092 |
| 43 | LCD-TFT display controller (LTDC) ..... | 2093 |
| 43.1 | LTDC introduction ..... | 2093 |
| 43.2 | LTDC main features ..... | 2093 |
| 43.3 | LTDC functional description ..... | 2094 |
| 43.3.1 | LTDC block diagram ..... | 2094 |
| 43.3.2 | LTDC pins and internal signals ..... | 2094 |
| 43.3.3 | LTDC reset and clocks ..... | 2095 |
| 43.4 | LTDC configuration parameters ..... | 2097 |
| 43.4.1 | AXI master ..... | 2097 |
| 43.4.2 | Input layer definition and cropping ..... | 2098 |
| 43.4.3 | Input pixel format ..... | 2099 |
| 43.4.4 | YUV planar ..... | 2101 |
| 43.4.5 | YUV-to-RGB color conversion ..... | 2102 |
| 43.4.6 | Horizontal or vertical mirroring ..... | 2103 |
| 43.4.7 | Default layer color ..... | 2104 |
| 43.4.8 | Color look-up table (CLUT) ..... | 2104 |
| 43.4.9 | Transparency color keying ..... | 2105 |
| 43.4.10 | Display composition - windowing ..... | 2105 |
| 43.4.11 | Display composition - blending ..... | 2106 |
| 43.4.12 | Gamma correction ..... | 2108 |
| 43.4.13 | YUV output conversion ..... | 2108 |
| 43.4.14 | Dithering ..... | 2109 |
| 43.4.15 | CRC hashing ..... | 2110 |
| 43.4.16 | Display timing ..... | 2110 |
| 43.4.17 | Output interface polarity ..... | 2112 |
| 43.4.18 | Shadow registers ..... | 2113 |
| 43.4.19 | General control ..... | 2114 |
| 43.4.20 | Hardware trigger generation ..... | 2114 |
| 43.4.21 | Provision for a secure layer ..... | 2115 |
| 43.5 | LTDC interrupts ..... | 2116 |
| 43.6 | LTDC programming procedure ..... | 2117 |
| 43.7 | LTDC registers ..... | 2118 |
| 43.7.1 | LTDC synchronization size configuration register (LTDC_SSCR) ..... | 2118 |
| 43.7.2 | LTDC back porch configuration register (LTDC_BPCR) ..... | 2118 |
| 43.7.3 | LTDC active width configuration register (LTDC_AWCR) ..... | 2119 |
| 43.7.4 | LTDC total width configuration register (LTDC_TWCR) ..... | 2120 |
| 43.7.5 | LTDC global control register (LTDC_GCR) ..... | 2120 |
| 43.7.6 | LTDC shadow reload configuration register (LTDC_SRCR) ..... | 2122 |
| 43.7.7 | LTDC gamma correction configuration register (LTDC_GCCR) ..... | 2122 |
| 43.7.8 | LTDC background color configuration register (LTDC_BCCR) ..... | 2123 |
| 43.7.9 | LTDC interrupt enable register (LTDC_IER) ..... | 2124 |
| 43.7.10 | LTDC interrupt status register (LTDC_ISR) ..... | 2125 |
| 43.7.11 | LTDC interrupt clear register (LTDC_ICR) ..... | 2125 |
| 43.7.12 | LTDC line interrupt position configuration register (LTDC_LIPCR) ..... | 2126 |
| 43.7.13 | LTDC current position status register (LTDC_CPSR) ..... | 2127 |
| 43.7.14 | LTDC current display status register (LTDC_CDSR) ..... | 2127 |
| 43.7.15 | LTDC external display control register (LTDC_EDCR) ..... | 2128 |
| 43.7.16 | LTDC interrupt enable register 2 (LTDC_IER2) ..... | 2128 |
| 43.7.17 | LTDC interrupt status register 2 (LTDC_ISR2) ..... | 2129 |
| 43.7.18 | LTDC interrupt clear register 2 (LTDC_ICR2) ..... | 2130 |
| 43.7.19 | LTDC line interrupt position configuration register 2 (LTDC_LIPCR2) ..... | 2131 |
| 43.7.20 | LTDC expected CRC register (LTDC_ECRCR) ..... | 2131 |
| 43.7.21 | LTDC computed CRC register (LTDC_CCRCR) ..... | 2132 |
| 43.7.22 | LTDC FIFO underrun threshold register (LTDC_FUTR) ..... | 2132 |
| 43.7.23 | LTDC layer x configuration 0 register (LTDC_LxC0R) . . . . . | 2133 |
| 43.7.24 | LTDC layer x configuration 1 register (LTDC_LxC1R) . . . . . | 2134 |
| 43.7.25 | LTDC layer x reload control register (LTDC_LxRCR) . . . . . | 2134 |
| 43.7.26 | LTDC layer x control register (LTDC_LxCR) . . . . . | 2135 |
| 43.7.27 | LTDC layer x window horizontal position configuration register (LTDC_LxWHPCR) . . . . . | 2136 |
| 43.7.28 | LTDC layer x window vertical position configuration register (LTDC_LxWVPCR) . . . . . | 2137 |
| 43.7.29 | LTDC layer x color keying configuration register (LTDC_LxCKCR) . . . . . | 2137 |
| 43.7.30 | LTDC layer x pixel format configuration register (LTDC_LxPFCR) . . . . . | 2138 |
| 43.7.31 | LTDC layer x constant alpha configuration register (LTDC_LxCACR) . . . . . | 2138 |
| 43.7.32 | LTDC layer x default color configuration register (LTDC_LxDCCR) . . . . . | 2139 |
| 43.7.33 | LTDC layer x blending factors configuration register (LTDC_LxBFCR) . . . . . | 2139 |
| 43.7.34 | LTDC layer x burst length configuration register (LTDC_LxBLCR) . . . . . | 2140 |
| 43.7.35 | LTDC layer x planar configuration register (LTDC_LxPCR) . . . . . | 2141 |
| 43.7.36 | LTDC layer x color frame buffer address register (LTDC_LxCFBAR) . . . . . | 2142 |
| 43.7.37 | LTDC layer x color frame buffer length register (LTDC_LxCFBLR) . . . . . | 2143 |
| 43.7.38 | LTDC layer x color frame buffer line number register (LTDC_LxCFBLNR) . . . . . | 2143 |
| 43.7.39 | LTDC layer 1 auxiliary frame buffer address 0 register (LTDC_L1AFBA0R) . . . . . | 2144 |
| 43.7.40 | LTDC layer 1 auxiliary frame buffer address 1 register (LTDC_L1AFBA1R) . . . . . | 2144 |
| 43.7.41 | LTDC layer 1 auxiliary frame buffer length register (LTDC_L1AFBLR) . . . . . | 2145 |
| 43.7.42 | LTDC layer 1 auxiliary frame buffer line number register (LTDC_L1AFBLNR) . . . . . | 2145 |
| 43.7.43 | LTDC layer x CLUT write register (LTDC_LxCLUTWR) . . . . . | 2146 |
| 43.7.44 | LTDC layer x conversion YCbCr RGB 0 register (LTDC_LxCYR0R) . | 2146 |
| 43.7.45 | LTDC layer x conversion YCbCr RGB 1 register (LTDC_LxCYR1R) . | 2147 |
| 43.7.46 | LTDC layer x flexible pixel format 0 register (LTDC_LxFPF0R) . . . . . | 2147 |
| 43.7.47 | LTDC layer x flexible pixel format 1 register (LTDC_LxFPF1R) . . . . . | 2148 |
| 43.7.48 | LTDC register map . . . . . | 2148 |
| 44 | Neo-Chrom graphic processor (GPU2D) . . . . . | 2153 |
| 44.1 | GPU2D introduction . . . . . | 2153 |
| 44.2 | GPU2D main features . . . . . | 2153 |
| 44.3 | GPU2D general description . . . . . | 2154 |
| 44.3.1 | GPU2D block diagram . . . . . | 2154 |
| 44.3.2 | GPU2D pins and internal signals . . . . . | 2154 |
| 45 | Video encoder (VENC) . . . . . | 2156 |
| 45.1 | VENC introduction . . . . . | 2156 |
| 45.2 | VENC main features . . . . . | 2156 |
| 45.3 | VENC implementation . . . . . | 2156 |
| 45.4 | VENC functional description . . . . . | 2157 |
| 45.4.1 | VENC block diagram . . . . . | 2157 |
| 45.4.2 | VENC pins and internal signals . . . . . | 2157 |
| 45.4.3 | VENC reset and clocks . . . . . | 2158 |
| 45.4.4 | VENC pre-processor . . . . . | 2158 |
| 45.4.5 | VENC H264 encoder . . . . . | 2158 |
| 45.4.6 | VENC JPEG encoder . . . . . | 2159 |
| 45.4.7 | VENC synchronization . . . . . | 2159 |
| 45.4.8 | VENC security . . . . . | 2160 |
| 45.4.9 | VENC power-on sequence . . . . . | 2160 |
| 45.4.10 | VENCRAM power-on sequence for AXI access . . . . . | 2161 |
| 45.5 | VENC low power modes . . . . . | 2161 |
| 45.6 | VENC interrupts . . . . . | 2161 |
| 45.7 | VENC registers . . . . . | 2161 |
| 45.7.1 | VENC ID register (VENC_SWREG0) . . . . . | 2161 |
| 45.7.2 | VENC interrupt register (VENC_SWREG1) . . . . . | 2162 |
| 45.7.3 | VENC bus interface configuration register (VENC_SWREG2) . . . . . | 2162 |
| 45.7.4 | VENC device configuration register (VENC_SWREG3) . . . . . | 2162 |
| 45.7.5 | VENC base address for output stream data register (VENC_SWREG5) . . . . . | 2163 |
| 45.7.6 | VENC base address for output control data register (VENC_SWREG6) . . . . . | 2163 |
| 45.7.7 | VENC base address for reference luma register (VENC_SWREG7) . . . . . | 2163 |
| 45.7.8 | VENC base address for reference chroma register (VENC_SWREG8) . . . . . | 2164 |
| 45.7.9 | VENC base address for reconstructed luma register (VENC_SWREG9) ..... | 2164 |
| 45.7.10 | VENC base address for reconstructed chroma register (VENC_SWREG10) ..... | 2164 |
| 45.7.11 | VENC base address for input picture luma register (VENC_SWREG11) ..... | 2165 |
| 45.7.12 | VENC base address for input picture cb register (VENC_SWREG12) ..... | 2165 |
| 45.7.13 | VENC base address for input picture cr register (VENC_SWREG13) ..... | 2165 |
| 45.7.14 | VENC encoder control register 0 (VENC_SWREG14) ..... | 2166 |
| 45.7.15 | VENC encoder control register 1 (VENC_SWREG15) ..... | 2166 |
| 45.7.16 | VENC encoder control register 2 (VENC_SWREG16) ..... | 2166 |
| 45.7.17 | VENC encoder control register 3 (VENC_SWREG17) ..... | 2167 |
| 45.7.18 | VENC encoder control register 4 (VENC_SWREG18) ..... | 2167 |
| 45.7.19 | VENC encoder control register 5 (VENC_SWREG19) ..... | 2167 |
| 45.7.20 | VENC encoder control register 6 (VENC_SWREG20) ..... | 2168 |
| 45.7.21 | VENC encoder control register 7 (VENC_SWREG21) ..... | 2168 |
| 45.7.22 | VENC stream header remainder MSB bits register (VENC_SWREG22) ..... | 2168 |
| 45.7.23 | VENC stream header remainder LSB bits register (VENC_SWREG23) ..... | 2169 |
| 45.7.24 | VENC stream buffer limit/output stream size register (VENC_SWREG24) ..... | 2169 |
| 45.7.25 | VENC encoder control register 8 (VENC_SWREG25) ..... | 2169 |
| 45.7.26 | VENC intra-slice bitmap register (VENC_SWREG26) ..... | 2170 |
| 45.7.27 | VENC encoder control register 9 (VENC_SWREG27) ..... | 2170 |
| 45.7.28 | VENC encoder control register 10 (VENC_SWREG28) ..... | 2170 |
| 45.7.29 | VENC encoder control register 11 (VENC_SWREG29) ..... | 2171 |
| 45.7.30 | VENC encoder control register 12 (VENC_SWREG30) ..... | 2171 |
| 45.7.31 | VENC encoder control register 13 (VENC_SWREG31) ..... | 2171 |
| 45.7.32 | VENC encoder control register 14 (VENC_SWREG32) ..... | 2172 |
| 45.7.33 | VENC encoder control register 15 (VENC_SWREG33) ..... | 2172 |
| 45.7.34 | VENC encoder control register 16 (VENC_SWREG34) ..... | 2172 |
| 45.7.35 | VENC H.264 checkpoint word error 5-6/encoder control register 17 (VENC_SWREG35) ..... | 2173 |
| 45.7.36 | VENC H.264 checkpoint delta QP 1-8/encoder control register 18 (VENC_SWREG36) ..... | 2173 |
| 45.7.37 | VENC encoder control register 19, stream start offset (VENC_SWREG37) ..... | 2173 |
| 45.7.38 | VENC macroblock count output register (VENC_SWREG38) . . . . . | 2174 |
| 45.7.39 | VENC base address for next pic luminance register (VENC_SWREG39) . . . . . | 2174 |
| 45.7.40 | VENC stabilization mode control register (VENC_SWREG40) . . . . . | 2174 |
| 45.7.41 | VENC stabilization motion sum div8 output register (VENC_SWREG41) . . . . . | 2175 |
| 45.7.42 | VENC stabilization GMV output, matrix 1, up-left position output register (VENC_SWREG42) . . . . . | 2175 |
| 45.7.43 | VENC stabilization GMV output, matrix 2, up position output register (VENC_SWREG43) . . . . . | 2175 |
| 45.7.44 | VENC stabilization matrix 3, up-right position output register (VENC_SWREG44) . . . . . | 2176 |
| 45.7.45 | VENC stabilization matrix 4, left position output register (VENC_SWREG45) . . . . . | 2176 |
| 45.7.46 | VENC stabilization matrix 5, GMV position output register (VENC_SWREG46) . . . . . | 2176 |
| 45.7.47 | VENC stabilization matrix 6, right position output register (VENC_SWREG47) . . . . . | 2177 |
| 45.7.48 | VENC stabilization matrix 7, down-left position output register (VENC_SWREG48) . . . . . | 2177 |
| 45.7.49 | VENC stabilization matrix 8, down position output register (VENC_SWREG49) . . . . . | 2177 |
| 45.7.50 | VENC stabilization matrix 9, down-right position output register (VENC_SWREG50) . . . . . | 2178 |
| 45.7.51 | VENC base address for cabac context tables H264 register (VENC_SWREG51) . . . . . | 2178 |
| 45.7.52 | VENC base address for MV output writing register (VENC_SWREG52) . . . . . | 2178 |
| 45.7.53 | VENC RGB to YUV conversion coefficient A - B register (VENC_SWREG53) . . . . . | 2179 |
| 45.7.54 | VENC RGB to YUV conversion coefficient C - E register (VENC_SWREG54) . . . . . | 2179 |
| 45.7.55 | VENC RGB to YUV conversion coefficient F, RGB mask MSB bit position register (VENC_SWREG55) . . . . . | 2179 |
| 45.7.56 | VENC intra area register (VENC_SWREG56) . . . . . | 2180 |
| 45.7.57 | VENC CIR intra mb position register (VENC_SWREG57) . . . . . | 2180 |
| 45.7.58 | VENC intra slice bitmap for slices 0..31/base address for 1st DCT partition register (VENC_SWREG58) . . . . . | 2180 |
| 45.7.59 | VENC intra slice bitmap for slices 32..63/base address for 2nd DCT partition register (VENC_SWREG59) . . . . . | 2181 |
| 45.7.60 | VENC 1st ROI area register (VENC_SWREG60) . . . . . | 2181 |
| 45.7.61 | VENC 2nd ROI area register (VENC_SWREG61) . . . . . | 2181 |
| 45.7.62 | VENC ROI area delta QP, MV register (VENC_SWREG62) ..... | 2182 |
| 45.7.63 | VENC synthesis configuration register encoder 0 register (VENC_SWREG63) ..... | 2182 |
| 45.7.64 | VENC JPEG luma quantization 1/intra 16x16 mode 0-1 penalty register (VENC_SWREG64) ..... | 2182 |
| 45.7.65 | VENC JPEG luma quantization 2/intra 16x16 mode 2-3 penalty register (VENC_SWREG65) ..... | 2183 |
| 45.7.66 | VENC JPEG luma quantization 3/intra 4x4 mode 0-1 penalty register (VENC_SWREG66) ..... | 2183 |
| 45.7.67 | VENC JPEG luma quantization 4/intra 4x4 mode 2-3 penalty register (VENC_SWREG67) ..... | 2183 |
| 45.7.68 | VENC JPEG luma quantization 5/intra 4x4 mode 4-5 penalty register (VENC_SWREG68) ..... | 2184 |
| 45.7.69 | VENC JPEG luma quantization 6/intra 4x4 mode 6-7 penalty register (VENC_SWREG69) ..... | 2184 |
| 45.7.70 | VENC JPEG luma quantization 7/intra 4x4 mode 8-9 penalty register (VENC_SWREG70) ..... | 2184 |
| 45.7.71 | VENC JPEG luma quantization 8/base address for segmentation map register (VENC_SWREG71) ..... | 2185 |
| 45.7.72 | VENC JPEG luma quantization 9/segment1 parameter register (VENC_SWREG72) ..... | 2185 |
| 45.7.73 | VENC JPEG luma quantization 10/segment1 parameter register (VENC_SWREG73) ..... | 2185 |
| 45.7.74 | VENC JPEG luma quantization 11/segment1 parameter register (VENC_SWREG74) ..... | 2186 |
| 45.7.75 | VENC JPEG luma quantization 12/segment1 parameter register (VENC_SWREG75) ..... | 2186 |
| 45.7.76 | VENC JPEG luma quantization 13/segment1 parameter register (VENC_SWREG76) ..... | 2186 |
| 45.7.77 | VENC JPEG luma quantization 14/segment1 parameter register (VENC_SWREG77) ..... | 2187 |
| 45.7.78 | VENC JPEG luma quantization 15/segment1 parameter register (VENC_SWREG78) ..... | 2187 |
| 45.7.79 | VENC JPEG luma quantization 16/segment2 parameter register (VENC_SWREG79) ..... | 2187 |
| 45.7.80 | VENC JPEG chroma quantization 1/segment2 parameter register (VENC_SWREG80) ..... | 2188 |
| 45.7.81 | VENC JPEG chroma quantization 2/segment2 parameter register (VENC_SWREG81) ..... | 2188 |
| 45.7.82 | VENC JPEG chroma quantization 3/segment2 parameter register (VENC_SWREG82) ..... | 2188 |
| 45.7.83 | VENC JPEG chroma quantization 4/segment2 parameter register (VENC_SWREG83) ..... | 2189 |
| 45.7.84 | VENC JPEG chroma quantization 5/segment2 parameter register (VENC_SWREG84) ..... | 2189 |
| 45.7.85 | VENC JPEG chroma quantization 6/segment2 parameter register (VENC_SWREG85) ..... | 2189 |
| 45.7.86 | VENC JPEG chroma quantization 7/segment2 parameter register (VENC_SWREG86) ..... | 2190 |
| 45.7.87 | VENC JPEG chroma quantization 8/segment2 parameter register (VENC_SWREG87) ..... | 2190 |
| 45.7.88 | VENC JPEG chroma quantization 9/segment3 parameter register (VENC_SWREG88) ..... | 2190 |
| 45.7.89 | VENC JPEG chroma quantization 10/segment3 parameter register (VENC_SWREG89) ..... | 2191 |
| 45.7.90 | VENC JPEG chroma quantization 11/segment3 parameter register (VENC_SWREG90) ..... | 2191 |
| 45.7.91 | VENC JPEG chroma quantization 12/segment3 parameter register (VENC_SWREG91) ..... | 2191 |
| 45.7.92 | VENC JPEG chroma quantization 13/segment3 parameter register (VENC_SWREG92) ..... | 2192 |
| 45.7.93 | VENC JPEG chroma quantization 14/segment3 parameter register (VENC_SWREG93) ..... | 2192 |
| 45.7.94 | VENC JPEG chroma quantization 15/segment3 parameter register (VENC_SWREG94) ..... | 2192 |
| 45.7.95 | VENC JPEG chroma quantization 16/segment3 parameter register (VENC_SWREG95) ..... | 2193 |
| 45.7.96 | VENC DMV 4p/1p penalty values 0-3 register (VENC_SWREG96) .. | 2193 |
| 45.7.97 | VENC DMV 4p/1p penalty values 4-7 register (VENC_SWREG97) .. | 2193 |
| 45.7.98 | VENC DMV 4p/1p penalty values register (VENC_SWREGx) .... | 2194 |
| 45.7.99 | VENC DMV 4p/1p penalty values 124-127 register (VENC_SWREG127) ..... | 2194 |
| 45.7.100 | VENC DMV qpel penalty values 0-3 register (VENC_SWREG128) ..... | 2194 |
| 45.7.101 | VENC DMV qpel penalty values 4-7 register (VENC_SWREG129) ..... | 2195 |
| 45.7.102 | VENC DMV qpel penalty values register (VENC_SWREGx) .... | 2195 |
| 45.7.103 | VENC DMV qpel penalty values 124-127 register (VENC_SWREG159) ..... | 2195 |
| 45.7.104 | VENC base address for output of down-scaled encoder image in YUYV 4:2:2 format register (VENC_SWREG231) ..... | 2196 |
| 45.7.105 | VENC scaling control register (VENC_SWREGx) ..... | 2196 |
| 45.7.106 | VENC squared error output calculated for 13x13 pixels per macroblock register (VENC_SWREG236) ..... | 2196 |
| 45.7.107 | VENC MAD 2 control and output register (VENC_SWREG237) .... | 2197 |
| 45.7.108 | VENC MAD 3 control and output register (VENC_SWREG238) . . . . | 2197 |
| 45.7.109 | VENC segment 1: intra 16x16 mode 0-2 penalty register (VENC_SWREG256) . . . . . | 2197 |
| 45.7.110 | VENC segment 1: intra 16x16 mode 3, intra 4x4 0-1 penalty register (VENC_SWREG257) . . . . . | 2198 |
| 45.7.111 | VENC segment 1: intra 4x4 mode 2-4 penalty register (VENC_SWREG258) . . . . . | 2198 |
| 45.7.112 | VENC segment 1: intra 4x4 mode 5-7 penalty register (VENC_SWREG259) . . . . . | 2198 |
| 45.7.113 | VENC segment 1: intra 4x4 mode 8-9 penalty, previous mode favor for H.264 register (VENC_SWREG260) . . . . . | 2199 |
| 45.7.114 | VENC segment 1: bit cost of inter type, intra 16x16 mode favor register (VENC_SWREG261) . . . . . | 2199 |
| 45.7.115 | VENC segment 1: inter MB mode favor, skip mode penalty, penalty value for 2nd reference frame register (VENC_SWREG262) . . . . . | 2199 |
| 45.7.116 | VENC segment 1: penalty value register (VENC_SWREGx) . . . . . | 2200 |
| 45.7.117 | VENC segment 1: deadzone rate multiplier for plane 0-1 register (VENC_SWREG265) . . . . . | 2200 |
| 45.7.118 | VENC segment 1: deadzone rate multiplier for plane 2-3 register (VENC_SWREG266) . . . . . | 2200 |
| 45.7.119 | VENC segment 1: deadzone rate for macroblock skip token 0-1, dmv penalty coefficient register (VENC_SWREG267) . . . . . | 2201 |
| 45.7.120 | VENC segment 2: intra 16x16 mode 0-2 penalty register (VENC_SWREG268) . . . . . | 2201 |
| 45.7.121 | VENC segment 2: intra 16x16 mode 3 penalty, intra 4x4 mode 0-1 penalty register (VENC_SWREG269) . . . . . | 2201 |
| 45.7.122 | VENC segment 2: intra 4x4 mode 2-4 penalty register (VENC_SWREG270) . . . . . | 2202 |
| 45.7.123 | VENC segment 2: intra 4x4 mode 5-7 penalty register (VENC_SWREG271) . . . . . | 2202 |
| 45.7.124 | VENC segment 2: intra 4x4 mode 8-9 penalty, intra 4x4 previous mode favor for H.264 register (VENC_SWREG272) . . . . . | 2202 |
| 45.7.125 | VENC segment 2: bit cost of inter type, intra 16x16 mode favor register (VENC_SWREG273) . . . . . | 2203 |
| 45.7.126 | VENC segment 2: inter MB mode favor, skip mode penalty, penalty value register (VENC_SWREG274) . . . . . | 2203 |
| 45.7.127 | VENC segment 2: penalty value register (VENC_SWREGx) . . . . . | 2203 |
| 45.7.128 | VENC segment 2: deadzone rate multiplier for plane 0-1 register (VENC_SWREG277) . . . . . | 2204 |
| 45.7.129 | VENC segment 2: deadzone rate multiplier for plane 2-3 register (VENC_SWREG278) . . . . . | 2204 |
| 45.7.130 | VENC segment 2: deadzone rate for macroblock skip token 0-1, dmv penalty coefficient register (VENC_SWREG279) . . . . . | 2204 |
| 45.7.131 VENC segment 3: intra 16x16 mode 0-2 penalty register (VENC_SWREG280) ..... | 2205 |
| 45.7.132 VENC segment 3: intra 16x16 mode 3 penalty, intra 4x4 mode 0-1 penalty register (VENC_SWREG281) ..... | 2205 |
| 45.7.133 VENC segment 3: intra 4x4 mode 2-4 penalty register (VENC_SWREG282) ..... | 2205 |
| 45.7.134 VENC segment 3: intra 4x4 mode 5-7 penalty register (VENC_SWREG283) ..... | 2206 |
| 45.7.135 VENC segment 3: intra 4x4 mode 8-9 penalty, intra 4x4 previous mode favor for H.264 register (VENC_SWREG284) ..... | 2206 |
| 45.7.136 VENC segment 3: bit cost of inter type, intra 16x16 mode favor register (VENC_SWREG285) ..... | 2206 |
| 45.7.137 VENC segment 3: inter MB mode favor in intra/inter selection, inter MB mode favor, penalty value for second reference frame register (VENC_SWREG286) ..... | 2207 |
| 45.7.138 VENC segment 3: penalty value register (VENC_SWREGx) ..... | 2207 |
| 45.7.139 VENC segment 3: deadzone rate multiplier for plane 0-1 register (VENC_SWREG289) ..... | 2207 |
| 45.7.140 VENC segment 3: deadzone rate multiplier for plane 2-3 register (VENC_SWREG290) ..... | 2208 |
| 45.7.141 VENC segment 3: deadzone rate for macroblock skip token 0-1, dmv penalty coefficient register (VENC_SWREG291) ..... | 2208 |
| 45.7.142 VENC Mb boost register (VENC_SWREG294) ..... | 2208 |
| 45.7.143 VENC variance control, Pskop condng mode register (VENC_SWREG295) ..... | 2209 |
| 45.7.144 VENC synthesis configuration register encoder 1 read only register (VENC_SWREG296) ..... | 2209 |
| 45.7.145 VENC MBRC control register (VENC_SWREG297) ..... | 2209 |
| 45.7.146 VENC segment 4: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG298) ..... | 2210 |
| 45.7.147 VENC segment 4: skip mode penalty, inter MB mode favor register (VENC_SWREG299) ..... | 2210 |
| 45.7.148 VENC segment 4: penalty value register (VENC_SWREGx) ..... | 2210 |
| 45.7.149 VENC segment 5: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG302) ..... | 2211 |
| 45.7.150 VENC segment 5: skip mode penalty, inter MB mode favor register (VENC_SWREG303) ..... | 2211 |
| 45.7.151 VENC segment 5: penalty value register (VENC_SWREGx) ..... | 2211 |
| 45.7.152 VENC segment 6: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG306) ..... | 2212 |
| 45.7.153 VENC segment 6: skip mode penalty, inter MB mode favor register (VENC_SWREG307) ..... | 2212 |
| 45.7.154 VENC segment 6: penalty value register (VENC_SWREGx) ..... | 2212 |
| 45.7.155 VENC segment 7: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG310) ..... | 2213 |
| 45.7.156 VENC segment 7: skip mode penalty, inter MB mode favor register (VENC_SWREG311) ..... | 2213 |
| 45.7.157 VENC segment 7: penalty value register (VENC_SWREGx) ..... | 2213 |
| 45.7.158 VENC segment 8: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG314) ..... | 2214 |
| 45.7.159 VENC segment 8: skip mode penalty, inter MB mode favor register (VENC_SWREG315) ..... | 2214 |
| 45.7.160 VENC segment 8: penalty value register (VENC_SWREGx) ..... | 2214 |
| 45.7.161 VENC segment 9: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG318) ..... | 2215 |
| 45.7.162 VENC segment 9: skip mode penalty, inter MB mode favor register (VENC_SWREG319) ..... | 2215 |
| 45.7.163 VENC segment 9: penalty value register (VENC_SWREGx) ..... | 2215 |
| 45.7.164 VENC segment 10: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG322) ..... | 2216 |
| 45.7.165 VENC segment 10: skip mode penalty, inter MB mode favor register (VENC_SWREG323) ..... | 2216 |
| 45.7.166 VENC segment 10: penalty value register (VENC_SWREGx) ..... | 2216 |
| 45.7.167 VENC segment 11: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG326) ..... | 2217 |
| 45.7.168 VENC segment 11: skip mode penalty, inter MB mode favor register (VENC_SWREG327) ..... | 2217 |
| 45.7.169 VENC segment 11: penalty value register (VENC_SWREGx) ..... | 2217 |
| 45.7.170 VENC segment 12: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG330) ..... | 2218 |
| 45.7.171 VENC segment 12: skip mode penalty, inter MB mode favor register (VENC_SWREG331) ..... | 2218 |
| 45.7.172 VENC segment 12: penalty value register (VENC_SWREGx) ..... | 2218 |
| 45.7.173 VENC segment 13: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG334) ..... | 2219 |
| 45.7.174 VENC segment 13: skip mode penalty, inter MB mode favor register (VENC_SWREG335) ..... | 2219 |
| 45.7.175 VENC segment 13: penalty value register (VENC_SWREGx) ..... | 2219 |
| 45.7.176 VENC segment 14: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG338) ..... | 2220 |
| 45.7.177 VENC segment 14: skip mode penalty, inter MB mode favor register (VENC_SWREG339) ..... | 2220 |
| 45.7.178 VENC segment 14: penalty value register (VENC_SWREGx) ..... | 2220 |
| 45.7.179 VENC segment 15: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG342) ..... | 2221 |
| 45.7.180 VENC segment 15: skip mode penalty, inter MB mode favor register (VENC_SWREG343) ..... | 2221 |
| 45.7.181 VENC segment 15: penalty value register (VENC_SWREGx) ..... | 2221 |
| 45.7.182 VENC segment 16: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG346) ..... | 2222 |
| 45.7.183 VENC segment 16: skip mode penalty, inter MB mode favor register (VENC_SWREG347) ..... | 2222 |
| 45.7.184 VENC segment 16: penalty value register (VENC_SWREGx) ..... | 2222 |
| 45.7.185 VENC segment 17: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG350) ..... | 2223 |
| 45.7.186 VENC segment 17: skip mode penalty, inter MB mode favor register (VENC_SWREG351) ..... | 2223 |
| 45.7.187 VENC segment 17: penalty value register (VENC_SWREGx) ..... | 2223 |
| 45.7.188 VENC segment 18: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG354) ..... | 2224 |
| 45.7.189 VENC segment 18: skip mode penalty, inter MB mode favor register (VENC_SWREG355) ..... | 2224 |
| 45.7.190 VENC segment 18: penalty value register (VENC_SWREGx) ..... | 2224 |
| 45.7.191 VENC segment 19: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG358) ..... | 2225 |
| 45.7.192 VENC segment 19: skip mode penalty, inter MB mode favor register (VENC_SWREG359) ..... | 2225 |
| 45.7.193 VENC segment 19: penalty value register (VENC_SWREGx) ..... | 2225 |
| 45.7.194 VENC segment 20: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG362) ..... | 2226 |
| 45.7.195 VENC segment 20: skip mode penalty, inter MB mode favor register (VENC_SWREG363) ..... | 2226 |
| 45.7.196 VENC segment 20: penalty value register (VENC_SWREGx) ..... | 2226 |
| 45.7.197 VENC segment 21: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG366) ..... | 2227 |
| 45.7.198 VENC segment 21: skip mode penalty, inter MB mode favor register (VENC_SWREG367) ..... | 2227 |
| 45.7.199 VENC segment 21: penalty value register (VENC_SWREGx) ..... | 2227 |
| 45.7.200 VENC segment 22: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG370) ..... | 2228 |
| 45.7.201 VENC segment 22: skip mode penalty, inter MB mode favor register (VENC_SWREG371) ..... | 2228 |
| 45.7.202 VENC segment 22: penalty value register (VENC_SWREGx) ..... | 2228 |
| 45.7.203 VENC segment 23: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG374) ..... | 2229 |
| 45.7.204 VENC segment 23: skip mode penalty, inter MB mode favor register (VENC_SWREG375) ..... | 2229 |
| 45.7.205 VENC segment 23: penalty value register (VENC_SWREGx) ..... | 2229 |
| 45.7.206 VENC segment 24: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG378) ..... | 2230 |
| 45.7.207 VENC segment 24: skip mode penalty, inter MB mode favor register (VENC_SWREG379) ..... | 2230 |
| 45.7.208 VENC segment 24: penalty value register (VENC_SWREGx) ..... | 2230 |
| 45.7.209 VENC segment 25: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG382) ..... | 2231 |
| 45.7.210 VENC segment 25: skip mode penalty, inter MB mode favor register (VENC_SWREG383) ..... | 2231 |
| 45.7.211 VENC segment 25: penalty value register (VENC_SWREGx) ..... | 2231 |
| 45.7.212 VENC segment 26: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG386) ..... | 2232 |
| 45.7.213 VENC segment 26: skip mode penalty, inter MB mode favor register (VENC_SWREG387) ..... | 2232 |
| 45.7.214 VENC segment 26: penalty value register (VENC_SWREGx) ..... | 2232 |
| 45.7.215 VENC segment 27: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG390) ..... | 2233 |
| 45.7.216 VENC segment 27: skip mode penalty, inter MB mode favor register (VENC_SWREG391) ..... | 2233 |
| 45.7.217 VENC segment 27: penalty value register (VENC_SWREGx) ..... | 2233 |
| 45.7.218 VENC segment 28: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG394) ..... | 2234 |
| 45.7.219 VENC segment 28: skip mode penalty, inter MB mode favor register (VENC_SWREG395) ..... | 2234 |
| 45.7.220 VENC segment 28: penalty value register (VENC_SWREGx) ..... | 2234 |
| 45.7.221 VENC segment 29: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG398) ..... | 2235 |
| 45.7.222 VENC segment 29: skip mode penalty, inter MB mode favor register (VENC_SWREG399) ..... | 2235 |
| 45.7.223 VENC segment 29: penalty value register (VENC_SWREGx) ..... | 2235 |
| 45.7.224 VENC segment 30: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG402) ..... | 2236 |
| 45.7.225 VENC segment 30: skip mode penalty, inter MB mode favor register (VENC_SWREG403) ..... | 2236 |
| 45.7.226 VENC segment 30: penalty value register (VENC_SWREGx) ..... | 2236 |
| 45.7.227 VENC segment 31: intra 4x4 previous mode favor, intra 16x16 mode favor, penalty value for second reference frame register (VENC_SWREG406) ..... | 2237 |
| 45.7.228 VENC segment 31: skip mode penalty, inter MB mode favor register (VENC_SWREG407) ..... | 2237 |
| 45.7.229 VENC segment 31: penalty value register (VENC_SWREGx) ..... | 2237 |
| 45.7.230 VENC MBRC control, QP, offset, enable register (VENC_SWREG410) ..... | 2238 |
| 45.7.231 VENC gain of MB QP delta. 8.8 format register (VENC_SWREG411) ..... | 2238 |
| 45.7.232 VENC average of MB complexity register (VENC_SWREG412) ... | 2238 |
| 45.7.233 VENC reference compression control register (VENC_SWREG413) ..... | 2239 |
| 45.7.234 VENC base address for reference luma register (VENC_SWREG414) ..... | 2239 |
| 45.7.235 VENC base address for reference chroma register (VENC_SWREG415) ..... | 2239 |
| 45.7.236 VENC base address for reconstructed luma register (VENC_SWREG416) ..... | 2240 |
| 45.7.237 VENC base address for reconstructed chroma register (VENC_SWREG417) ..... | 2240 |
| 45.7.238 VENC base address for second reference luma register (VENC_SWREG418) ..... | 2240 |
| 45.7.239 VENC base address for second reference chroma register (VENC_SWREG419) ..... | 2241 |
| 45.7.240 VENC limit of chroma RFC buffer register (VENC_SWREG420) ..... | 2241 |
| 45.7.241 VENC reorder control register (VENC_SWREG421) ..... | 2241 |
| 45.7.242 VENC AXI read ID register (VENC_SWREG422) ..... | 2242 |
| 45.7.243 VENC base address MSB for reference luma compression table register (VENC_SWREG423) ..... | 2242 |
| 45.7.244 VENC base address MSB for reference chroma compression table register (VENC_SWREG424) ..... | 2242 |
| 45.7.245 VENC base address MSB for reconstructed luma compression table register (VENC_SWREG425) ..... | 2243 |
| 45.7.246 VENC base address for reconstructed chroma compression table register (VENC_SWREG426) ..... | 2243 |
| 45.7.247 VENC base address MSB for second reference luma compression table register (VENC_SWREG427) ..... | 2243 |
| 45.7.248 VENC base address MSB for second reference chroma compression table register (VENC_SWREG428) ..... | 2244 |
| 45.7.249 VENC high 32 bits of base address for output stream data register (VENC_SWREG429) ..... | 2244 |
| 45.7.250 VENC high 32 bits of base address for output control data register (VENC_SWREG430) ..... | 2244 |
| 45.7.251 VENC high 32 bits of base address for reference luma register (VENC_SWREG431) ..... | 2245 |
| 45.7.252 VENC high 32 bits of base address for reference chroma register (VENC_SWREG432) ..... | 2245 |
| 45.7.253 VENC high 32 bits of base address for reconstructed luma register (VENC_SWREG433) ..... | 2245 |
| 45.7.254 VENC high 32 bits of base address for reconstructed chroma register (VENC_SWREG434) ..... | 2246 |
| 45.7.255 VENC high 32 bits of base address for input picture luma register (VENC_SWREG435) ..... | 2246 |
| 45.7.256 VENC high 32 bits of base address for input picture cb register (VENC_SWREG436) ..... | 2246 |
| 45.7.257 VENC high 32 bits of base address for input picture cr register (VENC_SWREG437) ..... | 2247 |
| 45.7.258 VENC high 32 bits of base address for second reference luma register (VENC_SWREG438) ..... | 2247 |
| 45.7.259 VENC high 32 bits of base address for second reference chroma register (VENC_SWREG439) ..... | 2247 |
| 45.7.260 | VENC high 32 bits of H264 secondary ref pic base register (VENC_SWREGx) ..... | 2248 |
| 45.7.261 | VENC high 32 bits of base address for next pic luminance register (VENC_SWREG442) ..... | 2248 |
| 45.7.262 | VENC high 32 bits of base address for cabac context tables H264 register (VENC_SWREG443) ..... | 2248 |
| 45.7.263 | VENC high 32 bits of base address for MV output writing register (VENC_SWREG444) ..... | 2249 |
| 45.7.264 | VENC high 32 bits of base address for output of down-scaled encoder image in YUYV 4:2:2 format register (VENC_SWREG449) ..... | 2249 |
| 45.7.265 | VENC low-latency control register (VENC_SWREG497) ..... | 2249 |
| 45.7.266 | VENC encoder line buffer offset register (VENC_SWREG498) ..... | 2250 |
| 45.7.267 | VENC register map ..... | 2250 |
| 46 | JPEG codec (JPEG) ..... | 2264 |
| 46.1 | JPEG introduction ..... | 2264 |
| 46.2 | JPEG codec main features ..... | 2264 |
| 46.3 | JPEG codec block functional description ..... | 2265 |
| 46.3.1 | General description ..... | 2265 |
| 46.3.2 | JPEG internal signals ..... | 2265 |
| 46.3.3 | JPEG decoding procedure ..... | 2266 |
| 46.3.4 | JPEG encoding procedure ..... | 2268 |
| 46.4 | JPEG codec interrupts ..... | 2271 |
| 46.5 | JPEG codec registers ..... | 2271 |
| 46.5.1 | JPEG codec control register (JPEG_CONFR0) ..... | 2271 |
| 46.5.2 | JPEG codec configuration register 1 (JPEG_CONFR1) ..... | 2272 |
| 46.5.3 | JPEG codec configuration register 2 (JPEG_CONFR2) ..... | 2273 |
| 46.5.4 | JPEG codec configuration register 3 (JPEG_CONFR3) ..... | 2273 |
| 46.5.5 | JPEG codec configuration register x (JPEG_CONFRx) ..... | 2274 |
| 46.5.6 | JPEG control register (JPEG_CR) ..... | 2275 |
| 46.5.7 | JPEG status register (JPEG_SR) ..... | 2276 |
| 46.5.8 | JPEG clear flag register (JPEG_CFR) ..... | 2277 |
| 46.5.9 | JPEG data input register (JPEG_DIR) ..... | 2278 |
| 46.5.10 | JPEG data output register (JPEG_DOR) ..... | 2278 |
| 46.5.11 | JPEG quantization memory x (JPEG_QMEMx_y) ..... | 2279 |
| 46.5.12 | JPEG Huffman min (JPEG_HUFFMINx_y) ..... | 2279 |
| 46.5.13 | JPEG Huffman min x (JPEG_HUFFMINx_y) ..... | 2280 |
| 46.5.14 | JPEG Huffman base (JPEG_HUFFBASEx) ..... | 2280 |
| 46.5.15 | JPEG Huffman symbol (JPEG_HUFFSYMBx) ..... | 2281 |
| 46.5.16 | JPEG DHT memory (JPEG_DHTMEMx) ..... | 2282 |
| 46.5.17 | JPEG Huffman encoder ACx (JPEG_HUFFENC_ACx_y) ..... | 2282 |
| 46.5.18 | JPEG Huffman encoder DCx (JPEG_HUFFENC_DCx_y) ..... | 2283 |
| 46.5.19 | JPEG codec register map ..... | 2284 |
| 47 | True random number generator (RNG) ..... | 2286 |
| 47.1 | RNG introduction ..... | 2286 |
| 47.2 | RNG main features ..... | 2286 |
| 47.3 | RNG functional description ..... | 2287 |
| 47.3.1 | RNG block diagram ..... | 2287 |
| 47.3.2 | RNG internal signals ..... | 2287 |
| 47.3.3 | Random number generation ..... | 2287 |
| 47.3.4 | RNG initialization ..... | 2290 |
| 47.3.5 | RNG operation ..... | 2291 |
| 47.3.6 | RNG clocking ..... | 2293 |
| 47.3.7 | Error management ..... | 2293 |
| 47.3.8 | RNG low-power use ..... | 2294 |
| 47.4 | RNG interrupts ..... | 2295 |
| 47.5 | RNG processing time ..... | 2295 |
| 47.6 | RNG entropy source validation ..... | 2296 |
| 47.6.1 | Introduction ..... | 2296 |
| 47.6.2 | Validation conditions ..... | 2296 |
| 47.7 | RNG registers ..... | 2297 |
| 47.7.1 | RNG control register (RNG_CR) ..... | 2297 |
| 47.7.2 | RNG status register (RNG_SR) ..... | 2299 |
| 47.7.3 | RNG data register (RNG_DR) ..... | 2300 |
| 47.7.4 | RNG noise source control register (RNG_NSCR) ..... | 2301 |
| 47.7.5 | RNG health test control register (RNG_HTCR) ..... | 2302 |
| 47.7.6 | RNG register map ..... | 2302 |
| 48 | Secure AES coprocessor (SAES) ..... | 2303 |
| 48.1 | SAES introduction ..... | 2303 |
| 48.2 | SAES main features ..... | 2303 |
| 48.3 | SAES implementation ..... | 2304 |
| 48.4 | SAES functional description ..... | 2304 |
| 48.4.1 | SAES block diagram ..... | 2304 |
| 48.4.2 | SAES internal signals ..... | 2305 |
| 48.4.3 | SAES reset and clocks ..... | 2306 |
| 48.4.4 | SAES symmetric cipher implementation ..... | 2306 |
| 48.4.5 | SAES encryption or decryption typical usage ..... | 2307 |
| 48.4.6 | SAES authenticated encryption, decryption, and cipher-based message authentication ..... | 2309 |
| 48.4.7 | SAES ciphertext stealing and data padding ..... | 2310 |
| 48.4.8 | SAES suspend and resume operations ..... | 2310 |
| 48.4.9 | SAES basic chaining modes (ECB, CBC) ..... | 2311 |
| 48.4.10 | SAES counter (CTR) mode ..... | 2315 |
| 48.4.11 | SAES Galois/counter mode (GCM) ..... | 2317 |
| 48.4.12 | SAES Galois message authentication code (GMAC) ..... | 2321 |
| 48.4.13 | SAES counter with CBC-MAC (CCM) ..... | 2323 |
| 48.4.14 | SAES operation with wrapped keys ..... | 2328 |
| 48.4.15 | SAES operation with shared keys ..... | 2332 |
| 48.4.16 | SAES data registers and data swapping ..... | 2333 |
| 48.4.17 | SAES key registers ..... | 2336 |
| 48.4.18 | SAES initialization vector registers ..... | 2337 |
| 48.4.19 | SAES error management ..... | 2338 |
| 48.5 | SAES interrupts ..... | 2340 |
| 48.6 | SAES DMA requests ..... | 2340 |
| 48.7 | SAES processing latency ..... | 2341 |
| 48.8 | SAES registers ..... | 2343 |
| 48.8.1 | SAES control register (SAES_CR) ..... | 2343 |
| 48.8.2 | SAES status register (SAES_SR) ..... | 2346 |
| 48.8.3 | SAES data input register (SAES_DINR) ..... | 2347 |
| 48.8.4 | SAES data output register (SAES_DOUTR) ..... | 2348 |
| 48.8.5 | SAES key register 0 (SAES_KEYR0) ..... | 2348 |
| 48.8.6 | SAES key register 1 (SAES_KEYR1) ..... | 2349 |
| 48.8.7 | SAES key register 2 (SAES_KEYR2) ..... | 2349 |
| 48.8.8 | SAES key register 3 (SAES_KEYR3) ..... | 2349 |
| 48.8.9 | SAES initialization vector register 0 (SAES_IVR0) ..... | 2350 |
| 48.8.10 | SAES initialization vector register 1 (SAES_IVR1) ..... | 2350 |
| 48.8.11 | SAES initialization vector register 2 (SAES_IVR2) ..... | 2350 |
| 48.8.12 | SAES initialization vector register 3 (SAES_IVR3) ..... | 2351 |
| 48.8.13 | SAES key register 4 (SAES_KEYR4) ..... | 2351 |
| 48.8.14 | SAES key register 5 (SAES_KEYR5) ..... | 2351 |
| 48.8.15 | SAES key register 6 (SAES_KEYR6) ..... | 2352 |
| 48.8.16 | SAES key register 7 (SAES_KEYR7) ..... | 2352 |
| 48.8.17 | SAES suspend registers (SAES_SUSPRx) ..... | 2352 |
| 48.8.18 | SAES interrupt enable register (SAES_IER) ..... | 2353 |
| 48.8.19 | SAES interrupt status register (SAES_ISR) ..... | 2354 |
| 48.8.20 | SAES interrupt clear register (SAES_ICR) ..... | 2355 |
| 48.8.21 | SAES register map ..... | 2356 |
| 49 | Cryptographic processor (CRYP) ..... | 2358 |
| 49.1 | CRYP introduction ..... | 2358 |
| 49.2 | CRYP main features ..... | 2358 |
| 49.3 | CRYP implementation ..... | 2359 |
| 49.4 | CRYP functional description ..... | 2360 |
| 49.4.1 | CRYP block diagram ..... | 2360 |
| 49.4.2 | CRYP internal signals ..... | 2361 |
| 49.4.3 | CRYP reset and clocks ..... | 2361 |
| 49.4.4 | CRYP symmetric cipher implementation ..... | 2361 |
| 49.4.5 | CRYP encryption/ decryption typical usage ..... | 2362 |
| 49.4.6 | CRYP authenticated encryption, decryption, and cipher-based message authentication ..... | 2365 |
| 49.4.7 | CRYP ciphertext stealing and data padding ..... | 2365 |
| 49.4.8 | CRYP suspend and resume operations ..... | 2366 |
| 49.4.9 | CRYP basic chaining modes (ECB, CBC) ..... | 2366 |
| 49.4.10 | CRYP counter mode (CTR) ..... | 2371 |
| 49.4.11 | CRYP AES Galois/counter mode (GCM) ..... | 2373 |
| 49.4.12 | CRYP AES Galois message authentication code (GMAC) ..... | 2379 |
| 49.4.13 | CRYP AES Counter with CBC-MAC (CCM) ..... | 2380 |
| 49.4.14 | AES key sharing with secure AES co-processor ..... | 2385 |
| 49.4.15 | CRYP data registers and data swapping ..... | 2386 |
| 49.4.16 | CRYP key registers ..... | 2389 |
| 49.4.17 | CRYP initialization vector registers ..... | 2389 |
| 49.4.18 | CRYP error management ..... | 2390 |
| 49.5 | CRYP interrupts ..... | 2390 |
| 49.6 | CRYP DMA requests ..... | 2391 |
| 49.7 | CRYP processing time ..... | 2392 |
| 49.8 | CRYP registers ..... | 2393 |
| 49.8.1 | CRYP control register (CRYP_CR) ..... | 2393 |
| 49.8.2 | CRYP status register (CRYP_SR) ..... | 2395 |
| 49.8.3 | CRYP data input register (CRYP_DINR) ..... | 2397 |
| 49.8.4 | CRYP data output register (CRYP_DOUTR) ..... | 2397 |
| 49.8.5 | CRYP DMA control register (CRYP_DMACR) ..... | 2398 |
| 49.8.6 | CRYP interrupt mask set/clear register (CRYP_IMSCR) ..... | 2398 |
| 49.8.7 | CRYP raw interrupt status register (CRYP_RISR) ..... | 2399 |
| 49.8.8 | CRYP masked interrupt status register (CRYP_MISR) ..... | 2399 |
| 49.8.9 | CRYP key register 0L (CRYP_K0LR) ..... | 2400 |
| 49.8.10 | CRYP key register 0R (CRYP_K0RR) ..... | 2401 |
| 49.8.11 | CRYP key register 1L (CRYP_K1LR) ..... | 2401 |
| 49.8.12 | CRYP key register 1R (CRYP_K1RR) ..... | 2401 |
| 49.8.13 | CRYP key register 2L (CRYP_K2LR) ..... | 2402 |
| 49.8.14 | CRYP key register 2R (CRYP_K2RR) ..... | 2402 |
| 49.8.15 | CRYP key register 3L (CRYP_K3LR) ..... | 2403 |
| 49.8.16 | CRYP key register 3R (CRYP_K3RR) ..... | 2403 |
| 49.8.17 | CRYP initialization vector register 0L (CRYP_IV0LR) ..... | 2403 |
| 49.8.18 | CRYP initialization vector register 0R (CRYP_IV0RR) ..... | 2404 |
| 49.8.19 | CRYP initialization vector register 1L (CRYP_IV1LR) ..... | 2404 |
| 49.8.20 | CRYP initialization vector register 1R (CRYP_IV1RR) ..... | 2405 |
| 49.8.21 | CRYP context swap GCM-CCM registers (CRYP_CSGCMCCMxR) ..... | 2405 |
| 49.8.22 | CRYP context swap GCM registers (CRYP_CSGCMxR) ..... | 2406 |
| 49.8.23 | CRYP register map ..... | 2406 |
| 50 | Hash processor (HASH) ..... | 2408 |
| 50.1 | HASH introduction ..... | 2408 |
| 50.2 | HASH main features ..... | 2408 |
| 50.3 | HASH implementation ..... | 2409 |
| 50.4 | HASH functional description ..... | 2409 |
| 50.4.1 | HASH block diagram ..... | 2409 |
| 50.4.2 | HASH internal signals ..... | 2409 |
| 50.4.3 | About secure hash algorithms ..... | 2410 |
| 50.4.4 | Message data feeding ..... | 2410 |
| 50.4.5 | Message digest computing ..... | 2411 |
| 50.4.6 | Message padding ..... | 2413 |
| 50.4.7 | HMAC operation ..... | 2415 |
| 50.4.8 | HASH suspend/resume operations | 2416 |
| 50.4.9 | HASH DMA interface | 2418 |
| 50.4.10 | HASH error management | 2419 |
| 50.4.11 | HASH processing time | 2419 |
| 50.5 | HASH interrupts | 2420 |
| 50.6 | HASH registers | 2420 |
| 50.6.1 | HASH control register (HASH_CR) | 2420 |
| 50.6.2 | HASH data input register (HASH_DIN) | 2422 |
| 50.6.3 | HASH start register (HASH_STR) | 2423 |
| 50.6.4 | HASH digest registers | 2424 |
| 50.6.5 | HASH interrupt enable register (HASH_IMR) | 2426 |
| 50.6.6 | HASH status register (HASH_SR) | 2426 |
| 50.6.7 | HASH context swap registers | 2427 |
| 50.6.8 | HASH register map | 2428 |
| 51 | Memory cipher engine (MCE) | 2430 |
| 51.1 | MCE introduction | 2430 |
| 51.2 | MCE main features | 2430 |
| 51.3 | MCE implementation | 2431 |
| 51.4 | MCE functional description | 2431 |
| 51.4.1 | MCE block diagram | 2431 |
| 51.4.2 | MCE internal signals | 2431 |
| 51.4.3 | MCE programming | 2432 |
| 51.4.4 | MCE reset and clocks | 2433 |
| 51.4.5 | MCE block cipher encryption mode | 2433 |
| 51.4.6 | MCE stream cipher encryption mode | 2435 |
| 51.4.7 | MCE AXI traffic management | 2436 |
| 51.4.8 | MCE encryption disable options | 2436 |
| 51.4.9 | MCE error management | 2437 |
| 51.5 | MCE interrupts | 2437 |
| 51.6 | MCE registers | 2438 |
| 51.6.1 | MCE configuration register (MCE_CR) | 2438 |
| 51.6.2 | MCE status register (MCE_SR) | 2439 |
| 51.6.3 | MCE illegal access status register (MCE_IASR) | 2440 |
| 51.6.4 | MCE illegal access clear register (MCE_IACR) | 2440 |
| 51.6.5 | MCE illegal access interrupt enable register (MCE_IAIER) | 2440 |
| 51.6.6 | MCE illegal address register (MCE_IADDR) . . . . . | 2441 |
| 51.6.7 | MCE region x configuration register (MCE_REGCRx) . . . . . | 2441 |
| 51.6.8 | MCE start address for region x register (MCE_SADDRx) . . . . . | 2443 |
| 51.6.9 | MCE end address for region x register (MCE_EADDRx) . . . . . | 2443 |
| 51.6.10 | MCE master key x (MCE_MKEYRx) . . . . . | 2444 |
| 51.6.11 | MCE fast master key x (MCE_FMKEYRx) . . . . . | 2444 |
| 51.6.12 | MCE cipher context z configuration register (MCE_CCzCFGR) . . . . | 2445 |
| 51.6.13 | MCE cipher context z nonce register 0 (MCE_CCzNR0) . . . . . | 2446 |
| 51.6.14 | MCE cipher context z nonce register 1 (MCE_CCzNR1) . . . . . | 2447 |
| 51.6.15 | MCE cipher context z key register 0 (MCE_CCzKEYR0) . . . . . | 2447 |
| 51.6.16 | MCE cipher context z key register 1 (MCE_CCzKEYR1) . . . . . | 2448 |
| 51.6.17 | MCE cipher context z key register 2 (MCE_CCzKEYR2) . . . . . | 2448 |
| 51.6.18 | MCE cipher context z key register 3 (MCE_CCzKEYR3) . . . . . | 2448 |
| 51.6.19 | MCE register map . . . . . | 2449 |
| 52 | Public key accelerator (PKA) . . . . . | 2451 |
| 52.1 | PKA introduction . . . . . | 2451 |
| 52.2 | PKA main features . . . . . | 2451 |
| 52.3 | PKA functional description . . . . . | 2452 |
| 52.3.1 | PKA block diagram . . . . . | 2452 |
| 52.3.2 | PKA internal signals . . . . . | 2452 |
| 52.3.3 | PKA reset and clocks . . . . . | 2452 |
| 52.3.4 | PKA public key acceleration . . . . . | 2453 |
| 52.3.5 | Typical applications for PKA . . . . . | 2455 |
| 52.3.6 | PKA procedure to perform an operation . . . . . | 2457 |
| 52.3.7 | PKA error management . . . . . | 2458 |
| 52.4 | PKA operating modes . . . . . | 2459 |
| 52.4.1 | Introduction . . . . . | 2459 |
| 52.4.2 | Montgomery parameter computation . . . . . | 2460 |
| 52.4.3 | Modular addition . . . . . | 2460 |
| 52.4.4 | Modular subtraction . . . . . | 2461 |
| 52.4.5 | Modular and Montgomery multiplication . . . . . | 2461 |
| 52.4.6 | Modular exponentiation . . . . . | 2462 |
| 52.4.7 | Modular inversion . . . . . | 2464 |
| 52.4.8 | Modular reduction . . . . . | 2464 |
| 52.4.9 | Arithmetic addition | 2465 |
| 52.4.10 | Arithmetic subtraction | 2465 |
| 52.4.11 | Arithmetic multiplication | 2466 |
| 52.4.12 | Arithmetic comparison | 2466 |
| 52.4.13 | RSA CRT exponentiation | 2466 |
| 52.4.14 | Point on elliptic curve Fp check | 2467 |
| 52.4.15 | ECC Fp scalar multiplication | 2468 |
| 52.4.16 | ECDSA sign | 2469 |
| 52.4.17 | ECDSA verification | 2471 |
| 52.4.18 | ECC complete addition | 2472 |
| 52.4.19 | ECC double base ladder | 2472 |
| 52.4.20 | ECC projective to affine | 2473 |
| 52.5 | Example of configurations and processing times | 2474 |
| 52.5.1 | Supported elliptic curves | 2474 |
| 52.5.2 | Computation times | 2476 |
| 52.6 | PKA interrupts | 2478 |
| 52.7 | PKA registers | 2479 |
| 52.7.1 | PKA control register (PKA_CR) | 2479 |
| 52.7.2 | PKA status register (PKA_SR) | 2481 |
| 52.7.3 | PKA clear flag register (PKA_CLRFR) | 2482 |
| 52.7.4 | PKA RAM | 2482 |
| 52.7.5 | PKA register map | 2483 |
| 53 | Advanced-control timers (TIM1/TIM8) | 2484 |
| 53.1 | TIM1/TIM8 introduction | 2484 |
| 53.2 | TIM1/TIM8 main features | 2484 |
| 53.3 | TIM1/TIM8 functional description | 2485 |
| 53.3.1 | Block diagram | 2485 |
| 53.3.2 | TIM1/TIM8 pins and internal signals | 2486 |
| 53.3.3 | Time-base unit | 2490 |
| 53.3.4 | Counter modes | 2492 |
| 53.3.5 | Repetition counter | 2504 |
| 53.3.6 | External trigger input | 2505 |
| 53.3.7 | Clock selection | 2506 |
| 53.3.8 | Capture/compare channels | 2510 |
| 53.3.9 | Input capture mode | 2512 |
| 53.3.10 | PWM input mode | 2513 |
| 53.3.11 | Forced output mode | 2514 |
| 53.3.12 | Output compare mode | 2515 |
| 53.3.13 | PWM mode | 2516 |
| 53.3.14 | Asymmetric PWM mode | 2524 |
| 53.3.15 | Combined PWM mode | 2525 |
| 53.3.16 | Combined 3-phase PWM mode | 2526 |
| 53.3.17 | Complementary outputs and dead-time insertion | 2527 |
| 53.3.18 | Using the break function | 2530 |
| 53.3.19 | Bidirectional break inputs | 2536 |
| 53.3.20 | Clearing the tim_ocxref signal on an external event | 2537 |
| 53.3.21 | 6-step PWM generation | 2538 |
| 53.3.22 | One-pulse mode | 2539 |
| 53.3.23 | Retriggerable One-pulse mode | 2541 |
| 53.3.24 | Pulse on compare mode | 2542 |
| 53.3.25 | Encoder interface mode | 2544 |
| 53.3.26 | Direction bit output | 2561 |
| 53.3.27 | UIF bit remapping | 2562 |
| 53.3.28 | Timer input XOR function | 2562 |
| 53.3.29 | Interfacing with Hall sensors | 2562 |
| 53.3.30 | Timer synchronization | 2564 |
| 53.3.31 | ADC triggers | 2569 |
| 53.3.32 | ADC synchronization | 2569 |
| 53.3.33 | DMA burst mode | 2570 |
| 53.3.34 | TIM1/TIM8 DMA requests | 2571 |
| 53.3.35 | Debug mode | 2571 |
| 53.4 | TIM1/TIM8 low-power modes | 2572 |
| 53.5 | TIM1/TIM8 interrupts | 2572 |
| 53.6 | TIM1/TIM8 registers | 2573 |
| 53.6.1 | TIMx control register 1 (TIMx_CR1)(x = 1, 8) | 2573 |
| 53.6.2 | TIMx control register 2 (TIMx_CR2)(x = 1, 8) | 2574 |
| 53.6.3 | TIMx slave mode control register (TIMx_SMCR)(x = 1, 8) | 2578 |
| 53.6.4 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 1, 8) | 2582 |
| 53.6.5 | TIMx status register (TIMx_SR)(x = 1, 8) | 2583 |
| 53.6.6 | TIMx event generation register (TIMx_EGR)(x = 1, 8) | 2586 |
| 53.6.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1) (x = 1, 8) | 2587 |
| 53.6.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 1, 8) ..... | 2589 |
| 53.6.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2) (x = 1, 8) ..... | 2592 |
| 53.6.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 1, 8) ..... | 2593 |
| 53.6.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 1, 8) .... | 2596 |
| 53.6.12 | TIMx counter (TIMx_CNT)(x = 1, 8) ..... | 2600 |
| 53.6.13 | TIMx prescaler (TIMx_PSC)(x = 1, 8) ..... | 2600 |
| 53.6.14 | TIMx autoreload register (TIMx_ARR)(x = 1, 8) ..... | 2601 |
| 53.6.15 | TIMx repetition counter register (TIMx_RCR)(x = 1, 8) ..... | 2601 |
| 53.6.16 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 1, 8) ..... | 2602 |
| 53.6.17 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 1, 8) ..... | 2602 |
| 53.6.18 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 1, 8) ..... | 2603 |
| 53.6.19 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 1, 8) ..... | 2604 |
| 53.6.20 | TIMx break and dead-time register (TIMx_BDTR)(x = 1, 8) ..... | 2605 |
| 53.6.21 | TIMx capture/compare register 5 (TIMx_CCR5)(x = 1, 8) ..... | 2609 |
| 53.6.22 | TIMx capture/compare register 6 (TIMx_CCR6)(x = 1, 8) ..... | 2610 |
| 53.6.23 | TIMx capture/compare mode register 3 (TIMx_CCMR3) (x = 1, 8) ..... | 2611 |
| 53.6.24 | TIMx timer deadtime register 2 (TIMx_DTR2)(x = 1, 8) ..... | 2612 |
| 53.6.25 | TIMx timer encoder control register (TIMx_ECR)(x = 1, 8) ..... | 2613 |
| 53.6.26 | TIMx timer input selection register (TIMx_TISEL)(x = 1, 8) ..... | 2614 |
| 53.6.27 | TIMx alternate function option register 1 (TIMx_AF1)(x = 1, 8) .... | 2615 |
| 53.6.28 | TIMx alternate function register 2 (TIMx_AF2)(x = 1, 8) ..... | 2618 |
| 53.6.29 | TIMx DMA control register (TIMx_DCR)(x = 1, 8) ..... | 2620 |
| 53.6.30 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 1, 8) ..... | 2622 |
| 53.6.31 | TIMx register map ..... | 2622 |
| 54 | General-purpose timers (TIM2/TIM3/TIM4/TIM5) ..... | 2625 |
| 54.1 | TIM2/TIM3/TIM4/TIM5 introduction ..... | 2625 |
| 54.2 | TIM2/TIM3/TIM4/TIM5 main features ..... | 2625 |
| 54.3 | TIM2/TIM3/TIM4/TIM5 implementation ..... | 2626 |
| 54.4 | TIM2/TIM3/TIM4/TIM5 functional description ..... | 2627 |
| 54.4.1 | Block diagram ..... | 2627 |
| 54.4.2 | TIM2/TIM3/TIM4/TIM5 pins and internal signals ..... | 2628 |
| 54.4.3 | Time-base unit ..... | 2631 |
| 54.4.4 | Counter modes ..... | 2633 |
| 54.4.5 | Clock selection . . . . . | 2645 |
| 54.4.6 | Capture/compare channels . . . . . | 2649 |
| 54.4.7 | Input capture mode . . . . . | 2651 |
| 54.4.8 | PWM input mode . . . . . | 2652 |
| 54.4.9 | Forced output mode . . . . . | 2653 |
| 54.4.10 | Output compare mode . . . . . | 2653 |
| 54.4.11 | PWM mode . . . . . | 2655 |
| 54.4.12 | Asymmetric PWM mode . . . . . | 2663 |
| 54.4.13 | Combined PWM mode . . . . . | 2664 |
| 54.4.14 | Clearing the tim_ocxref signal on an external event . . . . . | 2665 |
| 54.4.15 | One-pulse mode . . . . . | 2667 |
| 54.4.16 | Retriggerable one-pulse mode . . . . . | 2668 |
| 54.4.17 | Pulse on compare mode . . . . . | 2669 |
| 54.4.18 | Encoder interface mode . . . . . | 2671 |
| 54.4.19 | Direction bit output . . . . . | 2689 |
| 54.4.20 | UIF bit remapping . . . . . | 2690 |
| 54.4.21 | Timer input XOR function . . . . . | 2690 |
| 54.4.22 | Timers and external trigger synchronization . . . . . | 2690 |
| 54.4.23 | Timer synchronization . . . . . | 2694 |
| 54.4.24 | ADC triggers . . . . . | 2699 |
| 54.4.25 | ADC synchronization . . . . . | 2700 |
| 54.4.26 | DMA burst mode . . . . . | 2701 |
| 54.4.27 | TIM2/TIM3/TIM4/TIM5 DMA requests . . . . . | 2702 |
| 54.4.28 | Debug mode . . . . . | 2702 |
| 54.4.29 | TIM2/TIM3/TIM4/TIM5 low-power modes . . . . . | 2702 |
| 54.4.30 | TIM2/TIM3/TIM4/TIM5 interrupts . . . . . | 2703 |
| 54.5 | TIM2/TIM3/TIM4/TIM5 registers . . . . . | 2704 |
| 54.5.1 | TIMx control register 1 (TIMx_CR1)(x = 2 to 5) . . . . . | 2704 |
| 54.5.2 | TIMx control register 2 (TIMx_CR2)(x = 2 to 5) . . . . . | 2705 |
| 54.5.3 | TIMx slave mode control register (TIMx_SMCR)(x = 2 to 5) . . . . . | 2707 |
| 54.5.4 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 2 to 5) . . . . . | 2711 |
| 54.5.5 | TIMx status register (TIMx_SR)(x = 2 to 5) . . . . . | 2712 |
| 54.5.6 | TIMx event generation register (TIMx_EGR)(x = 2 to 5) . . . . . | 2714 |
| 54.5.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 2 to 5) . . . . . | 2715 |
| 54.5.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 2 to 5) . . . . . | 2717 |
| 54.5.9 | TIMx capture/compare mode register 2 (TIMx_CCMR2)(x = 2 to 5) . . . . . | 2719 |
| 54.5.10 | TIMx capture/compare mode register 2 [alternate] (TIMx_CCMR2)(x = 2 to 5) . . . . . | 2720 |
| 54.5.11 | TIMx capture/compare enable register (TIMx_CCER)(x = 2 to 5) . . . . . | 2723 |
| 54.5.12 | TIMx counter (TIMx_CNT)(x = 2 to 5) . . . . . | 2725 |
| 54.5.13 | TIMx prescaler (TIMx_PSC)(x = 2 to 5) . . . . . | 2725 |
| 54.5.14 | TIMx autoreload register (TIMx_ARR)(x = 2 to 5) . . . . . | 2726 |
| 54.5.15 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 2 to 5) . . . . . | 2726 |
| 54.5.16 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 2 to 5) . . . . . | 2727 |
| 54.5.17 | TIMx capture/compare register 3 (TIMx_CCR3)(x = 2 to 5) . . . . . | 2728 |
| 54.5.18 | TIMx capture/compare register 4 (TIMx_CCR4)(x = 2 to 5) . . . . . | 2729 |
| 54.5.19 | TIMx timer encoder control register (TIMx_ECR)(x = 2 to 5) . . . . . | 2730 |
| 54.5.20 | TIMx timer input selection register (TIMx_TISEL)(x = 2 to 5) . . . . . | 2731 |
| 54.5.21 | TIMx alternate function register 1 (TIMx_AF1)(x = 2 to 5) . . . . . | 2732 |
| 54.5.22 | TIMx alternate function register 2 (TIMx_AF2)(x = 2 to 5) . . . . . | 2733 |
| 54.5.23 | TIMx DMA control register (TIMx_DCR)(x = 2 to 5) . . . . . | 2734 |
| 54.5.24 | TIMx DMA address for full transfer (TIMx_DMAR)(x = 2 to 5) . . . . . | 2735 |
| 54.5.25 | TIMx register map . . . . . | 2736 |
| 55 | Basic timers (TIM6/TIM7/TIM18) . . . . . | 2739 |
| 55.1 | TIM6/TIM7/TIM18 introduction . . . . . | 2739 |
| 55.2 | TIM6/TIM7/TIM18 main features . . . . . | 2739 |
| 55.3 | TIM6/TIM7/TIM18 functional description . . . . . | 2739 |
| 55.3.1 | TIM6/TIM7/TIM18 block diagram . . . . . | 2739 |
| 55.3.2 | TIM6/TIM7/TIM18 internal signals . . . . . | 2740 |
| 55.3.3 | TIM6/TIM7/TIM18 clocks . . . . . | 2740 |
| 55.3.4 | Time-base unit . . . . . | 2741 |
| 55.3.5 | Counting mode . . . . . | 2743 |
| 55.3.6 | UIF bit remapping . . . . . | 2749 |
| 55.3.7 | ADC triggers . . . . . | 2750 |
| 55.3.8 | ADC synchronization . . . . . | 2750 |
| 55.3.9 | TIM6/TIM7/TIM18 DMA requests . . . . . | 2751 |
| 55.3.10 | Debug mode . . . . . | 2751 |
| 55.3.11 | TIM6/TIM7/TIM18 low-power modes . . . . . | 2751 |
| 55.3.12 | TIM6/TIM7/TIM18 interrupts . . . . . | 2751 |
| 55.4 | TIM6/TIM7/TIM18 registers . . . . . | 2752 |
| 55.4.1 | TIMx control register 1 (TIMx_CR1)(x = 6, 7, 18) . . . . . | 2752 |
| 55.4.2 | TIMx control register 2 (TIMx_CR2)(x = 6, 7, 18) . . . . . | 2754 |
| 55.4.3 | TIMx DMA/Interrupt enable register (TIMx_DIER)(x = 6, 7, 18) . . . . | 2754 |
| 55.4.4 | TIMx status register (TIMx_SR)(x = 6, 7, 18) . . . . . | 2755 |
| 55.4.5 | TIMx event generation register (TIMx_EGR)(x = 6, 7, 18) . . . . . | 2755 |
| 55.4.6 | TIMx counter (TIMx_CNT)(x = 6, 7, 18) . . . . . | 2756 |
| 55.4.7 | TIMx prescaler (TIMx_PSC)(x = 6, 7, 18) . . . . . | 2756 |
| 55.4.8 | TIMx autoreload register (TIMx_ARR)(x = 6, 7, 18) . . . . . | 2757 |
| 55.4.9 | TIMx register map . . . . . | 2758 |
| 56 | General-purpose timers (TIM9/TIM10/TIM11/TIM12/TIM13/TIM14) . . . . . | 2759 |
| 56.1 | TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 introduction . . . . . | 2759 |
| 56.2 | TIM9/TIM12 main features . . . . . | 2759 |
| 56.3 | TIM10/TIM11/TIM13/TIM14 main features . . . . . | 2760 |
| 56.4 | TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 functional description . . . . . | 2761 |
| 56.4.1 | Block diagram . . . . . | 2761 |
| 56.4.2 | TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 pins and internal signals . . . . . | 2762 |
| 56.4.3 | Time-base unit . . . . . | 2764 |
| 56.4.4 | Counter modes . . . . . | 2766 |
| 56.4.5 | Clock selection . . . . . | 2769 |
| 56.4.6 | Capture/compare channels . . . . . | 2771 |
| 56.4.7 | Input capture mode . . . . . | 2773 |
| 56.4.8 | PWM input mode (TIM9/TIM12 only) . . . . . | 2774 |
| 56.4.9 | Forced output mode . . . . . | 2775 |
| 56.4.10 | Output compare mode . . . . . | 2776 |
| 56.4.11 | PWM mode . . . . . | 2777 |
| 56.4.12 | Combined PWM mode (TIM9/TIM12 only) . . . . . | 2782 |
| 56.4.13 | One-pulse mode . . . . . | 2783 |
| 56.4.14 | Retriggerable one pulse mode (TIM9/TIM12 only) . . . . . | 2785 |
| 56.4.15 | UIF bit remapping . . . . . | 2786 |
| 56.4.16 | Timer input XOR function . . . . . | 2786 |
| 56.4.17 | TIM9/TIM12 external trigger synchronization . . . . . | 2786 |
| 56.4.18 | Slave mode – combined reset + trigger mode . . . . . | 2789 |
| 56.4.19 | Slave mode – combined reset + gated mode . . . . . | 2789 |
| 56.4.20 | Timer synchronization (TIM9/TIM12 only) . . . . . | 2789 |
| 56.4.21 | Using timer output as trigger for other timers (TIM10/TIM11/TIM13/TIM14 only) . . . . . | 2789 |
| 56.4.22 | ADC triggers (TIM9/TIM12 only) . . . . . | 2789 |
| 56.4.23 | ADC synchronization (TIM9/TIM12 only) . . . . . | 2790 |
| 56.4.24 | Debug mode ..... | 2791 |
| 56.5 | TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 low-power modes ..... | 2791 |
| 56.6 | TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 interrupts ..... | 2791 |
| 56.7 | TIM9/TIM12 registers ..... | 2791 |
| 56.7.1 | TIMx control register 1 (TIMx_CR1)(x = 9, 12) ..... | 2792 |
| 56.7.2 | TIM12 control register 2 (TIMx_CR2)(x = 9, 12) ..... | 2793 |
| 56.7.3 | TIMx slave mode control register (TIMx_SMCR)(x = 9, 12) ..... | 2794 |
| 56.7.4 | TIMx interrupt enable register (TIMx_DIER)(x = 9, 12) ..... | 2796 |
| 56.7.5 | TIMx status register (TIMx_SR)(x = 9, 12) ..... | 2797 |
| 56.7.6 | TIMx event generation register (TIMx_EGR)(x = 9, 12) ..... | 2798 |
| 56.7.7 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 9, 12) ..... | 2799 |
| 56.7.8 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 9, 12) ..... | 2800 |
| 56.7.9 | TIMx capture/compare enable register (TIMx_CCER)(x = 9, 12) ..... | 2803 |
| 56.7.10 | TIMx counter (TIMx_CNT)(x = 9, 12) ..... | 2804 |
| 56.7.11 | TIMx prescaler (TIMx_PSC)(x = 9, 12) ..... | 2805 |
| 56.7.12 | TIMx autoreload register (TIMx_ARR)(x = 9, 12) ..... | 2805 |
| 56.7.13 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 9, 12) ..... | 2806 |
| 56.7.14 | TIMx capture/compare register 2 (TIMx_CCR2)(x = 9, 12) ..... | 2806 |
| 56.7.15 | TIMx timer input selection register (TIMx_TISEL)(x = 9, 12) ..... | 2807 |
| 56.7.16 | TIM9/TIM12 register map ..... | 2808 |
| 56.8 | TIM10/TIM11/TIM13/TIM14 registers ..... | 2810 |
| 56.8.1 | TIMx control register 1 (TIMx_CR1)(x = 10, 11, 13, 14) ..... | 2810 |
| 56.8.2 | TIMx interrupt enable register (TIMx_DIER)(x = 10, 11, 13, 14) ..... | 2811 |
| 56.8.3 | TIMx status register (TIMx_SR)(x = 10, 11, 13, 14) ..... | 2811 |
| 56.8.4 | TIMx event generation register (TIMx_EGR)(x = 10, 11, 13, 14) ..... | 2812 |
| 56.8.5 | TIMx capture/compare mode register 1 (TIMx_CCMR1)(x = 10, 11, 13, 14) ..... | 2813 |
| 56.8.6 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 10, 11, 13, 14) ..... | 2814 |
| 56.8.7 | TIMx capture/compare enable register (TIMx_CCER)(x = 10, 11, 13, 14) ..... | 2816 |
| 56.8.8 | TIMx counter (TIMx_CNT)(x = 10, 11, 13, 14) ..... | 2817 |
| 56.8.9 | TIMx prescaler (TIMx_PSC)(x = 10, 11, 13, 14) ..... | 2818 |
| 56.8.10 | TIMx autoreload register (TIMx_ARR)(x = 10, 11, 13, 14) ..... | 2818 |
| 56.8.11 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 10, 11, 13, 14) ..... | 2819 |
| 56.8.12 | TIMx timer input selection register (TIMx_TISEL)(x = 10, 11, 13, 14) ..... | 2819 |
| 56.8.13 | TIM10/TIM11/TIM13/TIM14 register map ..... | 2820 |
| 57 | General purpose timers (TIM15/TIM16/TIM17) ..... | 2822 |
| 57.1 | TIM15/TIM16/TIM17 introduction ..... | 2822 |
| 57.2 | TIM15 main features ..... | 2822 |
| 57.3 | TIM16/TIM17 main features ..... | 2823 |
| 57.4 | TIM15/TIM16/TIM17 functional description ..... | 2824 |
| 57.4.1 | Block diagram ..... | 2824 |
| 57.4.2 | TIM15/TIM16/TIM17 pins and internal signals ..... | 2825 |
| 57.4.3 | Time-base unit ..... | 2828 |
| 57.4.4 | Counter modes ..... | 2830 |
| 57.4.5 | Repetition counter ..... | 2834 |
| 57.4.6 | Clock selection ..... | 2835 |
| 57.4.7 | Capture/compare channels ..... | 2837 |
| 57.4.8 | Input capture mode ..... | 2839 |
| 57.4.9 | PWM input mode (only for TIM15) ..... | 2841 |
| 57.4.10 | Forced output mode ..... | 2842 |
| 57.4.11 | Output compare mode ..... | 2842 |
| 57.4.12 | PWM mode ..... | 2844 |
| 57.4.13 | Combined PWM mode (TIM15 only) ..... | 2849 |
| 57.4.14 | Complementary outputs and dead-time insertion ..... | 2850 |
| 57.4.15 | Using the break function ..... | 2853 |
| 57.4.16 | Bidirectional break input ..... | 2857 |
| 57.4.17 | Clearing the tim_ocxref signal on an external event ..... | 2858 |
| 57.4.18 | 6-step PWM generation ..... | 2859 |
| 57.4.19 | One-pulse mode ..... | 2861 |
| 57.4.20 | Retriggerable one pulse mode (TIM15 only) ..... | 2862 |
| 57.4.21 | UIF bit remapping ..... | 2863 |
| 57.4.22 | Timer input XOR function (TIM15 only) ..... | 2863 |
| 57.4.23 | External trigger synchronization (TIM15 only) ..... | 2863 |
| 57.4.24 | Slave mode – combined reset + trigger mode (TIM15 only) ..... | 2866 |
| 57.4.25 | Slave mode – combined reset + gated mode (TIM15 only) ..... | 2866 |
| 57.4.26 | Timer synchronization (TIM15 only) ..... | 2867 |
| 57.4.27 | Using timer output as trigger for other timers (TIM16/TIM17 only) .. | 2867 |
| 57.4.28 | ADC triggers (TIM15 only) ..... | 2867 |
| 57.4.29 | ADC synchronization (TIM15 only) ..... | 2868 |
| 57.4.30 | DMA burst mode ..... | 2868 |
| 57.4.31 | TIM15/TIM16/TIM17 DMA requests ..... | 2869 |
| 57.4.32 | Debug mode ..... | 2870 |
| 57.5 | TIM15/TIM16/TIM17 low-power modes ..... | 2870 |
| 57.6 | TIM15/TIM16/TIM17 interrupts ..... | 2870 |
| 57.7 | TIM15 registers ..... | 2871 |
| 57.7.1 | TIM15 control register 1 (TIM15_CR1) ..... | 2871 |
| 57.7.2 | TIM15 control register 2 (TIM15_CR2) ..... | 2872 |
| 57.7.3 | TIM15 slave mode control register (TIM15_SMCR) ..... | 2874 |
| 57.7.4 | TIM15 DMA/interrupt enable register (TIM15_DIER) ..... | 2876 |
| 57.7.5 | TIM15 status register (TIM15_SR) ..... | 2877 |
| 57.7.6 | TIM15 event generation register (TIM15_EGR) ..... | 2879 |
| 57.7.7 | TIM15 capture/compare mode register 1 (TIM15_CCMR1) ..... | 2880 |
| 57.7.8 | TIM15 capture/compare mode register 1 [alternate] (TIM15_CCMR1) ..... | 2882 |
| 57.7.9 | TIM15 capture/compare enable register (TIM15_CCER) ..... | 2884 |
| 57.7.10 | TIM15 counter (TIM15_CNT) ..... | 2887 |
| 57.7.11 | TIM15 prescaler (TIM15_PSC) ..... | 2887 |
| 57.7.12 | TIM15 autoreload register (TIM15_ARR) ..... | 2888 |
| 57.7.13 | TIM15 repetition counter register (TIM15_RCR) ..... | 2888 |
| 57.7.14 | TIM15 capture/compare register 1 (TIM15_CCR1) ..... | 2889 |
| 57.7.15 | TIM15 capture/compare register 2 (TIM15_CCR2) ..... | 2890 |
| 57.7.16 | TIM15 break and dead-time register (TIM15_BDTR) ..... | 2890 |
| 57.7.17 | TIM15 timer deadtime register 2 (TIM15_DTR2) ..... | 2893 |
| 57.7.18 | TIM15 input selection register (TIM15_TISEL) ..... | 2894 |
| 57.7.19 | TIM15 alternate function register 1 (TIM15_AF1) ..... | 2895 |
| 57.7.20 | TIM15 alternate function register 2 (TIM15_AF2) ..... | 2897 |
| 57.7.21 | TIM15 DMA control register (TIM15_DCR) ..... | 2898 |
| 57.7.22 | TIM15 DMA address for full transfer (TIM15_DMAR) ..... | 2899 |
| 57.7.23 | TIM15 register map ..... | 2899 |
| 57.8 | TIM16/TIM17 registers ..... | 2902 |
| 57.8.1 | TIMx control register 1 (TIMx_CR1)(x = 16 to 17) ..... | 2902 |
| 57.8.2 | TIMx control register 2 (TIMx_CR2)(x = 16 to 17) ..... | 2903 |
| 57.8.3 | TIMx DMA/interrupt enable register (TIMx_DIER)(x = 16 to 17) .... | 2904 |
| 57.8.4 | TIMx status register (TIMx_SR)(x = 16 to 17) ..... | 2905 |
| 57.8.5 | TIMx event generation register (TIMx_EGR)(x = 16 to 17) ..... | 2906 |
| 57.8.6 | TIMx capture/compare mode register 1 (TIMx_CCMR1) (x = 16 to 17) ..... | 2907 |
| 57.8.7 | TIMx capture/compare mode register 1 [alternate] (TIMx_CCMR1)(x = 16 to 17) . . . . . | 2908 |
| 57.8.8 | TIMx capture/compare enable register (TIMx_CCER)(x = 16 to 17) . . . . . | 2910 |
| 57.8.9 | TIMx counter (TIMx_CNT)(x = 16 to 17) . . . . . | 2913 |
| 57.8.10 | TIMx prescaler (TIMx_PSC)(x = 16 to 17) . . . . . | 2913 |
| 57.8.11 | TIMx auto-reautoreload register (TIMx_ARR)(x = 16 to 17) . . . . . | 2914 |
| 57.8.12 | TIMx repetition counter register (TIMx_RCR)(x = 16 to 17) . . . . . | 2914 |
| 57.8.13 | TIMx capture/compare register 1 (TIMx_CCR1)(x = 16 to 17) . . . . . | 2915 |
| 57.8.14 | TIMx break and dead-time register (TIMx_BDTR)(x = 16 to 17) . . . . . | 2916 |
| 57.8.15 | TIMx timer deadtime register 2 (TIMx_DTR2)(x = 16 to 17) . . . . . | 2919 |
| 57.8.16 | TIMx input selection register (TIMx_TISEL)(x = 16 to 17) . . . . . | 2920 |
| 57.8.17 | TIMx alternate function register 1 (TIMx_AF1)(x = 16 to 17) . . . . . | 2920 |
| 57.8.18 | TIMx alternate function register 2 (TIMx_AF2)(x = 16 to 17) . . . . . | 2923 |
| 57.8.19 | TIMx DMA control register (TIMx_DCR)(x = 16 to 17) . . . . . | 2923 |
| 57.8.20 | TIM16/TIM17 DMA address for full transfer (TIMx_DMAR)(x = 16 to 17) . . . . . | 2924 |
| 57.8.21 | TIM16/TIM17 register map . . . . . | 2926 |
| 58 | Low-power timer (LPTIM) . . . . . | 2928 |
| 58.1 | LPTIM introduction . . . . . | 2928 |
| 58.2 | LPTIM main features . . . . . | 2928 |
| 58.3 | LPTIM implementation . . . . . | 2929 |
| 58.4 | LPTIM functional description . . . . . | 2930 |
| 58.4.1 | LPTIM block diagram . . . . . | 2930 |
| 58.4.2 | LPTIM pins and internal signals . . . . . | 2931 |
| 58.4.3 | LPTIM input and trigger mapping . . . . . | 2933 |
| 58.4.4 | LPTIM reset and clocks . . . . . | 2934 |
| 58.4.5 | Glitch filter . . . . . | 2935 |
| 58.4.6 | Prescaler . . . . . | 2936 |
| 58.4.7 | Trigger multiplexer . . . . . | 2936 |
| 58.4.8 | Operating mode . . . . . | 2937 |
| 58.4.9 | Timeout function . . . . . | 2939 |
| 58.4.10 | Waveform generation . . . . . | 2939 |
| 58.4.11 | Register update . . . . . | 2940 |
| 58.4.12 | Counter mode . . . . . | 2941 |
| 58.4.13 | Timer enable . . . . . | 2941 |
| 58.4.14 | Timer counter reset . . . . . | 2942 |
| 58.4.15 | Encoder mode | 2942 |
| 58.4.16 | Repetition counter | 2944 |
| 58.4.17 | Capture/compare channels | 2945 |
| 58.4.18 | Input capture mode | 2946 |
| 58.4.19 | PWM mode | 2948 |
| 58.4.20 | DMA requests | 2950 |
| 58.4.21 | Debug mode | 2951 |
| 58.5 | LPTIM low-power modes | 2951 |
| 58.6 | LPTIM interrupts | 2951 |
| 58.7 | LPTIM registers | 2952 |
| 58.7.1 | LPTIMx interrupt and status register (LPTIMx_ISR)(x = 4 to 5) | 2953 |
| 58.7.2 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 3) | 2954 |
| 58.7.3 | LPTIMx interrupt and status register [alternate] (LPTIMx_ISR) (x = 1 to 3) | 2956 |
| 58.7.4 | LPTIMx interrupt clear register (LPTIMx_ICR)(x = 4 to 5) | 2958 |
| 58.7.5 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 3) | 2959 |
| 58.7.6 | LPTIMx interrupt clear register [alternate] (LPTIMx_ICR) (x = 1 to 3) | 2960 |
| 58.7.7 | LPTIMx interrupt enable register (LPTIMx_DIER)(x = 4 to 5) | 2961 |
| 58.7.8 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 3) | 2963 |
| 58.7.9 | LPTIMx interrupt enable register [alternate] (LPTIMx_DIER) (x = 1 to 3) | 2964 |
| 58.7.10 | LPTIM configuration register (LPTIM_CFGR) | 2966 |
| 58.7.11 | LPTIM control register (LPTIM_CR) | 2969 |
| 58.7.12 | LPTIM compare register 1 (LPTIM_CCR1) | 2970 |
| 58.7.13 | LPTIM autoreload register (LPTIM_ARR) | 2971 |
| 58.7.14 | LPTIM counter register (LPTIM_CNT) | 2971 |
| 58.7.15 | LPTIM configuration register 2 (LPTIM_CFGR2) | 2972 |
| 58.7.16 | LPTIM repetition register (LPTIM_RCR) | 2973 |
| 58.7.17 | LPTIM capture/compare mode register 1 (LPTIM_CCMR1) | 2973 |
| 58.7.18 | LPTIM compare register 2 (LPTIM_CCR2) | 2976 |
| 58.7.19 | LPTIM register map | 2976 |
| 59 | Independent watchdog (IWDG) | 2979 |
| 59.1 | IWDG introduction | 2979 |
| 59.2 | IWDG main features . . . . . | 2979 |
| 59.3 | IWDG implementation . . . . . | 2979 |
| 59.4 | IWDG functional description . . . . . | 2980 |
| 59.4.1 | IWDG block diagram . . . . . | 2980 |
| 59.4.2 | IWDG internal signals . . . . . | 2981 |
| 59.4.3 | Software and hardware watchdog modes . . . . . | 2981 |
| 59.4.4 | Window option . . . . . | 2982 |
| 59.4.5 | Debug . . . . . | 2985 |
| 59.4.6 | Register access protection . . . . . | 2985 |
| 59.5 | IWDG low power modes . . . . . | 2986 |
| 59.6 | IWDG interrupts . . . . . | 2986 |
| 59.7 | IWDG registers . . . . . | 2988 |
| 59.7.1 | IWDG key register (IWDG_KR) . . . . . | 2989 |
| 59.7.2 | IWDG prescaler register (IWDG_PR) . . . . . | 2989 |
| 59.7.3 | IWDG reload register (IWDG_RLR) . . . . . | 2990 |
| 59.7.4 | IWDG status register (IWDG_SR) . . . . . | 2990 |
| 59.7.5 | IWDG window register (IWDG_WINR) . . . . . | 2992 |
| 59.7.6 | IWDG early wake-up interrupt register (IWDG_EWCR) . . . . . | 2992 |
| 59.7.7 | IWDG interrupt clear register (IWDG_ICR) . . . . . | 2993 |
| 59.7.8 | IWDG register map . . . . . | 2994 |
| 60 | System window watchdog (WWDG) . . . . . | 2995 |
| 60.1 | WWDG introduction . . . . . | 2995 |
| 60.2 | WWDG main features . . . . . | 2995 |
| 60.3 | WWDG implementation . . . . . | 2995 |
| 60.4 | WWDG functional description . . . . . | 2996 |
| 60.4.1 | WWDG block diagram . . . . . | 2996 |
| 60.4.2 | WWDG internal signals . . . . . | 2996 |
| 60.4.3 | Enabling the watchdog . . . . . | 2997 |
| 60.4.4 | Controlling the down-counter . . . . . | 2997 |
| 60.4.5 | How to program the watchdog timeout . . . . . | 2997 |
| 60.4.6 | Debug mode . . . . . | 2998 |
| 60.5 | WWDG interrupts . . . . . | 2999 |
| 60.6 | WWDG registers . . . . . | 2999 |
| 60.6.1 | WWDG control register (WWDG_CR) . . . . . | 2999 |
| 60.6.2 | WWDG configuration register (WWDG_CFR) . . . . . | 3000 |
| 60.6.3 | WWDG status register (WWDG_SR) ..... | 3001 |
| 60.6.4 | WWDG register map ..... | 3001 |
| 61 | Real-time clock (RTC) ..... | 3002 |
| 61.1 | RTC introduction ..... | 3002 |
| 61.2 | RTC main features ..... | 3002 |
| 61.3 | RTC functional description ..... | 3003 |
| 61.3.1 | RTC block diagram ..... | 3003 |
| 61.3.2 | RTC pins and internal signals ..... | 3005 |
| 61.3.3 | GPIOs controlled by the RTC and TAMP ..... | 3006 |
| 61.3.4 | RTC secure protection modes ..... | 3009 |
| 61.3.5 | RTC privilege protection modes ..... | 3010 |
| 61.3.6 | Clock and prescalers ..... | 3011 |
| 61.3.7 | Real-time clock and calendar ..... | 3012 |
| 61.3.8 | Calendar ultra-low power mode ..... | 3013 |
| 61.3.9 | Programmable alarms ..... | 3013 |
| 61.3.10 | Periodic auto-wake-up ..... | 3013 |
| 61.3.11 | RTC initialization and configuration ..... | 3014 |
| 61.3.12 | Reading the calendar ..... | 3017 |
| 61.3.13 | Resetting the RTC ..... | 3018 |
| 61.3.14 | RTC synchronization ..... | 3019 |
| 61.3.15 | RTC reference clock detection ..... | 3019 |
| 61.3.16 | RTC smooth digital calibration ..... | 3020 |
| 61.3.17 | Timestamp function ..... | 3022 |
| 61.3.18 | Calibration clock output ..... | 3023 |
| 61.3.19 | Tamper and alarm output ..... | 3023 |
| 61.4 | RTC low-power modes ..... | 3024 |
| 61.5 | RTC interrupts ..... | 3024 |
| 61.6 | RTC registers ..... | 3026 |
| 61.6.1 | RTC time register (RTC_TR) ..... | 3026 |
| 61.6.2 | RTC date register (RTC_DR) ..... | 3027 |
| 61.6.3 | RTC subsecond register (RTC_SSR) ..... | 3028 |
| 61.6.4 | RTC initialization control and status register (RTC_ICSR) ..... | 3029 |
| 61.6.5 | RTC prescaler register (RTC_PRER) ..... | 3031 |
| 61.6.6 | RTC wake-up timer register (RTC_WUTR) ..... | 3032 |
| 61.6.7 | RTC control register (RTC_CR) ..... | 3032 |
| 61.6.8 | RTC privilege mode control register (RTC_PRIVCFGR) . . . . . | 3036 |
| 61.6.9 | RTC secure configuration register (RTC_SECCFGR) . . . . . | 3038 |
| 61.6.10 | RTC write protection register (RTC_WPR) . . . . . | 3039 |
| 61.6.11 | RTC calibration register (RTC_CALR) . . . . . | 3040 |
| 61.6.12 | RTC shift control register (RTC_SHIFTR) . . . . . | 3041 |
| 61.6.13 | RTC timestamp time register (RTC_TSTR) . . . . . | 3042 |
| 61.6.14 | RTC timestamp date register (RTC_TSDR) . . . . . | 3043 |
| 61.6.15 | RTC timestamp subsecond register (RTC_TSSSR) . . . . . | 3044 |
| 61.6.16 | RTC alarm A register (RTC_ALRMAR) . . . . . | 3044 |
| 61.6.17 | RTC alarm A subsecond register (RTC_ALRMASSR) . . . . . | 3046 |
| 61.6.18 | RTC alarm B register (RTC_ALRMBR) . . . . . | 3047 |
| 61.6.19 | RTC alarm B subsecond register (RTC_ALRMBSSR) . . . . . | 3048 |
| 61.6.20 | RTC status register (RTC_SR) . . . . . | 3049 |
| 61.6.21 | RTC nonsecure masked interrupt status register (RTC_MISR) . . . . . | 3050 |
| 61.6.22 | RTC secure masked interrupt status register (RTC_SMISR) . . . . . | 3051 |
| 61.6.23 | RTC status clear register (RTC_SCR) . . . . . | 3052 |
| 61.6.24 | RTC alarm A binary mode register (RTC_ALRABINR) . . . . . | 3053 |
| 61.6.25 | RTC alarm B binary mode register (RTC_ALRBBINR) . . . . . | 3054 |
| 61.6.26 | RTC register map . . . . . | 3055 |
| 62 | Tamper and backup registers (TAMP) . . . . . | 3057 |
| 62.1 | TAMP introduction . . . . . | 3057 |
| 62.2 | TAMP main features . . . . . | 3058 |
| 62.3 | TAMP functional description . . . . . | 3059 |
| 62.3.1 | TAMP block diagram . . . . . | 3059 |
| 62.3.2 | TAMP pins and internal signals . . . . . | 3060 |
| 62.3.3 | GPIOs controlled by the RTC and TAMP . . . . . | 3062 |
| 62.3.4 | TAMP register write protection . . . . . | 3062 |
| 62.3.5 | TAMP secure protection modes . . . . . | 3062 |
| 62.3.6 | Backup registers protection zones . . . . . | 3063 |
| 62.3.7 | TAMP privilege protection modes . . . . . | 3063 |
| 62.3.8 | Boot hardware key (BHK) . . . . . | 3064 |
| 62.3.9 | Tamper detection . . . . . | 3064 |
| 62.3.10 | TAMP backup registers and other device secrets erase . . . . . | 3065 |
| 62.3.11 | Tamper detection configuration and initialization . . . . . | 3067 |
| 62.4 | TAMP low-power modes . . . . . | 3074 |
| 62.5 | TAMP interrupts . . . . . | 3074 |
| 62.6 | TAMP registers | 3075 |
| 62.6.1 | TAMP control register 1 (TAMP_CR1) | 3075 |
| 62.6.2 | TAMP control register 2 (TAMP_CR2) | 3076 |
| 62.6.3 | TAMP control register 3 (TAMP_CR3) | 3079 |
| 62.6.4 | TAMP filter control register (TAMP_FLTCR) | 3080 |
| 62.6.5 | TAMP active tamper control register 1 (TAMP_ATCR1) | 3082 |
| 62.6.6 | TAMP active tamper seed register (TAMP_ATSEEDR) | 3084 |
| 62.6.7 | TAMP active tamper output register (TAMP_ATOMR) | 3084 |
| 62.6.8 | TAMP active tamper control register 2 (TAMP_ATCR2) | 3085 |
| 62.6.9 | TAMP secure configuration register (TAMP_SECCFGR) | 3088 |
| 62.6.10 | TAMP privilege configuration register (TAMP_PRIVCFGR) | 3089 |
| 62.6.11 | TAMP interrupt enable register (TAMP_IER) | 3090 |
| 62.6.12 | TAMP status register (TAMP_SR) | 3092 |
| 62.6.13 | TAMP nonsecure masked interrupt status register (TAMP_MISR) | 3094 |
| 62.6.14 | TAMP secure masked interrupt status register (TAMP_SMISR) | 3096 |
| 62.6.15 | TAMP status clear register (TAMP_SCR) | 3097 |
| 62.6.16 | TAMP monotonic counter 1 register (TAMP_COUNT1R) | 3099 |
| 62.6.17 | TAMP option register (TAMP_OR) | 3099 |
| 62.6.18 | TAMP resources protection configuration register (TAMP_RPCFGR) | 3100 |
| 62.6.19 | TAMP backup x register (TAMP_BKPxR) | 3101 |
| 62.6.20 | TAMP register map | 3102 |
| 63 | Inter-integrated circuit interface (I2C) | 3104 |
| 63.1 | I2C introduction | 3104 |
| 63.2 | I2C main features | 3104 |
| 63.3 | I2C implementation | 3105 |
| 63.4 | I2C functional description | 3105 |
| 63.4.1 | I2C block diagram | 3106 |
| 63.4.2 | I2C pins and internal signals | 3106 |
| 63.4.3 | I2C clock requirements | 3107 |
| 63.4.4 | I2C mode selection | 3107 |
| 63.4.5 | I2C initialization | 3108 |
| 63.4.6 | I2C reset | 3112 |
| 63.4.7 | I2C data transfer | 3113 |
| 63.4.8 | I2C target mode | 3115 |
| 63.4.9 | I2C controller mode | 3124 |
| 63.4.10 | I2C_TIMINGR register configuration examples | 3135 |
| 63.4.11 | SMBus specific features | 3137 |
| 63.4.12 | SMBus initialization | 3139 |
| 63.4.13 | SMBus I2C_TIMEOUTR register configuration examples | 3141 |
| 63.4.14 | SMBus target mode | 3142 |
| 63.4.15 | SMBus controller mode | 3145 |
| 63.4.16 | Wake-up from Stop mode on address match | 3148 |
| 63.4.17 | Error conditions | 3149 |
| 63.5 | I2C in low-power modes | 3151 |
| 63.6 | I2C interrupts | 3151 |
| 63.7 | I2C DMA requests | 3152 |
| 63.7.1 | Transmission using DMA | 3152 |
| 63.7.2 | Reception using DMA | 3152 |
| 63.8 | I2C debug modes | 3153 |
| 63.9 | I2C registers | 3153 |
| 63.9.1 | I2C control register 1 (I2C_CR1) | 3153 |
| 63.9.2 | I2C control register 2 (I2C_CR2) | 3156 |
| 63.9.3 | I2C own address 1 register (I2C_OAR1) | 3158 |
| 63.9.4 | I2C own address 2 register (I2C_OAR2) | 3158 |
| 63.9.5 | I2C timing register (I2C_TIMINGR) | 3159 |
| 63.9.6 | I2C timeout register (I2C_TIMEOUTR) | 3160 |
| 63.9.7 | I2C interrupt and status register (I2C_ISR) | 3161 |
| 63.9.8 | I2C interrupt clear register (I2C_ICR) | 3164 |
| 63.9.9 | I2C PEC register (I2C_PECR) | 3165 |
| 63.9.10 | I2C receive data register (I2C_RXDR) | 3165 |
| 63.9.11 | I2C transmit data register (I2C_TXDR) | 3166 |
| 63.9.12 | I2C register map | 3167 |
| 64 | Improved inter-integrated circuit (I3C) | 3168 |
| 64.1 | I3C introduction | 3168 |
| 64.2 | I3C main features | 3168 |
| 64.3 | I3C implementation | 3170 |
| 64.3.1 | I3C instantiation | 3170 |
| 64.3.2 | I3C wake-up from low-power mode(s) | 3170 |
| 64.3.3 | I3C FIFOs | 3170 |
| 64.3.4 | I3C triggers | 3170 |
| 64.3.5 | I3C interrupt(s) | 3170 |
| 64.3.6 | I3C MIPI® support ..... | 3172 |
| 64.4 | I3C block diagram ..... | 3173 |
| 64.5 | I3C pins and internal signals ..... | 3173 |
| 64.6 | I3C reset and clocks ..... | 3174 |
| 64.6.1 | I3C reset ..... | 3174 |
| 64.6.2 | I3C clocks and requirements ..... | 3174 |
| 64.7 | I3C peripheral state and programming ..... | 3176 |
| 64.7.1 | I3C peripheral state ..... | 3176 |
| 64.7.2 | I3C controller state and programming sequence ..... | 3177 |
| 64.7.3 | I3C target state and programming sequence ..... | 3181 |
| 64.8 | I3C registers and programming ..... | 3185 |
| 64.8.1 | I3C register set, as controller/target ..... | 3185 |
| 64.8.2 | I3C registers and fields use versus peripheral state, as controller .. | 3186 |
| 64.8.3 | I3C registers and fields usage versus peripheral state, as target ... | 3189 |
| 64.9 | I3C bus transfers and programming ..... | 3191 |
| 64.9.1 | I3C command set (CCCs), as controller/target ..... | 3191 |
| 64.9.2 | I3C broadcast/direct CCC transfer (except ENTDA, RSTACT), as controller ..... | 3195 |
| 64.9.3 | I3C broadcast ENTDA CCC transfer, as controller ..... | 3197 |
| 64.9.4 | I3C broadcast/direct RSTACT CCC transfer, as controller ..... | 3197 |
| 64.9.5 | I3C broadcast/direct CCC transfer (except ENTDA, DEFTGTS, DEFGRPA), as target ..... | 3199 |
| 64.9.6 | I3C broadcast ENTDA CCC transfer, as target ..... | 3201 |
| 64.9.7 | I3C broadcast DEFTGTS CCC transfer, as target ..... | 3202 |
| 64.9.8 | I3C broadcast DEFGRPA CCC transfer, as target ..... | 3203 |
| 64.9.9 | I3C direct GETSTATUS CCC response, as target ..... | 3204 |
| 64.9.10 | I3C private read/write transfer, as controller ..... | 3205 |
| 64.9.11 | I3C private read/write transfer, as target ..... | 3206 |
| 64.9.12 | Legacy I2C read/write transfer, as controller ..... | 3207 |
| 64.9.13 | I3C IBI transfer, as controller/target ..... | 3208 |
| 64.9.14 | I3C hot-join request transfer, as controller/target ..... | 3210 |
| 64.9.15 | I3C controller-role request transfer, as controller/target ..... | 3211 |
| 64.10 | I3C FIFOs management, as controller ..... | 3212 |
| 64.10.1 | C-FIFO management, as controller ..... | 3212 |
| 64.10.2 | TX-FIFO management, as controller ..... | 3213 |
| 64.10.3 | RX-FIFO management, as controller ..... | 3216 |
| 64.10.4 | S-FIFO management, as controller ..... | 3218 |
| 64.11 | I3C FIFOs management, as target | 3220 |
| 64.11.1 | RX-FIFO management, as target | 3220 |
| 64.11.2 | TX-FIFO management, as target | 3221 |
| 64.12 | I3C error management | 3224 |
| 64.12.1 | Controller error management | 3224 |
| 64.12.2 | Target error management | 3226 |
| 64.13 | I3C wake-up from low-power mode(s) | 3227 |
| 64.13.1 | Wake-up from Stop | 3227 |
| 64.14 | I3C in low-power modes | 3230 |
| 64.15 | I3C interrupts | 3231 |
| 64.16 | I3C registers | 3232 |
| 64.16.1 | I3C message control register (I3C_CR) | 3232 |
| 64.16.2 | I3C message control register [alternate] (I3C_CR) | 3234 |
| 64.16.3 | I3C configuration register (I3C_CFGR) | 3236 |
| 64.16.4 | I3C receive data byte register (I3C_RDR) | 3241 |
| 64.16.5 | I3C receive data word register (I3C_RDWR) | 3241 |
| 64.16.6 | I3C transmit data byte register (I3C_TDR) | 3242 |
| 64.16.7 | I3C transmit data word register (I3C_TDWR) | 3243 |
| 64.16.8 | I3C IBI payload data register (I3C_IBIDR) | 3245 |
| 64.16.9 | I3C target transmit configuration register (I3C_TGTTDR) | 3246 |
| 64.16.10 | I3C status register (I3C_SR) | 3247 |
| 64.16.11 | I3C status error register (I3C_SER) | 3248 |
| 64.16.12 | I3C received message register (I3C_RMR) | 3250 |
| 64.16.13 | I3C event register (I3C_EVR) | 3251 |
| 64.16.14 | I3C interrupt enable register (I3C_IER) | 3255 |
| 64.16.15 | I3C clear event register (I3C_CEVR) | 3257 |
| 64.16.16 | I3C own device characteristics register (I3C_DEVR0) | 3259 |
| 64.16.17 | I3C device x characteristics register (I3C_DEVRx) | 3261 |
| 64.16.18 | I3C maximum read length register (I3C_MAXRLR) | 3263 |
| 64.16.19 | I3C maximum write length register (I3C_MAXWLR) | 3264 |
| 64.16.20 | I3C timing register 0 (I3C_TIMINGR0) | 3265 |
| 64.16.21 | I3C timing register 1 (I3C_TIMINGR1) | 3266 |
| 64.16.22 | I3C timing register 2 (I3C_TIMINGR2) | 3268 |
| 64.16.23 | I3C bus characteristics register (I3C_BCR) | 3269 |
| 64.16.24 | I3C device characteristics register (I3C_DCR) | 3270 |
| 64.16.25 | I3C get capability register (I3C_GETCAPR) | 3271 |
| 64.16.26 | I3C controller-role capability register (I3C_CRCAPR) ..... | 3272 |
| 64.16.27 | I3C get max data speed register (I3C_GETMXDSR) ..... | 3273 |
| 64.16.28 | I3C extended provisioned ID register (I3C_EPIDR) ..... | 3275 |
| 64.16.29 | I3C register map ..... | 3276 |
| 65 | Universal synchronous/asynchronous receiver transmitter (USART/UART) ..... | 3279 |
| 65.1 | USART introduction ..... | 3279 |
| 65.2 | USART main features ..... | 3279 |
| 65.3 | USART extended features ..... | 3280 |
| 65.4 | USART implementation ..... | 3280 |
| 65.5 | USART functional description ..... | 3282 |
| 65.5.1 | USART block diagram ..... | 3282 |
| 65.5.2 | USART pins and internal signals ..... | 3282 |
| 65.5.3 | USART clocks ..... | 3284 |
| 65.5.4 | USART character description ..... | 3284 |
| 65.5.5 | USART FIFOs and thresholds ..... | 3287 |
| 65.5.6 | USART transmitter ..... | 3287 |
| 65.5.7 | USART receiver ..... | 3290 |
| 65.5.8 | USART baud rate generation ..... | 3297 |
| 65.5.9 | Tolerance of the USART receiver to clock deviation ..... | 3299 |
| 65.5.10 | USART auto baud rate detection ..... | 3300 |
| 65.5.11 | USART multiprocessor communication ..... | 3302 |
| 65.5.12 | USART Modbus communication ..... | 3304 |
| 65.5.13 | USART parity control ..... | 3305 |
| 65.5.14 | USART LIN (local interconnection network) mode ..... | 3306 |
| 65.5.15 | USART synchronous mode ..... | 3308 |
| 65.5.16 | USART single-wire half-duplex communication ..... | 3312 |
| 65.5.17 | USART receiver timeout ..... | 3312 |
| 65.5.18 | USART smartcard mode ..... | 3313 |
| 65.5.19 | USART IrDA SIR ENDEC block ..... | 3317 |
| 65.5.20 | Continuous communication using USART and DMA ..... | 3320 |
| 65.5.21 | RS232 hardware flow control and RS485 driver enable ..... | 3322 |
| 65.5.22 | USART low-power management ..... | 3325 |
| 65.6 | USART in low-power modes ..... | 3328 |
| 65.7 | USART interrupts ..... | 3328 |
| 65.8 | USART registers | 3331 |
| 65.8.1 | USART control register 1 (USART_CR1) | 3331 |
| 65.8.2 | USART control register 1 [alternate] (USART_CR1) | 3335 |
| 65.8.3 | USART control register 2 (USART_CR2) | 3338 |
| 65.8.4 | USART control register 3 (USART_CR3) | 3342 |
| 65.8.5 | USART control register 3 [alternate] (USART_CR3) | 3346 |
| 65.8.6 | USART baud rate register (USART_BRR) | 3349 |
| 65.8.7 | USART guard time and prescaler register (USART_GTPR) | 3350 |
| 65.8.8 | USART receiver timeout register (USART_RTOR) | 3351 |
| 65.8.9 | USART request register (USART_RQR) | 3352 |
| 65.8.10 | USART interrupt and status register (USART_ISR) | 3353 |
| 65.8.11 | USART interrupt and status register [alternate] (USART_ISR) | 3359 |
| 65.8.12 | USART interrupt flag clear register (USART_ICR) | 3364 |
| 65.8.13 | USART receive data register (USART_RDR) | 3365 |
| 65.8.14 | USART transmit data register (USART_TDR) | 3366 |
| 65.8.15 | USART prescaler register (USART_PRESC) | 3366 |
| 65.8.16 | USART register map | 3367 |
| 66 | Low-power universal asynchronous receiver transmitter (LPUART) | 3369 |
| 66.1 | LPUART introduction | 3369 |
| 66.2 | LPUART main features | 3369 |
| 66.3 | LPUART implementation | 3370 |
| 66.4 | LPUART functional description | 3372 |
| 66.4.1 | LPUART block diagram | 3372 |
| 66.4.2 | LPUART pins and internal signals | 3373 |
| 66.4.3 | LPUART clocks | 3374 |
| 66.4.4 | LPUART character description | 3374 |
| 66.4.5 | LPUART FIFOs and thresholds | 3376 |
| 66.4.6 | LPUART transmitter | 3376 |
| 66.4.7 | LPUART receiver | 3380 |
| 66.4.8 | LPUART baud rate generation | 3384 |
| 66.4.9 | Tolerance of the LPUART receiver to clock deviation | 3385 |
| 66.4.10 | LPUART multiprocessor communication | 3386 |
| 66.4.11 | LPUART parity control | 3388 |
| 66.4.12 | LPUART single-wire half-duplex communication | 3389 |
| 66.4.13 | Continuous communication using DMA and LPUART | 3389 |
| 66.4.14 | RS232 hardware flow control and RS485 driver enable ..... | 3392 |
| 66.4.15 | LPUART low-power management ..... | 3394 |
| 66.5 | LPUART in low-power modes ..... | 3397 |
| 66.6 | LPUART interrupts ..... | 3398 |
| 66.7 | LPUART registers ..... | 3399 |
| 66.7.1 | LPUART control register 1 (LPUART_CR1) ..... | 3399 |
| 66.7.2 | LPUART control register 1 [alternate] (LPUART_CR1) ..... | 3402 |
| 66.7.3 | LPUART control register 2 (LPUART_CR2) ..... | 3405 |
| 66.7.4 | LPUART control register 3 (LPUART_CR3) ..... | 3407 |
| 66.7.5 | LPUART control register 3 [alternate] (LPUART_CR3) ..... | 3410 |
| 66.7.6 | LPUART baud rate register (LPUART_BRR) ..... | 3412 |
| 66.7.7 | LPUART request register (LPUART_RQR) ..... | 3412 |
| 66.7.8 | LPUART interrupt and status register (LPUART_ISR) ..... | 3413 |
| 66.7.9 | LPUART interrupt and status register [alternate] (LPUART_ISR) ... | 3418 |
| 66.7.10 | LPUART interrupt flag clear register (LPUART_ICR) ..... | 3421 |
| 66.7.11 | LPUART receive data register (LPUART_RDR) ..... | 3422 |
| 66.7.12 | LPUART transmit data register (LPUART_TDR) ..... | 3422 |
| 66.7.13 | LPUART prescaler register (LPUART_PRESC) ..... | 3423 |
| 66.7.14 | LPUART register map ..... | 3424 |
| 67 | Serial peripheral interface (SPI) ..... | 3426 |
| 67.1 | SPI introduction ..... | 3426 |
| 67.2 | SPI main features ..... | 3426 |
| 67.3 | SPI implementation ..... | 3427 |
| 67.4 | SPI functional description ..... | 3428 |
| 67.4.1 | SPI block diagram ..... | 3428 |
| 67.4.2 | SPI pins and internal signals ..... | 3429 |
| 67.4.3 | SPI communication general aspects ..... | 3430 |
| 67.4.4 | Communications between one master and one slave ..... | 3430 |
| 67.4.5 | Standard multislave communication ..... | 3433 |
| 67.4.6 | Multimaster communication ..... | 3436 |
| 67.4.7 | Slave select (NSS pin) management ..... | 3437 |
| 67.4.8 | Ready pin (RDY) management ..... | 3441 |
| 67.4.9 | Communication formats ..... | 3441 |
| 67.4.10 | Configuring the SPI ..... | 3443 |
| 67.4.11 | Enabling the SPI ..... | 3444 |
| 67.4.12 | SPI data transmission and reception procedures | 3445 |
| 67.4.13 | Disabling the SPI | 3449 |
| 67.4.14 | Communication using DMA (direct memory addressing) | 3450 |
| 67.5 | SPI specific modes and control | 3452 |
| 67.5.1 | TI mode | 3452 |
| 67.5.2 | SPI error flags | 3452 |
| 67.5.3 | CRC computation | 3456 |
| 67.6 | SPI in low-power modes | 3457 |
| 67.7 | SPI interrupts | 3457 |
| 67.8 | I2S main features | 3459 |
| 67.9 | I2S functional description | 3459 |
| 67.9.1 | I2S general description | 3459 |
| 67.9.2 | Pin sharing with SPI function | 3460 |
| 67.9.3 | Bitfields usable in I2S/PCM mode | 3460 |
| 67.9.4 | Slave and master modes | 3461 |
| 67.9.5 | Supported audio protocols | 3461 |
| 67.9.6 | Additional serial interface flexibility | 3467 |
| 67.9.7 | Startup sequence | 3469 |
| 67.9.8 | Stop sequence | 3471 |
| 67.9.9 | Clock generator | 3472 |
| 67.9.10 | Internal FIFOs | 3474 |
| 67.9.11 | FIFO status flags | 3475 |
| 67.9.12 | Handling of underrun situation | 3475 |
| 67.9.13 | Handling of overrun situation | 3476 |
| 67.9.14 | Frame error detection | 3477 |
| 67.9.15 | DMA interface | 3479 |
| 67.9.16 | Programing examples | 3479 |
| 67.10 | I2S interrupts | 3481 |
| 67.11 | SPI/I2S registers | 3482 |
| 67.11.1 | SPI/I2S control register 1 (SPI_CR1) | 3482 |
| 67.11.2 | SPI/I2S control register 2 (SPI_CR2) | 3484 |
| 67.11.3 | SPI/I2S configuration register 1 (SPI_CFG1) | 3484 |
| 67.11.4 | SPI/I2S configuration register 2 (SPI_CFG2) | 3487 |
| 67.11.5 | SPI/I2S interrupt enable register (SPI_IER) | 3489 |
| 67.11.6 | SPI/I2S status register (SPI_SR) | 3490 |
| 67.11.7 | SPI/I2S interrupt/status flags clear register (SPI_IFCR) | 3493 |
| 67.11.8 | SPI/I2S transmit data register (SPI_TXDR) ..... | 3494 |
| 67.11.9 | SPI/I2S receive data register (SPI_RXDR) ..... | 3494 |
| 67.11.10 | SPI/I2S polynomial register (SPI_CRCPOLY) ..... | 3495 |
| 67.11.11 | SPI/I2S transmitter CRC register (SPI_TXCRC) ..... | 3495 |
| 67.11.12 | SPI/I2S receiver CRC register (SPI_RXCRC) ..... | 3496 |
| 67.11.13 | SPI/I2S underrun data register (SPI_UDRDR) ..... | 3497 |
| 67.11.14 | SPI/I2S configuration register (SPI_I2SCFGR) ..... | 3497 |
| 67.11.15 | SPI/I2S register map ..... | 3499 |
| 68 | Serial audio interface (SAI) ..... | 3501 |
| 68.1 | SAI introduction ..... | 3501 |
| 68.2 | SAI main features ..... | 3501 |
| 68.3 | SAI implementation ..... | 3502 |
| 68.4 | SAI functional description ..... | 3502 |
| 68.4.1 | SAI block diagram ..... | 3502 |
| 68.4.2 | SAI pins and internal signals ..... | 3504 |
| 68.4.3 | Main SAI modes ..... | 3505 |
| 68.4.4 | SAI synchronization mode ..... | 3506 |
| 68.4.5 | Audio data size ..... | 3507 |
| 68.4.6 | Frame synchronization ..... | 3507 |
| 68.4.7 | Slot configuration ..... | 3510 |
| 68.4.8 | SAI clock generator ..... | 3512 |
| 68.4.9 | Internal FIFOs ..... | 3515 |
| 68.4.10 | PDM interface ..... | 3517 |
| 68.4.11 | AC'97 link controller ..... | 3525 |
| 68.4.12 | SPDIF output ..... | 3527 |
| 68.4.13 | Specific features ..... | 3530 |
| 68.4.14 | Error flags ..... | 3534 |
| 68.4.15 | Disabling the SAI ..... | 3537 |
| 68.4.16 | SAI DMA interface ..... | 3537 |
| 68.5 | SAI interrupts ..... | 3538 |
| 68.6 | SAI registers ..... | 3540 |
| 68.6.1 | SAI global configuration register (SAI_GCR) ..... | 3540 |
| 68.6.2 | SAI configuration register 1 (SAI_ACR1) ..... | 3540 |
| 68.6.3 | SAI configuration register 2 (SAI_ACR2) ..... | 3543 |
| 68.6.4 | SAI frame configuration register (SAI_AFRCR) ..... | 3545 |
| 68.6.5 | SAI slot register (SAI_ASLOTR) ..... | 3546 |
| 68.6.6 | SAI interrupt mask register (SAI_AIM) ..... | 3547 |
| 68.6.7 | SAI status register (SAI_ASR) ..... | 3549 |
| 68.6.8 | SAI clear flag register (SAI_ACLRFR) ..... | 3551 |
| 68.6.9 | SAI data register (SAI_ADR) ..... | 3552 |
| 68.6.10 | SAI configuration register 1 (SAI_BCR1) ..... | 3552 |
| 68.6.11 | SAI configuration register 2 (SAI_BCR2) ..... | 3555 |
| 68.6.12 | SAI frame configuration register (SAI_BFRCR) ..... | 3557 |
| 68.6.13 | SAI slot register (SAI_BSLOTR) ..... | 3558 |
| 68.6.14 | SAI interrupt mask register (SAI_BIM) ..... | 3559 |
| 68.6.15 | SAI status register (SAI_BSR) ..... | 3560 |
| 68.6.16 | SAI clear flag register (SAI_BCLRFR) ..... | 3562 |
| 68.6.17 | SAI data register (SAI_BDR) ..... | 3563 |
| 68.6.18 | SAI PDM control register (SAI_PDMCR) ..... | 3564 |
| 68.6.19 | SAI PDM delay register (SAI_PDMDLY) ..... | 3565 |
| 68.6.20 | SAI register map ..... | 3567 |
| 69 | SPDIF receiver interface (SPDIFRX) ..... | 3569 |
| 69.1 | SPDIFRX interface introduction ..... | 3569 |
| 69.2 | SPDIFRX main features ..... | 3569 |
| 69.3 | SPDIFRX functional description ..... | 3569 |
| 69.3.1 | SPDIFRX pins and internal signals ..... | 3570 |
| 69.3.2 | S/PDIF protocol (IEC-60958) ..... | 3571 |
| 69.3.3 | SPDIFRX decoder (SPDIFRX_DC) ..... | 3573 |
| 69.3.4 | SPDIFRX tolerance to clock deviation ..... | 3577 |
| 69.3.5 | SPDIFRX synchronization ..... | 3577 |
| 69.3.6 | SPDIFRX handling ..... | 3579 |
| 69.3.7 | Data reception management ..... | 3581 |
| 69.3.8 | Dedicated control flow ..... | 3583 |
| 69.3.9 | Reception errors ..... | 3584 |
| 69.3.10 | Clocking strategy ..... | 3586 |
| 69.3.11 | Symbol clock generation ..... | 3586 |
| 69.3.12 | DMA interface ..... | 3588 |
| 69.3.13 | Interrupt generation ..... | 3589 |
| 69.3.14 | Register protection ..... | 3590 |
| 69.4 | Programming procedures ..... | 3590 |
| 69.4.1 | Initialization phase ..... | 3591 |
| 69.4.2 | Handling of interrupts coming from SPDIFRX | 3592 |
| 69.4.3 | Handling of interrupts coming from DMA | 3592 |
| 69.5 | SPDIFRX interface registers | 3593 |
| 69.5.1 | SPDIFRX control register (SPDIFRX_CR) | 3593 |
| 69.5.2 | SPDIFRX interrupt mask register (SPDIFRX_IMR) | 3595 |
| 69.5.3 | SPDIFRX status register (SPDIFRX_SR) | 3596 |
| 69.5.4 | SPDIFRX interrupt flag clear register (SPDIFRX_IFCR) | 3598 |
| 69.5.5 | SPDIFRX data input register (SPDIFRX_FMT0_DR) | 3599 |
| 69.5.6 | SPDIFRX data input register (SPDIFRX_FMT1_DR) | 3599 |
| 69.5.7 | SPDIFRX data input register (SPDIFRX_FMT2_DR) | 3600 |
| 69.5.8 | SPDIFRX channel status register (SPDIFRX_CSR) | 3601 |
| 69.5.9 | SPDIFRX debug information register (SPDIFRX_DIR) | 3601 |
| 69.5.10 | SPDIFRX interface register map | 3602 |
| 70 | Management data input/output (MDIOS) | 3603 |
| 70.1 | MDIOS introduction | 3603 |
| 70.2 | MDIOS main features | 3603 |
| 70.3 | MDIOS functional description | 3604 |
| 70.3.1 | MDIOS block diagram | 3604 |
| 70.3.2 | MDIOS pins and internal signals | 3604 |
| 70.3.3 | MDIOS protocol | 3604 |
| 70.3.4 | MDIOS enabling and disabling | 3605 |
| 70.3.5 | MDIOS data | 3606 |
| 70.3.6 | MDIOS APB frequency | 3607 |
| 70.3.7 | Write/read flags and interrupts | 3607 |
| 70.3.8 | MDIOS error management | 3608 |
| 70.3.9 | MDIOS in Stop mode | 3609 |
| 70.3.10 | MDIOS interrupts | 3609 |
| 70.4 | MDIOS registers | 3609 |
| 70.4.1 | MDIOS configuration register (MDIOS_CR) | 3609 |
| 70.4.2 | MDIOS write flag register (MDIOS_WRFR) | 3610 |
| 70.4.3 | MDIOS clear write flag register (MDIOS_CWRFR) | 3611 |
| 70.4.4 | MDIOS read flag register (MDIOS_RDFR) | 3611 |
| 70.4.5 | MDIOS clear read flag register (MDIOS_CRDFR) | 3612 |
| 70.4.6 | MDIOS status register (MDIOS_SR) | 3612 |
| 70.4.7 | MDIOS clear flag register (MDIOS_CLRFR) | 3613 |
| 70.4.8 | MDIOS input data register x (MDIOS_DINRx) | 3613 |
| 70.4.9 | MDIOS output data register x (MDIOS_DOUTRx) . . . . . | 3614 |
| 70.4.10 | MDIOS register map . . . . . | 3614 |
| 71 | Controller area network with flexible data rate (FDCAN) . . . . . | 3616 |
| 71.1 | FDCAN introduction . . . . . | 3616 |
| 71.2 | FDCAN main features . . . . . | 3619 |
| 71.3 | TTCAN implementation . . . . . | 3619 |
| 71.4 | FDCAN functional description . . . . . | 3620 |
| 71.4.1 | Operating modes . . . . . | 3621 |
| 71.4.2 | Error management . . . . . | 3630 |
| 71.4.3 | Message RAM . . . . . | 3630 |
| 71.4.4 | FIFO acknowledge handling . . . . . | 3642 |
| 71.4.5 | Bit timing . . . . . | 3643 |
| 71.4.6 | Clock calibration on CAN . . . . . | 3644 |
| 71.4.7 | Application . . . . . | 3648 |
| 71.4.8 | TTCAN operations (FDCAN1 only) . . . . . | 3649 |
| 71.4.9 | TTCAN configuration . . . . . | 3650 |
| 71.4.10 | Message scheduling . . . . . | 3652 |
| 71.4.11 | TTCAN gap control . . . . . | 3659 |
| 71.4.12 | Stop watch . . . . . | 3660 |
| 71.4.13 | Local time, cycle time, global time, and external clock synchronization . . . . . | 3660 |
| 71.4.14 | TTCAN error level . . . . . | 3663 |
| 71.4.15 | TTCAN message handling . . . . . | 3664 |
| 71.4.16 | TTCAN interrupt and error handling . . . . . | 3667 |
| 71.4.17 | Level 0 . . . . . | 3668 |
| 71.4.18 | Synchronization to external time schedule . . . . . | 3670 |
| 71.4.19 | FDCAN Rx buffer and FIFO element . . . . . | 3671 |
| 71.4.20 | FDCAN Tx buffer element . . . . . | 3673 |
| 71.4.21 | FDCAN Tx event FIFO element . . . . . | 3675 |
| 71.4.22 | FDCAN standard message ID filter element . . . . . | 3676 |
| 71.4.23 | FDCAN extended message ID filter element . . . . . | 3678 |
| 71.4.24 | FDCAN trigger memory element . . . . . | 3679 |
| 71.5 | FDCAN registers . . . . . | 3681 |
| 71.5.1 | FDCAN core release register (FDCAN_CREL) . . . . . | 3681 |
| 71.5.2 | FDCAN Endian register (FDCAN_ENDN) . . . . . | 3681 |
| 71.5.3 | FDCAN data bit timing and prescaler register (FDCAN_DBTP) . . . . . | 3681 |
| 71.5.4 | FDCAN test register (FDCAN_TEST) ..... | 3682 |
| 71.5.5 | FDCAN RAM watchdog register (FDCAN_RWD) ..... | 3683 |
| 71.5.6 | FDCAN CC control register (FDCAN_CCCR) ..... | 3684 |
| 71.5.7 | FDCAN nominal bit timing and prescaler register (FDCAN_NBTP) .. | 3686 |
| 71.5.8 | FDCAN timestamp counter configuration register (FDCAN_TSCC) .. | 3687 |
| 71.5.9 | FDCAN timestamp counter value register (FDCAN_TSCV) ..... | 3687 |
| 71.5.10 | FDCAN timeout counter configuration register (FDCAN_TOCC) ... | 3688 |
| 71.5.11 | FDCAN timeout counter value register (FDCAN_TOCV) ..... | 3689 |
| 71.5.12 | FDCAN error counter register (FDCAN_ECR) ..... | 3689 |
| 71.5.13 | FDCAN protocol status register (FDCAN_PSR) ..... | 3690 |
| 71.5.14 | FDCAN transmitter delay compensation register (FDCAN_TDCR) .. | 3692 |
| 71.5.15 | FDCAN interrupt register (FDCAN_IR) ..... | 3692 |
| 71.5.16 | FDCAN interrupt enable register (FDCAN_IE) ..... | 3695 |
| 71.5.17 | FDCAN interrupt line select register (FDCAN_ILS) ..... | 3697 |
| 71.5.18 | FDCAN interrupt line enable register (FDCAN_ILE) ..... | 3698 |
| 71.5.19 | FDCAN global filter configuration register (FDCAN_GFC) ..... | 3699 |
| 71.5.20 | FDCAN standard ID filter configuration register (FDCAN_SIDFC) .. | 3700 |
| 71.5.21 | FDCAN extended ID filter configuration register (FDCAN_XIDFC) .. | 3701 |
| 71.5.22 | FDCAN extended ID and mask register (FDCAN_XIDAM) ..... | 3701 |
| 71.5.23 | FDCAN high priority message status register (FDCAN_HPMS) .... | 3702 |
| 71.5.24 | FDCAN new data 1 register (FDCAN_NDAT1) ..... | 3703 |
| 71.5.25 | FDCAN new data 2 register (FDCAN_NDAT2) ..... | 3703 |
| 71.5.26 | FDCAN Rx FIFO 0 configuration register (FDCAN_RXF0C) ..... | 3704 |
| 71.5.27 | FDCAN Rx FIFO 0 status register (FDCAN_RXF0S) ..... | 3704 |
| 71.5.28 | FDCAN Rx FIFO 0 acknowledge register (FDCAN_RXF0A) ..... | 3705 |
| 71.5.29 | FDCAN Rx buffer configuration register (FDCAN_RXBC) ..... | 3706 |
| 71.5.30 | FDCAN Rx FIFO 1 configuration register (FDCAN_RXF1C) ..... | 3706 |
| 71.5.31 | FDCAN Rx FIFO 1 status register (FDCAN_RXF1S) ..... | 3707 |
| 71.5.32 | FDCAN Rx FIFO 1 acknowledge register (FDCAN_RXF1A) ..... | 3708 |
| 71.5.33 | FDCAN Rx buffer element size configuration register (FDCAN_RXESC) ..... | 3708 |
| 71.5.34 | FDCAN Tx buffer configuration register (FDCAN_TXBC) ..... | 3709 |
| 71.5.35 | FDCAN Tx FIFO/queue status register (FDCAN_TXFQS) ..... | 3710 |
| 71.5.36 | FDCAN Tx buffer element size configuration register (FDCAN_TXESC) ..... | 3711 |
| 71.5.37 | FDCAN Tx buffer request pending register (FDCAN_TXBRP) .... | 3712 |
| 71.5.38 | FDCAN Tx buffer add request register (FDCAN_TXBAR) ..... | 3712 |
| 71.5.39 | FDCAN Tx buffer cancellation request register (FDCAN_TXBCR) .. | 3713 |
| 71.5.40 | FDCAN Tx buffer transmission occurred register (FDCAN_TXBTO) | 3713 |
| 71.5.41 | FDCAN Tx buffer cancellation finished register (FDCAN_TXBCF) | 3714 |
| 71.5.42 | FDCAN Tx buffer transmission interrupt enable register (FDCAN_TXBTIE) | 3714 |
| 71.5.43 | FDCAN Tx buffer cancellation finished interrupt enable register (FDCAN_TXBCIE) | 3715 |
| 71.5.44 | FDCAN Tx event FIFO configuration register (FDCAN_TXEFC) | 3715 |
| 71.5.45 | FDCAN Tx event FIFO status register (FDCAN_TXEFS) | 3716 |
| 71.5.46 | FDCAN Tx event FIFO acknowledge register (FDCAN_TXEFA) | 3717 |
| 71.5.47 | FDCAN register map | 3717 |
| 71.6 | TTCAN registers | 3721 |
| 71.6.1 | FDCAN TT trigger memory configuration register (FDCAN_TTTMC) | 3721 |
| 71.6.2 | FDCAN TT reference message configuration register (FDCAN_TTRMC) | 3721 |
| 71.6.3 | FDCAN TT operation configuration register (FDCAN_TTOCF) | 3722 |
| 71.6.4 | FDCAN TT matrix limits register (FDCAN_TTMLM) | 3724 |
| 71.6.5 | FDCAN TUR configuration register (FDCAN_TURCF) | 3725 |
| 71.6.6 | FDCAN TT operation control register (FDCAN_TTOCN) | 3726 |
| 71.6.7 | FDCAN TT global time preset register (FDCAN_TTGTP) | 3728 |
| 71.6.8 | FDCAN TT time mark register (FDCAN_TTTMK) | 3728 |
| 71.6.9 | FDCAN TT interrupt register (FDCAN_TTIR) | 3729 |
| 71.6.10 | FDCAN TT interrupt enable register (FDCAN_TTIE) | 3731 |
| 71.6.11 | FDCAN TT interrupt line select register (FDCAN_TTILS) | 3733 |
| 71.6.12 | FDCAN TT operation status register (FDCAN_TTOST) | 3734 |
| 71.6.13 | FDCAN TUR numerator actual register (FDCAN_TURNA) | 3736 |
| 71.6.14 | FDCAN TT local and global time register (FDCAN_TTLGT) | 3737 |
| 71.6.15 | FDCAN TT cycle time and count register (FDCAN_TTCTC) | 3737 |
| 71.6.16 | FDCAN TT capture time register (FDCAN_TTCPT) | 3738 |
| 71.6.17 | FDCAN TT cycle sync mark register (FDCAN_TTCSM) | 3738 |
| 71.6.18 | FDCAN TT trigger select register (FDCAN_TTTS) | 3739 |
| 71.6.19 | FDCAN TT register map | 3739 |
| 71.7 | CCU registers | 3741 |
| 71.7.1 | Clock calibration unit core release register (FDCAN_CCU_CREL) | 3741 |
| 71.7.2 | Calibration configuration register (FDCAN_CCU_CCFG) | 3741 |
| 71.7.3 | Calibration status register (FDCAN_CCU_CSTAT) | 3743 |
| 71.7.4 | Calibration watchdog register (FDCAN_CCU_CWD) | 3743 |
| 71.7.5 | Clock calibration unit interrupt register (FDCAN_CCU_IR) | 3744 |
| 71.7.6 | Clock calibration unit interrupt enable register (FDCAN_CCU_IE) .. | 3745 |
| 71.7.7 | CCU register map ..... | 3745 |
| 72 | USB subsystem (USBSS) ..... | 3747 |
| 72.1 | Overview ..... | 3747 |
| 72.2 | USB2 OTG high-speed Port 1 ..... | 3747 |
| 72.2.1 | USB2 OTG high-speed Port 1 main features ..... | 3747 |
| 72.2.2 | USB2 OTG high-speed Port 1 functional description ..... | 3748 |
| 72.2.3 | USB2 OTG high-speed Port 1 interrupts ..... | 3750 |
| 72.2.4 | Battery charging ..... | 3750 |
| 72.2.5 | ID management ..... | 3751 |
| 72.2.6 | VBUS detection ..... | 3751 |
| 72.3 | USB2 OTG high-speed Port 2 ..... | 3751 |
| 72.3.1 | USB2 OTG high-speed Port 2 main features ..... | 3751 |
| 72.3.2 | USB2 OTG high-speed Port 2 functional description ..... | 3752 |
| 72.3.3 | USB2 OTG high-speed Port 2 interrupts ..... | 3754 |
| 72.3.4 | Battery charging ..... | 3754 |
| 72.3.5 | ID management ..... | 3754 |
| 72.3.6 | VBUS management ..... | 3754 |
| 72.4 | USB Type-C and power delivery interface ..... | 3755 |
| 72.4.1 | USB Type-C and power delivery interface main features ..... | 3755 |
| 72.4.2 | USB Type-C and power delivery interface implementation ..... | 3755 |
| 72.4.3 | USB Type-C and power delivery interface functional description .. | 3757 |
| 72.4.4 | USB Type-C and power delivery interrupts ..... | 3758 |
| 72.5 | Debug signals ..... | 3759 |
| 73 | USB on-the-go high-speed (OTG) ..... | 3760 |
| 73.1 | OTG introduction ..... | 3760 |
| 73.2 | OTG main features ..... | 3761 |
| 73.2.1 | General features ..... | 3761 |
| 73.2.2 | Host-mode features ..... | 3762 |
| 73.2.3 | Peripheral-mode features ..... | 3762 |
| 73.3 | OTG implementation ..... | 3762 |
| 73.4 | OTG functional description ..... | 3763 |
| 73.4.1 | OTG block diagram ..... | 3763 |
| 73.4.2 | OTG pin and internal signals ..... | 3763 |
| 73.4.3 | OTG core | 3764 |
| 73.4.4 | OTG detections | 3764 |
| 73.4.5 | High-speed OTG PHY connected to OTG | 3764 |
| 73.4.6 | Battery charging detection | 3764 |
| 73.5 | OTG dual role device (DRD) | 3765 |
| 73.5.1 | ID line detection | 3765 |
| 73.6 | OTG as a USB peripheral | 3765 |
| 73.6.1 | Peripheral states | 3766 |
| 73.6.2 | Peripheral endpoints | 3767 |
| 73.7 | OTG as a USB host | 3769 |
| 73.7.1 | USB host states | 3770 |
| 73.7.2 | Host channels | 3771 |
| 73.7.3 | Host scheduler | 3772 |
| 73.8 | OTG SOF trigger | 3773 |
| 73.8.1 | Host SOFs | 3774 |
| 73.8.2 | Peripheral SOFs | 3774 |
| 73.9 | OTG low-power modes | 3774 |
| 73.10 | OTG Dynamic update of the OTG_HFIR register | 3775 |
| 73.11 | OTG data FIFOs | 3776 |
| 73.11.1 | Peripheral FIFO architecture | 3776 |
| 73.11.2 | Host FIFO architecture | 3777 |
| 73.11.3 | FIFO RAM allocation | 3779 |
| 73.12 | OTG interrupts | 3780 |
| 73.13 | OTG control and status registers | 3782 |
| 73.13.1 | CSR memory map | 3782 |
| 73.14 | OTG registers | 3787 |
| 73.14.1 | OTG control and status register (OTG_GOTGCTL) | 3787 |
| 73.14.2 | OTG interrupt register (OTG_GOTGINT) | 3789 |
| 73.14.3 | OTG AHB configuration register (OTG_GAHBCFG) | 3790 |
| 73.14.4 | OTG USB configuration register (OTG_GUSBCFG) | 3791 |
| 73.14.5 | OTG reset register (OTG_GRSTCTL) | 3793 |
| 73.14.6 | OTG core interrupt register [alternate] (OTG_GINTSTS) | 3796 |
| 73.14.7 | OTG core interrupt register [alternate] (OTG_GINTSTS) | 3800 |
| 73.14.8 | OTG interrupt mask register [alternate] (OTG_GINTMSK) | 3805 |
| 73.14.9 | OTG interrupt mask register [alternate] (OTG_GINTMSK) | 3806 |
| 73.14.10 OTG receive status debug read register [alternate] (OTG_GRXSTSR) ..... | 3808 |
| 73.14.11 OTG receive status debug read register [alternate] (OTG_GRXSTSR) ..... | 3809 |
| 73.14.12 OTG status read and pop registers (OTG_GRXSTSP) ..... | 3810 |
| 73.14.13 OTG status read and pop registers [alternate] (OTG_GRXSTSP) .. | 3811 |
| 73.14.14 OTG receive FIFO size register (OTG_GRXFSIZ) ..... | 3812 |
| 73.14.15 OTG host non-periodic transmit FIFO size register [alternate] (OTG_HNPTXFSIZ) ..... | 3813 |
| 73.14.16 Endpoint 0 transmit FIFO size [alternate] (OTG_DIEPTXF0) ..... | 3813 |
| 73.14.17 OTG non-periodic transmit FIFO/queue status register (OTG_HNPTXSTS) ..... | 3814 |
| 73.14.18 OTG general core configuration register (OTG_GCCFG) ..... | 3815 |
| 73.14.19 OTG core ID register (OTG_CID) ..... | 3816 |
| 73.14.20 OTG core LPM configuration register (OTG_GLPMCFG) ..... | 3817 |
| 73.14.21 OTG host periodic transmit FIFO size register (OTG_HPTXFSIZ) ..... | 3821 |
| 73.14.22 OTG device IN endpoint transmit FIFO x size register (OTG_DIEPTXFx) ..... | 3821 |
| 73.14.23 Host-mode registers ..... | 3821 |
| 73.14.24 OTG host configuration register (OTG_HCFG) ..... | 3822 |
| 73.14.25 OTG host frame interval register (OTG_HFIR) ..... | 3822 |
| 73.14.26 OTG host frame number/frame time remaining register (OTG_HFNUM) ..... | 3823 |
| 73.14.27 OTG_Host periodic transmit FIFO/queue status register (OTG_HPTXSTS) ..... | 3824 |
| 73.14.28 OTG host all channels interrupt register (OTG_HAINT) ..... | 3825 |
| 73.14.29 OTG host all channels interrupt mask register (OTG_HAINTMSK) ..... | 3825 |
| 73.14.30 OTG host port control and status register (OTG_HPRT) ..... | 3826 |
| 73.14.31 OTG host channel x characteristics register (OTG_HCCHARx) .... | 3828 |
| 73.14.32 OTG host channel x split control register (OTG_HCSPLTx) ..... | 3829 |
| 73.14.33 OTG host channel x interrupt register (OTG_HCINTx) ..... | 3830 |
| 73.14.34 OTG host channel x interrupt mask register (OTG_HCINTMSKx) .. | 3831 |
| 73.14.35 OTG host channel x transfer size register (OTG_HCTSIZx) ..... | 3832 |
| 73.14.36 OTG host channel x DMA address register(OTG_HCDMAx) ..... | 3833 |
| 73.14.37 Device-mode registers ..... | 3833 |
| 73.14.38 OTG device configuration register (OTG_DCFG) ..... | 3833 |
| 73.14.39 OTG device control register (OTG_DCTL) ..... | 3835 |
| 73.14.40 OTG device status register (OTG_DSTS) ..... | 3837 |
| 73.14.41 OTG device IN endpoint common interrupt mask register (OTG_DIEPMSK) | 3838 |
| 73.14.42 OTG device OUT endpoint common interrupt mask register (OTG_DOEPMSK) | 3839 |
| 73.14.43 OTG device all endpoints interrupt register (OTG_DAINT) | 3840 |
| 73.14.44 OTG all endpoints interrupt mask register (OTG_DAINTMSK) | 3841 |
| 73.14.45 OTG device threshold control register (OTG_DTHRCTL) | 3841 |
| 73.14.46 OTG device IN endpoint FIFO empty interrupt mask register (OTG_DIEPEMPMSK) | 3842 |
| 73.14.47 OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 3843 |
| 73.14.48 OTG device IN endpoint x control register [alternate] (OTG_DIEPCTLx) | 3845 |
| 73.14.49 OTG device IN endpoint x interrupt register (OTG_DIEPINTx) | 3847 |
| 73.14.50 OTG device IN endpoint 0 transfer size register (OTG_DIEPTSIZ0) | 3848 |
| 73.14.51 OTG device IN endpoint x DMA address register (OTG_DIEPDMAx) | 3849 |
| 73.14.52 OTG device IN endpoint transmit FIFO status register (OTG_DTXFSTSx) | 3849 |
| 73.14.53 OTG device IN endpoint x transfer size register (OTG_DIEPTSIZx) | 3850 |
| 73.14.54 OTG device control OUT endpoint 0 control register (OTG_DOEPCTL0) | 3850 |
| 73.14.55 OTG device OUT endpoint x interrupt register (OTG_DOEPINTx) | 3852 |
| 73.14.56 OTG device OUT endpoint 0 transfer size register (OTG_DOEPTSIZ0) | 3854 |
| 73.14.57 OTG device OUT endpoint x DMA address register (OTG_DOEPDMAx) | 3855 |
| 73.14.58 OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 3855 |
| 73.14.59 OTG device OUT endpoint x control register [alternate] (OTG_DOEPCTLx) | 3857 |
| 73.14.60 OTG device OUT endpoint x transfer size register (OTG_DOEPTSIZx) | 3859 |
| 73.14.61 OTG power and clock gating control register (OTG_PCGCCTL) | 3860 |
| 73.14.62 OTG power and clock gating control register 1 (OTG_PCGCCTL1) | 3861 |
| 73.14.63 OTG register map | 3862 |
| 73.15 OTG programming model | 3869 |
| 73.15.1 Core initialization | 3869 |
| 73.15.2 Host initialization | 3870 |
| 73.15.3 | Device initialization | 3871 |
| 73.15.4 | DMA mode | 3871 |
| 73.15.5 | Host programming model | 3871 |
| 73.15.6 | Device programming model | 3904 |
| 73.15.7 | Worst case response time | 3924 |
| 73.15.8 | OTG programming model | 3926 |
| 74 | USB HS PHY controller (USBPHYC) | 3927 |
| 74.1 | Introduction | 3927 |
| 74.2 | USBPHYC main features | 3927 |
| 74.3 | USBPHYC implementation | 3927 |
| 74.4 | USBPHYC functional description | 3927 |
| 74.4.1 | USBPHYC block diagram | 3927 |
| 74.4.2 | USBPHYC reset and clocks | 3927 |
| 74.4.3 | USBPHYC programmable parameters | 3928 |
| 74.4.4 | USBPHYC trimming of electrical parameters | 3928 |
| 74.5 | USBPHYC registers | 3928 |
| 74.5.1 | USBPHYC control register (USBPHYC_CR) | 3928 |
| 74.5.2 | USBPHYC trimming 1 register (USBPHYC_TRIM1CR) | 3930 |
| 74.5.3 | USBPHYC trimming 2 register (USBPHYC_TRIM2CR) | 3934 |
| 74.5.4 | USBPHYC register map | 3935 |
| 75 | USB Type-C®/USB Power Delivery interface (UCPD) | 3936 |
| 75.1 | UCPD introduction | 3936 |
| 75.2 | UCPD main features | 3936 |
| 75.3 | UCPD implementation | 3937 |
| 75.4 | UCPD functional description | 3937 |
| 75.4.1 | UCPD block diagram | 3938 |
| 75.4.2 | UCPD reset and clocks | 3939 |
| 75.4.3 | Physical layer protocol | 3939 |
| 75.4.4 | UCPD BMC transmitter | 3946 |
| 75.4.5 | UCPD BMC receiver | 3947 |
| 75.4.6 | UCPD Type-C pull-ups (Rp) and pull-downs (Rd) | 3949 |
| 75.4.7 | UCPD Type-C voltage monitoring and de-bouncing | 3949 |
| 75.4.8 | UCPD fast role swap (FRS) | 3950 |
| 75.4.9 | UCPD DMA Interface | 3950 |
| 75.4.10 | Wake-up from Stop mode | 3950 |
| 75.5 | UCPD programming sequences | 3950 |
| 75.5.1 | Initialization phase | 3950 |
| 75.5.2 | Type-C state machine handling | 3951 |
| 75.5.3 | USB PD transmit | 3952 |
| 75.5.4 | USB PD receive | 3953 |
| 75.6 | UCPD low-power modes | 3954 |
| 75.7 | UCPD interrupts | 3955 |
| 75.8 | UCPD registers | 3956 |
| 75.8.1 | UCPD configuration register 1 (UCPD_CFGR1) | 3956 |
| 75.8.2 | UCPD configuration register 2 (UCPD_CFGR2) | 3958 |
| 75.8.3 | UCPD control register (UCPD_CR) | 3958 |
| 75.8.4 | UCPD interrupt mask register (UCPD_IMR) | 3961 |
| 75.8.5 | UCPD status register (UCPD_SR) | 3962 |
| 75.8.6 | UCPD interrupt clear register (UCPD_ICR) | 3965 |
| 75.8.7 | UCPD Tx ordered set type register (UCPD_TX_ORDSETR) | 3966 |
| 75.8.8 | UCPD Tx payload size register (UCPD_TX_PAYSZR) | 3966 |
| 75.8.9 | UCPD Tx data register (UCPD_TXDR) | 3967 |
| 75.8.10 | UCPD Rx ordered set register (UCPD_RX_ORDSETR) | 3967 |
| 75.8.11 | UCPD Rx payload size register (UCPD_RX_PAYSZR) | 3968 |
| 75.8.12 | UCPD receive data register (UCPD_RXDR) | 3968 |
| 75.8.13 | UCPD Rx ordered set extension register 1 (UCPD_RX_ORDEXTR1) | 3969 |
| 75.8.14 | UCPD Rx ordered set extension register 2 (UCPD_RX_ORDEXTR2) | 3969 |
| 75.8.15 | UCPD register map | 3970 |
| 76 | Ethernet (ETH): gigabit media access control (GMAC) with DMA controller | 3972 |
| 76.1 | Ethernet introduction | 3972 |
| 76.2 | Ethernet main features | 3972 |
| 76.2.1 | Standard compliance | 3972 |
| 76.2.2 | MAC features | 3972 |
| 76.2.3 | Transaction layer (MTL) features | 3974 |
| 76.2.4 | DMA block features | 3975 |
| 76.2.5 | Bus interface features | 3976 |
| 76.2.6 | Audio and video features | 3977 |
| 76.2.7 | Time sensitive networking features ..... | 3977 |
| 76.2.8 | Generic queuing features ..... | 3977 |
| 76.3 | Ethernet pins and internal signals ..... | 3977 |
| 76.4 | Ethernet architecture ..... | 3979 |
| 76.4.1 | DMA controller ..... | 3980 |
| 76.4.2 | MTL ..... | 3987 |
| 76.4.3 | MAC ..... | 3987 |
| 76.4.4 | Multiple channels and queues support ..... | 3992 |
| 76.5 | Ethernet functional description: MAC ..... | 4004 |
| 76.5.1 | Double VLAN processing ..... | 4004 |
| 76.5.2 | Source address and VLAN insertion, replacement, or deletion ..... | 4005 |
| 76.5.3 | Queue/channel-based VLAN tag insertion on Tx ..... | 4006 |
| 76.5.4 | Packet filtering ..... | 4007 |
| 76.5.5 | IEEE 1588 timestamp support ..... | 4019 |
| 76.5.6 | Time sensitive networking (TSN) ..... | 4045 |
| 76.5.7 | Checksum offload engine ..... | 4074 |
| 76.5.8 | TCP segmentation offload ..... | 4080 |
| 76.5.9 | IPv4 ARP offload ..... | 4086 |
| 76.5.10 | Loopback ..... | 4087 |
| 76.5.11 | Flow control ..... | 4088 |
| 76.5.12 | MAC management counters ..... | 4091 |
| 76.5.13 | Interrupts generated by the MAC ..... | 4093 |
| 76.5.14 | MAC and MMC register descriptions ..... | 4093 |
| 76.6 | Ethernet functional description: PHY interfaces ..... | 4094 |
| 76.6.1 | Station management agent (SMA) ..... | 4094 |
| 76.6.2 | Media independent interface (MII) ..... | 4101 |
| 76.6.3 | Reduced media independent interface (RMII) ..... | 4102 |
| 76.6.4 | Reduced gigabit media independent interface (RGMII) ..... | 4105 |
| 76.7 | Ethernet low-power modes ..... | 4107 |
| 76.7.1 | Low-power management ..... | 4107 |
| 76.7.2 | Energy-efficient Ethernet (EEE) ..... | 4113 |
| 76.8 | Ethernet interrupts ..... | 4120 |
| 76.8.1 | DMA interrupts ..... | 4120 |
| 76.8.2 | MTL interrupts ..... | 4122 |
| 76.8.3 | MAC interrupts ..... | 4122 |
| 76.9 | Ethernet programming model ..... | 4123 |
| 76.9.1 | DMA initialization | 4123 |
| 76.9.2 | MTL initialization | 4124 |
| 76.9.3 | MAC initialization | 4125 |
| 76.9.4 | Performing normal receive and transmit operation | 4126 |
| 76.9.5 | Stopping and starting transmission | 4126 |
| 76.9.6 | Programming guidelines for switching to new descriptor list in RxDMA | 4127 |
| 76.9.7 | Programming guidelines for switching the AXI clock frequency | 4127 |
| 76.9.8 | Programming guidelines for multichannel multiqueue operation | 4127 |
| 76.9.9 | Programming guidelines for GMII link state transitions | 4130 |
| 76.9.10 | Programming guidelines for IEEE 1588 timestamping | 4131 |
| 76.9.11 | Programming guidelines for PTP offload feature | 4132 |
| 76.9.12 | Programming guidelines for AV feature | 4136 |
| 76.9.13 | Programming guidelines for Energy Efficient Ethernet (EEE) | 4138 |
| 76.9.14 | Programming guidelines for flexible pulse-per-second (PPS) output | 4139 |
| 76.9.15 | Programming guidelines for IEEE 1588 auxiliary snapshot | 4141 |
| 76.9.16 | Programming guidelines for TSO | 4142 |
| 76.9.17 | Programming guidelines to perform VLAN filtering on the receiver | 4143 |
| 76.9.18 | Programming guidelines for extended VLAN filtering and routing on reception | 4143 |
| 76.9.19 | Programming sequence for queue/channel- based VLAN inclusion register | 4144 |
| 76.9.20 | Programming guidelines for EST | 4145 |
| 76.9.21 | Programming the launch time in time-based scheduling | 4146 |
| 76.9.22 | Enabling the frame preemption function | 4146 |
| 76.10 | Descriptors | 4147 |
| 76.10.1 | Descriptor overview | 4147 |
| 76.10.2 | Descriptor structure | 4148 |
| 76.10.3 | Transmit descriptor | 4151 |
| 76.10.4 | Receive descriptor | 4164 |
| 76.10.5 | Enhanced descriptor for time-based scheduling | 4177 |
| 76.11 | Ethernet registers | 4181 |
| 76.11.1 | Ethernet register maps | 4181 |
| 76.11.2 | Ethernet DMA registers | 4181 |
| 76.11.3 | Ethernet MTL registers | 4211 |
| 76.11.4 | Ethernet MAC and MMC registers | 4242 |
| 77 | Hardware debug port (HDP) | 4367 |
| 77.1 | HDP introduction | 4367 |
| 77.2 | HDP functional description | 4367 |
| 77.3 | HDP block diagram | 4369 |
| 77.4 | HDP register description | 4369 |
| 77.4.1 | HDP control register (HDP_CTRL) | 4369 |
| 77.4.2 | HDP multiplexer control register (HDP_MUX) | 4370 |
| 77.4.3 | HDP read back value register (HDP_VAL) | 4370 |
| 77.4.4 | HDP general-purpose output set register (HDP_GPOSET) | 4370 |
| 77.4.5 | HDP general purpose output clear register (HDP_GPOCLR) | 4371 |
| 77.4.6 | HDP general purpose output value register (HDP_GPOVAL) | 4371 |
| 77.4.7 | HDP register map | 4371 |
| 78 | Debug support (DBG) | 4373 |
| 78.1 | DBG introduction | 4373 |
| 78.2 | DBG functional description | 4374 |
| 78.3 | DBG block diagram | 4376 |
| 78.4 | DBG pins | 4376 |
| 78.5 | DBG power, clock, and reset | 4377 |
| 78.5.1 | DBG power domains | 4377 |
| 78.5.2 | DBG clocks | 4377 |
| 78.5.3 | Debug reset | 4378 |
| 78.6 | Security | 4378 |
| 78.6.1 | BSEC control over debug | 4379 |
| 78.6.2 | Authentication signals | 4379 |
| 78.7 | Debug authentication | 4380 |
| 78.7.1 | Main characteristics | 4380 |
| 78.7.2 | Debug authentication protocol | 4380 |
| 78.8 | Chip-level TAP controller (CLTAPC) | 4381 |
| 78.9 | Serial-wire and JTAG debug port (SWJ-DP) | 4381 |
| 78.9.1 | JTAG debug port | 4382 |
| 78.9.2 | SWD debug port | 4385 |
| 78.9.3 | Debug port registers | 4387 |
| 78.10 | Access ports | 4395 |
| 78.10.1 | AP0 registers | 4397 |
| 78.10.2 | AP1 registers | 4400 |
| 78.10.3 | AP2 registers | 4404 |
| 78.10.4 | ROM tables ..... | 4409 |
| 78.10.5 | System/MCU ROM registers ..... | 4411 |
| 78.11 | Cortex-M55 debug features ..... | 4416 |
| 78.11.1 | Processor ROM table ..... | 4416 |
| 78.11.2 | Processor ROM registers ..... | 4418 |
| 78.11.3 | Data watchpoint and trace unit (DWT) ..... | 4422 |
| 78.11.4 | Cortex-M55 DWT registers ..... | 4423 |
| 78.11.5 | Cortex-M55 performance monitoring unit (PMU) ..... | 4437 |
| 78.11.6 | Cortex-M55 PMU registers ..... | 4438 |
| 78.11.7 | Instrumentation trace macrocell (ITM) ..... | 4451 |
| 78.11.8 | Cortex-M55 ITM registers ..... | 4452 |
| 78.11.9 | Breakpoint Unit (BPU) ..... | 4460 |
| 78.11.10 | Cortex-M55 BPU registers ..... | 4460 |
| 78.11.11 | Embedded Trace Macrocell (ETM) ..... | 4467 |
| 78.11.12 | Cortex-M55 ETM registers ..... | 4467 |
| 78.11.13 | Cross trigger interface (CTI) ..... | 4494 |
| 78.12 | Trace and debug subsystem ..... | 4494 |
| 78.12.1 | Trace subsystem ROM table registers ..... | 4497 |
| 78.12.2 | Global timestamp generator (TSGEN) ..... | 4501 |
| 78.12.3 | TSGEN registers ..... | 4502 |
| 78.12.4 | Cross trigger interface (CTI) and matrix (CTM) ..... | 4509 |
| 78.12.5 | CTI registers ..... | 4513 |
| 78.12.6 | Trace funnel (CSTF) ..... | 4528 |
| 78.12.7 | Trace funnel registers ..... | 4528 |
| 78.12.8 | Embedded trace FIFO (ETF) ..... | 4538 |
| 78.12.9 | Embedded trace FIFO registers ..... | 4539 |
| 78.12.10 | Embedded trace router (ETR) ..... | 4557 |
| 78.12.11 | ETR registers ..... | 4561 |
| 78.12.12 | Trace port interface unit (TPIU) ..... | 4581 |
| 78.12.13 | TPIU registers ..... | 4582 |
| 78.12.14 | Trace replicator (REP) ..... | 4598 |
| 78.12.15 | Trace replicator registers ..... | 4598 |
| 78.12.16 | Serial-wire output (SWO) ..... | 4608 |
| 78.12.17 | SWO registers ..... | 4609 |
| 78.12.18 | System trace macrocell (STM) ..... | 4619 |
| 78.12.19 | STM registers ..... | 4622 |
| 78.12.20 | Microcontroller debug unit (DBGMCU) ..... | 4648 |
| 78.12.21 DBGMCU registers ..... | 4649 | |
| 78.13 References ..... | 4660 | |
| 79 | Device electronic signature ..... | 4661 |
| 79.1 Unique device ID register (96 bits) (UID) ..... | 4661 | |
| 79.2 Device part number (RPN) ..... | 4662 | |
| 79.3 Package data register (PKG) ..... | 4663 | |
| 79.4 Device version ..... | 4663 | |
| 79.5 Boot ROM version ..... | 4664 | |
| 80 | Important security notice ..... | 4665 |
| 81 | Revision history ..... | 4666 |
List of tables
| Table 1. | Memory map based on IDAU mapping | 164 |
| Table 2. | Memory map and peripheral register boundary addresses | 168 |
| Table 3. | Peripheral register boundary addresses | 175 |
| Table 4. | Aliasing | 185 |
| Table 5. | Nonsecure peripheral functions that can be connected to secure I/Os | 192 |
| Table 6. | Internal tampers in TAMP | 195 |
| Table 7. | Effect of low-power modes on TAMP | 197 |
| Table 8. | Accelerated cryptographic operations | 198 |
| Table 9. | BSEC internal input/output signals | 202 |
| Table 10. | BSEC initial status reporting structure | 207 |
| Table 11. | BSEC ad-hoc error/status reporting structure | 207 |
| Table 12. | BSEC states definition | 208 |
| Table 13. | Current HDPL coding | 210 |
| Table 14. | BSEC Next HDPL register usage | 211 |
| Table 15. | BSEC debug register legal values | 211 |
| Table 16. | BSEC register map and reset values | 228 |
| Table 17. | OTP mapping | 231 |
| Table 18. | OTP fuse description (lower OTP region) | 235 |
| Table 19. | OTP fuse description (mid OTP region) | 246 |
| Table 20. | RISUP indexes | 249 |
| Table 21. | RISC indexes purely for RCC security control | 250 |
| Table 22. | RIMU resource assignment | 250 |
| Table 23. | RIFSC register map and reset values | 257 |
| Table 24. | RISAF resource assignment | 259 |
| Table 25. | RISAF internal input/output signals | 260 |
| Table 26. | RISAF subregion security setup matrix | 262 |
| Table 27. | RISAF register map and reset values | 278 |
| Table 28. | Peripheral indexes in IAC | 280 |
| Table 29. | IAC internal signals | 282 |
| Table 30. | IAC interrupt request | 283 |
| Table 31. | IAC register map and reset values | 285 |
| Table 32. | Boot modes | 286 |
| Table 33. | Internal SRAM features | 289 |
| Table 34. | Hardware-erase conditions for internal SRAMs | 289 |
| Table 35. | FLEXRAM supported configurations | 290 |
| Table 36. | FLEXMEM versus retention | 290 |
| Table 37. | RAMCFG interrupt requests | 294 |
| Table 38. | RAMCFG register map and reset values | 306 |
| Table 39. | ICACHE features | 309 |
| Table 40. | TAG memory dimensioning parameters for n-way set associative operating mode (default) | 311 |
| Table 41. | TAG memory dimensioning parameters for direct-mapped cache mode | 312 |
| Table 42. | ICACHE cacheability for AHB transaction | 313 |
| Table 43. | ICACHE interrupts | 316 |
| Table 44. | ICACHE register map and reset values | 319 |
| Table 45. | CACHEAXI features | 323 |
| Table 46. | TAG memory dimensioning parameters | 328 |
| Table 47. | CACHEAXI supported AXI 4-bit memory/cache attribute | 329 |
| Table 48. | CACHEAXI interrupts . . . . . | 336 |
| Table 49. | CACHEAXI register map and reset values . . . . . | 345 |
| Table 50. | PWR input/output signals connected to package pins or balls . . . . . | 349 |
| Table 51. | PWR internal input/output signals. . . . . | 349 |
| Table 52. | Wake-up source selection . . . . . | 350 |
| Table 53. | Supply configuration control . . . . . | 353 |
| Table 54. | Operating mode summary . . . . . | 369 |
| Table 55. | Functionalities depending on system operating mode . . . . . | 370 |
| Table 56. | Sleep mode. . . . . | 378 |
| Table 57. | Stop mode SVOS high . . . . . | 380 |
| Table 58. | Stop mode SVOS low . . . . . | 380 |
| Table 59. | Standby and Stop flags. . . . . | 382 |
| Table 60. | Standby mode. . . . . | 382 |
| Table 61. | Power mode output states versus MCU power modes. . . . . | 383 |
| Table 62. | PWR register security overview . . . . . | 384 |
| Table 63. | PWR register map and reset values . . . . . | 408 |
| Table 64. | RCC input/output signals connected to package pins or balls . . . . . | 412 |
| Table 65. | RCC internal input/output signals . . . . . | 413 |
| Table 66. | Reset coverage summary . . . . . | 419 |
| Table 67. | Reset source identification . . . . . | 420 |
| Table 68. | Oscillator states versus system modes . . . . . | 424 |
| Table 69. | Clock output selection. . . . . | 435 |
| Table 70. | STOPWUCK description. . . . . | 443 |
| Table 71. | HSISTOPEN and MSISTOPEN behavior. . . . . | 444 |
| Table 72. | Peripheral clock distribution summary . . . . . | 445 |
| Table 73. | SDMMC interface clock constraints . . . . . | 464 |
| Table 74. | Peripheral clock enabling . . . . . | 471 |
| Table 75. | Interrupt sources and control . . . . . | 474 |
| Table 76. | Maximum peripheral clock frequencies . . . . . | 476 |
| Table 77. | RCC register map and reset values . . . . . | 754 |
| Table 78. | Port x bit configurations . . . . . | 784 |
| Table 79. | Secure AF between peripherals and allocated I/Os . . . . . | 792 |
| Table 80. | GPIO secured bits . . . . . | 792 |
| Table 81. | GPIO register map and reset values . . . . . | 805 |
| Table 82. | SYSCFG register map and reset values. . . . . | 828 |
| Table 83. | Connectivity matrix . . . . . | 832 |
| Table 84. | Implementation of HPDMA1 channels . . . . . | 835 |
| Table 85. | HPDMA1 in low-power modes . . . . . | 835 |
| Table 86. | Programmed HPDMA1 request . . . . . | 836 |
| Table 87. | Programmed HPDMA1 request as a block request . . . . . | 840 |
| Table 88. | HPDMA1 channel with peripheral early termination . . . . . | 840 |
| Table 89. | Programmed HPDMA1 request with peripheral early termination . . . . . | 840 |
| Table 90. | Programmed HPDMA1 trigger . . . . . | 841 |
| Table 91. | Programmed HPDMA source/destination burst . . . . . | 864 |
| Table 92. | Programmed data handling . . . . . | 869 |
| Table 93. | Effect of low-power modes on HPDMA . . . . . | 891 |
| Table 94. | HPDMA interrupt requests . . . . . | 892 |
| Table 95. | HPDMA register map and reset values . . . . . | 928 |
| Table 96. | GPDMA1 channel implementation . . . . . | 932 |
| Table 97. | GPDMA1 wake-up in low-power modes . . . . . | 932 |
| Table 98. | Programmed GPDMA1 request . . . . . | 932 |
| Table 99. | Programmed GPDMA1 request as a block request . . . . . | 937 |
| Table 100. | GPDMA1 channel with peripheral early termination . . . . . | 937 |
| Table 101. | Programmed GPDMA1 request with peripheral early termination . . . . . | 937 |
| Table 102. | Programmed GPDMA1 trigger . . . . . | 937 |
| Table 103. | Programmed GPDMA source/destination burst . . . . . | 960 |
| Table 104. | Programmed data handling . . . . . | 965 |
| Table 105. | Effect of low-power modes on GPDMA . . . . . | 978 |
| Table 106. | GPDMA interrupt requests . . . . . | 979 |
| Table 107. | GPDMA register map and reset values . . . . . | 1008 |
| Table 108. | Neural-ART 14 NPU configuration . . . . . | 1012 |
| Table 109. | Neural-ART 14 NPU signals . . . . . | 1014 |
| Table 110. | Activation functions example . . . . . | 1020 |
| Table 111. | Neural-ART 14 functional units memory base addresses. . . . . | 1027 |
| Table 112. | DMA2D internal signals . . . . . | 1033 |
| Table 113. | DMA2D trigger interconnections . . . . . | 1033 |
| Table 114. | Supported color mode in input . . . . . | 1034 |
| Table 115. | Data order in memory . . . . . | 1035 |
| Table 116. | Alpha mode configuration . . . . . | 1036 |
| Table 117. | Supported CLUT color mode . . . . . | 1037 |
| Table 118. | CLUT data order in memory . . . . . | 1037 |
| Table 119. | Supported color mode in output . . . . . | 1038 |
| Table 120. | Data order in memory . . . . . | 1039 |
| Table 121. | Standard data order in memory . . . . . | 1039 |
| Table 122. | Output FIFO byte reordering steps . . . . . | 1040 |
| Table 123. | MCU order in memory . . . . . | 1045 |
| Table 124. | DMA2D interrupt requests . . . . . | 1046 |
| Table 125. | DMA2D register map and reset values . . . . . | 1064 |
| Table 126. | GFXMMU internal input/output signals . . . . . | 1067 |
| Table 127. | GFXMMU interrupt requests . . . . . | 1073 |
| Table 128. | GFXMMU register map and reset values . . . . . | 1079 |
| Table 129. | GFXTIM input/output pins . . . . . | 1082 |
| Table 130. | GFXTIM internal signals . . . . . | 1082 |
| Table 131. | GFXTIM trigger interconnections . . . . . | 1083 |
| Table 132. | Graphic timer interrupt requests . . . . . | 1093 |
| Table 133. | GFXTIM register map and reset values . . . . . | 1114 |
| Table 134. | STM32N6x5/x7xx vector table . . . . . | 1117 |
| Table 135. | EXTI implementation . . . . . | 1126 |
| Table 136. | EXTI signals . . . . . | 1126 |
| Table 137. | EVG signals . . . . . | 1127 |
| Table 138. | EXTI line connection . . . . . | 1128 |
| Table 139. | EXTI event input configurations and register control . . . . . | 1130 |
| Table 140. | Masking functionality . . . . . | 1132 |
| Table 141. | Register protection overview . . . . . | 1133 |
| Table 142. | EXTI register map sections . . . . . | 1134 |
| Table 143. | EXTI register map and reset values . . . . . | 1166 |
| Table 144. | CRC internal input/output signals . . . . . | 1170 |
| Table 145. | CRC register map and reset values . . . . . | 1175 |
| Table 146. | FMC features . . . . . | 1177 |
| Table 147. | FMC internal signals . . . . . | 1179 |
| Table 148. | FMC memory regions (default mapping) . . . . . | 1181 |
| Table 149. | FMC memory region remap using BMAP[1:0] . . . . . | 1181 |
| Table 150. | NOR/PSRAM subregion selection . . . . . | 1182 |
| Table 151. | NOR/PSRAM External memory address . . . . . | 1182 |
| Table 152. | NAND access memory map . . . . . | 1182 |
| Table 153. | SDRAM device selection . . . . . | 1183 |
| Table 154. | SDRAM address mapping . . . . . | 1183 |
| Table 155. | SDRAM address mapping with 8-bit data bus width. . . . . | 1184 |
| Table 156. | SDRAM address mapping with 16-bit data bus width. . . . . | 1185 |
| Table 157. | SDRAM address mapping with 32-bit data bus width. . . . . | 1185 |
| Table 158. | Programmable NOR/PSRAM access parameters . . . . . | 1187 |
| Table 159. | Non-multiplexed I/O NOR flash memory. . . . . | 1188 |
| Table 160. | 16-bit multiplexed I/O NOR flash memory . . . . . | 1188 |
| Table 161. | Non-multiplexed I/Os PSRAM/SRAM. . . . . | 1189 |
| Table 162. | 16-bit multiplexed I/O PSRAM . . . . . | 1189 |
| Table 163. | NOR flash/PSRAM: Example of supported memories and transactions . . . . . | 1190 |
| Table 164. | FMC_BCRx bitfields (mode 1) . . . . . | 1194 |
| Table 165. | FMC_BTRx bitfields (mode 1) . . . . . | 1194 |
| Table 166. | FMC_BCRx bitfields (mode A) . . . . . | 1196 |
| Table 167. | FMC_BTRx bitfields (mode A) . . . . . | 1197 |
| Table 168. | FMC_BWTRx bitfields (mode A). . . . . | 1197 |
| Table 169. | FMC_BCRx bitfields (mode 2/B). . . . . | 1199 |
| Table 170. | FMC_BTRx bitfields (mode 2/B) . . . . . | 1200 |
| Table 171. | FMC_BWTRx bitfields (mode 2/B) . . . . . | 1200 |
| Table 172. | FMC_BCRx bitfields (mode C) . . . . . | 1202 |
| Table 173. | FMC_BTRx bitfields (mode C) . . . . . | 1202 |
| Table 174. | FMC_BWTRx bitfields (mode C). . . . . | 1203 |
| Table 175. | FMC_BCRx bitfields (mode D) . . . . . | 1204 |
| Table 176. | FMC_BTRx bitfields (mode D) . . . . . | 1205 |
| Table 177. | FMC_BWTRx bitfields (mode D). . . . . | 1205 |
| Table 178. | FMC_BCRx bitfields (muxed mode) . . . . . | 1207 |
| Table 179. | FMC_BTRx bitfields (muxed mode) . . . . . | 1208 |
| Table 180. | FMC_BCRx bitfields (Synchronous multiplexed read mode) . . . . . | 1213 |
| Table 181. | FMC_BTRx bitfields (Synchronous multiplexed read mode) . . . . . | 1214 |
| Table 182. | FMC_BCRx bitfields (Synchronous multiplexed write mode) . . . . . | 1215 |
| Table 183. | FMC_BTRx bitfields (Synchronous multiplexed write mode) . . . . . | 1216 |
| Table 184. | Programmable NAND flash access parameters . . . . . | 1226 |
| Table 185. | 8-bit NAND flash memory . . . . . | 1226 |
| Table 186. | 16-bit NAND flash memory . . . . . | 1227 |
| Table 187. | Supported memories and transactions . . . . . | 1227 |
| Table 188. | Number of ECC parity bytes per sector . . . . . | 1232 |
| Table 189. | FMC NAND controller Interrupt request . . . . . | 1241 |
| Table 190. | HPR relevant bits . . . . . | 1247 |
| Table 191. | ECC result relevant bits . . . . . | 1248 |
| Table 192. | SDRAM signals. . . . . | 1266 |
| Table 193. | FMC register map . . . . . | 1283 |
| Table 194. | XSPI implementation . . . . . | 1289 |
| Table 195. | XSPI input/output pins . . . . . | 1294 |
| Table 196. | XSPI internal signals. . . . . | 1294 |
| Table 197. | Command/address phase description . . . . . | 1305 |
| Table 198. | OctaRAM command address bit assignment (based on 64 Mb OctaRAM). . . . . | 1317 |
| Table 199. | Address alignment cases . . . . . | 1325 |
| Table 200. | XSPI interrupt requests. . . . . | 1327 |
| Table 201. | XSPI register map and reset values . . . . . | 1353 |
| Table 202. | XSPIM implementation . . . . . | 1357 |
| Table 203. | XSPIM input/output pins . . . . . | 1358 |
| Table 204. | Use cases . . . . . | 1360 |
| Table 205. | XSPIM register map and reset values . . . . . | 1370 |
| Table 206. | SDMMC features . . . . . | 1371 |
| Table 207. | SDMMC operation modes SD and SDIO . . . . . | 1374 |
| Table 208. | SDMMC operation modes eMMC . . . . . | 1374 |
| Table 209. | SDMMC internal input/output signals . . . . . | 1375 |
| Table 210. | SDMMC pins. . . . . | 1376 |
| Table 211. | SDMMC Command and data phase selection . . . . . | 1377 |
| Table 212. | Command token format . . . . . | 1383 |
| Table 213. | Short response with CRC token format . . . . . | 1384 |
| Table 214. | Short response without CRC token format . . . . . | 1384 |
| Table 215. | Long response with CRC token format. . . . . | 1384 |
| Table 216. | Specific Commands overview. . . . . | 1385 |
| Table 217. | Command path status flags . . . . . | 1386 |
| Table 218. | Command path error handling . . . . . | 1386 |
| Table 219. | Data token format . . . . . | 1394 |
| Table 220. | Data path status flags and clear bits. . . . . | 1394 |
| Table 221. | Data path error handling. . . . . | 1396 |
| Table 222. | Data FIFO access. . . . . | 1397 |
| Table 223. | Transmit FIFO status flags . . . . . | 1398 |
| Table 224. | Receive FIFO status flags . . . . . | 1400 |
| Table 225. | AHB and SDMMC_CK clock frequency relation . . . . . | 1404 |
| Table 226. | SDIO special operation control . . . . . | 1405 |
| Table 227. | 4-bit mode Start, interrupt, and CRC-status Signaling detection . . . . . | 1409 |
| Table 228. | CMD12 use cases . . . . . | 1414 |
| Table 229. | Data block gap hardware flow control behavior . . . . . | 1426 |
| Table 230. | Hardware flow control selection . . . . . | 1426 |
| Table 231. | SDMMC interrupts . . . . . | 1430 |
| Table 232. | Response type and SDMMC_RESPxR registers . . . . . | 1437 |
| Table 233. | SDMMC register map . . . . . | 1453 |
| Table 234. | STM32N6x5/x7xx features . . . . . | 1456 |
| Table 235. | DLYB functional signals . . . . . | 1458 |
| Table 236. | DLYB interconnection. . . . . | 1459 |
| Table 237. | DLYB register map and reset values . . . . . | 1463 |
| Table 238. | ADC features . . . . . | 1467 |
| Table 239. | ADC input/output pins. . . . . | 1469 |
| Table 240. | ADC internal input/output signals . . . . . | 1469 |
| Table 241. | ADC1/2 interconnection . . . . . | 1469 |
| Table 242. | Configuring the trigger polarity for regular external triggers . . . . . | 1490 |
| Table 243. | Configuring the trigger polarity for injected external triggers . . . . . | 1490 |
| Table 244. | TSAR timings depending on resolution . . . . . | 1493 |
| Table 245. | Offset computation versus data resolution . . . . . | 1497 |
| Table 246. | 12-bit data formats . . . . . | 1499 |
| Table 247. | Numerical examples for 32-bit or 16-bit format (POSSPFF = 0) . . . . . | 1500 |
| Table 248. | Analog window watchdog features . . . . . | 1508 |
| Table 249. | Analog watchdog 1 channel selection . . . . . | 1509 |
| Table 250. | Analog watchdog 1, 2, 3 comparison . . . . . | 1510 |
| Table 251. | Maximum output results versus N and M . . . . . | 1515 |
| Table 252. | Oversampler operating mode summary . . . . . | 1519 |
| Table 253. | DELAY bits versus ADC resolution. . . . . | 1525 |
| Table 254. | ADC interrupts . . . . . | 1537 |
| Table 255. | ADC register map and reset values for each ADC . . . . . | 1572 |
| Table 256. | ADC register map and reset values (master and slave ADC common registers) . . . . . | 1575 |
| Table 257. | DTS internal input/output signals . . . . . | 1577 |
| Table 258. | DTS interconnection . . . . . | 1578 |
| Table 259. | SDA slave registers . . . . . | 1583 |
| Table 260. | SDA TS control register (SDATS_CR) . . . . . | 1583 |
| Table 261. | SDA TS configuration register (SDATS_CFGR) . . . . . | 1584 |
| Table 262. | SDA TS data register (SDATS_DR) . . . . . | 1585 |
| Table 263. | SDA TS timer register (SDATS_TIMERR) . . . . . | 1586 |
| Table 264. | Output resolution configuration . . . . . | 1591 |
| Table 265. | DTS interrupts . . . . . | 1592 |
| Table 266. | DTS register memory map . . . . . | 1593 |
| Table 267. | PVT common register map and reset values . . . . . | 1613 |
| Table 268. | PVT IRQ register map and reset values . . . . . | 1613 |
| Table 269. | DTS TSC clock synthesizer register map and reset values . . . . . | 1614 |
| Table 270. | DTS TS individual register map and reset values . . . . . | 1616 |
| Table 271. | VREFBUF typical values . . . . . | 1618 |
| Table 272. | VREF buffer modes . . . . . | 1619 |
| Table 273. | VREFBUF register map and reset values . . . . . | 1623 |
| Table 274. | MDF features . . . . . | 1625 |
| Table 275. | MDF external pins . . . . . | 1628 |
| Table 276. | MDF internal signals . . . . . | 1628 |
| Table 277. | MDF trigger connections . . . . . | 1628 |
| Table 278. | MDF break connections . . . . . | 1629 |
| Table 279. | Control of the common clock generation . . . . . | 1637 |
| Table 280. | Clock constraints with respect to the incoming stream . . . . . | 1638 |
| Table 281. | Data size according to CIC order and CIC decimation values . . . . . | 1645 |
| Table 282. | Maximum decimation ratio versus order and input data size . . . . . | 1646 |
| Table 283. | Possible gain values . . . . . | 1647 |
| Table 284. | Recommended maximum gain values versus CIC decimation ratios . . . . . | 1649 |
| Table 285. | Most common microphone settings . . . . . | 1649 |
| Table 286. | HPF 3 dB cut-off frequencies examples . . . . . | 1651 |
| Table 287. | Register protection summary . . . . . | 1672 |
| Table 288. | Effect of low-power modes on MDF . . . . . | 1673 |
| Table 289. | MDF interrupt requests . . . . . | 1675 |
| Table 290. | Examples of MDF settings for microphone capture . . . . . | 1676 |
| Table 291. | Programming sequence . . . . . | 1676 |
| Table 292. | Output signal levels . . . . . | 1683 |
| Table 293. | MDF register map and reset values . . . . . | 1706 |
| Table 294. | ADF features . . . . . | 1709 |
| Table 295. | ADF external pins . . . . . | 1710 |
| Table 296. | ADF internal signals . . . . . | 1711 |
| Table 297. | ADF trigger connections . . . . . | 1711 |
| Table 298. | Control of the common clock generation . . . . . | 1717 |
| Table 299. | Clock constraints with respect to the incoming stream . . . . . | 1718 |
| Table 300. | Data size according to CIC order and CIC decimation values . . . . . | 1723 |
| Table 301. | Possible gain values . . . . . | 1724 |
| Table 302. | Recommended maximum gain values versus CIC decimation ratios . . . . . | 1726 |
| Table 303. | Most common microphone settings . . . . . | 1727 |
| Table 304. | HPF 3 dB cut-off frequency examples . . . . . | 1729 |
| Table 305. | ANSLP values versus FRSIZE and sampling rates ..... | 1742 |
| Table 306. | Threshold values according SNTHR ..... | 1743 |
| Table 307. | Register protection summary ..... | 1749 |
| Table 308. | Effect of low-power modes on ADF ..... | 1750 |
| Table 309. | ADF interrupt requests ..... | 1751 |
| Table 310. | Examples of ADF settings for microphone capture ..... | 1752 |
| Table 311. | Programming sequence (CIC4) ..... | 1753 |
| Table 312. | Programming sequence (CIC5) ..... | 1754 |
| Table 313. | Output signal levels ..... | 1759 |
| Table 314. | ADF register map and reset values ..... | 1779 |
| Table 315. | Camera subsystem RIF peripheral ID ..... | 1788 |
| Table 316. | DCMI input/output pins ..... | 1794 |
| Table 317. | DCMI internal input/output signals ..... | 1794 |
| Table 318. | Positioning of captured data bytes in 32-bit words (8-bit width) ..... | 1796 |
| Table 319. | Positioning of captured data bytes in 32-bit words (10-bit width) ..... | 1796 |
| Table 320. | Positioning of captured data bytes in 32-bit words (12-bit width) ..... | 1796 |
| Table 321. | Positioning of captured data bytes in 32-bit words (14-bit width) ..... | 1797 |
| Table 322. | Data storage in monochrome progressive video format ..... | 1802 |
| Table 323. | Data storage in RGB progressive video format ..... | 1803 |
| Table 324. | Data storage in YCbCr progressive video format ..... | 1803 |
| Table 325. | Data storage in YCbCr progressive video format - Y extraction mode ..... | 1803 |
| Table 326. | DCMI interrupts ..... | 1804 |
| Table 327. | DCMI register map and reset values ..... | 1814 |
| Table 328. | Available pipelines ..... | 1815 |
| Table 329. | Glossary ..... | 1816 |
| Table 330. | DCMIPP input/output pads ..... | 1821 |
| Table 331. | DCMIPP input/output pins ..... | 1821 |
| Table 332. | DCMIPP clocks ..... | 1821 |
| Table 333. | DCMIPP resets ..... | 1822 |
| Table 334. | Parallel interface maximum resolution (80 MHz) ..... | 1823 |
| Table 335. | Supported pixel formats ..... | 1825 |
| Table 336. | DCMIPP_CMCR bit function ..... | 1827 |
| Table 337. | DCMIPP_PRCR bit function ..... | 1830 |
| Table 338. | DCMIPP_PRESCR and DCMIPP PRESUR bit function ..... | 1830 |
| Table 339. | DCMIPP_PxFACTCR bit function ..... | 1838 |
| Table 340. | DCMIPP_P0PPCR bit function ..... | 1841 |
| Table 341. | DCMIPP_P0DCCNTR and DCMIPP_P0DCLMTR bit function ..... | 1844 |
| Table 342. | DCMIPP_P1SRCR bit function ..... | 1847 |
| Table 343. | DCMIPP_P1BPRCR and DCMIPP_P1BPRSR bit function ..... | 1847 |
| Table 344. | DCMIPP_P1DECR bit function ..... | 1849 |
| Table 345. | DCMIPP_P1BLCCR bit function ..... | 1849 |
| Table 346. | DCMIPP_P1EXCR1 and DCMIPP_P1EXCR2 bit function ..... | 1850 |
| Table 347. | DCMIPP_P1DMCR bit function ..... | 1852 |
| Table 348. | DCMIPP_PxCCyy (yy = R0, R1, G0, G1, B0, B1) bit function ..... | 1853 |
| Table 349. | Color conversion: examples of coefficients ..... | 1854 |
| Table 350. | DCMIPP_P1CTCR1,2,3 bit function ..... | 1856 |
| Table 351. | DCMIPP_P1STyCR (y = 1, 2, 3), DCMIPP_P1STySR (y = 1, 2, 3), DCMIPP_P1STSTR and DCMIPP_P1STSZR bit function ..... | 1858 |
| Table 352. | Statistics extraction: collected data vs. modes ..... | 1859 |
| Table 353. | DCMIPP_PxCRSTR and DCMIPP_PxCRSZR bit function ..... | 1863 |
| Table 354. | DCMIPP_PxDCCR bit function ..... | 1864 |
| Table 355. | DCMIPP_PxDSCR, DCMIPP_PxDSRTIOR, DCMIPP_PxDSSZR ..... | 1865 |
| Table 356. | DCMIPP_PxPPCR bit function . . . . . | 1868 |
| Table 357. | Parallel interface input pixel formats . . . . . | 1883 |
| Table 358. | Correspondence between index and DCMIPP_PRCR register values . . . . . | 1884 |
| Table 359. | Parallel interface input pixel formats . . . . . | 1885 |
| Table 360. | Pixel pipe output pixel format . . . . . | 1885 |
| Table 361. | Dump pipe OUTPUT pixel formats . . . . . | 1887 |
| Table 362. | Shadow and physical registers . . . . . | 1894 |
| Table 363. | DCMIPP low power modes . . . . . | 1896 |
| Table 364. | DCMIPP interrupts . . . . . | 1899 |
| Table 365. | Event connection . . . . . | 1900 |
| Table 366. | DCMIPP registers organization . . . . . | 1901 |
| Table 367. | DCMIPP register map and reset values . . . . . | 2000 |
| Table 368. | Glossary of terms . . . . . | 2015 |
| Table 369. | Effect of low-power modes on CSI-2 Host controller . . . . . | 2034 |
| Table 370. | List of errors detected by the CSI-2 Host controller . . . . . | 2034 |
| Table 371. | List of events that trigger an interrupt . . . . . | 2035 |
| Table 372. | CSI-2 Host and PHY register map and reset values . . . . . | 2069 |
| Table 373. | PSSI input/output pins . . . . . | 2075 |
| Table 374. | PSSI internal input/output signals . . . . . | 2075 |
| Table 375. | Positioning of captured data bytes in 32-bit words (8-bit width) . . . . . | 2076 |
| Table 376. | Positioning of captured data bytes in 32-bit words (16-bit width) . . . . . | 2077 |
| Table 377. | PSSI interrupt requests . . . . . | 2080 |
| Table 378. | PSSI register map and reset values . . . . . | 2086 |
| Table 379. | Display subsystem RIF peripheral ID . . . . . | 2091 |
| Table 380. | LTDC pins . . . . . | 2094 |
| Table 381. | LTDC trigger interconnections . . . . . | 2095 |
| Table 382. | Clock domain for each register . . . . . | 2095 |
| Table 383. | LTDC register access and updated durations . . . . . | 2097 |
| Table 384. | Pixel data mapping versus color format . . . . . | 2100 |
| Table 385. | LTDC hardware triggers . . . . . | 2115 |
| Table 386. | LTDC interrupt requests . . . . . | 2117 |
| Table 387. | LTDC register map and reset values . . . . . | 2148 |
| Table 388. | GPU2D internal input/output signals . . . . . | 2154 |
| Table 389. | GPU2D trigger connections . . . . . | 2155 |
| Table 390. | VENC register map and reset values . . . . . | 2250 |
| Table 391. | JPEG internal signals . . . . . | 2265 |
| Table 392. | JPEG trigger connections . . . . . | 2266 |
| Table 393. | JPEG codec interrupt requests . . . . . | 2271 |
| Table 394. | JPEG codec register map and reset values . . . . . | 2284 |
| Table 395. | RNG internal input/output signals . . . . . | 2287 |
| Table 396. | RNG interrupt requests . . . . . | 2295 |
| Table 397. | RNG initialization times . . . . . | 2296 |
| Table 398. | RNG configurations . . . . . | 2296 |
| Table 399. | Configuration selection . . . . . | 2297 |
| Table 400. | RNG register map and reset map . . . . . | 2302 |
| Table 401. | CRYP versus SAES features . . . . . | 2304 |
| Table 402. | SAES internal input/output signals . . . . . | 2305 |
| Table 403. | SAES approved symmetric key functions . . . . . | 2306 |
| Table 404. | Counter mode initialization vector definition . . . . . | 2316 |
| Table 405. | Initialization of IV registers in GCM mode . . . . . | 2319 |
| Table 406. | GCM last block definition . . . . . | 2319 |
| Table 407. | Initialization of IV registers in CCM mode . . . . . | 2325 |
| Table 408. | AES data swapping example | 2334 |
| Table 409. | Key endianness in SAES_KEYRx registers (128/256-bit keys) | 2336 |
| Table 410. | IVI bitfield spread over SAES_IVRx registers | 2338 |
| Table 411. | SAES interrupt requests | 2340 |
| Table 412. | Processing latency for ECB, CBC and CTR | 2341 |
| Table 413. | Processing latency for GCM and CCM (in SAES kernel clock cycles) | 2341 |
| Table 414. | SAES register map and reset values | 2356 |
| Table 415. | CRYP versus SAES features | 2359 |
| Table 416. | CRYP internal input/output signals | 2361 |
| Table 417. | CRYP approved AES symmetric key functions | 2361 |
| Table 418. | Counter mode initialization vector definition | 2372 |
| Table 419. | GCM mode IVI registers initialization | 2375 |
| Table 420. | GCM last block definition | 2375 |
| Table 421. | CCM mode IVI registers initialization | 2382 |
| Table 422. | AES data swapping example | 2387 |
| Table 423. | Key endianness in CRYP_KxR/LR registers (128/192/256-bit keys) | 2389 |
| Table 424. | Initialization vector endianness in CRYP_IVxR registers (AES) | 2389 |
| Table 425. | CRYP interrupt requests | 2391 |
| Table 426. | Processing latency for ECB, CBC and CTR | 2392 |
| Table 427. | Processing latency for GCM and CCM (in clock cycles) | 2393 |
| Table 428. | CRYP register map and reset values | 2406 |
| Table 429. | HASH internal input/output signals | 2409 |
| Table 430. | Information on supported hash algorithms | 2410 |
| Table 431. | Hash processor outputs | 2413 |
| Table 432. | Processing time (in clock cycle) | 2419 |
| Table 433. | HASH interrupt requests | 2420 |
| Table 434. | HASH1 register map and reset values | 2428 |
| Table 435. | MCE internal input/output signals | 2431 |
| Table 436. | MCE block cipher latencies | 2435 |
| Table 437. | MCE stream cipher latencies | 2436 |
| Table 438. | MCE interrupt requests | 2437 |
| Table 439. | MCE register map and reset values | 2449 |
| Table 440. | Internal input/output signals | 2452 |
| Table 441. | PKA integer arithmetic functions list | 2453 |
| Table 442. | PKA prime field (\(F_p\)) elliptic curve functions list | 2454 |
| Table 443. | Example of 'a' curve coefficient for ECC \(F_p\) scalar | 2460 |
| Table 444. | Montgomery parameter computation | 2460 |
| Table 445. | Modular addition | 2461 |
| Table 446. | Modular subtraction | 2461 |
| Table 447. | Montgomery multiplication | 2462 |
| Table 448. | Modular exponentiation (normal mode) | 2463 |
| Table 449. | Modular exponentiation (fast mode) | 2463 |
| Table 450. | Modular exponentiation (protected mode) | 2464 |
| Table 451. | Modular inversion | 2464 |
| Table 452. | Modular reduction | 2465 |
| Table 453. | Arithmetic addition | 2465 |
| Table 454. | Arithmetic subtraction | 2465 |
| Table 455. | Arithmetic multiplication | 2466 |
| Table 456. | Arithmetic comparison | 2466 |
| Table 457. | CRT exponentiation | 2467 |
| Table 458. | Point on elliptic curve \(F_p\) check | 2468 |
| Table 459. | ECC \(F_p\) scalar multiplication | 2468 |
| Table 460. | ECDSA sign - Inputs | 2470 |
| Table 461. | ECDSA sign - Outputs | 2470 |
| Table 462. | Extended ECDSA sign - additional outputs | 2471 |
| Table 463. | ECDSA verification - inputs | 2471 |
| Table 464. | ECDSA verification - outputs | 2472 |
| Table 465. | ECC complete addition | 2472 |
| Table 466. | ECC double base ladder | 2473 |
| Table 467. | ECC projective to affine | 2474 |
| Table 468. | Family of supported curves for ECC operations | 2475 |
| Table 469. | Modular exponentiation | 2476 |
| Table 470. | ECC scalar multiplication | 2476 |
| Table 471. | ECDSA signature average computation time | 2477 |
| Table 472. | ECDSA verification average computation times | 2477 |
| Table 473. | ECC double base ladder average computation times | 2477 |
| Table 474. | ECC projective to affine average computation times | 2477 |
| Table 475. | ECC complete addition average computation times | 2477 |
| Table 476. | Point on elliptic curve Fp check average computation times | 2477 |
| Table 477. | Montgomery parameters average computation times | 2478 |
| Table 478. | PKA interrupt requests | 2478 |
| Table 479. | PKA register map and reset values | 2483 |
| Table 480. | TIM input/output pins | 2486 |
| Table 481. | TIM internal input/output signals | 2486 |
| Table 482. | Interconnect to the tim_ti1 input multiplexer | 2487 |
| Table 483. | Interconnect to the tim_ti2 input multiplexer | 2487 |
| Table 484. | Interconnect to the tim_ti3 input multiplexer | 2488 |
| Table 485. | Interconnect to the tim_ti4 input multiplexer | 2488 |
| Table 486. | Internal trigger connection | 2488 |
| Table 487. | Interconnect to the tim_etr input multiplexer | 2489 |
| Table 488. | Timer break interconnect | 2489 |
| Table 489. | Timer break2 interconnect | 2489 |
| Table 490. | System break interconnect | 2489 |
| Table 491. | CCR and ARR register change dithering pattern | 2522 |
| Table 492. | CCR register change dithering pattern in center-aligned PWM mode | 2523 |
| Table 493. | Behavior of timer outputs versus tim_brk/tim_brk2 inputs | 2535 |
| Table 494. | Break protection disarming conditions | 2537 |
| Table 495. | Counting direction versus encoder signals (CC1P = CC2P = 0) | 2545 |
| Table 496. | Counting direction versus encoder signals and polarity settings | 2549 |
| Table 497. | DMA request | 2571 |
| Table 498. | Effect of low-power modes on TIM1/TIM8 | 2572 |
| Table 499. | Interrupt requests | 2572 |
| Table 500. | Output control bits for complementary tim_ocx and tim_ocxn channels with break feature | 2599 |
| Table 501. | TIMx register map and reset values | 2622 |
| Table 502. | STM32N6x5/x7xx general purpose timers | 2626 |
| Table 503. | TIM input/output pins | 2628 |
| Table 504. | TIM internal input/output signals | 2628 |
| Table 505. | Interconnect to the tim_ti1 input multiplexer | 2629 |
| Table 506. | Interconnect to the tim_ti2 input multiplexer | 2629 |
| Table 507. | Interconnect to the tim_ti3 input multiplexer | 2629 |
| Table 508. | Interconnect to the tim_ti4 input multiplexer | 2630 |
| Table 509. | TIMx internal trigger connection | 2630 |
| Table 510. | Interconnect to the tim_etr input multiplexer | 2630 |
| Table 511. | CCR and ARR register change dithering pattern . . . . . | 2662 |
| Table 512. | CCR register change dithering pattern in center-aligned PWM mode . . . . . | 2663 |
| Table 513. | Counting direction versus encoder signals(CC1P = CC2P = 0) . . . . . | 2672 |
| Table 514. | Counting direction versus encoder signals and polarity settings . . . . . | 2677 |
| Table 515. | DMA request . . . . . | 2702 |
| Table 516. | Effect of low-power modes on TIM2/TIM3/TIM4/TIM5 . . . . . | 2702 |
| Table 517. | Interrupt requests . . . . . | 2703 |
| Table 518. | Output control bit for standard tim_ocx channels . . . . . | 2724 |
| Table 519. | TIM2/TIM3/TIM4/TIM5 register map and reset values . . . . . | 2736 |
| Table 520. | TIM internal input/output signals . . . . . | 2740 |
| Table 521. | TIMx_ARR register change dithering pattern . . . . . | 2749 |
| Table 522. | DMA request . . . . . | 2751 |
| Table 523. | Effect of low-power modes on TIM6/TIM7/TIM18 . . . . . | 2751 |
| Table 524. | Interrupt request . . . . . | 2751 |
| Table 525. | TIMx register map and reset values . . . . . | 2758 |
| Table 526. | TIM input/output pins . . . . . | 2762 |
| Table 527. | TIM internal input/output signals . . . . . | 2762 |
| Table 528. | Interconnect to the tim_ti1 input multiplexer . . . . . | 2763 |
| Table 529. | Interconnect to the tim_ti2 input multiplexer . . . . . | 2763 |
| Table 530. | TIMx internal trigger connection . . . . . | 2763 |
| Table 531. | CCR and ARR register change dithering pattern . . . . . | 2781 |
| Table 532. | Effect of low-power modes on TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 . . . . . | 2791 |
| Table 533. | Interrupt requests . . . . . | 2791 |
| Table 534. | Output control bit for standard tim_ocx channels . . . . . | 2804 |
| Table 535. | TIMx register map and reset values (x = 9, 12) . . . . . | 2808 |
| Table 536. | Output control bit for standard tim_ocx channels . . . . . | 2817 |
| Table 537. | TIM10/TIM11/TIM13/TIM14 register map and reset values . . . . . | 2820 |
| Table 538. | TIM input/output pins . . . . . | 2825 |
| Table 539. | TIM internal input/output signals . . . . . | 2826 |
| Table 540. | Interconnect to the tim_ti1 input multiplexer . . . . . | 2827 |
| Table 541. | Interconnect to the tim_ti2 input multiplexer . . . . . | 2827 |
| Table 542. | TIMx internal trigger connection . . . . . | 2827 |
| Table 543. | Timer break interconnect . . . . . | 2828 |
| Table 544. | System break interconnect . . . . . | 2828 |
| Table 545. | CCR and ARR register change dithering pattern . . . . . | 2848 |
| Table 546. | Break protection disarming conditions . . . . . | 2857 |
| Table 547. | DMA request . . . . . | 2870 |
| Table 548. | Effect of low-power modes on TIM15/TIM16/TIM17 . . . . . | 2870 |
| Table 549. | Interrupt requests . . . . . | 2871 |
| Table 550. | Output control bits for complementary tim_ocx and tim_ocxn channels with break feature (TIM15) . . . . . | 2886 |
| Table 551. | TIM15 register map and reset values . . . . . | 2899 |
| Table 552. | Output control bits for complementary tim_oc1 and tim_oc1n channels with break feature (TIM16/TIM17) . . . . . | 2912 |
| Table 553. | TIM16/TIM17 register map and reset values . . . . . | 2926 |
| Table 554. | STM32N6x5/x7xx LPTIM features . . . . . | 2929 |
| Table 555. | LPTIM1/2/3 input/output pins . . . . . | 2931 |
| Table 556. | LPTIM4/5 input/output pins . . . . . | 2931 |
| Table 557. | LPTIM1/2/3 internal signals . . . . . | 2932 |
| Table 558. | LPTIM4/5 internal signals . . . . . | 2932 |
| Table 559. | LPTIM1/2/3/4/5 external trigger connections . . . . . | 2933 |
| Table 560. | LPTIM1/2/3 input 1 connections . . . . . | 2933 |
| Table 561. | LPTIM1/2/3 input 2 connections . . . . . | 2933 |
| Table 562. | LPTIM1/2/3 input capture 1 connections . . . . . | 2933 |
| Table 563. | LPTIM1 input capture 2 connections . . . . . | 2934 |
| Table 564. | LPTIM2 input capture 2 connections . . . . . | 2934 |
| Table 565. | LPTIM3 input capture 2 connections . . . . . | 2934 |
| Table 566. | Prescaler division ratios . . . . . | 2936 |
| Table 567. | Encoder counting scenarios . . . . . | 2943 |
| Table 568. | Input capture Glitch filter latency (in counter step unit). . . . . | 2947 |
| Table 569. | Effect of low-power modes on the LPTIM. . . . . | 2951 |
| Table 570. | Interrupt events. . . . . | 2952 |
| Table 571. | LPTIM register map and reset values. . . . . | 2976 |
| Table 572. | IWDG features . . . . . | 2979 |
| Table 573. | IWDG delays versus actions . . . . . | 2980 |
| Table 574. | IWDG internal input/output signals . . . . . | 2981 |
| Table 575. | Effect of low power modes on IWDG . . . . . | 2986 |
| Table 576. | IWDG interrupt request. . . . . | 2988 |
| Table 577. | IWDG register map and reset values . . . . . | 2994 |
| Table 578. | WWDG features . . . . . | 2995 |
| Table 579. | WWDG internal input/output signals. . . . . | 2996 |
| Table 580. | WWDG interrupt requests. . . . . | 2999 |
| Table 581. | WWDG register map and reset values . . . . . | 3001 |
| Table 582. | RTC input/output pins . . . . . | 3005 |
| Table 583. | RTC internal input/output signals . . . . . | 3005 |
| Table 584. | RTC interconnection . . . . . | 3006 |
| Table 585. | RTC pin PC13 configuration . . . . . | 3006 |
| Table 586. | RTC_OUT mapping . . . . . | 3008 |
| Table 587. | Effect of low-power modes on RTC . . . . . | 3024 |
| Table 588. | RTC pins functionality over modes . . . . . | 3024 |
| Table 589. | Nonsecure interrupt requests . . . . . | 3025 |
| Table 590. | Secure interrupt requests . . . . . | 3025 |
| Table 591. | RTC register map and reset values . . . . . | 3055 |
| Table 592. | TAMP input/output pins . . . . . | 3060 |
| Table 593. | TAMP internal input/output signals . . . . . | 3060 |
| Table 594. | TAMP interconnection . . . . . | 3061 |
| Table 595. | Device resource x tamper protection . . . . . | 3066 |
| Table 596. | Active tamper output change period . . . . . | 3070 |
| Table 597. | Minimum ATPER value. . . . . | 3071 |
| Table 598. | Active tamper filtered pulse duration . . . . . | 3072 |
| Table 599. | Effect of low-power modes on TAMP . . . . . | 3074 |
| Table 600. | TAMP pins functionality over modes . . . . . | 3074 |
| Table 601. | Interrupt requests . . . . . | 3074 |
| Table 602. | TAMP register map and reset values . . . . . | 3102 |
| Table 603. | I2C implementation. . . . . | 3105 |
| Table 604. | I2C input/output pins. . . . . | 3106 |
| Table 605. | I2C internal input/output signals . . . . . | 3107 |
| Table 606. | Comparison of analog and digital filters . . . . . | 3109 |
| Table 607. | I2C-bus and SMBus specification data setup and hold times . . . . . | 3111 |
| Table 608. | I2C configuration. . . . . | 3115 |
| Table 609. | I2C-bus and SMBus specification clock timings . . . . . | 3126 |
| Table 610. | Timing settings for fI2CCLK of 8 MHz. . . . . | 3136 |
| Table 611. | Timing settings for fI2CCLK of 16 MHz. . . . . | 3136 |
| Table 612. | SMBus timeout specifications. . . . . | 3138 |
| Table 613. | SMBus with PEC configuration . . . . . | 3140 |
| Table 614. | TIMEOUTA[11:0] for maximum \(t_{TIMEOUT}\) of 25 ms . . . . . | 3141 |
| Table 615. | TIMEOUTB[11:0] for maximum \(t_{LOW:SEXT}\) and \(t_{LOW:MEXT}\) of 8 ms . . . . . | 3141 |
| Table 616. | TIMEOUTA[11:0] for maximum \(t_{IDLE}\) of 50 μs . . . . . | 3141 |
| Table 617. | Effect of low-power modes to I2C . . . . . | 3151 |
| Table 618. | I2C interrupt requests . . . . . | 3151 |
| Table 619. | I2C register map and reset values . . . . . | 3167 |
| Table 620. | I3C instantiation . . . . . | 3170 |
| Table 621. | I3C wake-up . . . . . | 3170 |
| Table 622. | I3C FIFOs implementation . . . . . | 3170 |
| Table 623. | I3C interrupt(s) . . . . . | 3171 |
| Table 624. | I3C peripheral controller/target features versus MIPI v1.1 . . . . . | 3172 |
| Table 625. | I3C input/output pins . . . . . | 3173 |
| Table 626. | I3C internal input/output signals . . . . . | 3173 |
| Table 627. | I3C register usage . . . . . | 3185 |
| Table 628. | I3C registers/fields usage versus controller state . . . . . | 3186 |
| Table 629. | I3C registers/fields usage versus target state . . . . . | 3189 |
| Table 630. | List of supported I3C CCCs, as controller/target . . . . . | 3192 |
| Table 631. | I3C controller error management . . . . . | 3224 |
| Table 632. | I3C target error management . . . . . | 3226 |
| Table 633. | Effect of low-power modes . . . . . | 3230 |
| Table 634. | I3C interrupt requests . . . . . | 3231 |
| Table 635. | I3C register map and reset values . . . . . | 3276 |
| Table 636. | Instance implementation on STM32N6x5/x7xx . . . . . | 3280 |
| Table 637. | USART/LPUART features . . . . . | 3281 |
| Table 638. | USART/UART input/output pins . . . . . | 3283 |
| Table 639. | USART internal input/output signals . . . . . | 3284 |
| Table 640. | Noise detection from sampled data . . . . . | 3296 |
| Table 641. | Tolerance of the USART receiver when BRR [3:0] = 0000 . . . . . | 3300 |
| Table 642. | Tolerance of the USART receiver when BRR[3:0] is different from 0000 . . . . . | 3300 |
| Table 643. | USART frame formats . . . . . | 3305 |
| Table 644. | Effect of low-power modes on the USART . . . . . | 3328 |
| Table 645. | USART interrupt requests . . . . . | 3329 |
| Table 646. | USART register map and reset values . . . . . | 3367 |
| Table 647. | Instance implementation on STM32N6x5/x7xx . . . . . | 3370 |
| Table 648. | USART/LPUART features . . . . . | 3370 |
| Table 649. | LPUART input/output pins . . . . . | 3373 |
| Table 650. | LPUART internal input/output signals . . . . . | 3373 |
| Table 651. | Error calculation for programmed baud rates at lpuart_ker_ck_pres= 32.768 kHz . . . . . | 3384 |
| Table 652. | Tolerance of the LPUART receiver . . . . . | 3385 |
| Table 654. | Effect of low-power modes on the LPUART . . . . . | 3397 |
| Table 655. | LPUART interrupt requests . . . . . | 3398 |
| Table 656. | LPUART register map and reset values . . . . . | 3424 |
| Table 657. | SPI features . . . . . | 3427 |
| Table 658. | SPI/I2S input/output pins . . . . . | 3430 |
| Table 659. | SPI internal input/output signals . . . . . | 3430 |
| Table 660. | Effect of low-power modes on the SPI . . . . . | 3457 |
| Table 661. | SPI wake-up and interrupt requests . . . . . | 3458 |
| Table 662. | Bitfields usable in PCM/I2S mode . . . . . | 3460 |
| Table 663. | WS and CK level before SPI/I2S is enabled when AFCNTR = 1 . . . . . | 3469 |
| Table 664. | Serial data line swapping . . . . . | 3469 |
| Table 665. | CLKGEN programming examples for usual I2S frequencies . . . . . | 3473 |
| Table 666. | I2S interrupt requests . . . . . | 3482 |
| Table 667. | SPI register map and reset values . . . . . | 3499 |
| Table 668. | SAI features . . . . . | 3502 |
| Table 669. | SAI internal input/output signals . . . . . | 3504 |
| Table 670. | SAI input/output pins. . . . . | 3504 |
| Table 671. | External synchronization selection . . . . . | 3507 |
| Table 672. | MCLK_x activation conditions. . . . . | 3512 |
| Table 673. | Clock generator programming examples . . . . . | 3515 |
| Table 674. | SAI_A configuration for TDM mode . . . . . | 3522 |
| Table 675. | TDM frame configuration examples . . . . . | 3524 |
| Table 676. | SOPD pattern . . . . . | 3528 |
| Table 677. | Parity bit calculation . . . . . | 3528 |
| Table 678. | Audio sampling frequency versus symbol rates . . . . . | 3529 |
| Table 679. | SAI interrupt sources . . . . . | 3538 |
| Table 680. | SAI register map and reset values . . . . . | 3567 |
| Table 681. | SPDIFRX internal input/output signals . . . . . | 3570 |
| Table 682. | SPDIFRX pins. . . . . | 3570 |
| Table 683. | Transition sequence for preamble . . . . . | 3576 |
| Table 684. | Minimum spdifrx_ker_ck frequency versus audio sampling rate . . . . . | 3586 |
| Table 685. | Conditions of spdifrx_symb_ck generation. . . . . | 3587 |
| Table 686. | Bit field property versus SPDIFRX state. . . . . | 3590 |
| Table 687. | SPDIFRX interface register map and reset values . . . . . | 3602 |
| Table 688. | MDIOS input/output signals connected to package pins or balls . . . . . | 3604 |
| Table 689. | MDIOS internal input/output signals . . . . . | 3604 |
| Table 690. | Interrupt control bits . . . . . | 3609 |
| Table 691. | MDIOS register map and reset values . . . . . | 3614 |
| Table 692. | CAN subsystem I/O signals . . . . . | 3616 |
| Table 693. | CAN subsystem I/O pins. . . . . | 3617 |
| Table 694. | CAN triggers . . . . . | 3617 |
| Table 695. | Main features . . . . . | 3619 |
| Table 696. | DLC coding in FDCAN . . . . . | 3624 |
| Table 697. | Example of filter configuration for Rx buffers . . . . . | 3637 |
| Table 698. | Example of filter configuration for Debug messages . . . . . | 3638 |
| Table 699. | Possible configurations for frame transmission . . . . . | 3638 |
| Table 700. | Tx buffer/FIFO - Queue element size . . . . . | 3639 |
| Table 701. | First byte of level 1 reference message . . . . . | 3649 |
| Table 702. | First four bytes of level 2 reference message. . . . . | 3650 |
| Table 703. | First four bytes of level 0 reference message. . . . . | 3650 |
| Table 704. | TUR configuration example . . . . . | 3651 |
| Table 705. | System matrix, Node A. . . . . | 3656 |
| Table 706. | Trigger list, Node A. . . . . | 3657 |
| Table 707. | Number of data bytes transmitted with a reference message. . . . . | 3664 |
| Table 708. | Rx buffer and FIFO element . . . . . | 3671 |
| Table 709. | Rx buffer and FIFO element description. . . . . | 3671 |
| Table 710. | Tx buffer and FIFO element . . . . . | 3673 |
| Table 711. | Tx buffer element description . . . . . | 3673 |
| Table 712. | Tx Event FIFO element. . . . . | 3675 |
| Table 713. | Tx Event FIFO element description . . . . . | 3675 |
| Table 714. | Standard message ID filter element . . . . . | 3676 |
| Table 715. | Standard message ID filter element field description . . . . . | 3677 |
| Table 716. | Extended message ID filter element. . . . . | 3678 |
| Table 717. | Extended message ID filter element field description. . . . . | 3678 |
| Table 718. | Trigger memory element. . . . . | 3679 |
| Table 719. | Trigger memory element description . . . . . | 3679 |
| Table 720. | FDCAN register map and reset values . . . . . | 3717 |
| Table 721. | FDCAN TT register map and reset values . . . . . | 3739 |
| Table 722. | CCU register map and reset values . . . . . | 3745 |
| Table 723. | USB2 OTG high-speed Port 1 pins. . . . . | 3748 |
| Table 724. | USB2 OTG high-speed Port 1 internal signals . . . . . | 3749 |
| Table 725. | USB2 OTG high-speed Port 1 interrupt . . . . . | 3750 |
| Table 726. | USB2 OTG high-speed Port 1 wake-up events . . . . . | 3750 |
| Table 727. | USB2 OTG high-speed Port 2 pins. . . . . | 3752 |
| Table 728. | USB2 OTG high-speed Port 2 internal signals . . . . . | 3752 |
| Table 729. | USB2 OTG high-speed Port 2 interrupts . . . . . | 3754 |
| Table 730. | USB2 OTG high-speed Port 2 wake-up events . . . . . | 3754 |
| Table 731. | USB Type-C and power delivery pins. . . . . | 3757 |
| Table 732. | USB Type-C and power delivery internal signals . . . . . | 3757 |
| Table 733. | USB Type-C and power delivery interrupt . . . . . | 3758 |
| Table 734. | USB Type-C and power delivery events. . . . . | 3758 |
| Table 735. | OTG speeds supported . . . . . | 3760 |
| Table 736. | OTG implementation. . . . . | 3762 |
| Table 737. | OTG input/output pins. . . . . | 3763 |
| Table 738. | OTG input/output signals . . . . . | 3764 |
| Table 739. | Compatibility of STM32 low power modes with the OTG . . . . . | 3774 |
| Table 740. | Core global control and status registers (CSRs). . . . . | 3782 |
| Table 741. | Host-mode control and status registers (CSRs) . . . . . | 3783 |
| Table 742. | Device-mode control and status registers . . . . . | 3784 |
| Table 743. | Data FIFO (DFIFO) access register map . . . . . | 3786 |
| Table 744. | Power and clock gating control and status registers . . . . . | 3787 |
| Table 745. | TRDT values. . . . . | 3793 |
| Table 746. | Minimum duration for soft disconnect. . . . . | 3836 |
| Table 747. | OTG register map and reset values . . . . . | 3862 |
| Table 748. | USBPHYC implementation. . . . . | 3927 |
| Table 749. | USBPHYC register map and reset values . . . . . | 3935 |
| Table 750. | UCPD implementation . . . . . | 3937 |
| Table 751. | UCPD signals on pins. . . . . | 3938 |
| Table 752. | UCPD internal signals. . . . . | 3938 |
| Table 753. | 4b5b symbol encoding table. . . . . | 3940 |
| Table 754. | Ordered sets . . . . . | 3942 |
| Table 755. | Validation of ordered sets. . . . . | 3942 |
| Table 756. | Data size. . . . . | 3942 |
| Table 757. | Coding for ANAMODE, ANASUBMODE and link with TYPEC_VSTATE_CCx . . . . . | 3951 |
| Table 758. | Type-C sequence (source: 3A); cable/sink connected (Rd on CC1; Ra on CC2) . . . . . | 3952 |
| Table 759. | Effect of low power modes on the UCPD . . . . . | 3954 |
| Table 760. | UCPD interrupt requests. . . . . | 3955 |
| Table 761. | UCPD register map and reset values . . . . . | 3970 |
| Table 762. | Ethernet peripheral pins . . . . . | 3977 |
| Table 763. | Internal Ethernet input/output signals . . . . . | 3978 |
| Table 764. | Fixed priority scheme for DMA channels . . . . . | 3992 |
| Table 765. | Routing DA/SA failed packets to Rx queue . . . . . | 3996 |
| Table 766. | Routing DA/SA pass but VLAN filter fail packets to Rx queue . . . . . | 3997 |
| Table 767. | Priority routing of filter pass packets when OMCBCQ = 0 . . . . . | 3997 |
| Table 768. | Priority routing of filter pass packets when OMCBCQ = 1 . . . . . | 3997 |
| Table 769. | Weight for DMA channels. . . . . | 4000 |
| Table 770. | Example of credit value per transmit cycle . . . . . | 4001 |
| Table 771. | Double VLAN processing features in Tx path . . . . . | 4004 |
| Table 772. | Double VLAN processing in Rx path . . . . . | 4005 |
| Table 773. | VLAN insertion or replacement based on VLTI bit . . . . . | 4006 |
| Table 774. | Destination address filtering . . . . . | 4010 |
| Table 775. | Source address filtering . . . . . | 4011 |
| Table 776. | VLAN match status . . . . . | 4012 |
| Table 777. | OTS and ITS bit values with at least one perfect filter enabled . . . . . | 4015 |
| Table 778. | OTS and ITS bit values with only VLAN Hash filter enabled . . . . . | 4016 |
| Table 779. | Rx Queue routing table for Unicast-tagged packets . . . . . | 4017 |
| Table 780. | Ordinary clock: PTP messages for snapshot . . . . . | 4020 |
| Table 781. | End-to-end transparent clock: PTP messages for snapshot . . . . . | 4021 |
| Table 782. | Peer-to-peer transparent clock: PTP messages for snapshot . . . . . | 4022 |
| Table 783. | Egress and ingress latency for PHY interfaces . . . . . | 4026 |
| Table 784. | Minimum PTP clock frequency example . . . . . | 4026 |
| Table 785. | Message format defined in IEEE 1588-2008 . . . . . | 4027 |
| Table 786. | Message format defined in IEEE 1588-2008 . . . . . | 4028 |
| Table 787. | IPv6-UDP PTP packet fields required for control and status . . . . . | 4029 |
| Table 788. | Ethernet PTP packet fields required for control and status . . . . . | 4030 |
| Table 789. | Timestamp Snapshot Dependency on ETH_MACTSCR bits . . . . . | 4031 |
| Table 790. | PTP message generation criteria . . . . . | 4037 |
| Table 791. | Common PTP message header fields . . . . . | 4039 |
| Table 792. | MAC transmit PTP mode and one-step timestamping operation . . . . . | 4042 |
| Table 793. | External memory used for holding the two gate-control lists . . . . . | 4047 |
| Table 794. | GCL and associated registers - BTR and CTR . . . . . | 4051 |
| Table 795. | GCL and associated registers - BTR and CTR, execution time > CycleTime . . . . . | 4052 |
| Table 796. | GCL and Associated Registers - BTR and CTR . . . . . | 4054 |
| Table 797. | Extending to New List By Truncating the Current List . . . . . | 4055 |
| Table 798. | Switching to New List By Extending the Current List . . . . . | 4056 |
| Table 799. | Gate Control List When FPE is disabled . . . . . | 4058 |
| Table 800. | Gate Control List When FPE is enabled . . . . . | 4058 |
| Table 801. | Valid SMD Values of mPacket . . . . . | 4061 |
| Table 802. | Valid frag_count values . . . . . | 4061 |
| Table 803. | Current and Previous SMD Values . . . . . | 4062 |
| Table 804. | Current and previous SMD values . . . . . | 4062 |
| Table 805. | Preemption Control Values on MRI Interface for Various Frame Types . . . . . | 4066 |
| Table 806. | MMC Counters and Associated Interrupt Registers . . . . . | 4067 |
| Table 807. | Transmit checksum offload engine functions for different packet types . . . . . | 4076 |
| Table 808. | Receive checksum offload engine functions for different packet types . . . . . | 4079 |
| Table 809. | TSO: TCP and IP header fields . . . . . | 4083 |
| Table 810. | Pause packet fields . . . . . | 4088 |
| Table 811. | Tx MAC flow control . . . . . | 4089 |
| Table 812. | Rx MAC flow control . . . . . | 4090 |
| Table 813. | Size of the maximum receive packet . . . . . | 4092 |
| Table 814. | MCD clock selection . . . . . | 4095 |
| Table 815. | MDIO Clause 45 frame structure . . . . . | 4096 |
| Table 816. | MDIO Clause 22 frame structure . . . . . | 4097 |
| Table 817. | Remote wake-up packet filter register . . . . . | 4110 |
| Table 818. | Description of the remote wake-up filter fields . . . . . | 4110 |
| Table 819. | Remote wake-up packet and PMT interrupt generation . . . . . | 4112 |
| Table 820. | Transfer complete interrupt behavior . . . . . | 4121 |
| Table 821. | TDES0 normal descriptor (read format) . . . . . | 4151 |
| Table 822. | TDES1 normal descriptor (read format) . . . . . | 4152 |
| Table 823. | TDES2 normal descriptor (read format) . . . . . | 4152 |
| Table 824. | TDES3 normal descriptor (read format) . . . . . | 4153 |
| Table 825. | TDES0 normal descriptor (write-back format). . . . . | 4156 |
| Table 826. | TDES1 normal descriptor (write-back format). . . . . | 4156 |
| Table 827. | TDES2 normal descriptor (write-back format). . . . . | 4157 |
| Table 828. | TDES3 normal descriptor (write-back format). . . . . | 4157 |
| Table 829. | TDES0 context descriptor. . . . . | 4161 |
| Table 830. | TDES1 context descriptor. . . . . | 4161 |
| Table 831. | TDES2 context descriptor. . . . . | 4162 |
| Table 832. | TDES3 context descriptor. . . . . | 4162 |
| Table 833. | RDES0 normal descriptor (read format) . . . . . | 4165 |
| Table 834. | RDES1 normal descriptor (read format) . . . . . | 4165 |
| Table 835. | RDES2 normal descriptor (read format) . . . . . | 4165 |
| Table 836. | RDES3 normal descriptor (read format) . . . . . | 4166 |
| Table 837. | RDES0 normal descriptor (write-back format) . . . . . | 4167 |
| Table 838. | RDES1 normal descriptor (write-back format) . . . . . | 4168 |
| Table 839. | RDES2 normal descriptor (write-back format) . . . . . | 4170 |
| Table 840. | RDES3 normal descriptor (write-back format) . . . . . | 4172 |
| Table 841. | RDES0 context descriptor . . . . . | 4175 |
| Table 842. | RDES1 context descriptor . . . . . | 4176 |
| Table 843. | RDES2 context descriptor . . . . . | 4176 |
| Table 844. | RDES3 context descriptor . . . . . | 4176 |
| Table 845. | Enhanced normal descriptor (read format). . . . . | 4177 |
| Table 846. | ETH_DMA common register map and reset values . . . . . | 4206 |
| Table 847. | ETH_DMA_CH0 register map and reset values . . . . . | 4207 |
| Table 848. | ETH_DMA_CH1 register map and reset values . . . . . | 4209 |
| Table 849. | ETH_MTL register map and reset values . . . . . | 4238 |
| Table 850. | Giant Packet Status based on S2KP and JE Bits. . . . . | 4247 |
| Table 851. | Packet Length based on the CST and ACS bits. . . . . | 4247 |
| Table 852. | Ethernet MAC register map and reset values. . . . . | 4355 |
| Table 853. | Muxing of HDP signals . . . . . | 4367 |
| Table 854. | HDP register map and reset values . . . . . | 4371 |
| Table 855. | SWJ-DP pins . . . . . | 4376 |
| Table 856. | Trace port pins . . . . . | 4376 |
| Table 857. | Serial-wire trace port pins. . . . . | 4376 |
| Table 858. | Trigger pins. . . . . | 4377 |
| Table 859. | Authentication signal initial states. . . . . | 4380 |
| Table 860. | JTAG-DP data registers . . . . . | 4384 |
| Table 861. | Packet request . . . . . | 4385 |
| Table 862. | ACK response. . . . . | 4386 |
| Table 863. | Data transfer . . . . . | 4386 |
| Table 864. | Debug port registers . . . . . | 4387 |
| Table 865. | Debug port register map and reset values . . . . . | 4394 |
| Table 866. | AP1-2 authentication behavior . . . . . | 4396 |
| Table 867. | AP0 register map and reset values. . . . . | 4400 |
| Table 868. | AP1 register map and reset values. . . . . | 4404 |
| Table 869. | AP2 register map and reset values. . . . . | 4409 |
| Table 870. | System ROM table . . . . . | 4410 |
| Table 871. | MCU ROM table . . . . . | 4410 |
| Table 872. | System ROM table register map and reset values . . . . . | 4415 |
| Table 873. | Processor ROM table . . . . . | 4416 |
| Table 874. | Processor ROM register map and reset values . . . . . | 4421 |
| Table 875. | DWT register map and reset values . . . . . | 4434 |
| Table 876. | PMU register map and reset values . . . . . | 4449 |
| Table 877. | ITM register map and reset values . . . . . | 4459 |
| Table 878. | BPU register map and reset values . . . . . | 4466 |
| Table 879. | ETM register map and reset values . . . . . | 4491 |
| Table 880. | Trace subsystem ROM table . . . . . | 4495 |
| Table 881. | Trace subsystem ROM table register map and reset values . . . . . | 4501 |
| Table 882. | TSGEN register map and reset values . . . . . | 4508 |
| Table 883. | Trace and debug subsystem CTI_0 inputs . . . . . | 4511 |
| Table 884. | Trace and debug subsystem CTI_0 outputs . . . . . | 4511 |
| Table 885. | Trace and debug subsystem CTI_1 inputs . . . . . | 4511 |
| Table 886. | Trace and debug subsystem CTI_1 outputs . . . . . | 4512 |
| Table 887. | Cortex-M55 CTI inputs . . . . . | 4512 |
| Table 888. | Cortex-M55 CTI outputs . . . . . | 4512 |
| Table 889. | CTI register map and reset values . . . . . | 4526 |
| Table 890. | CSTF register map and reset values . . . . . | 4536 |
| Table 891. | ETF register map and reset values . . . . . | 4555 |
| Table 892. | ETR scatter-gather page format . . . . . | 4560 |
| Table 893. | ETR register map and reset values . . . . . | 4579 |
| Table 894. | TPIU register map and reset values . . . . . | 4596 |
| Table 895. | ETR replicator allocation . . . . . | 4598 |
| Table 896. | Replicator register map and reset values . . . . . | 4607 |
| Table 897. | SWO register map and reset values . . . . . | 4617 |
| Table 898. | STM extended stimulus port memory map . . . . . | 4619 |
| Table 899. | STM trace packet ID mapping to AXI masters . . . . . | 4620 |
| Table 900. | Hardware event mapping . . . . . | 4621 |
| Table 901. | STM register map and reset values . . . . . | 4644 |
| Table 902. | DBGMCU register map and reset values . . . . . | 4657 |
| Table 903. | Document revision history . . . . . | 4666 |
List of figures
| Figure 1. | Interconnect top view - STM32N6x7 devices | 160 |
| Figure 2. | Interconnect top view - STM32N6x5 devices | 161 |
| Figure 3. | Key management principle | 194 |
| Figure 4. | BSEC block diagram | 202 |
| Figure 5. | BSEC fuse mapping overview | 204 |
| Figure 6. | RISAF block diagram | 260 |
| Figure 7. | RISAF region programming | 261 |
| Figure 8. | RISAF region on-the-fly resizing | 264 |
| Figure 9. | IAC block diagram | 281 |
| Figure 10. | FLEXMEM versus retention | 291 |
| Figure 11. | ICACHE block diagram | 310 |
| Figure 12. | ICACHE TAG and data memories functional view | 312 |
| Figure 13. | CACHEAXI block diagram | 325 |
| Figure 14. | CACHEAXI TAG and data memories functional view | 328 |
| Figure 15. | Power control block diagram | 348 |
| Figure 16. | Power supply overview | 352 |
| Figure 17. | System supply configurations | 353 |
| Figure 18. | Device startup (VCORE supplied directly from SMPS step-down converter) | 354 |
| Figure 19. | Device startup (VCORE supplied from an external regulator) | 355 |
| Figure 20. | Backup domain | 358 |
| Figure 21. | Retention domain | 359 |
| Figure 22. | POR/PDR waveform | 361 |
| Figure 23. | BOR thresholds | 362 |
| Figure 24. | Vdda18pmu_ok reset threshold | 362 |
| Figure 25. | Vddcore_ok reset thresholds | 363 |
| Figure 26. | VDDCORE monitoring | 364 |
| Figure 27. | PVD thresholds | 364 |
| Figure 28. | V08CAP thresholds | 367 |
| Figure 29. | Temperature thresholds | 368 |
| Figure 30. | VCORE voltage scaling versus system power modes | 373 |
| Figure 31. | Dynamic voltage scaling in Run mode | 374 |
| Figure 32. | Dynamic voltage scaling behavior in Stop mode | 375 |
| Figure 33. | Dynamic Voltage Scaling from Standby mode | 376 |
| Figure 34. | RCC block diagram | 412 |
| Figure 35. | Simplified reset circuit | 415 |
| Figure 36. | NRST reset pulse control | 418 |
| Figure 37. | Boot sequences versus system states | 421 |
| Figure 38. | Top-level clock tree | 423 |
| Figure 39. | HSE clock source | 425 |
| Figure 40. | HSE clock generation | 426 |
| Figure 41. | LSE clock generation | 427 |
| Figure 42. | HSI calibration flow | 430 |
| Figure 43. | MSI calibration flow | 431 |
| Figure 44. | PLL block diagram | 436 |
| Figure 45. | Spread spectrum modulation | 438 |
| Figure 46. | Core and bus clock generation | 442 |
| Figure 47. | Key signals controlling low-power modes | 443 |
| Figure 48. | Clock distribution for the NPU | 454 |
| Figure 49. | Clock distribution for PSSI, CSI, and DCMIPP | 455 |
| Figure 50. | Clock distribution for GPU, ICACHE, and GFXMMU | 456 |
| Figure 51. | Clock distribution for LTDC | 456 |
| Figure 52. | Clock distribution for VENC | 457 |
| Figure 53. | Clock distribution for OTG1, OTG2, and UCPD1 | 458 |
| Figure 54. | Clock distribution for ETH1 | 459 |
| Figure 55. | Clock management for ETH1 | 460 |
| Figure 56. | Clock distribution for MDIOS | 461 |
| Figure 57. | Clock distribution for FMC and MCE4 | 462 |
| Figure 58. | Clock distribution for XSPIs and MCE1/2/3 | 463 |
| Figure 59. | Clock distribution for SDMMCx and companions | 465 |
| Figure 60. | Clock distribution for ADCs | 466 |
| Figure 61. | Clock distribution for RTC | 466 |
| Figure 62. | Clock distribution for IWDG and WWDG | 467 |
| Figure 63. | Clock distribution for trace and debug | 468 |
| Figure 64. | Kernel clock switching | 469 |
| Figure 65. | Enable logic details for peripheral kernel clock | 470 |
| Figure 66. | Basic structure of an I/O port bit | 784 |
| Figure 67. | Input floating/pull-up/pull-down configurations | 788 |
| Figure 68. | Output configuration | 789 |
| Figure 69. | AF configuration | 790 |
| Figure 70. | Programmable analog configuration | 790 |
| Figure 71. | I/O compensation cell control overview | 809 |
| Figure 72. | HPDMA block diagram | 844 |
| Figure 73. | HPDMA channel direct programming without linked-list (HPDMA_CxLLR = 0) | 846 |
| Figure 74. | HPDMA channel suspend and resume sequence | 847 |
| Figure 75. | HPDMA channel abort and restart sequence | 848 |
| Figure 76. | Static linked-list data structure (all Uxx = 1) of a linear addressing channel x | 849 |
| Figure 77. | Static linked-list data structure (all Uxx = 1) of a 2D addressing channel x | 850 |
| Figure 78. | HPDMA dynamic linked-list data structure of linear addressing channel x | 851 |
| Figure 79. | HPDMA dynamic linked-list data structure of a 2D addressing channel x | 851 |
| Figure 80. | HPDMA channel execution and linked-list programming in run-to-completion mode (HPDMA_CxCR.LSM = 0) | 853 |
| Figure 81. | Inserting a LLIn with an auxiliary HPDMA channel y | 855 |
| Figure 82. | HPDMA channel execution and linked-list programming in link step mode (HPDMA_CxCR.LSM = 1) | 857 |
| Figure 83. | Building LLIn+1: HPDMA dynamic linked-lists in link step mode | 858 |
| Figure 84. | Replace with a new LLIn' in register file in link step mode | 859 |
| Figure 85. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 1) | 860 |
| Figure 86. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 2) | 861 |
| Figure 87. | HPDMA channel execution and linked-list programming | 863 |
| Figure 88. | Programmed 2D addressing | 866 |
| Figure 89. | HPDMA arbitration policy | 881 |
| Figure 90. | Trigger hit, memorization and overrun waveform | 885 |
| Figure 91. | HPDMA circular buffer programming: update of the memory start address with a linear addressing channel | 886 |
| Figure 92. | Shared HPDMA channel with circular buffering: update of the memory start address with a linear addressing channel | 887 |
| Figure 93. | GPDMA block diagram | 941 |
| Figure 94. | GPDMA channel direct programming without linked-list (GPDMA_CxLLR = 0) | 942 |
| Figure 95. | GPDMA channel suspend and resume sequence | 943 |
| Figure 96. | GPDMA channel abort and restart sequence | 944 |
| Figure 97. | Static linked-list data structure (all Uxx = 1) of a linear addressing channel x . . . . . | 945 |
| Figure 98. | Static linked-list data structure (all Uxx = 1) of a 2D addressing channel x . . . . . | 946 |
| Figure 99. | GPDMA dynamic linked-list data structure of a linear addressing channel x . . . . . | 947 |
| Figure 100. | GPDMA dynamic linked-list data structure of a 2D addressing channel x . . . . . | 947 |
| Figure 101. | GPDMA channel execution and linked-list programming in run-to-completion mode (GPDMA_CxCR.LSM = 0) . . . . . | 949 |
| Figure 102. | Inserting a LLIn with an auxiliary GPDMA channel y . . . . . | 951 |
| Figure 103. | GPDMA channel execution and linked-list programming in link step mode (GPDMA_CxCR.LSM = 1) . . . . . | 953 |
| Figure 104. | Building LLIn+1: GPDMA dynamic linked-lists in link step mode . . . . . | 954 |
| Figure 105. | Replace with a new LLIn' in register file in link step mode . . . . . | 955 |
| Figure 106. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 1) . . . . . | 956 |
| Figure 107. | Replace with a new LLIn' and LLIn+1' in memory in link step mode (option 2) . . . . . | 957 |
| Figure 108. | GPDMA channel execution and linked-list programming . . . . . | 959 |
| Figure 109. | Programmed 2D addressing . . . . . | 962 |
| Figure 110. | GPDMA arbitration policy . . . . . | 969 |
| Figure 111. | Trigger hit, memorization, and overrun waveform . . . . . | 972 |
| Figure 112. | GPDMA circular buffer programming: update of the memory start address with a linear addressing channel . . . . . | 973 |
| Figure 113. | Shared GPDMA channel with circular buffering: update of the memory start address with a linear addressing channel. . . . . | 974 |
| Figure 114. | Stream processing engine . . . . . | 1011 |
| Figure 115. | Chaining of processing units. . . . . | 1012 |
| Figure 116. | Neural-ART 14 NPU accelerator . . . . . | 1013 |
| Figure 117. | Stream engines. . . . . | 1016 |
| Figure 118. | Two dimensional lossy compression . . . . . | 1017 |
| Figure 119. | Decompression unit (DECUN) . . . . . | 1017 |
| Figure 120. | Convolutional accelerator (CONVACC) . . . . . | 1018 |
| Figure 121. | Example of pooling operations . . . . . | 1019 |
| Figure 122. | Pooling unit (POOL) . . . . . | 1019 |
| Figure 123. | Activation unit (ACTIV) . . . . . | 1020 |
| Figure 124. | Arithmetic unit (ARITH) . . . . . | 1023 |
| Figure 125. | Memory to memory transfer . . . . . | 1024 |
| Figure 126. | Simple processing . . . . . | 1025 |
| Figure 127. | Multiple processing . . . . . | 1025 |
| Figure 128. | Classical Conv-Pool-ReLU . . . . . | 1025 |
| Figure 129. | Chained convolutions . . . . . | 1026 |
| Figure 130. | Split convolution . . . . . | 1026 |
| Figure 131. | Neural-ART 14 integration . . . . . | 1029 |
| Figure 132. | DMA2D block diagram . . . . . | 1033 |
| Figure 133. | Intel 8080 16-bit mode (RGB565) . . . . . | 1040 |
| Figure 134. | Intel 8080 18/24-bit mode (RGB888) . . . . . | 1040 |
| Figure 135. | GFXMMU block diagram . . . . . | 1066 |
| Figure 136. | Virtual buffer . . . . . | 1068 |
| Figure 137. | Virtual buffer and physical buffer memory map . . . . . | 1069 |
| Figure 138. | MMU block diagram . . . . . | 1070 |
| Figure 139. | Block validation/comparator implementation . . . . . | 1072 |
| Figure 140. | GFXTIM block diagram. . . . . | 1082 |
| Figure 141. Clock generator ..... | 1084 |
| Figure 142. Waveforms in standalone ..... | 1086 |
| Figure 143. Active counters and signals in standalone ..... | 1086 |
| Figure 144. Waveforms with external HSYNC and VSYNC ..... | 1086 |
| Figure 145. Waveforms with external HSYNC only ..... | 1087 |
| Figure 146. Active counters and signals with external HSYNC only ..... | 1087 |
| Figure 147. Waveforms with external VSYNC only ..... | 1087 |
| Figure 148. Active counters with external VSYNC only ..... | 1088 |
| Figure 149. Prescaling when external VSYNC only ..... | 1088 |
| Figure 150. Waveforms with external CSYNC only ..... | 1088 |
| Figure 151. Active counters and signals with external CSYNC only ..... | 1089 |
| Figure 152. Prescaling when external CSYNC only ..... | 1089 |
| Figure 153. Tearing-effect configurations ..... | 1091 |
| Figure 154. Watchdog timer ..... | 1092 |
| Figure 155. EXTI block diagram ..... | 1126 |
| Figure 156. Configurable event trigger logic CPU wake-up ..... | 1130 |
| Figure 157. EXTI direct events ..... | 1131 |
| Figure 158. EXTI mux GPIO selection ..... | 1132 |
| Figure 159. CRC calculation unit block diagram ..... | 1170 |
| Figure 160. FMC block diagram ..... | 1178 |
| Figure 161. Mode 1 read access waveforms ..... | 1193 |
| Figure 162. Mode 1 write access waveforms ..... | 1193 |
| Figure 163. Mode A read access waveforms ..... | 1195 |
| Figure 164. Mode A write access waveforms ..... | 1196 |
| Figure 165. Mode 2 and mode B read access waveforms ..... | 1198 |
| Figure 166. Mode 2 write access waveforms ..... | 1198 |
| Figure 167. Mode B write access waveforms ..... | 1199 |
| Figure 168. Mode C read access waveforms ..... | 1201 |
| Figure 169. Mode C write access waveforms ..... | 1201 |
| Figure 170. Mode D read access waveforms ..... | 1203 |
| Figure 171. Mode D write access waveforms ..... | 1204 |
| Figure 172. Muxed read access waveforms ..... | 1206 |
| Figure 173. Muxed write access waveforms ..... | 1207 |
| Figure 174. Asynchronous wait during a read access waveforms ..... | 1210 |
| Figure 175. Asynchronous wait during a write access waveforms ..... | 1210 |
| Figure 176. Wait configuration waveforms ..... | 1212 |
| Figure 177. Synchronous multiplexed read mode waveforms - NOR, PSRAM (CRAM) ..... | 1213 |
| Figure 178. Synchronous multiplexed write mode waveforms - PSRAM (CRAM) ..... | 1215 |
| Figure 179. NAND flash controller waveforms for common memory access ..... | 1228 |
| Figure 180. NAND flash controller waveforms for TCLR and TAR timings ..... | 1229 |
| Figure 181. Access to NAND flash memory ..... | 1230 |
| Figure 182. NAND flash page (2 Kbytes) layout with BCH ..... | 1234 |
| Figure 183. Example of 2 Kbyte page program sequence with 4-bit BCH ..... | 1236 |
| Figure 184. Chained-page read command timings ..... | 1238 |
| Figure 185. Example of 2-Kbyte page read sequence with 4-bit BCH ..... | 1239 |
| Figure 186. SDRAM burst write waveforms (AXI 4-word transfer, no page boundary crossing) ..... | 1268 |
| Figure 187. SDRAM burst read waveforms (AXI 4-word transfer, no page boundary crossing) ..... | 1269 |
| Figure 188. SDRAM burst read crossing a row boundary ..... | 1270 |
| Figure 189. SDRAM burst write crossing a row boundary ..... | 1271 |
| Figure 190. Read followed by write operation ..... | 1271 |
| Figure 191. Write followed by read operation ..... | 1272 |
| Figure 192. SDRAM Self-refresh waveforms ..... | 1273 |
| Figure 193. Power-down mode ..... | 1274 |
| Figure 194. Power-down with Auto-refresh ..... | 1275 |
| Figure 195. XSPI block diagram for 16-bit configuration(1) ..... | 1290 |
| Figure 196. XSPI block diagram for dual-octal configuration(1) ..... | 1291 |
| Figure 197. XSPI block diagram for octal configuration ..... | 1292 |
| Figure 198. XSPI block diagram in quad configuration ..... | 1293 |
| Figure 199. XSPI block diagram for dual-quad configuration ..... | 1294 |
| Figure 200. SDR read command in 16-bit configuration ..... | 1296 |
| Figure 201. DTR read in octal-SPI mode with DQS (Macronix mode) example ..... | 1299 |
| Figure 202. SDR write command in octal-SPI mode example ..... | 1301 |
| Figure 203. DTR write in octal-SPI mode (Macronix mode) example ..... | 1302 |
| Figure 204. Example of HyperBus read operation (8-bit data mode) ..... | 1305 |
| Figure 205. HyperBus write operation with initial latency (8-bit data mode) ..... | 1306 |
| Figure 206. HyperBus read operation with additional latency (8-bit data mode) ..... | 1307 |
| Figure 207. HyperBus write operation with additional latency (8-bit data mode) ..... | 1307 |
| Figure 208. HyperBus write operation with no latency (register write) ..... | 1308 |
| Figure 209. HyperBus read operation page crossing with latency (8-bit data mode) ..... | 1308 |
| Figure 210. HyperBus write operation with initial latency (16-bit mode) ..... | 1309 |
| Figure 211. D0/D1 data ordering in octal-SPI DTR mode (Micron) - Read access ..... | 1316 |
| Figure 212. D0/D1 data ordering in octal-SPI DTR mode with DQS and CLK polarity aligned during Read access ..... | 1316 |
| Figure 213. OctaRAM read operation with reverse data ordering D1/D0 ..... | 1317 |
| Figure 214. NCS when CKMODE = 0 (T = CLK period) ..... | 1323 |
| Figure 215. Example of software control of two external memories ..... | 1324 |
| Figure 216. Example of hardware-controlled extended memory support ..... | 1325 |
| Figure 217. XSPIM block diagram ..... | 1358 |
| Figure 218. XSPI direct octal mode ..... | 1361 |
| Figure 219. XSPI direct 16-bit mode ..... | 1362 |
| Figure 220. XSPI dual-octal mode ..... | 1363 |
| Figure 221. XSPI swapped (octal) mode ..... | 1364 |
| Figure 222. XSPI multiplexed mode to Port 1 ..... | 1365 |
| Figure 223. XSPI multiplexed (octal and dual-octal) mode to Port 2 ..... | 1366 |
| Figure 224. XSPI1 and XSPI2 drive a single external memory (octal mode) ..... | 1367 |
| Figure 225. Single XSPI driving two external memories ..... | 1368 |
| Figure 226. SDMMC “no response” and “no data” operations ..... | 1372 |
| Figure 227. SDMMC (multiple) block read operation ..... | 1372 |
| Figure 228. SDMMC (multiple) block write operation ..... | 1373 |
| Figure 229. SDMMC (sequential) stream read operation ..... | 1373 |
| Figure 230. SDMMC (sequential) stream write operation ..... | 1373 |
| Figure 231. SDMMC block diagram ..... | 1375 |
| Figure 232. SDMMC Command and data phase relation ..... | 1377 |
| Figure 233. Control unit ..... | 1379 |
| Figure 234. Command/response path ..... | 1380 |
| Figure 235. Command path state machine (CPSM) ..... | 1381 |
| Figure 236. Data path ..... | 1387 |
| Figure 237. DDR mode data packet clocking ..... | 1388 |
| Figure 238. DDR mode CRC status / boot acknowledgment clocking ..... | 1388 |
| Figure 239. Data path state machine (DPSM) ..... | 1389 |
| Figure 240. CLKMUX unit ..... | 1400 |
| Figure 241. Linked list structures ..... | 1403 |
| Figure 242. | Asynchronous interrupt generation | 1406 |
| Figure 243. | Synchronous interrupt period data read | 1407 |
| Figure 244. | Synchronous interrupt period data write | 1407 |
| Figure 245. | Asynchronous interrupt period data read | 1408 |
| Figure 246. | Asynchronous interrupt period data write | 1409 |
| Figure 247. | Clock stop with SDMMC_CK for DS, HS, SDR12, SDR25 | 1412 |
| Figure 248. | Clock stop with SDMMC_CK for DDR50, SDR50, SDR104 | 1412 |
| Figure 249. | Read Wait with SDMMC_CK < 50 MHz | 1413 |
| Figure 250. | Read Wait with SDMMC_CK > 50 MHz | 1413 |
| Figure 251. | CMD12 stream timing | 1416 |
| Figure 252. | CMD5 Sleep Awake procedure | 1418 |
| Figure 253. | Normal boot mode operation | 1420 |
| Figure 254. | Alternative boot mode operation | 1421 |
| Figure 255. | Command response R1b busy signaling | 1422 |
| Figure 256. | SDMMC state control | 1423 |
| Figure 257. | Card cycle power / power up diagram | 1424 |
| Figure 258. | Read block gap hardware flow timing | 1425 |
| Figure 259. | CMD11 signal voltage switch sequence | 1427 |
| Figure 260. | Voltage switch transceiver typical application | 1429 |
| Figure 261. | DLYB block diagram | 1457 |
| Figure 262. | ADC block diagram | 1468 |
| Figure 263. | ADC clock scheme | 1472 |
| Figure 264. | ADC1 connectivity | 1474 |
| Figure 265. | ADC2 connectivity | 1475 |
| Figure 266. | Enabling/disabling the ADC | 1480 |
| Figure 267. | Bulb mode timing diagram | 1483 |
| Figure 268. | Analog-to-digital conversion time | 1488 |
| Figure 269. | Stopping ongoing regular conversions | 1489 |
| Figure 270. | Stopping ongoing regular and injected conversions | 1489 |
| Figure 271. | Triggers shared between ADC master and slave | 1491 |
| Figure 272. | Injected conversion latency during ongoing regular conversion | 1492 |
| Figure 273. | Single conversions of a sequence, software trigger | 1494 |
| Figure 274. | Continuous conversion of a sequence, software trigger | 1494 |
| Figure 275. | Single conversions of a sequence, hardware trigger | 1495 |
| Figure 276. | Continuous conversions of a sequence, hardware trigger | 1495 |
| Figure 277. | Right alignment (offset disabled, unsigned value) | 1497 |
| Figure 278. | Right alignment (offset enabled, signed value) | 1498 |
| Figure 279. | Left alignment (offset disabled, unsigned value) | 1498 |
| Figure 280. | Left alignment (offset enabled, signed value) | 1499 |
| Figure 281. | Example of overrun (OVRMOD = 0) | 1502 |
| Figure 282. | Example of overrun (OVRMOD = 1) | 1502 |
| Figure 283. | AUTDLY = 1, regular conversion in continuous mode, software trigger | 1506 |
| Figure 284. | AUTDLY = 1, regular hardware conversions interrupted by injected conversions (DISCEN = 0; JDISCEN = 0) | 1506 |
| Figure 285. | AUTDLY = 1, regular hardware conversions interrupted by injected conversions (DISCEN = 1; JDISCEN = 1) | 1507 |
| Figure 286. | AUTDLY = 1, regular continuous conversions interrupted by injected conversions | 1507 |
| Figure 287. | AUTDLY = 1 in autoinjection mode (JAUTO = 1) | 1508 |
| Figure 288. | Analog watchdog guarded area | 1509 |
| Figure 289. | ADC_AWDy_OUT signal generation (on all regular channels) | 1511 |
| Figure 290. | ADC_AWDy_OUT signal generation (AWDy flag not cleared by software) | 1512 |
| Figure 291. | ADC_AWDy_OUT signal generation (on a single regular channel) | 1512 |
| Figure 292. ADC_AWDy_OUT signal generation (on all injected channels) . . . . . | 1513 |
| Figure 293. 12-bit result oversampling with 10-bit right shift and rounding . . . . . | 1514 |
| Figure 294. Triggered regular oversampling mode (TROVS bit = 1) . . . . . | 1516 |
| Figure 295. Regular oversampling modes (4x ratio) . . . . . | 1517 |
| Figure 296. Regular and injected oversampling modes used simultaneously . . . . . | 1518 |
| Figure 297. Triggered regular oversampling with injection . . . . . | 1518 |
| Figure 298. Oversampling in autoinjection mode. . . . . | 1519 |
| Figure 299. Dual ADC block diagram . . . . . | 1521 |
| Figure 300. Injected simultaneous mode on four channels: Dual ADC mode . . . . . | 1522 |
| Figure 301. Regular simultaneous mode on 16 channels: dual ADC mode . . . . . | 1524 |
| Figure 302. Interleaved mode on 1 channel in continuous conversion mode: Dual ADC mode . . . . . | 1525 |
| Figure 303. Interleaved mode on 1 channel in single conversion mode: Dual ADC mode . . . . . | 1526 |
| Figure 304. Interleaved conversion with injection . . . . . | 1526 |
| Figure 305. Alternate trigger: injected group of each ADC . . . . . | 1527 |
| Figure 306. Alternate trigger: 4 injected channels (each ADC) in discontinuous mode. . . . . | 1528 |
| Figure 307. Alternate + regular simultaneous . . . . . | 1529 |
| Figure 308. Case of trigger occurring during injected conversion . . . . . | 1529 |
| Figure 309. Interleaved single channel CH0 with injected sequence CH11, CH12 . . . . . | 1530 |
| Figure 310. Two interleaved channels (CH1, CH2) with injected sequence CH11, CH12 case 1: Master interrupted first . . . . . | 1530 |
| Figure 311. Two interleaved channels (CH1, CH2) with injected sequence CH11, CH12 case 2: Slave interrupted first . . . . . | 1530 |
| Figure 312. DMA requests in regular simultaneous mode when DAMDF[1:0] = 0b00 . . . . . | 1531 |
| Figure 313. DMA requests in interleaved mode when DAMDF = 0b10 . . . . . | 1532 |
| Figure 314. VBAT channel block diagram . . . . . | 1535 |
| Figure 315. VREFINT channel block diagram . . . . . | 1535 |
| Figure 316. DTS block diagram . . . . . | 1577 |
| Figure 317. Serial data adapter . . . . . | 1580 |
| Figure 318. SDA data format . . . . . | 1581 |
| Figure 319. Falling alarms . . . . . | 1586 |
| Figure 320. Rising alarms . . . . . | 1587 |
| Figure 321. VREFBUF block diagram . . . . . | 1618 |
| Figure 322. MDF block diagram. . . . . | 1627 |
| Figure 323. SITFx overview . . . . . | 1631 |
| Figure 324. SPI timing example. . . . . | 1632 |
| Figure 325. Manchester timing example (SITFMOD = 11) . . . . . | 1634 |
| Figure 326. CKGEN overview . . . . . | 1637 |
| Figure 327. BSMX overview . . . . . | 1639 |
| Figure 328. SCD functional view . . . . . | 1640 |
| Figure 329. SCD timing example . . . . . | 1640 |
| Figure 330. DFLT overview . . . . . | 1642 |
| Figure 331. Programmable delay. . . . . | 1643 |
| Figure 332. CIC3 and CIC5 frequency response with decimation ratio = 32. . . . . | 1645 |
| Figure 333. Reshape filter frequency response normalized (FRS / 2 = 1). . . . . | 1650 |
| Figure 334. Out-of-limit detector thresholds. . . . . | 1653 |
| Figure 335. Trigger logic for DFLT and CKGEN . . . . . | 1655 |
| Figure 336. Asynchronous continuous mode (ACQMOD[2:0] = 0) . . . . . | 1656 |
| Figure 337. Asynchronous single-shot mode (ACQMOD[2:0] = 001) . . . . . | 1657 |
| Figure 338. Synchronous continuous mode (ACQMOD[2:0] = 010) . . . . . | 1658 |
| Figure 339. Synchronous single-shot mode (ACQMOD[2:0] = 011) . . . . . | 1659 |
| Figure 340. Window continuous mode (ACQMOD[2:0] = 100) . . . . . | 1660 |
| Figure 341. Snapshot mode example . . . . . | 1662 |
| Figure 342. Discard function example . . . . . | 1663 |
| Figure 343. Start sequence with DFLTEN, in continuous mode, audio configuration . . . . . | 1664 |
| Figure 344. Start sequence with trigger input, in continuous mode, motor configuration . . . . . | 1665 |
| Figure 345. Break interface simplified view . . . . . | 1666 |
| Figure 346. MDF_DFLTxD data format. . . . . | 1666 |
| Figure 347. Data resynchronization . . . . . | 1667 |
| Figure 348. Data transfer in interleaved-transfer mode . . . . . | 1668 |
| Figure 349. Data path for interleaved- and independent-transfer modes . . . . . | 1670 |
| Figure 350. Example of overflow and transfer to memory . . . . . | 1671 |
| Figure 351. MDF interrupt interface . . . . . | 1674 |
| Figure 352. Sensor connection examples . . . . . | 1679 |
| Figure 353. Global frequency response . . . . . | 1680 |
| Figure 354. Detailed frequency response . . . . . | 1680 |
| Figure 355. Simplified DFLT view with gain information . . . . . | 1682 |
| Figure 356. ADF block diagram . . . . . | 1710 |
| Figure 357. SITF overview . . . . . | 1712 |
| Figure 358. SPI timing example . . . . . | 1713 |
| Figure 359. Manchester timing example (SITFMOD = 11) . . . . . | 1714 |
| Figure 360. CKGEN overview . . . . . | 1717 |
| Figure 361. BSMX overview . . . . . | 1719 |
| Figure 362. DFLT overview . . . . . | 1720 |
| Figure 363. Programmable delay. . . . . | 1721 |
| Figure 364. CIC4 and CIC5 frequency response with decimation ratio = 32 or 16 . . . . . | 1722 |
| Figure 365. Reshape filter frequency response normalized (FRS / 2 = 1). . . . . | 1728 |
| Figure 366. Trigger logic for DFLT and CKGEN . . . . . | 1730 |
| Figure 367. Asynchronous continuous mode (ACQMOD[2:0] = 0) . . . . . | 1731 |
| Figure 368. Asynchronous single-shot mode (ACQMOD[2:0] = 001) . . . . . | 1732 |
| Figure 369. Synchronous continuous mode (ACQMOD[2:0] = 010) . . . . . | 1733 |
| Figure 370. Synchronous single-shot mode (ACQMOD[2:0] = 011) . . . . . | 1734 |
| Figure 371. Window continuous mode (ACQMOD[2:0] = 100) . . . . . | 1735 |
| Figure 372. Discard function example . . . . . | 1737 |
| Figure 373. Start sequence with DFLTEN, in continuous mode, audio configuration . . . . . | 1737 |
| Figure 374. SAD block diagram. . . . . | 1738 |
| Figure 375. SAD flow diagram. . . . . | 1740 |
| Figure 376. SAD timing diagram example . . . . . | 1746 |
| Figure 377. ADF_DFLTxD data format . . . . . | 1746 |
| Figure 378. Data resynchronization . . . . . | 1747 |
| Figure 379. Example of overflow and transfer to memory . . . . . | 1748 |
| Figure 380. ADF interrupt interface . . . . . | 1751 |
| Figure 381. Sensor connection examples . . . . . | 1756 |
| Figure 382. Global frequency response. . . . . | 1756 |
| Figure 383. Detailed frequency response . . . . . | 1757 |
| Figure 384. Simplified DFLT view with gain information . . . . . | 1759 |
| Figure 385. SAD example working with SADMOD = 01 . . . . . | 1762 |
| Figure 386. SAD example working with SADMOD = 1x . . . . . | 1763 |
| Figure 387. Camera subsystem block diagram . . . . . | 1785 |
| Figure 388. Camera subsystem clock diagram . . . . . | 1786 |
| Figure 389. DCMI block diagram . . . . . | 1794 |
| Figure 390. DCMI signal waveforms . . . . . | 1795 |
| Figure 391. Timing diagram . . . . . | 1797 |
| Figure 392. Frame capture waveforms in snapshot mode. . . . . | 1799 |
| Figure 393. Frame capture waveforms in continuous grab mode . . . . . | 1800 |
| Figure 394. Coordinates and size of the window after cropping . . . . . | 1800 |
| Figure 395. Data capture waveforms. . . . . | 1801 |
| Figure 396. Pixel raster scan order . . . . . | 1802 |
| Figure 397. DCMIPP overview. . . . . | 1816 |
| Figure 398. DCMIPP block diagram . . . . . | 1820 |
| Figure 399. VC flow processed by one pipe . . . . . | 1835 |
| Figure 400. Two exclusive VC flows processed by one reconfigured pipe . . . . . | 1836 |
| Figure 401. Two overlapping VC flows processed by two pipes . . . . . | 1836 |
| Figure 402. Snapshot (CPTMODE = 1) and Continuous (CPTMODE = 0) capture modes. . . . . | 1837 |
| Figure 403. Pipe0 (dump) architecture overview . . . . . | 1840 |
| Figure 404. Pipe1 ISP architecture view . . . . . | 1845 |
| Figure 405. Block diagram. . . . . | 1862 |
| Figure 406. Downsize with coverage filtering . . . . . | 1865 |
| Figure 407. Example with two ROIs. . . . . | 1866 |
| Figure 408. Pipe2 architecture overview . . . . . | 1871 |
| Figure 409. Use case: Pipe0 (statistics), Pipe1 (pixels). . . . . | 1873 |
| Figure 410. Statistics and RGB data for single virtual channel data flow . . . . . | 1874 |
| Figure 411. Three pipes within a single virtual channel in CSI2 mode . . . . . | 1874 |
| Figure 412. Handling interleaved packet . . . . . | 1875 |
| Figure 413. Handling interleaved packets across two pixel pipes . . . . . | 1875 |
| Figure 414. Interlaced video (based on single pixel pipe) . . . . . | 1876 |
| Figure 415. Interlaced video (based on two pixel pipes) . . . . . | 1876 |
| Figure 416. 3D sensors (top-bottom) processed by two pixel pipes . . . . . | 1881 |
| Figure 417. CSI-2 Host block diagram. . . . . | 2017 |
| Figure 418. CSI-2 Host architecture . . . . . | 2018 |
| Figure 419. CSI-2 Host clock domain . . . . . | 2020 |
| Figure 420. Lane merger input and output (one data lane) . . . . . | 2021 |
| Figure 421. Lane merger input and output (two data lanes) . . . . . | 2021 |
| Figure 422. Data lane mapping . . . . . | 2021 |
| Figure 423. Low-level protocol overview . . . . . | 2022 |
| Figure 424. CSI2- long-packet structure for a D-PHY physical layer. . . . . | 2023 |
| Figure 425. Short-packet structure based on D-PHY physical layer . . . . . | 2023 |
| Figure 426. DATA ID structure in short or long packet format. . . . . | 2024 |
| Figure 427. Data interleaving using data type . . . . . | 2025 |
| Figure 428. Data interleaving using virtual channels . . . . . | 2026 |
| Figure 429. RAW6 (BPP6) input and output format. . . . . | 2027 |
| Figure 430. Raw7 (BPP7) input and output format . . . . . | 2028 |
| Figure 431. Raw8 (BPP8) input and output format . . . . . | 2029 |
| Figure 432. Raw 10 (BPP10) input and output format. . . . . | 2029 |
| Figure 433. Raw12 (BPP12) input/output format. . . . . | 2030 |
| Figure 434. Raw14 (BPP14) input format . . . . . | 2031 |
| Figure 435. Raw16 (BPP16) input/output format. . . . . | 2032 |
| Figure 436. PSSI block diagram . . . . . | 2074 |
| Figure 437. Top-level block diagram . . . . . | 2074 |
| Figure 438. Data enable in receive mode waveform diagram (CKPOL=0) . . . . . | 2078 |
| Figure 439. Data enable waveform diagram in transmit mode (CKPOL=1). . . . . | 2078 |
| Figure 440. Ready in receive mode waveform diagram (CKPOL=0). . . . . | 2079 |
| Figure 441. Bidirectional PSSI_DE/PSSI_RDY waveform . . . . . | 2080 |
| Figure 442. Bidirectional PSSI_DE/PSSI_RDY connection diagram . . . . . | 2080 |
| Figure 443. Display subsystem block diagram . . . . . | 2088 |
| Figure 444. Display subsystem clock diagram. .... | 2088 |
| Figure 445. LTDC block diagram . . . . . | 2094 |
| Figure 446. Layer window programmable parameters . . . . . | 2106 |
| Figure 447. Blending two layers. .... | 2107 |
| Figure 448. LTDC synchronous timings. .... | 2111 |
| Figure 449. GPU2D block diagram . . . . . | 2154 |
| Figure 450. VENC block diagram . . . . . | 2157 |
| Figure 451. JPEG codec block diagram . . . . . | 2265 |
| Figure 452. RNG block diagram . . . . . | 2287 |
| Figure 453. NIST SP800-90B entropy source model. .... | 2288 |
| Figure 454. RNG initialization overview. .... | 2291 |
| Figure 455. SAES block diagram. .... | 2305 |
| Figure 456. Encryption/ decryption typical usage . . . . . | 2307 |
| Figure 457. Typical operation with authentication . . . . . | 2309 |
| Figure 458. Example of suspend mode management. .... | 2310 |
| Figure 459. ECB encryption. .... | 2311 |
| Figure 460. ECB decryption. .... | 2311 |
| Figure 461. CBC encryption. .... | 2312 |
| Figure 462. CBC decryption. .... | 2312 |
| Figure 463. Message construction in CTR mode. .... | 2315 |
| Figure 464. CTR encryption. .... | 2316 |
| Figure 465. Message construction in GCM . . . . . | 2317 |
| Figure 466. GCM authenticated encryption . . . . . | 2319 |
| Figure 467. Message construction in GMAC mode . . . . . | 2322 |
| Figure 468. GMAC authentication mode . . . . . | 2322 |
| Figure 469. Message construction in CCM mode . . . . . | 2323 |
| Figure 470. CCM mode authenticated encryption . . . . . | 2325 |
| Figure 471. Operation with wrapped keys for SAES in ECB and CBC modes . . . . . | 2328 |
| Figure 472. Operation with wrapped keys for SAES in CTR mode . . . . . | 2331 |
| Figure 473. Usage of Shared-key mode . . . . . | 2332 |
| Figure 474. 128-bit block construction according to the data type. .... | 2335 |
| Figure 475. Key protection mechanisms . . . . . | 2337 |
| Figure 476. CRYP block diagram . . . . . | 2360 |
| Figure 477. Encryption/ decryption typical usage . . . . . | 2362 |
| Figure 478. Typical operation with authentication . . . . . | 2365 |
| Figure 479. Example of suspend mode management. .... | 2366 |
| Figure 480. ECB encryption. .... | 2367 |
| Figure 481. ECB decryption. .... | 2367 |
| Figure 482. CBC encryption. .... | 2368 |
| Figure 483. CBC decryption. .... | 2368 |
| Figure 484. Message construction in CTR mode. .... | 2371 |
| Figure 485. CTR encryption. .... | 2372 |
| Figure 486. Message construction in GCM . . . . . | 2374 |
| Figure 487. GCM authenticated encryption . . . . . | 2375 |
| Figure 488. Message construction in GMAC mode . . . . . | 2379 |
| Figure 489. GMAC authentication mode . . . . . | 2379 |
| Figure 490. Message construction in CCM mode . . . . . | 2380 |
| Figure 491. CCM mode authenticated encryption . . . . . | 2382 |
| Figure 492. 128-bit block construction according to the data type. .... | 2388 |
| Figure 493. HASH block diagram . . . . . | 2409 |
| Figure 494. Message data swapping feature. .... | 2411 |
| Figure 495. HASH suspend/resume mechanism. .... | 2417 |
| Figure 496. MCE block diagram ..... | 2431 |
| Figure 497. MCE region programming..... | 2432 |
| Figure 498. MCE implementation of block ciphers ..... | 2434 |
| Figure 499. MCE implementation of stream cipher ..... | 2435 |
| Figure 500. PKA block diagram ..... | 2452 |
| Figure 501. Advanced-control timer block diagram ..... | 2485 |
| Figure 502. Counter timing diagram with prescaler division change from 1 to 2 ..... | 2491 |
| Figure 503. Counter timing diagram with prescaler division change from 1 to 4 ..... | 2491 |
| Figure 504. Counter timing diagram, internal clock divided by 1 ..... | 2493 |
| Figure 505. Counter timing diagram, internal clock divided by 2 ..... | 2493 |
| Figure 506. Counter timing diagram, internal clock divided by 4 ..... | 2494 |
| Figure 507. Counter timing diagram, internal clock divided by N ..... | 2494 |
| Figure 508. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded)..... | 2495 |
| Figure 509. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded)..... | 2496 |
| Figure 510. Counter timing diagram, internal clock divided by 1 ..... | 2497 |
| Figure 511. Counter timing diagram, internal clock divided by 2 ..... | 2498 |
| Figure 512. Counter timing diagram, internal clock divided by 4 ..... | 2498 |
| Figure 513. Counter timing diagram, internal clock divided by N ..... | 2499 |
| Figure 514. Counter timing diagram, update event when repetition counter is not used ..... | 2499 |
| Figure 515. Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 ..... | 2501 |
| Figure 516. Counter timing diagram, internal clock divided by 2 ..... | 2501 |
| Figure 517. Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 ..... | 2502 |
| Figure 518. Counter timing diagram, internal clock divided by N ..... | 2502 |
| Figure 519. Counter timing diagram, update event with ARPE = 1 (counter underflow) ..... | 2503 |
| Figure 520. Counter timing diagram, Update event with ARPE = 1 (counter overflow) ..... | 2504 |
| Figure 521. Update rate examples depending on mode and TIMx_RCR register settings ..... | 2505 |
| Figure 523. Control circuit in normal mode, internal clock divided by 1 ..... | 2507 |
| Figure 524. tim_ti2 external clock connection example ..... | 2507 |
| Figure 525. Control circuit in external clock mode 1 ..... | 2508 |
| Figure 526. External trigger input block ..... | 2509 |
| Figure 527. Control circuit in external clock mode 2 ..... | 2510 |
| Figure 528. Capture/compare channel (example: channel 1 input stage) ..... | 2510 |
| Figure 529. Capture/compare channel 1 main circuit ..... | 2511 |
| Figure 530. Output stage of capture/compare channel (channel 1, idem ch. 2, 3 and 4) ..... | 2511 |
| Figure 531. Output stage of capture/compare channel (channel 5, idem ch. 6) ..... | 2512 |
| Figure 532. PWM input mode timing ..... | 2514 |
| Figure 533. Output compare mode, toggle on tim_oc1 ..... | 2516 |
| Figure 534. Edge-aligned PWM waveforms (ARR = 8) ..... | 2517 |
| Figure 535. Center-aligned PWM waveforms (ARR = 8) ..... | 2518 |
| Figure 536. Dithering principle ..... | 2519 |
| Figure 537. Data format and register coding in dithering mode ..... | 2520 |
| Figure 538. PWM resolution vs frequency ..... | 2521 |
| Figure 539. PWM dithering pattern ..... | 2522 |
| Figure 540. Dithering effect on duty cycle in center-aligned PWM mode ..... | 2523 |
| Figure 541. Generation of 2 phase-shifted PWM signals with 50% duty cycle ..... | 2525 |
| Figure 542. Combined PWM mode on channel 1 and 3 ..... | 2526 |
| Figure 543. 3-phase combined PWM signals with multiple trigger pulses per period ..... | 2527 |
| Figure 544. Complementary output with symmetrical dead-time insertion ..... | 2528 |
| Figure 545. Asymmetrical deadtime ..... | 2529 |
| Figure 546. Dead-time waveforms with delay greater than the negative pulse ..... | 2529 |
| Figure 547. | Dead-time waveforms with delay greater than the positive pulse. . . . . | 2529 |
| Figure 548. | Break and Break2 circuitry overview . . . . . | 2532 |
| Figure 549. | Various output behavior in response to a break event on tim_brk (OSSI = 1) . . . . . | 2534 |
| Figure 550. | PWM output state following tim_brk and tim_brk2 assertion (OSSI = 1) . . . . . | 2535 |
| Figure 551. | PWM output state following tim_brk assertion (OSSI = 0) . . . . . | 2536 |
| Figure 552. | Output redirection (tim_brk2 request not represented). . . . . | 2537 |
| Figure 553. | Clearing TIMx tim_ocxref . . . . . | 2538 |
| Figure 554. | 6-step generation, COM example (OSSR = 1). . . . . | 2539 |
| Figure 555. | Example of one pulse mode. . . . . | 2540 |
| Figure 556. | Retriggerable one-pulse mode . . . . . | 2542 |
| Figure 557. | Pulse generator circuitry . . . . . | 2542 |
| Figure 558. | Pulse generation on compare event, for edge-aligned and encoder modes . . . . . | 2543 |
| Figure 559. | Extended pulsewidth in case of concurrent triggers . . . . . | 2544 |
| Figure 560. | Example of counter operation in encoder interface mode. . . . . | 2546 |
| Figure 561. | Example of encoder interface mode with tim_ti1fp1 polarity inverted. . . . . | 2546 |
| Figure 562. | Quadrature encoder counting modes . . . . . | 2547 |
| Figure 563. | Direction plus clock encoder mode. . . . . | 2548 |
| Figure 564. | Directional clock encoder mode (CC1P = CC2P = 0). . . . . | 2548 |
| Figure 565. | Directional clock encoder mode (CC1P = CC2P = 1). . . . . | 2549 |
| Figure 566. | Index gating options . . . . . | 2550 |
| Figure 567. | Jittered Index signals . . . . . | 2550 |
| Figure 568. | Index generation for IPOS[1:0] = 11 . . . . . | 2551 |
| Figure 569. | Counter reading with index gated on channel A (IPOS[1:0] = 11) . . . . . | 2551 |
| Figure 570. | Counter reading with index ungated (IPOS[1:0] = 00) . . . . . | 2552 |
| Figure 571. | Counter reading with index gated on channel A and B. . . . . | 2552 |
| Figure 572. | Encoder mode behavior in case of narrow index pulse (IPOS[1:0] = 11). . . . . | 2553 |
| Figure 573. | Counter reset Narrow index pulse (closer view, ARR = 0x07) . . . . . | 2554 |
| Figure 574. | Index behavior in x1 and x2 mode (IPOS[1:0] = 01). . . . . | 2555 |
| Figure 575. | Directional index sensitivity. . . . . | 2555 |
| Figure 576. | Counter reset as function of FIDX bit setting . . . . . | 2556 |
| Figure 577. | Index blanking. . . . . | 2556 |
| Figure 578. | Index behavior in clock + direction mode, IPOS[0] = 1 . . . . . | 2557 |
| Figure 579. | Index behavior in directional clock mode, IPOS[0] = 1 . . . . . | 2557 |
| Figure 580. | State diagram for quadrature encoded signals. . . . . | 2558 |
| Figure 581. | Up-counting encoder error detection . . . . . | 2559 |
| Figure 582. | Down-counting encode error detection. . . . . | 2560 |
| Figure 583. | Encoder mode change with preload transferred on update (SMSPS = 0) . . . . . | 2561 |
| Figure 584. | Measuring time interval between edges on three signals. . . . . | 2562 |
| Figure 585. | Example of Hall sensor interface . . . . . | 2564 |
| Figure 586. | Control circuit in reset mode . . . . . | 2565 |
| Figure 587. | Control circuit in Gated mode . . . . . | 2566 |
| Figure 588. | Control circuit in trigger mode. . . . . | 2567 |
| Figure 589. | Control circuit in external clock mode 2 + trigger mode . . . . . | 2568 |
| Figure 590. | General-purpose timer block diagram . . . . . | 2627 |
| Figure 591. | Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 2632 |
| Figure 592. | Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 2633 |
| Figure 593. | Counter timing diagram, internal clock divided by 1 . . . . . | 2634 |
| Figure 594. | Counter timing diagram, internal clock divided by 2 . . . . . | 2634 |
| Figure 595. | Counter timing diagram, internal clock divided by 4 . . . . . | 2635 |
| Figure 596. | Counter timing diagram, internal clock divided by N. . . . . | 2635 |
| Figure 597. | Counter timing diagram, Update event when ARPE = 0 (TIMx_ARR not preloaded). . . . . | 2636 |
| Figure 598. | Counter timing diagram, Update event when ARPE = 1 (TIMx_ARR preloaded). . . . . | 2637 |
| Figure 599. Counter timing diagram, internal clock divided by 1 . . . . . | 2638 |
| Figure 600. Counter timing diagram, internal clock divided by 2 . . . . . | 2639 |
| Figure 601. Counter timing diagram, internal clock divided by 4 . . . . . | 2639 |
| Figure 602. Counter timing diagram, internal clock divided by N . . . . . | 2640 |
| Figure 603. Counter timing diagram, Update event . . . . . | 2640 |
| Figure 604. Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 . . . . . | 2642 |
| Figure 605. Counter timing diagram, internal clock divided by 2 . . . . . | 2642 |
| Figure 606. Counter timing diagram, internal clock divided by 4, TIMx_ARR = 0x36 . . . . . | 2643 |
| Figure 607. Counter timing diagram, internal clock divided by N . . . . . | 2643 |
| Figure 608. Counter timing diagram, Update event with ARPE = 1 (counter underflow) . . . . . | 2644 |
| Figure 609. Counter timing diagram, Update event with ARPE = 1 (counter overflow) . . . . . | 2645 |
| Figure 610. Control circuit in normal mode, internal clock divided by 1 . . . . . | 2646 |
| Figure 611. tim_ti2 external clock connection example . . . . . | 2646 |
| Figure 612. Control circuit in external clock mode 1 . . . . . | 2647 |
| Figure 613. External trigger input block . . . . . | 2648 |
| Figure 614. Control circuit in external clock mode 2 . . . . . | 2649 |
| Figure 615. Capture/compare channel (example: channel 1 input stage) . . . . . | 2649 |
| Figure 616. Capture/compare channel 1 main circuit . . . . . | 2650 |
| Figure 617. Output stage of capture/compare channel (channel 1, idem ch.2, 3 and 4) . . . . . | 2650 |
| Figure 618. PWM input mode timing . . . . . | 2653 |
| Figure 619. Output compare mode, toggle on tim_oc1 . . . . . | 2655 |
| Figure 620. Edge-aligned PWM waveforms (ARR = 8) . . . . . | 2656 |
| Figure 621. Center-aligned PWM waveforms (ARR = 8) . . . . . | 2657 |
| Figure 622. Dithering principle . . . . . | 2658 |
| Figure 623. Data format and register coding in dithering mode . . . . . | 2659 |
| Figure 624. PWM resolution vs frequency (16-bit mode) . . . . . | 2660 |
| Figure 625. PWM resolution vs frequency (32-bit mode) . . . . . | 2660 |
| Figure 626. PWM dithering pattern . . . . . | 2661 |
| Figure 627. Dithering effect on duty cycle in center-aligned PWM mode . . . . . | 2662 |
| Figure 628. Generation of two phase-shifted PWM signals with 50% duty cycle . . . . . | 2664 |
| Figure 629. Combined PWM mode on channels 1 and 3 . . . . . | 2665 |
| Figure 630. OCREF_CLR input selection multiplexer . . . . . | 2666 |
| Figure 631. Clearing TIMx tim_ocxref . . . . . | 2666 |
| Figure 632. Example of One-pulse mode . . . . . | 2667 |
| Figure 633. Retriggerable one-pulse mode . . . . . | 2669 |
| Figure 634. Pulse generator circuitry . . . . . | 2670 |
| Figure 635. Pulse generation on compare event, for edge-aligned and encoder modes . . . . . | 2670 |
| Figure 636. Extended pulse width in case of concurrent triggers . . . . . | 2671 |
| Figure 637. Example of counter operation in encoder interface mode . . . . . | 2673 |
| Figure 638. Example of encoder interface mode with tim_ti1fp1 polarity inverted . . . . . | 2673 |
| Figure 639. Quadrature encoder counting modes . . . . . | 2674 |
| Figure 640. Direction plus clock encoder mode . . . . . | 2675 |
| Figure 641. Directional clock encoder mode (CC1P = CC2P = 0) . . . . . | 2676 |
| Figure 642. Directional clock encoder mode (CC1P = CC2P = 1) . . . . . | 2676 |
| Figure 643. Index gating options . . . . . | 2678 |
| Figure 644. Jittered Index signals . . . . . | 2678 |
| Figure 645. Index generation for IPO[1:0] = 11 . . . . . | 2679 |
| Figure 646. Counter reading with index gated on channel A (IPO[1:0] = 11) . . . . . | 2679 |
| Figure 647. Counter reading with index ungated (IPO[1:0] = 00) . . . . . | 2680 |
| Figure 648. Counter reading with index gated on channel A and B . . . . . | 2680 |
| Figure 649. Encoder mode behavior in case of narrow index pulse (IPO[1:0] = 11) . . . . . | 2681 |
| Figure 650. Counter reset Narrow index pulse (closer view, ARR = 0x07) . . . . . | 2682 |
| Figure 651. Index behavior in x1 and x2 mode (IPOS[1:0] = 01) . . . . . | 2683 |
| Figure 652. Directional index sensitivity . . . . . | 2683 |
| Figure 653. Counter reset as function of FIDX bit setting . . . . . | 2684 |
| Figure 654. Index blanking . . . . . | 2684 |
| Figure 655. Index behavior in clock + direction mode, IPOS[0] = 1 . . . . . | 2685 |
| Figure 656. Index behavior in directional clock mode, IPOS[0] = 1 . . . . . | 2685 |
| Figure 657. State diagram for quadrature encoded signals . . . . . | 2686 |
| Figure 658. Up-counting encoder error detection . . . . . | 2687 |
| Figure 659. Down-counting encode error detection . . . . . | 2688 |
| Figure 660. Encoder mode change with preload transferred on update (SMSPS = 0) . . . . . | 2689 |
| Figure 661. Control circuit in reset mode . . . . . | 2691 |
| Figure 662. Control circuit in gated mode . . . . . | 2692 |
| Figure 663. Control circuit in trigger mode . . . . . | 2692 |
| Figure 664. Control circuit in external clock mode 2 + trigger mode . . . . . | 2694 |
| Figure 665. Master/Slave timer example . . . . . | 2694 |
| Figure 666. Master/slave connection example with 1 channel only timers . . . . . | 2695 |
| Figure 667. Gating TIM_slv with tim_oc1ref of TIM_mstr . . . . . | 2696 |
| Figure 668. Gating TIM_slv with Enable of TIM_mstr . . . . . | 2697 |
| Figure 669. Triggering TIM_slv with update of TIM_mstr . . . . . | 2698 |
| Figure 670. Triggering TIM_slv with Enable of TIM_mstr . . . . . | 2698 |
| Figure 671. Triggering TIM_mstr and TIM_slv with TIM_mstr tim_ti1 input . . . . . | 2699 |
| Figure 672. Basic timer block diagram . . . . . | 2739 |
| Figure 673. Control circuit in normal mode, internal clock divided by 1 . . . . . | 2740 |
| Figure 674. Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 2742 |
| Figure 675. Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 2742 |
| Figure 676. Counter timing diagram, internal clock divided by 1 . . . . . | 2743 |
| Figure 677. Counter timing diagram, internal clock divided by 2 . . . . . | 2744 |
| Figure 678. Counter timing diagram, internal clock divided by 4 . . . . . | 2744 |
| Figure 679. Counter timing diagram, internal clock divided by N . . . . . | 2745 |
| Figure 680. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 2745 |
| Figure 681. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) . . . . . | 2746 |
| Figure 682. Dithering principle . . . . . | 2747 |
| Figure 683. Data format and register coding in dithering mode . . . . . | 2747 |
| Figure 684. FCnt resolution vs frequency . . . . . | 2748 |
| Figure 685. PWM dithering pattern . . . . . | 2748 |
| Figure 686. General-purpose timer block diagram (TIM9/TIM12) . . . . . | 2761 |
| Figure 687. General-purpose timer block diagram (TIM10/TIM11/TIM13/TIM14) . . . . . | 2762 |
| Figure 688. Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 2765 |
| Figure 689. Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 2765 |
| Figure 690. Counter timing diagram, internal clock divided by 1 . . . . . | 2766 |
| Figure 691. Counter timing diagram, internal clock divided by 2 . . . . . | 2767 |
| Figure 692. Counter timing diagram, internal clock divided by 4 . . . . . | 2767 |
| Figure 693. Counter timing diagram, internal clock divided by N . . . . . | 2768 |
| Figure 694. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 2768 |
| Figure 695. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) . . . . . | 2769 |
| Figure 696. Control circuit in normal mode, internal clock divided by 1 . . . . . | 2770 |
| Figure 697. tim_ti2 external clock connection example . . . . . | 2770 |
| Figure 698. Control circuit in external clock mode 1 . . . . . | 2771 |
| Figure 699. Capture/compare channel 1 input stage (TIM10/TIM11/TIM13/TIM14) . . . . . | 2772 |
| Figure 700. Capture/compare channel 1 input stage (TIM9/TIM12) . . . . . | 2772 |
| Figure 701. Capture/compare channel 1 main circuit . . . . . | 2773 |
| Figure 702. Output stage of capture/compare channel 1 . . . . . | 2773 |
| Figure 703. PWM input mode timing . . . . . | 2775 |
| Figure 704. Output compare mode, toggle on tim_oc1 . . . . . | 2777 |
| Figure 705. Edge-aligned PWM waveforms (ARR = 8) . . . . . | 2778 |
| Figure 706. Dithering principle . . . . . | 2779 |
| Figure 707. Data format and register coding in dithering mode . . . . . | 2779 |
| Figure 708. PWM resolution vs frequency . . . . . | 2780 |
| Figure 709. PWM dithering pattern . . . . . | 2781 |
| Figure 710. Combined PWM mode on channel 1 and 2 . . . . . | 2783 |
| Figure 711. Example of one pulse mode . . . . . | 2784 |
| Figure 712. Retriggerable one pulse mode . . . . . | 2785 |
| Figure 713. Measuring time interval between edges on 2 signals . . . . . | 2786 |
| Figure 714. Control circuit in reset mode . . . . . | 2787 |
| Figure 715. Control circuit in gated mode . . . . . | 2788 |
| Figure 716. Control circuit in trigger mode . . . . . | 2788 |
| Figure 717. TIM15 block diagram . . . . . | 2824 |
| Figure 718. TIM16/TIM17 block diagram . . . . . | 2825 |
| Figure 719. Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 2829 |
| Figure 720. Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 2830 |
| Figure 721. Counter timing diagram, internal clock divided by 1 . . . . . | 2831 |
| Figure 722. Counter timing diagram, internal clock divided by 2 . . . . . | 2832 |
| Figure 723. Counter timing diagram, internal clock divided by 4 . . . . . | 2832 |
| Figure 724. Counter timing diagram, internal clock divided by N . . . . . | 2833 |
| Figure 725. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded) . . . . . | 2833 |
| Figure 726. Counter timing diagram, update event when ARPE = 1 (TIMx_ARR preloaded) . . . . . | 2834 |
| Figure 727. Update rate examples depending on mode and TIMx_RCR register settings . . . . . | 2835 |
| Figure 728. Control circuit in normal mode, internal clock divided by 1 . . . . . | 2836 |
| Figure 729. tim_ti2 external clock connection example . . . . . | 2836 |
| Figure 730. Control circuit in external clock mode 1 . . . . . | 2837 |
| Figure 731. Capture/compare channel (example: channel 1 input stage) . . . . . | 2838 |
| Figure 732. Capture/compare channel 1 main circuit . . . . . | 2838 |
| Figure 733. Output stage of capture/compare channel (channel 1) . . . . . | 2839 |
| Figure 734. Output stage of capture/compare channel (channel 2 for TIM15) . . . . . | 2839 |
| Figure 735. PWM input mode timing . . . . . | 2842 |
| Figure 736. Output compare mode, toggle on tim_oc1 . . . . . | 2844 |
| Figure 737. Edge-aligned PWM waveforms (ARR = 8) . . . . . | 2845 |
| Figure 738. Dithering principle . . . . . | 2846 |
| Figure 739. Data format and register coding in dithering mode . . . . . | 2846 |
| Figure 740. PWM resolution vs frequency . . . . . | 2847 |
| Figure 741. PWM dithering pattern . . . . . | 2848 |
| Figure 742. Combined PWM mode on channel 1 and 2 . . . . . | 2850 |
| Figure 743. Complementary output with symmetrical dead-time insertion . . . . . | 2851 |
| Figure 744. Asymmetrical deadtime . . . . . | 2852 |
| Figure 745. Dead-time waveforms with delay greater than the negative pulse . . . . . | 2852 |
| Figure 746. Dead-time waveforms with delay greater than the positive pulse . . . . . | 2852 |
| Figure 747. Break circuitry overview . . . . . | 2854 |
| Figure 748. Output behavior in response to a break event on tim_brk . . . . . | 2856 |
| Figure 749. Output redirection . . . . . | 2858 |
| Figure 750. tim_ocref_clr input selection multiplexer . . . . . | 2859 |
| Figure 751. 6-step generation, COM example (OSSR = 1) . . . . . | 2860 |
| Figure 752. Example of one pulse mode. . . . . | 2861 |
| Figure 753. Retriggerable one pulse mode . . . . . | 2863 |
| Figure 754. Measuring time interval between edges on 2 signals . . . . . | 2863 |
| Figure 755. Control circuit in reset mode . . . . . | 2864 |
| Figure 756. Control circuit in gated mode . . . . . | 2865 |
| Figure 757. Control circuit in trigger mode . . . . . | 2866 |
| Figure 758. LPTIM1/2/3 block diagram(1) . . . . . | 2930 |
| Figure 759. LPTIM4/5 block diagram(1) . . . . . | 2931 |
| Figure 760. Glitch filter timing diagram . . . . . | 2935 |
| Figure 761. LPTIM output waveform, single-counting mode configuration when repetition register content is different than zero (with PRELOAD = 1) . . . . . | 2937 |
| Figure 762. LPTIM output waveform, single-counting mode configuration and Set-once mode activated (WAVE bit is set) . . . . . | 2938 |
| Figure 763. LPTIM output waveform, Continuous counting mode configuration . . . . . | 2938 |
| Figure 764. Waveform generation . . . . . | 2940 |
| Figure 765. Encoder mode counting sequence . . . . . | 2944 |
| Figure 766. Continuous counting mode when repetition register LPTIM_RCR different from zero (with PRELOAD = 1) . . . . . | 2945 |
| Figure 767. Capture/compare input stage (channel 1) . . . . . | 2946 |
| Figure 768. Capture/compare output stage (channel 1) . . . . . | 2946 |
| Figure 769. Edge-aligned PWM mode (PRELOAD = 1) . . . . . | 2948 |
| Figure 770. Edge-aligned PWM waveforms (ARR=8 and CCxP = 0) . . . . . | 2949 |
| Figure 771. PWM mode with immediate update versus preloaded update . . . . . | 2950 |
| Figure 772. Independent watchdog block diagram . . . . . | 2980 |
| Figure 773. Reset timing due to timeout . . . . . | 2982 |
| Figure 774. Reset timing due to refresh in the not allowed area . . . . . | 2983 |
| Figure 775. Changing PR, RL, and performing a refresh(1) . . . . . | 2984 |
| Figure 776. Window comparator update(1) . . . . . | 2985 |
| Figure 777. Independent watchdog interrupt timing diagram . . . . . | 2987 |
| Figure 778. Early wake-up comparator update(1) . . . . . | 2988 |
| Figure 779. Watchdog block diagram . . . . . | 2996 |
| Figure 780. Window watchdog timing diagram . . . . . | 2998 |
| Figure 781. RTC block diagram . . . . . | 3004 |
| Figure 782. TAMP block diagram . . . . . | 3059 |
| Figure 783. Backup registers protection zones . . . . . | 3063 |
| Figure 784. Tamper sampling with precharge pulse . . . . . | 3068 |
| Figure 785. Low level detection with precharge and filtering . . . . . | 3069 |
| Figure 786. Active tamper filtering . . . . . | 3072 |
| Figure 787. Block diagram . . . . . | 3106 |
| Figure 788. I2C-bus protocol . . . . . | 3108 |
| Figure 789. Setup and hold timings . . . . . | 3110 |
| Figure 790. I2C initialization flow . . . . . | 3112 |
| Figure 791. Data reception . . . . . | 3113 |
| Figure 792. Data transmission . . . . . | 3114 |
| Figure 793. Target initialization flow . . . . . | 3117 |
| Figure 794. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 0 . . . . . | 3119 |
| Figure 795. Transfer sequence flow for I2C target transmitter, NOSTRETCH = 1 . . . . . | 3120 |
| Figure 796. Transfer bus diagrams for I2C target transmitter (mandatory events only) . . . . . | 3121 |
| Figure 797. Transfer sequence flow for I2C target receiver, NOSTRETCH = 0 . . . . . | 3122 |
| Figure 798. Transfer sequence flow for I2C target receiver, NOSTRETCH = 1 | 3123 |
| Figure 799. Transfer bus diagrams for I2C target receiver (mandatory events only) | 3123 |
| Figure 800. Controller clock generation | 3125 |
| Figure 801. Controller initialization flow | 3127 |
| Figure 802. 10-bit address read access with HEAD10R = 0 | 3127 |
| Figure 803. 10-bit address read access with HEAD10R = 1 | 3128 |
| Figure 804. Transfer sequence flow for I2C controller transmitter, N ≤ 255 bytes | 3129 |
| Figure 805. Transfer sequence flow for I2C controller transmitter, N > 255 bytes | 3130 |
| Figure 806. Transfer bus diagrams for I2C controller transmitter (mandatory events only) | 3131 |
| Figure 807. Transfer sequence flow for I2C controller receiver, N ≤ 255 bytes | 3133 |
| Figure 808. Transfer sequence flow for I2C controller receiver, N > 255 bytes | 3134 |
| Figure 809. Transfer bus diagrams for I2C controller receiver (mandatory events only) | 3135 |
| Figure 810. Timeout intervals for \(t_{LOW:SEXT}\), \(t_{LOW:MEXT}\) | 3139 |
| Figure 811. Transfer sequence flow for SMBus target transmitter N bytes + PEC | 3142 |
| Figure 812. Transfer bus diagram for SMBus target transmitter (SBC = 1) | 3143 |
| Figure 813. Transfer sequence flow for SMBus target receiver N bytes + PEC | 3144 |
| Figure 814. Bus transfer diagrams for SMBus target receiver (SBC = 1) | 3145 |
| Figure 815. Bus transfer diagrams for SMBus controller transmitter | 3146 |
| Figure 816. Bus transfer diagrams for SMBus controller receiver | 3148 |
| Figure 817. I3C block diagram | 3173 |
| Figure 818. I3C (primary) controller state and programming sequence diagram | 3177 |
| Figure 819. I3C target state and programing sequence diagram | 3182 |
| Figure 820. I3C CCC messages, as controller | 3196 |
| Figure 821. I3C broadcast ENTDAACCC, as controller | 3197 |
| Figure 822. I3C broadcast, direct read and direct write RSTACT CCC, as controller | 3198 |
| Figure 823. I3C CCC messages, as target | 3200 |
| Figure 824. I3C broadcast ENTDAACCC, as target | 3201 |
| Figure 825. I3C broadcast DEFTGTS CCC, as target | 3202 |
| Figure 826. I3C broadcast DEFGRPA CCC, as target | 3203 |
| Figure 827. I3C private read/write messages, as controller | 3205 |
| Figure 828. I3C private read/write messages, as target | 3206 |
| Figure 829. Legacy I2C read/write messages, as controller | 3207 |
| Figure 830. IBI transfer, as controller/target | 3208 |
| Figure 831. Hot-join request transfer, as controller/target | 3210 |
| Figure 832. Controller-role request transfer, as controller/target | 3211 |
| Figure 833. C-FIFO management, as controller | 3212 |
| Figure 834. TX-FIFO management, as controller | 3214 |
| Figure 835. RX-FIFO management, as controller | 3216 |
| Figure 836. S-FIFO management, as controller | 3219 |
| Figure 837. RX-FIFO management, as target on the I3C bus | 3220 |
| Figure 838. TX-FIFO management with I3C_TGTTDR, as target on the I3C bus | 3222 |
| Figure 839. TX-FIFO management by software without I3C_TGTTDR if reading less bytes than TX-FIFO size, as target | 3224 |
| Figure 840. USART block diagram | 3282 |
| Figure 841. Word length programming | 3286 |
| Figure 842. Configurable stop bits | 3288 |
| Figure 843. TC/TXE behavior when transmitting | 3290 |
| Figure 844. Start bit detection when oversampling by 16 or 8 | 3291 |
| Figure 845. usart_ker_ck clock divider block diagram | 3294 |
| Figure 846. Data sampling when oversampling by 16 . . . . . | 3295 |
| Figure 847. Data sampling when oversampling by 8 . . . . . | 3296 |
| Figure 848. Mute mode using Idle line detection . . . . . | 3303 |
| Figure 849. Mute mode using address mark detection . . . . . | 3304 |
| Figure 850. Break detection in LIN mode (11-bit break length - LBDL bit is set) . . . . . | 3307 |
| Figure 851. Break detection in LIN mode vs. Framing error detection. . . . . | 3308 |
| Figure 852. USART example of synchronous master transmission. . . . . | 3309 |
| Figure 853. USART data clock timing diagram in synchronous master mode (M bits = 00) . . . . . | 3309 |
| Figure 854. USART data clock timing diagram in synchronous master mode (M bits = 01) . . . . . | 3310 |
| Figure 855. USART data clock timing diagram in synchronous slave mode (M bits = 00) . . . . . | 3311 |
| Figure 856. ISO 7816-3 asynchronous protocol . . . . . | 3313 |
| Figure 857. Parity error detection using the 1.5 stop bits . . . . . | 3315 |
| Figure 858. IrDA SIR ENDEC block diagram. . . . . | 3319 |
| Figure 859. IrDA data modulation (3/16) - normal mode . . . . . | 3319 |
| Figure 860. Transmission using DMA . . . . . | 3321 |
| Figure 861. Reception using DMA. . . . . | 3322 |
| Figure 862. Hardware flow control between two USARTs. . . . . | 3322 |
| Figure 863. RS232 RTS flow control . . . . . | 3323 |
| Figure 864. RS232 CTS flow control . . . . . | 3324 |
| Figure 865. Wake-up event verified (wake-up event = address match, FIFO disabled) . . . . . | 3327 |
| Figure 866. Wake-up event not verified (wake-up event = address match, FIFO disabled) . . . . . | 3327 |
| Figure 867. LPUART block diagram . . . . . | 3372 |
| Figure 868. LPUART word length programming . . . . . | 3375 |
| Figure 869. Configurable stop bits. . . . . | 3377 |
| Figure 870. TC/TXE behavior when transmitting . . . . . | 3379 |
| Figure 871. lpuart_ker_ck clock divider block diagram . . . . . | 3383 |
| Figure 872. Mute mode using Idle line detection . . . . . | 3387 |
| Figure 873. Mute mode using address mark detection . . . . . | 3388 |
| Figure 874. Transmission using DMA . . . . . | 3390 |
| Figure 875. Reception using DMA. . . . . | 3391 |
| Figure 876. Hardware flow control between two LPUARTs. . . . . | 3392 |
| Figure 877. RS232 RTS flow control . . . . . | 3392 |
| Figure 878. RS232 CTS flow control . . . . . | 3393 |
| Figure 879. Wake-up event verified (wake-up event = address match, FIFO disabled) . . . . . | 3396 |
| Figure 880. Wake-up event not verified (wake-up event = address match, FIFO disabled) . . . . . | 3396 |
| Figure 881. SPI/I2S block diagram . . . . . | 3428 |
| Figure 882. Full-duplex single master/ single slave application. . . . . | 3431 |
| Figure 883. Half-duplex single master/ single slave application . . . . . | 3432 |
| Figure 884. Simplex single master / single slave application (master in transmit-only / slave in receive-only mode) . . . . . | 3433 |
| Figure 885. Master and three independent slaves connected in star topology . . . . . | 3434 |
| Figure 886. Master and three slaves connected in circular (daisy chain) topology . . . . . | 3436 |
| Figure 887. Multimaster application . . . . . | 3437 |
| Figure 888. Scheme of NSS control logic . . . . . | 3439 |
| Figure 889. Data flow timing control (SSOE = 1, SSOM = 0, SSM = 0) . . . . . | 3439 |
| Figure 890. NSS interleaving pulses between data (SSOE = 1, SSOM = 1, SSM = 0) . . . . . | 3440 |
| Figure 891. Data clock timing diagram ..... | 3442 |
| Figure 892. Data alignment when data size is not equal to 8, 16 or 32 bits ..... | 3443 |
| Figure 893. TI mode transfer ..... | 3452 |
| Figure 894. Optional configurations of the slave behavior when an underrun condition is detected ..... | 3454 |
| Figure 895. Waveform examples ..... | 3462 |
| Figure 896. Master I2S Philips protocol waveforms (16/32-bit full accuracy) ..... | 3463 |
| Figure 897. I2S Philips standard waveforms ..... | 3463 |
| Figure 898. Master MSB-justified 16- or 32-bit full-accuracy length ..... | 3464 |
| Figure 899. Master MSB-justified 16- or 24-bit data length ..... | 3464 |
| Figure 900. Slave MSB-justified 16-, 24- or 32-bit data length ..... | 3465 |
| Figure 901. LSB-justified 16 or 24-bit data length ..... | 3465 |
| Figure 902. Master PCM when the frame length is equal the data length ..... | 3466 |
| Figure 903. Master PCM standard waveforms (16 or 24-bit data length) ..... | 3466 |
| Figure 904. Slave PCM waveforms ..... | 3467 |
| Figure 905. Startup sequence, I2S Philips standard, master ..... | 3470 |
| Figure 906. Startup sequence, I2S Philips standard, slave ..... | 3471 |
| Figure 907. Stop sequence, I2S Philips standard, master ..... | 3471 |
| Figure 908. I2S clock generator architecture ..... | 3472 |
| Figure 909. Data Format ..... | 3474 |
| Figure 910. Handling of underrun situation ..... | 3476 |
| Figure 911. Handling of overrun situation ..... | 3477 |
| Figure 912. Frame error detection, with FIXCH = 0 ..... | 3478 |
| Figure 913. Frame error detection, with FIXCH = 1 ..... | 3478 |
| Figure 914. SAI functional block diagram ..... | 3503 |
| Figure 915. Audio frame ..... | 3507 |
| Figure 916. FS role is start of frame + channel side identification (FSDEF = TRIS = 1) ..... | 3509 |
| Figure 917. FS role is start of frame (FSDEF = 0) ..... | 3510 |
| Figure 918. Slot size configuration with FBOFF = 0 in SAI_xSLOTR ..... | 3511 |
| Figure 919. First bit offset ..... | 3511 |
| Figure 920. Audio block clock generator overview ..... | 3513 |
| Figure 921. PDM typical connection and timing ..... | 3517 |
| Figure 922. Detailed PDM interface block diagram ..... | 3518 |
| Figure 923. Start-up sequence ..... | 3519 |
| Figure 924. SAI_ADR format in TDM mode, 32-bit slot width ..... | 3520 |
| Figure 925. SAI_ADR format in TDM mode, 16-bit slot width ..... | 3521 |
| Figure 926. SAI_ADR format in TDM mode, 8-bit slot width ..... | 3522 |
| Figure 927. AC'97 audio frame ..... | 3525 |
| Figure 928. Example of typical AC'97 configuration on devices featuring at least two embedded SAIs (three external AC'97 decoders) ..... | 3526 |
| Figure 929. SPDIF format ..... | 3527 |
| Figure 930. SAI_xDR register ordering ..... | 3528 |
| Figure 931. Data companding hardware in an audio block in the SAI ..... | 3531 |
| Figure 932. Tristate strategy on SD output line on an inactive slot ..... | 3533 |
| Figure 933. Tristate on output data line in a protocol like I2S ..... | 3534 |
| Figure 934. Overrun detection error ..... | 3535 |
| Figure 935. FIFO underrun event ..... | 3535 |
| Figure 936. SPDIFRX block diagram ..... | 3570 |
| Figure 937. S/SPDIF sub-frame format ..... | 3571 |
| Figure 938. S/SPDIF block format ..... | 3572 |
| Figure 939. S/SPDIF preambles ..... | 3572 |
| Figure 940. Channel coding example ..... | 3573 |
| Figure 941. SPDIFRX decoder ..... | 3574 |
| Figure 942. Noise filtering and edge detection ..... | 3574 |
| Figure 943. Thresholds ..... | 3576 |
| Figure 944. Synchronization flowchart ..... | 3578 |
| Figure 945. Synchronization process scheduling ..... | 3579 |
| Figure 946. SPDIFRX states ..... | 3580 |
| Figure 947. SPDIFRX_FMTx_DR register format ..... | 3582 |
| Figure 948. Channel/user data format ..... | 3583 |
| Figure 949. S/PDIF overrun error when RXSTEO = 0 ..... | 3585 |
| Figure 950. S/PDIF overrun error when RXSTEO = 1 ..... | 3586 |
| Figure 951. SPDIFRX interface interrupt mapping diagram ..... | 3589 |
| Figure 952. MDIOS block diagram ..... | 3604 |
| Figure 953. MDIO protocol write frame waveform ..... | 3605 |
| Figure 954. MDIO protocol read frame waveform ..... | 3605 |
| Figure 955. CAN subsystem ..... | 3618 |
| Figure 956. FDCAN block diagram ..... | 3620 |
| Figure 957. Transceiver delay measurement ..... | 3625 |
| Figure 958. Pin control in bus monitoring mode ..... | 3627 |
| Figure 959. Pin control in loop back mode ..... | 3629 |
| Figure 960. CAN error state diagram ..... | 3630 |
| Figure 961. Message RAM configuration ..... | 3631 |
| Figure 962. Standard message ID filter path ..... | 3634 |
| Figure 963. Extended message ID filter path ..... | 3635 |
| Figure 964. Example of mixed configuration dedicated Tx buffers / Tx FIFO ..... | 3641 |
| Figure 965. Example of mixed configuration dedicated Tx buffers / Tx queue ..... | 3641 |
| Figure 966. Bit timing ..... | 3643 |
| Figure 967. Bypass operation ..... | 3645 |
| Figure 968. FSM calibration ..... | 3646 |
| Figure 969. Cycle time and global time synchronization ..... | 3661 |
| Figure 970. TTCAN level 0 and level 2 drift compensation ..... | 3662 |
| Figure 971. Level 0 schedule synchronization state machine ..... | 3669 |
| Figure 972. Level 0 master to slave relation ..... | 3670 |
| Figure 973. USB subsystem overview ..... | 3747 |
| Figure 974. USB2 OTG high-speed Port 1 block diagram ..... | 3748 |
| Figure 975. USB2 OTG high-speed Port 1 resets ..... | 3749 |
| Figure 976. USB2 OTG high-speed Port 2 block diagram ..... | 3752 |
| Figure 977. USB2 OTG high-speed Port 2 resets ..... | 3753 |
| Figure 978. USB Type-C implementation: OTG HS Port 1 example ..... | 3756 |
| Figure 979. USB Type-C and power delivery block diagram ..... | 3757 |
| Figure 980. USB Type-C and power delivery reset ..... | 3758 |
| Figure 981. Multiplexing of debug signals in the USB subsystem ..... | 3759 |
| Figure 982. OTG1/OTG2 high-speed block diagram ..... | 3763 |
| Figure 983. OTG A-B device connection ..... | 3765 |
| Figure 984. OTG peripheral-only connection ..... | 3766 |
| Figure 985. OTG host-only connection ..... | 3770 |
| Figure 986. SOF connectivity (SOF trigger output to TIM and ITR1 connection) ..... | 3773 |
| Figure 987. Updating OTG_HFIR dynamically (RLDCTRL = 1) ..... | 3775 |
| Figure 988. Device-mode FIFO address mapping and AHB FIFO access mapping ..... | 3776 |
| Figure 989. Host-mode FIFO address mapping and AHB FIFO access mapping ..... | 3777 |
| Figure 990. Interrupt hierarchy ..... | 3781 |
| Figure 991. Transmit FIFO write task ..... | 3874 |
| Figure 992. Receive FIFO read task ..... | 3875 |
| Figure 993. Normal bulk/control OUT/SETUP ..... | 3876 |
| Figure 994. Bulk/control IN transactions . . . . . | 3880 |
| Figure 995. Normal interrupt OUT . . . . . | 3883 |
| Figure 996. Normal interrupt IN . . . . . | 3888 |
| Figure 997. Isochronous OUT transactions . . . . . | 3890 |
| Figure 998. Isochronous IN transactions . . . . . | 3893 |
| Figure 999. Normal bulk/control OUT/SETUP transactions - DMA . . . . . | 3895 |
| Figure 1000. Normal bulk/control IN transaction - DMA. . . . . | 3897 |
| Figure 1001. Normal interrupt OUT transactions - DMA mode . . . . . | 3898 |
| Figure 1002. Normal interrupt IN transactions - DMA mode . . . . . | 3899 |
| Figure 1003. Normal isochronous OUT transaction - DMA mode . . . . . | 3900 |
| Figure 1004. Normal isochronous IN transactions - DMA mode . . . . . | 3901 |
| Figure 1005. Receive FIFO packet read . . . . . | 3907 |
| Figure 1006. Processing a SETUP packet . . . . . | 3909 |
| Figure 1007. Bulk OUT transaction . . . . . | 3916 |
| Figure 1008. TRDT max timing case . . . . . | 3925 |
| Figure 1009. UCPD block diagram . . . . . | 3938 |
| Figure 1010. Clock division and timing elements. . . . . | 3939 |
| Figure 1011. K-code transmission . . . . . | 3941 |
| Figure 1012. Transmit order for various sizes of data . . . . . | 3943 |
| Figure 1013. Packet format . . . . . | 3943 |
| Figure 1014. Line format of Hard Reset. . . . . | 3944 |
| Figure 1015. Line format of Cable Reset. . . . . | 3944 |
| Figure 1016. BIST test data frame. . . . . | 3945 |
| Figure 1017. BIST Carrier Mode 2 frame. . . . . | 3946 |
| Figure 1018. UCPD BMC transmitter architecture. . . . . | 3946 |
| Figure 1019. UCPD BMC receiver architecture. . . . . | 3948 |
| Figure 1020. High-level Ethernet block diagram . . . . . | 3980 |
| Figure 1021. DMA transmission flow (standard mode) . . . . . | 3982 |
| Figure 1022. DMA transmission flow (OSP mode) . . . . . | 3984 |
| Figure 1023. Receive DMA flow . . . . . | 3986 |
| Figure 1024. Overview of MAC transmission flow . . . . . | 3989 |
| Figure 1025. MAC reception flow . . . . . | 3991 |
| Figure 1026. Packet filtering sequence . . . . . | 4008 |
| Figure 1027. Networked time synchronization . . . . . | 4022 |
| Figure 1028. Propagation delay calculation in clocks supporting peer-to-peer path correction . . . . . | 4023 |
| Figure 1029. System time update using fine correction method . . . . . | 4033 |
| Figure 1030. Time aware shaper implementation for traffic scheduling. . . . . | 4045 |
| Figure 1031. Implementing a guard band to avoid delays due to interfering frames . . . . . | 4046 |
| Figure 1032. GCL governing gate close and open events block diagram (from IEEE 802.1 Qbv specifications) . . . . . | 4047 |
| Figure 1033. GCL and associated registers - BaseTime and CycleTime . . . . . | 4051 |
| Figure 1034. GCL and associated registers - BaseTime and CycleTime list execution time > CycleTime . . . . . | 4052 |
| Figure 1035. Switching to a new Configuration that is Aligned with the Existing Configuration. . . . . | 4053 |
| Figure 1036. Switching to the New List by Truncating the Current List . . . . . | 4055 |
| Figure 1037. Switching to New List By Extending the Current List . . . . . | 4056 |
| Figure 1038. mPacket formats. . . . . | 4060 |
| Figure 1039. MAC data Alignment Feature . . . . . | 4065 |
| Figure 1040. Time-based scheduler implementation. . . . . | 4073 |
| Figure 1041. Time-based scheduling flow . . . . . | 4074 |
| Figure 1042. TCP segmentation offload overview . . . . . | 4080 |
| Figure 1043. TCP segmentation offload flow | 4081 |
| Figure 1044. Header and payload fields of segmented packets | 4084 |
| Figure 1045. Supported PHY interfaces | 4094 |
| Figure 1046. SMA Interface block | 4095 |
| Figure 1047. MDIO packet structure (Clause 45) | 4096 |
| Figure 1048. MDIO packet structure (Clause 22) | 4097 |
| Figure 1049. SMA write operation flow | 4098 |
| Figure 1050. Write data packet | 4099 |
| Figure 1051. Read data packet | 4099 |
| Figure 1052. Media independent interface (MII) signals | 4101 |
| Figure 1053. RMII block diagram | 4103 |
| Figure 1054. Transmission bit order | 4104 |
| Figure 1055. Receive bit order | 4105 |
| Figure 1056. RGMII block diagram and interface signals | 4106 |
| Figure 1057. LPI transitions (Transmit, 100 Mbds) | 4115 |
| Figure 1058. LPI Tx clock gating (when LPITCSE = 1) | 4116 |
| Figure 1059. LPI transitions (receive, 100 Mbit/s) | 4117 |
| Figure 1060. Descriptor ring structure | 4148 |
| Figure 1061. DMA descriptor ring | 4149 |
| Figure 1062. Descriptor tail pointer example 1 | 4150 |
| Figure 1063. Descriptor tail pointer example 2 | 4150 |
| Figure 1064. Transmit descriptor (read format) | 4151 |
| Figure 1065. Transmit descriptor write-back format | 4156 |
| Figure 1066. Transmit context descriptor format | 4161 |
| Figure 1067. Receive normal descriptor (read format) | 4164 |
| Figure 1068. Receive normal descriptor (write-back format) | 4167 |
| Figure 1069. Receive context descriptor | 4175 |
| Figure 1070. Enhanced normal descriptor (read format) | 4177 |
| Figure 1071. Enhanced normal descriptor (write format) | 4178 |
| Figure 1072. Enhanced context descriptor (read format) | 4179 |
| Figure 1073. Enhanced context descriptor (write format) | 4180 |
| Figure 1074. Generation of ETH_DMAISR flags | 4199 |
| Figure 1075. HDP block diagram | 4369 |
| Figure 1076. Block diagram of debug infrastructure | 4376 |
| Figure 1077. Debug reset control logic | 4378 |
| Figure 1078. JTAG TAP state machine | 4383 |
| Figure 1079. SWD successful data transfer | 4386 |
| Figure 1080. Debug and access port connections | 4395 |
| Figure 1081. Cortex-M55 debug topology | 4417 |
| Figure 1082. Trace subsystem CoreSight topology | 4496 |
| Figure 1083. CoreSight timestamp distribution | 4502 |
| Figure 1084. Embedded cross trigger | 4510 |
| Figure 1085. Mapping trigger inputs to outputs | 4513 |
| Figure 1086. ETR state transition diagram | 4559 |
| Figure 1087. Scatter-gather operation | 4560 |
| Figure 1088. System trace macrocell | 4619 |
Chapters
- 1. Documentation conventions
- 2. Memory and bus architecture
- 3. System security
- 4. Boot and security control (BSEC)
- 5. OTP mapping (OTP)
- 6. Resource isolation framework security controller (RIFSC)
- 7. Resource isolation slave unit for address space protection (full version) (RISAF)
- 8. Illegal access controller (IAC)
- 9. Boot modes
- 10. SRAM configuration controller (RAMCFG)
- 11. Texture cache (ICACHE)
- 12. AXI cache (CACHEAXI)
- 13. Power control (PWR)
- 14. Reset and clock control (RCC)
- 15. General-purpose I/Os (GPIO)
- 16. System configuration controller (SYSCFG)
- 17. Peripherals interconnect matrix
- 18. High-performance direct memory access controller (HPDMA)
- 19. General purpose direct memory access controller (GPDMA)
- 20. Neural-ART accelerator™ (NPU)
- 21. Chrom-ART Accelerator controller (DMA2D)
- 22. Chrom-GRC (GFXMMU)
- 23. Graphic timer (GFXTIM)
- 24. Nested vectored interrupt controller (NVIC)
- 25. Extended interrupts and event controller (EXTI)
- 26. Cyclic redundancy check calculation unit (CRC)
- 27. Flexible memory controller (FMC)
- 28. Extended-SPI interface (XSPI)
- 29. XSPI I/O manager (XSPIM)
- 30. Secure digital input/output MultiMediaCard interface (SDMMC)
- 31. Delay block (DLYB)
- 32. Analog-to-digital converters (ADC)
- 33. Digital temperature sensor (DTS)
- 34. Voltage reference buffer (VREFBUF)
- 35. Multi-function digital filter (MDF)
- 36. Audio digital filter (ADF)
- 37. Camera subsystem
- 38. Digital camera interface (DCMI)
- 39. Digital camera interface pixel pipeline (DCMIPP)
- 40. CSI-2 Host (CSI)
- 41. Parallel synchronous slave interface (PSSI)
- 42. Display subsystem
- 43. LCD-TFT display controller (LTDC)
- 44. Neo-Chrom graphic processor (GPU2D)
- 45. Video encoder (VENC)
- 46. JPEG codec (JPEG)
- 47. True random number generator (RNG)
- 48. Secure AES coprocessor (SAES)
- 49. Cryptographic processor (CRYP)
- 50. Hash processor (HASH)
- 51. Memory cipher engine (MCE)
- 52. Public key accelerator (PKA)
- 53. Advanced-control timers (TIM1/TIM8)
- 54. General-purpose timers (TIM2/TIM3/TIM4/TIM5)
- 55. Basic timers (TIM6/TIM7/TIM18)
- 56. General-purpose timers (TIM9/TIM10/TIM11/TIM12/TIM13/TIM14)
- 57. General purpose timers (TIM15/TIM16/TIM17)
- 58. Low-power timer (LPTIM)
- 59. Independent watchdog (IWDG)
- 60. System window watchdog (WWDG)
- 61. Real-time clock (RTC)
- 62. Tamper and backup registers (TAMP)
- 63. Inter-integrated circuit interface (I2C)
- 64. Improved inter-integrated circuit (I3C)
- 65. Universal synchronous/asynchronous receiver transmitter (USART/UART)
- 66. Low-power universal asynchronous receiver transmitter (LPUART)
- 67. Serial peripheral interface (SPI)
- 68. Serial audio interface (SAI)
- 69. SPDIF receiver interface (SPDIFRX)
- 70. Management data input/output (MDIOS)
- 71. Controller area network with flexible data rate (FDCAN)
- 72. USB subsystem (USBSS)
- 73. USB on-the-go high-speed (OTG)
- 74. USB HS PHY controller (USBPHYC)
- 75. USB Type-C ® /USB Power Delivery interface (UCPD)
- 76. Ethernet (ETH): gigabit media access control (GMAC) with DMA controller
- 77. Hardware debug port (HDP)
- 78. Debug support (DBG)
- 79. Device electronic signature
- 80. Important security notice
- 81. Revision history