This reference manual provides complete information on how to use the STM32WL30xx/31xx/33xx MCU memory and peripherals.
The STM32WL30xx/31xx/33xx are powerful and ultra-low-power microcontrollers with sub-GHz radio with an Arm® Cortex®-M0+ core which can operate with various clock sources.
The STM32WL30xx/31xx/33xx are microcontrollers with different memory sizes, packages and peripherals. The devices include ST state-of-the-art patented technology.
STM32WL33xx TX-only device variants (STM32WL33xx-X) are also available. These variants support only the transmitter capability of the Sub-GHz radio IP (MRSUBG).
In this document, any reference to STM32WL33xx devices is also valid for STM32WL33xx-X devices (the only exception being the Radio receiver capability).
For information on device errata with respect to the datasheets and reference manuals:
| 5.4.2 | Deepstop mode ..... | 70 |
| 5.4.3 | Shutdown mode ..... | 73 |
| 5.4.4 | Operating modes transition management ..... | 75 |
| 5.5 | SMPS step down regulator ..... | 75 |
| 5.5.1 | SMPS bypass on-the-fly (BOF) ..... | 78 |
| 5.6 | PWR register descriptions ..... | 79 |
| 5.6.1 | Control register 1 (PWR_CR1) ..... | 79 |
| 5.6.2 | Control register 2 (PWR_CR2) ..... | 80 |
| 5.6.3 | Internal source wakeup enable register (PWR_I EWU) ..... | 82 |
| 5.6.4 | Internal source wakeup polarity register (PWR_IWUP) ..... | 83 |
| 5.6.5 | Internal source wakeup status register (PWR_IWUF) ..... | 84 |
| 5.6.6 | Status register 2 (PWR_SR2) ..... | 86 |
| 5.6.7 | Control register 5 (PWR_CR5) ..... | 87 |
| 5.6.8 | I/O Port A pull-up control register (PWR_PUCRA) ..... | 90 |
| 5.6.9 | I/O Port A pull-down control register (PWR_PDCRA) ..... | 91 |
| 5.6.10 | I/O Port B pull-up control register (PWR_PUCRB) ..... | 92 |
| 5.6.11 | I/O Port B pull-down control register (PWR_PDCRB) ..... | 92 |
| 5.6.12 | Port A wakeup enable register (PWR_EWUA) ..... | 93 |
| 5.6.13 | Port A wakeup polarity register (PWR_WUPA) ..... | 93 |
| 5.6.14 | Port A wakeup status register (PWR_WUFA) ..... | 94 |
| 5.6.15 | Port B wakeup enable register (PWR_EWUB) ..... | 94 |
| 5.6.16 | Port B wakeup polarity register (PWR_WUPB) ..... | 95 |
| 5.6.17 | Port B wakeup status register (PWR_WUFB) ..... | 95 |
| 5.6.18 | Shutdown I/O wakeup enable register (PWR_SDWN_WUEN) ..... | 96 |
| 5.6.19 | Shutdown I/O wakeup polarity register (PWR_SDWN_WUPOL) ..... | 96 |
| 5.6.20 | Shutdown I/O Wakeup flag register (PWR_SDWN_WUF) ..... | 97 |
| 5.6.21 | Bypass on-the-fly tuning register (PWR_BOF_TUNE) ..... | 98 |
| 5.6.22 | Debug register (PWR_DBGR) ..... | 99 |
| 5.6.23 | Extended status and reset register (PWR_EXTSRR) ..... | 100 |
| 5.6.24 | Debug SMPS register (PWR_DBGSMPS) ..... | 101 |
| 5.6.25 | Trimming values from engineering register (PWR_TRIMR) ..... | 102 |
| 5.6.26 | Software trimming values register (PWR_ENGTRIM) ..... | 103 |
| 5.7 | PWR register map ..... | 104 |
| 5.8 | Programmer's model ..... | 107 |
| 5.8.1 | Reset reason management ..... | 107 |
| 5.8.2 | SMPS output level re-programming ..... | 108 |
| 6 | Reset and clock controller (RCC) | 109 |
| 6.1 | Reset management | 109 |
| 6.1.1 | General description | 109 |
| 6.1.2 | Power reset | 110 |
| 6.1.3 | Watchdog reset | 110 |
| 6.1.4 | LOCKUP reset | 110 |
| 6.1.5 | System reset request | 110 |
| 6.1.6 | Deepstop exit | 111 |
| 6.2 | Clock management | 111 |
| 6.2.1 | Peripheral clock details | 113 |
| 6.2.2 | Slow clock frequency details | 115 |
| 6.3 | System frequency switch while MR_SUBG is used | 115 |
| 6.4 | Clock observation on external pad | 116 |
| 6.5 | IO booster | 117 |
| 6.6 | RCC register descriptions | 118 |
| 6.6.1 | Clock source control register (RCC_CR) | 118 |
| 6.6.2 | Clock configuration register (RCC_CFGR) | 121 |
| 6.6.3 | Clock source software calibration register (RCC_CSSWCR) | 124 |
| 6.6.4 | SMPS clock variable rate multiplier register (RCC_KRMR) | 125 |
| 6.6.5 | Clock interrupt enable register (RCC_CIER) | 126 |
| 6.6.6 | Clock Interrupt flag register (RCC_CIFR) | 128 |
| 6.6.7 | Clock switch command register (RCC_CSCMDR) | 130 |
| 6.6.8 | AHB0 macrocell reset register (RCC_AHBRSTR) | 132 |
| 6.6.9 | APB0 macrocell reset register (RCC_APB0RSTR) | 133 |
| 6.6.10 | APB1 macrocell reset register (RCC_APB1RSTR) | 135 |
| 6.6.11 | APB2 macrocell reset register (RCC_APB2RSTR) | 136 |
| 6.6.12 | AHB0 macrocell clock enable register (RCC_AHBENR) | 137 |
| 6.6.13 | APB0 macrocell clock enable register (RCC_APB0ENR) | 138 |
| 6.6.14 | APB1 macrocell clock enable register (RCC_APB1ENR) | 140 |
| 6.6.15 | APB2 macrocell clock enable register (RCC_APB2ENR) | 141 |
| 6.6.16 | V33 reset status register (RCC_CSR) | 142 |
| 6.6.17 | RF software high-speed external register (RCC_RFSWHSECR) | 143 |
| 6.6.18 | RF high speed external register (RCC_RFHSECR) | 144 |
| 6.6.19 | AHB sleep mode enable register (RCC_AHBSMENR) | 145 |
| 6.6.20 | APB0 sleep mode enable register (RCC_APB0SMENR) | 147 |
| 6.6.21 | APB1 sleep mode enable register (RCC_APB1SMENR) | 149 |
| 6.7 | RCC register map ..... | 151 |
| 6.8 | Programmer's model ..... | 155 |
| 6.8.1 | Switch the system on the PLL64M clock tree ..... | 155 |
| 6.8.2 | Use the direct HSE instead of the RC64MPLL block ..... | 155 |
| 6.8.3 | Changing the system clock frequency while the MR_SUBGHz is enabled ..... | 155 |
| 7 | General-purpose I/Os (GPIO) ..... | 157 |
| 7.1 | Introduction ..... | 157 |
| 7.2 | GPIO main features ..... | 157 |
| 7.3 | GPIO functional description ..... | 157 |
| 7.3.1 | General-purpose I/O (GPIO) ..... | 160 |
| 7.3.2 | I/O pin alternate function multiplexer and mapping ..... | 160 |
| 7.3.3 | I/O port control registers ..... | 161 |
| 7.3.4 | I/O port data registers ..... | 161 |
| 7.3.5 | I/O data bitwise handling ..... | 162 |
| 7.3.6 | GPIO locking mechanism ..... | 162 |
| 7.3.7 | I/O alternate function input/output ..... | 162 |
| 7.3.8 | External interrupt/wakeup lines ..... | 163 |
| 7.3.9 | Input configuration ..... | 163 |
| 7.3.10 | Output configuration ..... | 164 |
| 7.3.11 | Alternate function configuration ..... | 164 |
| 7.3.12 | Analog configuration ..... | 165 |
| 7.3.13 | Using the LSE oscillator pins as GPIOs ..... | 166 |
| 7.4 | GPIO registers ..... | 167 |
| 7.4.1 | GPIOA port mode register (GPIOA_MODER) ..... | 167 |
| 7.4.2 | GPIOB port mode register (GPIOB_MODER) ..... | 168 |
| 7.4.3 | GPIOA port output type register (GPIOA_OTYPER) ..... | 168 |
| 7.4.4 | GPIOB port output type register (GPIOB_OTYPER) ..... | 169 |
| 7.4.5 | GPIOA port output speed register (GPIOA_OSPEEDR) ..... | 169 |
| 7.4.6 | GPIOB port output speed register (GPIOB_OSPEEDR) ..... | 170 |
| 7.4.7 | GPIOA port pull-up/pull-down register (GPIOA_PUPDR) ..... | 170 |
| 7.4.8 | GPIOB port pull-up/pull-down register (GPIOB_PUPDR) ..... | 171 |
| 7.4.9 | GPIOA port input data register (GPIOA_IDR) ..... | 171 |
| 7.4.10 | GPIOB port input data register (GPIOB_IDR) ..... | 172 |
| 7.4.11 | GPIOA port output data register (GPIOA_ODR) ..... | 172 |
| 7.4.12 | GPIOB port output data register (GPIOB_ODR) ..... | 173 |
| 7.4.13 | GPIOA port bit set/reset register (GPIOA_BSRR) . . . . . | 173 |
| 7.4.14 | GPIOB port bit set/reset register (GPIOB_BSRR) . . . . . | 174 |
| 7.4.15 | GPIOA port configuration lock register (GPIOA_LCKR) . . . . . | 175 |
| 7.4.16 | GPIOB port configuration lock register (GPIOB_LCKR) . . . . . | 176 |
| 7.4.17 | GPIOA alternate function low register (GPIOA_AFRL) . . . . . | 177 |
| 7.4.18 | GPIOB alternate function low register (GPIOB_AFRL) . . . . . | 177 |
| 7.4.19 | GPIOA alternate function high register (GPIOA_AFRH) . . . . . | 178 |
| 7.4.20 | GPIOB alternate function high register (GPIOB_AFRH) . . . . . | 178 |
| 7.4.21 | GPIOA port bit reset register (GPIOA_BRR) . . . . . | 179 |
| 7.4.22 | GPIOB port bit reset register (GPIOB_BRR) . . . . . | 179 |
| 7.5 | GPIO register map . . . . . | 180 |
| 8 | System controller (SYSCFG) . . . . . | 182 |
| 8.1 | SYSCFG main features . . . . . | 182 |
| 8.2 | System controller register descriptions . . . . . | 183 |
| 8.2.1 | Die ID register (DIE_ID) . . . . . | 183 |
| 8.2.2 | JTAG ID register (JTAG_ID) . . . . . | 184 |
| 8.2.3 | Fast-Mode Plus pin capability control register (I2C_FMP_CTRL) . . . . . | 185 |
| 8.2.4 | I/O Interrupt detection type register (IO_DTR) . . . . . | 187 |
| 8.2.5 | I/O interrupt edge register (IO_IBER) . . . . . | 188 |
| 8.2.6 | I/O interrupt polarity event register (IO_IEVR) . . . . . | 188 |
| 8.2.7 | I/O interrupt enable register (IO_IER) . . . . . | 189 |
| 8.2.8 | I/O interrupt status and clear register (IO_ISCR) . . . . . | 189 |
| 8.2.9 | Power controller interrupt enable register (PWR_IER) . . . . . | 190 |
| 8.2.10 | Power controller interrupt status and clear register (PWR_ISCR) . . . . . | 191 |
| 8.2.11 | I/O analog switch control register (GPIO_SWA_CTRL) . . . . . | 192 |
| 8.2.12 | Internal asynchronous interrupt detection type register (INTAI_DTR) . . . . . | 193 |
| 8.2.13 | Internal asynchronous interrupt edge register (INTAI_IBER) . . . . . | 194 |
| 8.2.14 | Internal asynchronous interrupt polarity event register (INTAI_IEVR) . . . . . | 195 |
| 8.2.15 | Internal asynchronous interrupt enable register (INTAI_IER) . . . . . | 196 |
| 8.2.16 | Internal asynchronous interrupt detection status and clear register (INTAI_ISCR) . . . . . | 197 |
| 8.2.17 | SYSCFG status register 1 (SYSCFG_SR1) . . . . . | 198 |
| 8.3 | System controller register map . . . . . | 199 |
| 9 | Embedded flash memory (FLASH) . . . . . | 202 |
| 9.1 | Flash main features . . . . . | 202 |
| 9.2 | Description ..... | 203 |
| 9.3 | Flash controller register descriptions ..... | 204 |
| 9.3.1 | Command register (COMMAND) ..... | 204 |
| 9.3.2 | Configuration register (CONFIG) ..... | 205 |
| 9.3.3 | Interrupt status register (IRQSTAT) ..... | 206 |
| 9.3.4 | Interrupt mask register (IRQMASK) ..... | 207 |
| 9.3.5 | Raw status register (IRQRAW) ..... | 208 |
| 9.3.6 | Size register (SIZE) ..... | 209 |
| 9.3.7 | Address register (ADDRESS) ..... | 210 |
| 9.3.8 | Linear feedback shift register (LFSRVAL) ..... | 211 |
| 9.4 | Main flash page protection registers 0 to 1 ..... | 212 |
| 9.4.1 | Page protection register 0 (PAGEPROT0) ..... | 212 |
| 9.4.2 | Page protection register 1 (PAGEPROT1) ..... | 213 |
| 9.5 | Data registers 0 to 3 ..... | 213 |
| 9.5.1 | Data 1 register (DATA1)) ..... | 214 |
| 9.5.2 | Data 2 register (DATA2) ..... | 214 |
| 9.5.3 | Data 3 register (DATA3) ..... | 214 |
| 9.6 | Flash controller register map ..... | 215 |
| 9.7 | Programmers model ..... | 216 |
| 9.7.1 | General information ..... | 216 |
| 9.7.2 | Write page protection example ..... | 217 |
| 9.7.3 | Read function examples ..... | 217 |
| 9.7.4 | Erase function examples ..... | 218 |
| 9.7.5 | Enabling protection example ..... | 219 |
| 9.7.6 | Write page protection example ..... | 220 |
| 9.7.7 | Write function examples ..... | 220 |
| 9.7.8 | Other command usage descriptions ..... | 221 |
| 10 | DMA controller (DMA) ..... | 222 |
| 10.1 | DMA introduction ..... | 222 |
| 10.2 | DMA main features ..... | 222 |
| 10.3 | DMA functional description ..... | 222 |
| 10.3.1 | DMA transactions ..... | 222 |
| 10.3.2 | Arbiter ..... | 223 |
| 10.3.3 | DMA channels ..... | 223 |
| 10.3.4 | Programmable data width, data alignment and endians ..... | 225 |
| 10.3.5 | Error management | 226 |
| 10.3.6 | Interrupts | 227 |
| 10.3.7 | DMA request mapping | 227 |
| 10.4 | DMA registers | 228 |
| 10.4.1 | DMA interrupt status register (DMA_ISR) | 228 |
| 10.4.2 | DMA interrupt flag clear register (DMA_IFCR) | 229 |
| 10.4.3 | DMA channel x configuration register (DMA_CCRx) (x = 1..8, where x = channel number) | 230 |
| 10.4.4 | DMA channel x number of data register (DMA_CNDTRx) (x = 1..8, where x = channel number) | 232 |
| 10.4.5 | DMA channel x peripheral address register (DMA_CPARx) (x = 1..8, where x = channel number) | 232 |
| 10.4.6 | DMA channel x memory address register (DMA_CMARx) (x = 1..8, where x = channel number) | 233 |
| 10.5 | DMA register map | 234 |
| 11 | DMA request multiplexer (DMAMUX) | 237 |
| 11.1 | Introduction | 237 |
| 11.2 | DMAMUX main features | 237 |
| 11.3 | DMAMUX implementation | 237 |
| 11.3.1 | DMAMUX instantiation | 237 |
| 11.3.2 | DMAMUX mapping | 238 |
| 11.4 | DMAMUX functional description | 239 |
| 11.4.1 | DMAMUX block diagram | 239 |
| 11.4.2 | DMAMUX channels | 239 |
| 11.4.3 | DMAMUX request line multiplexer | 240 |
| 11.5 | DMAMUX registers | 240 |
| 11.5.1 | DMAMUX request line multiplexer Channel x Configuration Register (DMAMUX_CxCR) | 240 |
| 11.6 | DMAMUX register map | 241 |
| 12 | Analog digital converter (ADC) | 243 |
| 12.1 | Features | 243 |
| 12.2 | ADC presentation | 243 |
| 12.2.1 | Temperature sensor subsystem (STM32WL31xx/33xx only) | 245 |
| 12.2.2 | ADC input modes conversion | 245 |
| 12.2.3 | Down sampler (DS) | 247 |
| 12.3 | Interrupts | 248 |
| 12.4 | DMA interface | 248 |
| 12.5 | ADC mode | 248 |
| 12.5.1 | ADC mode overview | 249 |
| 12.6 | ADC registers description | 251 |
| 12.6.1 | Version register (VERSION_ID) | 251 |
| 12.6.2 | ADC configuration register (CONF) | 251 |
| 12.6.3 | ADC control register (CTRL) | 253 |
| 12.6.4 | ADC input voltage switch selection register (SWITCH) | 254 |
| 12.6.5 | Down sampler configuration register (DS_CONF) | 256 |
| 12.6.6 | ADC sequence programming 1 register (SEQ_1) | 257 |
| 12.6.7 | ADC sequence programming 2 register (SEQ_2) | 258 |
| 12.6.8 | ADC gain and offset correction 1 register (COMP_1) | 259 |
| 12.6.9 | ADC gain and offset correction 2 register (COMP_2) | 259 |
| 12.6.10 | ADC gain and offset correction 3 register (COMP_3) | 259 |
| 12.6.11 | ADC gain and offset correction 4 register (COMP_4) | 260 |
| 12.6.12 | ADC gain and offset selection register (COMP_SEL) | 260 |
| 12.6.13 | ADC watchdog threshold register (WD_TH) | 262 |
| 12.6.14 | ADC watchdog configuration register (WD_CONF) | 262 |
| 12.6.15 | Down Sampler data out register (DS_DATAOUT) | 263 |
| 12.6.16 | ADC Interrupt status register (IRQ_STATUS) | 263 |
| 12.6.17 | ADC Interrupt enable register (IRQ_ENABLE) | 264 |
| 12.7 | ADC register map | 266 |
| 13 | Comparator (COMP) | 268 |
| 13.1 | Introduction | 268 |
| 13.2 | COMP main features | 268 |
| 13.3 | Comp functional description | 268 |
| 13.3.1 | COMP block diagram | 268 |
| 13.3.2 | COMP pins and internal signals | 269 |
| 13.3.3 | COMP reset and clocks | 269 |
| 13.3.4 | Comparator LOCK mechanism | 269 |
| 13.3.5 | Hysteresis | 270 |
| 13.3.6 | Comparator output blanking function | 270 |
| 13.3.7 | COMP power and speed modes | 271 |
| 13.4 | Comp low-power modes | 272 |
| 13.5 | Comp interrupts and wakeup ..... | 272 |
| 13.6 | Comp registers ..... | 273 |
| 13.6.1 | Comparator control and status register (COMP_CSR) ..... | 273 |
| 13.7 | COMP register map ..... | 275 |
| 14 | Digital-to-analog converter (DAC) ..... | 276 |
| 14.1 | Introduction ..... | 276 |
| 14.2 | DAC main features ..... | 276 |
| 14.3 | DAC block diagram ..... | 277 |
| 14.4 | DAC functional description ..... | 278 |
| 14.4.1 | DAC channel enable ..... | 278 |
| 14.4.2 | DAC outputs enable ..... | 278 |
| 14.4.3 | DAC conversion ..... | 278 |
| 14.4.4 | DAC output voltage ..... | 278 |
| 14.4.5 | DAC trigger selection ..... | 279 |
| 14.4.6 | DMA request ..... | 279 |
| 14.4.7 | Noise generation ..... | 279 |
| 14.4.8 | Triangle-wave generation ..... | 280 |
| 14.5 | DAC registers ..... | 281 |
| 14.5.1 | DAC control register (DAC_CR) ..... | 281 |
| 14.5.2 | DAC software trigger register (DAC_SWTRIGR) ..... | 283 |
| 14.5.3 | DAC channel data holding register (DAC_DHR) ..... | 283 |
| 14.5.4 | DAC channel data output register (DAC_DOR) ..... | 284 |
| 14.5.5 | DAC status register (DAC_SR) ..... | 284 |
| 14.6 | DAC register map ..... | 285 |
| 15 | LC sensor controller (LCSC) ..... | 286 |
| 15.1 | Introduction ..... | 286 |
| 15.2 | LCSC main features ..... | 286 |
| 15.3 | LCSC functional description ..... | 287 |
| 15.3.1 | LCSC block diagram ..... | 287 |
| 15.3.2 | Overview ..... | 288 |
| 15.3.3 | LCSC reset and clocks ..... | 290 |
| 15.3.4 | LCSC programming ..... | 290 |
| 15.4 | LCSC comparator count statistics and monitoring ..... | 293 |
| 15.5 | LCSC status ..... | 295 |
| 15.6 | LCSC interrupts | 295 |
| 15.7 | LCSC low-power modes wakeup | 295 |
| 15.8 | LCSC registers | 296 |
| 15.8.1 | LCSC control register 0 (LCSC_CR0) | 296 |
| 15.8.2 | LCSC control register 1 (LCSC_CR1) | 297 |
| 15.8.3 | LCSC control register 2 (LCSC_CR2) | 298 |
| 15.8.4 | LCSC pulse configuration register (LCSC_PULSE_CR) | 298 |
| 15.8.5 | LCSC enable register (LCSC_ENR) | 299 |
| 15.8.6 | LCSC wheel status register (LCSC_WHEEL_SR) | 299 |
| 15.8.7 | LCSC wheel configuration register (LCSC_CONFR) | 300 |
| 15.8.8 | LCSC comparator counter register (LCSC_COMP_CNT) | 300 |
| 15.8.9 | LCSC status register (LCSC_SR) | 301 |
| 15.8.10 | LCSC statistics register (LCSC_STAT) | 302 |
| 15.8.11 | LCSC interrupt status register (LCSC_ISR) | 303 |
| 15.9 | LCSC register map | 304 |
| 16 | Liquid crystal display controller (LCD) | 306 |
| 16.1 | Introduction | 306 |
| 16.2 | LCD main features | 306 |
| 16.3 | Glossary | 307 |
| 16.4 | LCD functional description | 308 |
| 16.4.1 | General description | 308 |
| 16.4.2 | Frequency generator | 309 |
| 16.4.3 | Common driver | 310 |
| 16.4.4 | Segment driver | 313 |
| 16.4.5 | Voltage generator and contrast control | 317 |
| 16.4.6 | Double buffer memory | 320 |
| 16.4.7 | LCD controller low power modes | 321 |
| 16.4.8 | COM and SEG multiplexing | 321 |
| 16.4.9 | Flowchart | 323 |
| 16.5 | LCD interrupts | 324 |
| 16.6 | LCD registers | 325 |
| 16.6.1 | LCD control register (LCD_CR) | 325 |
| 16.6.2 | LCD frame control register (LCD_FCR) | 326 |
| 16.6.3 | LCD status register (LCD_SR) | 329 |
| 16.6.4 | LCD clear register (LCD_CLR) | 330 |
| 16.6.5 | LCD display memory (LCD_RAM) ..... | 331 |
| 16.7 | LCD register map ..... | 332 |
| 17 | Random number generator (RNG) ..... | 334 |
| 17.1 | Features ..... | 334 |
| 17.2 | RNG registers map ..... | 334 |
| 17.3 | RNG registers description ..... | 335 |
| 18 | AES hardware accelerator (AES) ..... | 337 |
| 18.1 | Introduction ..... | 337 |
| 18.2 | AES main features ..... | 337 |
| 18.3 | AES implementation ..... | 338 |
| 18.4 | AES functional description ..... | 338 |
| 18.4.1 | AES block diagram ..... | 338 |
| 18.4.2 | AES internal signals ..... | 338 |
| 18.4.3 | AES cryptographic core ..... | 339 |
| 18.4.4 | AES procedure to perform a cipher operation ..... | 344 |
| 18.4.5 | AES decryption round key preparation ..... | 347 |
| 18.4.6 | AES ciphertext stealing and data padding ..... | 348 |
| 18.4.7 | AES task suspend and resume ..... | 348 |
| 18.4.8 | AES basic chaining modes (ECB, CBC) ..... | 349 |
| 18.4.9 | AES counter (CTR) mode ..... | 354 |
| 18.4.10 | AES Galois/counter mode (GCM) ..... | 356 |
| 18.4.11 | AES Galois message authentication code (GMAC) ..... | 361 |
| 18.4.12 | AES counter with CBC-MAC (CCM) ..... | 363 |
| 18.4.13 | AES data registers and data swapping ..... | 368 |
| 18.4.14 | AES key registers ..... | 370 |
| 18.4.15 | AES initialization vector registers ..... | 370 |
| 18.4.16 | AES DMA interface ..... | 371 |
| 18.4.17 | AES error management ..... | 372 |
| 18.5 | AES interrupts ..... | 373 |
| 18.6 | AES processing latency ..... | 373 |
| 18.7 | AES registers ..... | 375 |
| 18.7.1 | AES control register (AES_CR) ..... | 375 |
| 18.7.2 | AES status register (AES_SR) ..... | 378 |
| 18.7.3 | AES data input register (AES_DINR) ..... | 379 |
| 18.7.4 | AES data output register (AES_DOUTR) ..... | 380 |
| 18.7.5 | AES key register 0 (AES_KEYR0) ..... | 381 |
| 18.7.6 | AES key register 1 (AES_KEYR1) ..... | 381 |
| 18.7.7 | AES key register 2 (AES_KEYR2) ..... | 382 |
| 18.7.8 | AES key register 3 (AES_KEYR3) ..... | 382 |
| 18.7.9 | AES initialization vector register 0 (AES_IVR0) ..... | 383 |
| 18.7.10 | AES initialization vector register 1 (AES_IVR1) ..... | 383 |
| 18.7.11 | AES initialization vector register 2 (AES_IVR2) ..... | 384 |
| 18.7.12 | AES initialization vector register 3 (AES_IVR3) ..... | 384 |
| 18.7.13 | AES key register 4 (AES_KEYR4) ..... | 384 |
| 18.7.14 | AES key register 5 (AES_KEYR5) ..... | 385 |
| 18.7.15 | AES key register 6 (AES_KEYR6) ..... | 385 |
| 18.7.16 | AES key register 7 (AES_KEYR7) ..... | 385 |
| 18.7.17 | AES suspend registers (AES_SUSPxR) ..... | 386 |
| 18.7.18 | AES register map ..... | 387 |
| 19 | Cyclic redundancy check calculation unit (CRC) ..... | 389 |
| 19.1 | Introduction ..... | 389 |
| 19.2 | CRC main features ..... | 389 |
| 19.3 | CRC functional description ..... | 390 |
| 19.3.1 | CRC block diagram ..... | 390 |
| 19.3.2 | CRC operation ..... | 390 |
| 19.4 | CRC registers ..... | 392 |
| 19.4.1 | Data register (CRC_DR) ..... | 392 |
| 19.4.2 | Independent data register (CRC_IDR) ..... | 392 |
| 19.4.3 | Control register (CRC_CR) ..... | 393 |
| 19.4.4 | Initial CRC value (CRC_INIT) ..... | 394 |
| 19.4.5 | CRC polynomial (CRC_POL) ..... | 394 |
| 19.5 | CRC register map ..... | 395 |
| 20 | General purpose timer (TIM2) ..... | 396 |
| 20.1 | TIM2 introduction ..... | 396 |
| 20.2 | TIM2 main features ..... | 396 |
| 20.3 | TIM2 functional description ..... | 398 |
| 20.3.1 | Time-base unit ..... | 398 |
| 20.3.2 | Counter modes ..... | 399 |
| 20.3.3 | Repetition counter | 407 |
| 20.3.4 | External trigger input | 409 |
| 20.3.5 | Clock selection | 410 |
| 20.3.6 | Capture/compare channels | 413 |
| 20.3.7 | Input capture mode | 414 |
| 20.3.8 | PWM input mode | 415 |
| 20.3.9 | Forced output mode | 416 |
| 20.3.10 | Output compare mode | 416 |
| 20.3.11 | PWM mode | 418 |
| 20.3.12 | Asymmetric PWM mode | 421 |
| 20.3.13 | Combined PWM mode | 421 |
| 20.3.14 | Clearing the OCxREF signal on an external event | 422 |
| 20.3.15 | One-pulse mode | 424 |
| 20.3.16 | Retriggerable one pulse mode (OPM) | 425 |
| 20.3.17 | Encoder interface mode | 426 |
| 20.3.18 | UIF bit remapping | 428 |
| 20.3.19 | Timer input XOR function | 429 |
| 20.3.20 | Timers and external trigger synchronization | 429 |
| 20.3.21 | Timer synchronization | 432 |
| 20.3.22 | DMA burst mode | 436 |
| 20.3.23 | Debug mode | 437 |
| 20.4 | TIM2 registers | 438 |
| 20.4.1 | TIM2 control register 1 (TIMx_CR1) | 438 |
| 20.4.2 | TIM2 control register 2 (TIMx_CR2) | 440 |
| 20.4.3 | TIM2 slave mode control register (TIMx_SMCR) | 441 |
| 20.4.4 | TIM2 DMA/interrupt enable register (TIMx_DIER) | 444 |
| 20.4.5 | TIM2 status register (TIMx_SR) | 446 |
| 20.4.6 | TIM2 event generation register (TIMx_EGR) | 448 |
| 20.4.7 | TIM2 capture/compare mode register 1 (TIMx_CCMR1) | 449 |
| 20.4.8 | TIM2 capture/compare mode register 2 (TIMx_CCMR2) | 454 |
| 20.4.9 | TIM2 capture/compare enable register (TIMx_CCER) | 456 |
| 20.4.10 | TIM2 counter (TIMx_CNT) | 458 |
| 20.4.11 | TIM2 prescaler (TIMx_PSC) | 458 |
| 20.4.12 | TIM2 auto-reload register (TIMx_ARR) | 458 |
| 20.4.13 | TIM2 repetition counter register (TIMx_RCR) | 459 |
| 20.4.14 | TIM2 capture/compare register 1 (TIMx_CCR1) | 459 |
| 20.4.15 | TIM2 capture/compare register 2 (TIMx_CCR2) | 460 |
| 20.4.16 | TIM2 capture/compare register 3 (TIMx_CCR3) ..... | 460 |
| 20.4.17 | TIM2 capture/compare register 4 (TIMx_CCR4) ..... | 461 |
| 20.4.18 | TIM2 DMA control register (TIM2_DCR) ..... | 461 |
| 20.4.19 | TIM2 DMA address for full transfer (TIM2_DMAR) ..... | 462 |
| 20.4.20 | TIM2 option register 1 (TIM2_OR) ..... | 462 |
| 20.4.21 | TIM2 alternate function option register 1 (TIM2_AF1) ..... | 463 |
| 20.4.22 | TIM2 input selection register (TIM2_TISEL) ..... | 464 |
| 20.5 | TIM2 register map ..... | 465 |
| 21 | General-purpose timers (TIM16) ..... | 467 |
| 21.1 | TIM16 introduction ..... | 467 |
| 21.2 | TIM16 main features ..... | 467 |
| 21.3 | TIM16 functional description ..... | 469 |
| 21.3.1 | Time-base unit ..... | 469 |
| 21.3.2 | Counter modes ..... | 471 |
| 21.3.3 | Repetition counter ..... | 474 |
| 21.3.4 | Clock selection ..... | 475 |
| 21.3.5 | Capture/compare channels ..... | 476 |
| 21.3.6 | Input capture mode ..... | 478 |
| 21.3.7 | Forced output mode ..... | 479 |
| 21.3.8 | Output compare mode ..... | 479 |
| 21.3.9 | PWM mode ..... | 481 |
| 21.3.10 | Complementary outputs and dead-time insertion ..... | 482 |
| 21.3.11 | Using the break function ..... | 484 |
| 21.3.12 | Bidirectional break inputs ..... | 487 |
| 21.3.13 | One-pulse mode ..... | 489 |
| 21.3.14 | Retriggerable one pulse mode (OPM) ..... | 490 |
| 21.3.15 | UIF bit remapping ..... | 491 |
| 21.3.16 | Timer16 and external trigger synchronization ..... | 491 |
| 21.3.17 | Timer synchronization ..... | 493 |
| 21.3.18 | DMA burst mode ..... | 497 |
| 21.3.19 | Debug mode ..... | 498 |
| 21.4 | TIM16 registers ..... | 499 |
| 21.4.1 | TIM16 control register 1 (TIMx_CR1) ..... | 499 |
| 21.4.2 | TIM16 control register 2 (TIMx_CR2) ..... | 501 |
| 21.4.3 | TIM16 slave mode control register (TIM16_SMCR) ..... | 502 |
| 21.4.4 | TIM16 DMA/interrupt enable register (TIMx_DIER) ..... | 504 |
| 21.4.5 | TIM16 status register (TIMx_SR) . . . . . | 505 |
| 21.4.6 | TIM16 event generation register (TIMx_EGR) . . . . . | 507 |
| 21.4.7 | TIM16 capture/compare mode register 1 (TIMx_CCMR1) . . . . . | 508 |
| 21.4.8 | TIM16 capture/compare enable register (TIMx_CCER) . . . . . | 512 |
| 21.4.9 | TIM16 counter (TIMx_CNT) . . . . . | 514 |
| 21.4.10 | TIM16 prescaler (TIMx_PSC) . . . . . | 514 |
| 21.4.11 | TIM16 auto-reload register (TIMx_ARR) . . . . . | 514 |
| 21.4.12 | TIM16 repetition counter register (TIMx_RCR) . . . . . | 515 |
| 21.4.13 | TIM16 capture/compare register 1 (TIMx_CCR1) . . . . . | 515 |
| 21.4.14 | TIM16 break and dead-time register (TIMx_BDTR) . . . . . | 516 |
| 21.4.15 | TIM16 DMA control register (TIMx_DCR) . . . . . | 519 |
| 21.4.16 | TIM16 DMA address for full transfer (TIMx_DMAR) . . . . . | 519 |
| 21.4.17 | TIM16 option register 1 (TIM16_OR) . . . . . | 520 |
| 21.4.18 | TIM16 alternate function option register 2 (TIMx_AF1) . . . . . | 521 |
| 21.4.19 | TIM16 input selection register (TIM16_TISEL) . . . . . | 522 |
| 21.4.20 | TIM16 register map . . . . . | 523 |
| 22 | Real-time clock (RTC) . . . . . | 525 |
| 22.1 | Introduction . . . . . | 525 |
| 22.2 | RTC main features . . . . . | 525 |
| 22.3 | RTC functional description . . . . . | 526 |
| 22.3.1 | RTC block diagram . . . . . | 526 |
| 22.3.2 | Clock and prescalers . . . . . | 526 |
| 22.3.3 | Real-time clock and calendar . . . . . | 527 |
| 22.3.4 | Programmable alarm . . . . . | 527 |
| 22.3.5 | Periodic auto-wakeup . . . . . | 528 |
| 22.3.6 | RTC initialization and configuration . . . . . | 529 |
| 22.3.7 | Reading the calendar . . . . . | 530 |
| 22.3.8 | Resetting the RTC . . . . . | 531 |
| 22.3.9 | RTC synchronization . . . . . | 531 |
| 22.3.10 | RTC smooth digital calibration . . . . . | 532 |
| 22.3.11 | Time-stamp function . . . . . | 534 |
| 22.3.12 | Tamper detection . . . . . | 535 |
| 22.3.13 | Calibration clock output . . . . . | 537 |
| 22.3.14 | Alarm output . . . . . | 537 |
| 22.4 | RTC low power modes . . . . . | 538 |
| 22.5 | RTC interrupts . . . . . | 538 |
| 22.6 | RTC registers ..... | 539 |
| 22.6.1 | RTC time register (RTC_TR) ..... | 539 |
| 22.6.2 | RTC date register (RTC_DR) ..... | 540 |
| 22.6.3 | RTC control register (RTC_CR) ..... | 541 |
| 22.6.4 | RTC initialization and status register (RTC_ISR) ..... | 544 |
| 22.6.5 | RTC prescaler register (RTC_PRER) ..... | 547 |
| 22.6.6 | RTC wakeup timer register (RTC_WUTR) ..... | 548 |
| 22.6.7 | RTC alarm A register (RTC_ALRMAR) ..... | 549 |
| 22.6.8 | RTC write protection register (RTC_WPR) ..... | 550 |
| 22.6.9 | RTC sub second register (RTC_SSR) ..... | 550 |
| 22.6.10 | RTC shift control register (RTC_SHIFTR) ..... | 551 |
| 22.6.11 | RTC timestamp time register (RTC_TSTR) ..... | 552 |
| 22.6.12 | RTC timestamp date register (RTC_TSDR) ..... | 553 |
| 22.6.13 | RTC time-stamp sub second register (RTC_TSSSR) ..... | 553 |
| 22.6.14 | RTC calibration register (RTC_CALR) ..... | 554 |
| 22.6.15 | RTC_TAMPCR register (RTC_TAMPCR) ..... | 555 |
| 22.6.16 | RTC alarm A sub second register (RTC_ALRMASSR) ..... | 557 |
| 22.6.17 | RTC option register (RTC_OR) ..... | 558 |
| 22.6.18 | RTC backup registers (RTC_BKPxR) ..... | 559 |
| 22.7 | RTC register map ..... | 560 |
| 23 | Independent watchdog (IWDG) ..... | 562 |
| 23.1 | Introduction ..... | 562 |
| 23.2 | IWDG main features ..... | 562 |
| 23.3 | IWDG functional description ..... | 562 |
| 23.3.1 | Window option ..... | 562 |
| 23.3.2 | Register access protection ..... | 563 |
| 23.3.3 | Debug mode ..... | 564 |
| 23.4 | IWDG registers ..... | 564 |
| 23.4.1 | Key register (IWDG_KR) ..... | 564 |
| 23.4.2 | Prescaler register (IWDG_PR) ..... | 565 |
| 23.4.3 | Reload register (IWDG_RLR) ..... | 566 |
| 23.4.4 | Status register (IWDG_SR) ..... | 567 |
| 23.4.5 | Window register (IWDG_WINR) ..... | 568 |
| 23.5 | IWDG register map ..... | 569 |
| 24 | Inter-integrated circuit (I2C) interface | 570 |
| 24.1 | Introduction | 570 |
| 24.2 | I2C main features | 570 |
| 24.3 | I2C implementation | 571 |
| 24.4 | I2C functional description | 571 |
| 24.4.1 | I2C block diagram | 572 |
| 24.4.2 | I2C clock requirements | 573 |
| 24.4.3 | Mode selection | 573 |
| 24.4.4 | I2C initialization | 575 |
| 24.4.5 | Software reset | 579 |
| 24.4.6 | Data transfer | 579 |
| 24.4.7 | I2C target mode | 582 |
| 24.4.8 | I2C controller mode | 590 |
| 24.4.9 | I2C_TIMINGR register configuration examples | 602 |
| 24.4.10 | SMBus specific features | 602 |
| 24.4.11 | SMBus initialization | 605 |
| 24.4.12 | SMBus: I2C_TIMEOUTR register configuration examples | 607 |
| 24.4.13 | SMBus target mode | 608 |
| 24.4.14 | Error conditions | 614 |
| 24.4.15 | DMA requests | 615 |
| 24.5 | I2C interrupts | 616 |
| 24.6 | I2C registers | 618 |
| 24.6.1 | Control register 1 (I2C_CR1) | 618 |
| 24.6.2 | Control register 2 (I2C_CR2) | 621 |
| 24.6.3 | Own address 1 register (I2C_OAR1) | 624 |
| 24.6.4 | Own address 2 register (I2C_OAR2) | 625 |
| 24.6.5 | Timing register (I2C_TIMINGR) | 626 |
| 24.6.6 | Timeout register (I2C_TIMEOUTR) | 627 |
| 24.6.7 | Interrupt and status register (I2C_ISR) | 628 |
| 24.6.8 | Interrupt clear register (I2C_ICR) | 630 |
| 24.6.9 | PEC register (I2C_PECR) | 631 |
| 24.6.10 | Receive data register (I2C_RXDR) | 632 |
| 24.6.11 | Transmit data register (I2C_TXDR) | 632 |
| 24.7 | I2C register map | 633 |
| 25 | Universal synchronous asynchronous receiver transmitter (USART) ..... | 635 |
| 25.1 | USART introduction ..... | 635 |
| 25.2 | USART main features ..... | 636 |
| 25.3 | USART extended features ..... | 637 |
| 25.4 | USART implementation ..... | 637 |
| 25.5 | USART functional description ..... | 638 |
| 25.5.1 | USART character description ..... | 639 |
| 25.5.2 | FIFOs and thresholds ..... | 641 |
| 25.5.3 | Transmitter ..... | 642 |
| 25.5.4 | Receiver ..... | 646 |
| 25.5.5 | Baud rate generation ..... | 652 |
| 25.5.6 | Tolerance of the USART receiver to clock deviation ..... | 653 |
| 25.5.7 | Auto baud rate detection ..... | 654 |
| 25.5.8 | Multiprocessor communication ..... | 655 |
| 25.5.9 | Modbus communication ..... | 657 |
| 25.5.10 | Parity control ..... | 658 |
| 25.5.11 | LIN (local interconnection network) mode ..... | 659 |
| 25.5.12 | USART synchronous mode ..... | 661 |
| 25.5.13 | Single-wire half-duplex communication ..... | 665 |
| 25.5.14 | Receiver Timeout ..... | 665 |
| 25.5.15 | Smartcard mode ..... | 665 |
| 25.5.16 | IrDA SIR ENDEC block ..... | 670 |
| 25.5.17 | Continuous communication using DMA ..... | 672 |
| 25.5.18 | RS232 Hardware flow control and RS485 Driver Enable ..... | 675 |
| 25.6 | USART interrupts ..... | 677 |
| 25.7 | USART registers ..... | 678 |
| 25.7.1 | Control register 1 (USARTx_CR1) ..... | 678 |
| 25.7.2 | Control register 2 (USARTx_CR2) ..... | 681 |
| 25.7.3 | Control register 3 (USARTx_CR3) ..... | 686 |
| 25.7.4 | Baud rate register (USARTx_BRR) ..... | 690 |
| 25.7.5 | Guard time and prescaler register (USARTx_GTPR) ..... | 691 |
| 25.7.6 | Receiver timeout register (USARTx_RTOR) ..... | 692 |
| 25.7.7 | Request register (USARTx_RQR) ..... | 693 |
| 25.7.8 | Interrupt & status register (USARTx_ISR) ..... | 694 |
| 25.7.9 | Interrupt flag clear register (USARTx_ICR) ..... | 700 |
| 25.7.10 | Receive data register (USART_RDR) ..... | 701 |
| 25.7.11 | Transmit data register (USART_TDR) ..... | 701 |
| 25.7.12 | Prescaler register (USARTx_PRESC) ..... | 702 |
| 25.8 | USART register map ..... | 703 |
| 26 | Low power universal asynchronous receiver transmitter (LPUART) 705 | |
| 26.1 | LPUART introduction ..... | 705 |
| 26.2 | LPUART main features ..... | 706 |
| 26.3 | LPUART functional description ..... | 707 |
| 26.3.1 | LPUART character description ..... | 708 |
| 26.3.2 | FIFOs and thresholds ..... | 710 |
| 26.3.3 | Transmitter ..... | 711 |
| 26.3.4 | Receiver ..... | 714 |
| 26.3.5 | Baud rate generation ..... | 718 |
| 26.3.6 | Multiprocessor communication ..... | 719 |
| 26.3.7 | Parity control ..... | 721 |
| 26.3.8 | Single-wire half-duplex communication ..... | 722 |
| 26.3.9 | Continuous communication using DMA ..... | 722 |
| 26.3.10 | RS232 Hardware flow control and RS485 Driver Enable ..... | 725 |
| 26.3.11 | Wakeup from Deepstop mode ..... | 728 |
| 26.4 | LPUART interrupts ..... | 730 |
| 26.5 | LPUART registers ..... | 732 |
| 26.5.1 | Control register 1 (LPUART_CR1) ..... | 732 |
| 26.5.2 | Control register 2 (LPUART_CR2) ..... | 735 |
| 26.5.3 | Control register 3 (LPUART_CR3) ..... | 737 |
| 26.5.4 | Baud rate register (LPUART_BRR) ..... | 740 |
| 26.5.5 | Request register (LPUART_RQR) ..... | 741 |
| 26.5.6 | Interrupt & status register (LPUART_ISR) ..... | 741 |
| 26.5.7 | Interrupt flag clear register (LPUART_ICR) ..... | 746 |
| 26.5.8 | Receive data register (LPUART_RDR) ..... | 747 |
| 26.5.9 | Transmit data register (LPUART_TDR) ..... | 747 |
| 26.5.10 | Prescaler register (LPUART_PRESC) ..... | 748 |
| 26.5.11 | LPUART register map ..... | 749 |
| 27 | Serial peripheral interface / inter-IC sound (SPI/I2S) ..... | 750 |
| 27.1 | Introduction ..... | 750 |
| 27.2 | SPI main features . . . . . | 751 |
| 27.3 | I2S main features . . . . . | 752 |
| 27.4 | SPI/I2S implementation . . . . . | 752 |
| 27.5 | SPI functional description . . . . . | 753 |
| 27.5.1 | General description . . . . . | 753 |
| 27.5.2 | Communications between one master and one slave . . . . . | 754 |
| 27.5.3 | Standard multi-slave communication . . . . . | 756 |
| 27.5.4 | Slave select (NSS) pin management . . . . . | 757 |
| 27.5.5 | Communication formats . . . . . | 759 |
| 27.5.6 | Configuration of SPI . . . . . | 761 |
| 27.5.7 | Procedure for enabling SPI . . . . . | 762 |
| 27.5.8 | Data transmission and reception procedures . . . . . | 762 |
| 27.5.9 | SPI status flags . . . . . | 772 |
| 27.5.10 | SPI error flags . . . . . | 773 |
| 27.5.11 | NSS pulse mode . . . . . | 774 |
| 27.5.12 | TI mode . . . . . | 774 |
| 27.5.13 | CRC calculation . . . . . | 775 |
| 27.6 | SPI interrupts . . . . . | 777 |
| 27.7 | I2S functional description . . . . . | 778 |
| 27.7.1 | I2S general description . . . . . | 778 |
| 27.7.2 | Supported audio protocols . . . . . | 779 |
| 27.7.3 | Clock generator . . . . . | 785 |
| 27.7.4 | I2S master mode . . . . . | 790 |
| 27.7.5 | I2S slave mode . . . . . | 791 |
| 27.7.6 | I2S error flags . . . . . | 793 |
| 27.7.7 | DMA features . . . . . | 794 |
| 27.8 | I2S interrupts . . . . . | 794 |
| 27.9 | SPI and I2S registers . . . . . | 795 |
| 27.9.1 | SPI control register 1 (SPIx_CR1) . . . . . | 795 |
| 27.9.2 | SPI control register 2 (SPIx_CR2) . . . . . | 797 |
| 27.9.3 | SPI status register (SPIx_SR) . . . . . | 800 |
| 27.9.4 | SPI data register (SPIx_DR) . . . . . | 802 |
| 27.9.5 | SPI CRC polynomial register (SPIx_CRCPR) . . . . . | 802 |
| 27.9.6 | SPI Rx CRC register (SPIx_RXCRCR) . . . . . | 803 |
| 27.9.7 | SPI Tx CRC register (SPIx_TXCRCR) . . . . . | 803 |
| 27.9.8 | SPIx_I2S configuration register (SPIx_I2SCFGR) . . . . . | 804 |
| 27.9.9 | SPIx_I2S prescaler register (SPIx_I2SPR) ..... | 806 |
| 27.10 | SPI/I2S register map ..... | 806 |
| 28 | Low power autonomous wakeup radio IP (LPAWUR) ..... | 808 |
| 28.1 | LPAWUR architecture overview ..... | 808 |
| 28.2 | Interfacing with the LPAWUR ..... | 809 |
| 28.2.1 | LPAWUR interrupt lines to the CPU ..... | 809 |
| 28.2.2 | LPAWUR interface with the power controller (PWR) ..... | 809 |
| 28.2.3 | LPAWUR interface with the reset and clock controller (RCC) ..... | 809 |
| 28.3 | Packet and protocol construction ..... | 810 |
| 28.3.1 | Data modulation and encoding ..... | 810 |
| 28.3.2 | Data rate ..... | 810 |
| 28.3.3 | Frame format ..... | 810 |
| 28.4 | LPAWUR IP register overview ..... | 813 |
| 28.4.1 | Register organization ..... | 813 |
| 28.5 | LPAWUR retained register descriptions ..... | 815 |
| 28.5.1 | FRAME_CONFIG0 register (FRAME_CONFIG0) ..... | 815 |
| 28.5.2 | FRAME_CONFIG1 register (FRAME_CONFIG1) ..... | 817 |
| 28.5.3 | FRAME_SYNC_CONFIG register (FRAME_SYNC_CONFIG) ..... | 818 |
| 28.5.4 | RFIP_CONFIG register (RFIP_CONFIG) ..... | 818 |
| 28.5.5 | RF_CONFIG register (RF_CONFIG) ..... | 819 |
| 28.5.6 | AGC_CONFIG register (AGC_CONFIG) ..... | 821 |
| 28.5.7 | PAYLOAD_0 register (PAYLOAD_0) ..... | 822 |
| 28.5.8 | PAYLOAD_1 register (PAYLOAD_1) ..... | 822 |
| 28.5.9 | LPAWUR retained register summary ..... | 823 |
| 28.6 | LPAWUR switchable register descriptions ..... | 825 |
| 28.6.1 | LPAWUR switchable register descriptions RFIP_VERSION register (RFIP_VERSION) ..... | 826 |
| 28.6.2 | IRQ_ENABLE register (IRQ_ENABLE) ..... | 827 |
| 28.6.3 | STATUS register (STATUS) ..... | 828 |
| 28.6.4 | LPAWUR register summary ..... | 829 |
| 28.7 | Radio controller ..... | 830 |
| 28.7.1 | Radio controller sequencing ..... | 830 |
| 28.7.2 | Wakeup event management ..... | 831 |
| 28.7.3 | Sleep management ..... | 831 |
| 28.7.4 | Recommended register values ..... | 832 |
| 29 | Sub-GHz radio IP (MRSUBG) | 833 |
| 29.1 | Overview | 833 |
| 29.1.1 | MR_SubG IP overview | 833 |
| 29.1.2 | Miscellaneous feature: control of an external components through pads of the SoC | 834 |
| 29.2 | Interfacing with the MR_SubG IP | 836 |
| 29.2.1 | Interrupt lines to the CPU | 836 |
| 29.2.2 | Interface with the RAM embedded in the SoC | 836 |
| 29.2.3 | Interface with the power, clock and reset controllers | 837 |
| 29.2.4 | Interface with the SoC for busy information | 837 |
| 29.2.5 | Signals connected to SoC GPIOs | 838 |
| 29.3 | Packet and protocol construction | 838 |
| 29.3.1 | Packet structure | 839 |
| 29.3.2 | Sequence transformation and data coding | 844 |
| 29.3.3 | Protocols | 850 |
| 29.3.4 | Transmission and reception modes | 863 |
| 29.3.5 | Transmission modes | 864 |
| 29.3.6 | Reception modes | 866 |
| 29.3.7 | TX power control and configuration information | 872 |
| 29.3.8 | Guidelines on registers configuration for standard RF | 874 |
| 29.4 | Global registers | 878 |
| 29.4.1 | Register organization | 878 |
| 29.5 | STATIC_REG_BLOCK register descriptions | 879 |
| 29.5.1 | PCKT_CONFIG register (PCKT_CONFIG) | 880 |
| 29.5.2 | SYNC register (SYNC) | 882 |
| 29.5.3 | SEC_SYNC register (SEC_SYNC) | 882 |
| 29.5.4 | CRC_INIT register (CRC_INIT) | 883 |
| 29.5.5 | PCKT_CTRL register (PCKT_CTRL) | 884 |
| 29.5.6 | DATABUFFER0_PTR register (DATABUFFER0_PTR) | 886 |
| 29.5.7 | DATABUFFER1_PTR register (DATABUFFER1_PTR) | 887 |
| 29.5.8 | DATABUFFER_SIZE register (DATABUFFER_SIZE) | 887 |
| 29.5.9 | PA_LEVEL_3_0 register (PA_LEVEL_3_0) | 888 |
| 29.5.10 | PA_LEVEL_7_4 register (PA_LEVEL_7_4) | 889 |
| 29.5.11 | PA_CONFIG register (PA_CONFIG) | 890 |
| 29.5.12 | IF_CTRL register (IF_CTRL) | 891 |
| 29.5.13 | AS_QI_CTRL register (AS_QI_CTRL) | 892 |
| 29.5.14 | IQC_CONFIG register (IQC_CONFIG) | 893 |
| 29.5.15 | DSSS_CTRL register (DSSS_CTRL) ..... | 894 |
| 29.5.16 | STATIC_REG_BLOCK register map ..... | 895 |
| 29.6 | DYNAMIC_REG_BLOCK register descriptions ..... | 897 |
| 29.6.1 | PCKTLEN_CONFIG register (PCKTLEN_CONFIG) ..... | 898 |
| 29.6.2 | MOD0_CONFIG register (MOD0_CONFIG) ..... | 899 |
| 29.6.3 | MOD1_CONFIG register (MOD1_CONFIG) ..... | 900 |
| 29.6.4 | SYNTH_FREQ register (SYNTH_FREQ) ..... | 901 |
| 29.6.5 | VCO_CAL_CONFIG register (VCO_CAL_CONFIG) ..... | 902 |
| 29.6.6 | RX_TIMER register (RX_TIMER) ..... | 903 |
| 29.6.7 | DATABUFFER_THR register (DATABUFFER_THR) ..... | 904 |
| 29.6.8 | RFSEQ_IRQ_ENABLE register (RFSEQ_IRQ_ENABLE) ..... | 905 |
| 29.6.9 | ADDITIONAL_CTRL register (ADDITIONAL_CTRL) ..... | 907 |
| 29.6.10 | FAST_RX_TIMER register (FAST_RX_TIMER) ..... | 908 |
| 29.6.11 | COMMAND register (COMMAND) ..... | 909 |
| 29.6.12 | DYNAMIC_REG_BLOCK register map ..... | 910 |
| 29.7 | READ-ONLY_REG_BLOCK register descriptions ..... | 912 |
| 29.7.1 | RFSEQ_IRQ_STATUS register (RFSEQ_IRQ_STATUS) ..... | 913 |
| 29.7.2 | RFSEQ_STATUS_DETAIL register (RFSEQ_STATUS_DETAIL) .... | 915 |
| 29.7.3 | RADIO_FSM_INFO register (RADIO_FSM_INFO) ..... | 916 |
| 29.7.4 | RX_INDICATOR register (RX_INDICATOR) ..... | 917 |
| 29.7.5 | RX_INFO_REG register (RX_INFO_REG) ..... | 917 |
| 29.7.6 | RX_CRC_REG register (RX_CRC_REG) ..... | 918 |
| 29.7.7 | QI_INFO register (QI_INFO) ..... | 918 |
| 29.7.8 | DATABUFFER_INFO register (DATABUFFER_INFO) ..... | 919 |
| 29.7.9 | TIME_CAPTURE register (TIME_CAPTURE) ..... | 920 |
| 29.7.10 | IQC_CORRECTION_OUT register (IQC_CORRECTION_OUT) .... | 920 |
| 29.7.11 | PA_SAFEASK_OUT register (PA_SAFEASK_OUT) ..... | 921 |
| 29.7.12 | VCO_CALIB_OUT register (VCO_CALIB_OUT) ..... | 922 |
| 29.7.13 | SEQ_INFO register (SEQ_INFO) ..... | 923 |
| 29.7.14 | SEQ_EVENT_STATUS register (SEQ_EVENT_STATUS) ..... | 924 |
| 29.7.15 | READ-ONLY_REG_BLOCK register map and reset values ..... | 925 |
| 29.8 | MISC_REG_BLOCK register descriptions ..... | 927 |
| 29.8.1 | RFIP_VERSION register (RFIP_VERSION) ..... | 928 |
| 29.8.2 | RRM_UDRA_CTRL register (RRM_UDRA_CTRL) ..... | 929 |
| 29.8.3 | SEQUENCER_CTRL register (SEQUENCER_CTRL) ..... | 930 |
| 29.8.4 | ABSOLUTE_TIME register (ABSOLUTE_TIME) ..... | 931 |
| 29.8.5 | SCM_COUNTER_VAL register (SCM_COUNTER_VAL) ..... | 931 |
| 29.8.6 | SCM_MIN_MAX register (SCM_MIN_MAX) ..... | 932 |
| 29.8.7 | WAKEUP_IRQ_STATUS register (WAKEUP_IRQ_STATUS) ..... | 933 |
| 29.8.8 | MISC_REG_BLOCK register map ..... | 934 |
| 29.9 | RETAINED_REG_BLOCK register descriptions ..... | 935 |
| 29.9.1 | RFIP_WAKEUPTIME register (RFIP_WAKEUPTIME) ..... | 935 |
| 29.9.2 | CPU_WAKEUPTIME register (CPU_WAKEUPTIME) ..... | 936 |
| 29.9.3 | WAKEUP_CTRL register (WAKEUP_CTRL) ..... | 937 |
| 29.9.4 | RRM_CMDLIST_PTR register (RRM_CMDLIST_PTR) ..... | 938 |
| 29.9.5 | SEQ_GLOBALTABLE_PTR register (SEQ_GLOBALTABLE_PTR) .. | 938 |
| 29.9.6 | RETAINED_REG_BLOCK register map ..... | 939 |
| 29.10 | Radio register descriptions ..... | 939 |
| 29.10.1 | Radio register overview ..... | 940 |
| 29.10.2 | RF_FSM0_TIMEOUT register (RF_FSM0_TIMEOUT) ..... | 943 |
| 29.10.3 | RF_FSM1_TIMEOUT register (RF_FSM1_TIMEOUT) ..... | 943 |
| 29.10.4 | RF_FSM2_TIMEOUT register (RF_FSM2_TIMEOUT) ..... | 944 |
| 29.10.5 | RF_FSM3_TIMEOUT register (RF_FSM3_TIMEOUT) ..... | 944 |
| 29.10.6 | RF_FSM4_TIMEOUT register (RF_FSM4_TIMEOUT) ..... | 945 |
| 29.10.7 | RF_FSM5_TIMEOUT register (RF_FSM5_TIMEOUT) ..... | 945 |
| 29.10.8 | RF_FSM6_TIMEOUT register (RF_FSM6_TIMEOUT) ..... | 946 |
| 29.10.9 | RF_FSM7_TIMEOUT register (RF_FSM7_TIMEOUT) ..... | 946 |
| 29.10.10 | AFC0_CONFIG register (AFC0_CONFIG) ..... | 947 |
| 29.10.11 | AFC1_CONFIG register (AFC1_CONFIG) ..... | 947 |
| 29.10.12 | AFC2_CONFIG register (AFC2_CONFIG) ..... | 948 |
| 29.10.13 | AFC3_CONFIG register (AFC3_CONFIG) ..... | 949 |
| 29.10.14 | CLKREC_CTRL0 register (CLKREC_CTRL0) ..... | 950 |
| 29.10.15 | CLKREC_CTRL1 register (CLKREC_CTRL1) ..... | 951 |
| 29.10.16 | DCREM_CTRL0 register (DCREM_CTRL0) ..... | 952 |
| 29.10.17 | DCREM_CTRL1 register (DCREM_CTRL1) ..... | 952 |
| 29.10.18 | IQC_CTRL0 register (IQC_CTRL0) ..... | 953 |
| 29.10.19 | IQC_CTRL1 register (IQC_CTRL1) ..... | 953 |
| 29.10.20 | IQC_CTRL2 register (IQC_CTRL2) ..... | 954 |
| 29.10.21 | IQC_CTRL3 register (IQC_CTRL3) ..... | 954 |
| 29.10.22 | AGC_ANA_ENG register (AGC_ANA_ENG) ..... | 955 |
| 29.10.23 | AGC0_CTRL register (AGC0_CTRL) ..... | 956 |
| 29.10.24 | AGC1_CTRL register (AGC1_CTRL) ..... | 956 |
| 29.10.25 | AGC2_CTRL register (AGC2_CTRL) ..... | 957 |
| 29.10.26 | AGC3_CTRL register (AGC3_CTRL) ..... | 958 |
| 29.10.27 | AGC4_CTRL register (AGC4_CTRL) | 958 |
| 29.10.28 | AGC_ATTEN0 register (AGC_ATTEN0) | 959 |
| 29.10.29 | AGC_ATTEN1 register (AGC_ATTEN1) | 960 |
| 29.10.30 | AGC_ATTEN2 register (AGC_ATTEN2) | 961 |
| 29.10.31 | AGC_ATTEN3 register (AGC_ATTEN3) | 962 |
| 29.10.32 | AGC_ATTEN4 register (AGC_ATTEN4) | 963 |
| 29.10.33 | AGC_ATTEN5 register (AGC_ATTEN5) | 964 |
| 29.10.34 | AGC_ATTEN6 register (AGC_ATTEN6) | 965 |
| 29.10.35 | AGC_ATTEN7 register (AGC_ATTEN7) | 966 |
| 29.10.36 | AGC_ATTEN8 register (AGC_ATTEN8) | 967 |
| 29.10.37 | AGC_ATTEN9 register (AGC_ATTEN9) | 968 |
| 29.10.38 | AGC1_ATTEN_TRIM register (AGC1_ATTEN_TRIM) | 969 |
| 29.10.39 | AGC2_ATTEN_TRIM register (AGC2_ATTEN_TRIM) | 969 |
| 29.10.40 | AGC3_ATTEN_TRIM register (AGC3_ATTEN_TRIM) | 970 |
| 29.10.41 | AGC4_ATTEN_TRIM register (AGC4_ATTEN_TRIM) | 970 |
| 29.10.42 | AGC_PGA_HWTRIM_OUT register (AGC_PGA_HWTRIM_OUT) | 971 |
| 29.10.43 | PA_REG register (PA_REG) | 971 |
| 29.10.44 | PA_HWTRIM_OUT register (PA_HWTRIM_OUT) | 972 |
| 29.10.45 | RSSI_FLT register (RSSI_FLT) | 973 |
| 29.10.46 | RXADC_HWDELAYTRIM_OUT register (RXADC_HWDELAYTRIM_OUT) | 974 |
| 29.10.47 | RX_AAF_HWTRIM_OUT register (RX_AAF_HWTRIM_OUT) | 974 |
| 29.10.48 | SINGEN_ANA_ENG register (SINGEN_ANA_ENG) | 975 |
| 29.10.49 | RF_INFO_OUT register (RF_INFO_OUT) | 976 |
| 29.10.50 | RF_FSM8_TIMEOUT register (RF_FSM8_TIMEOUT) | 977 |
| 29.10.51 | RF_FSM9_TIMEOUT register (RF_FSM9_TIMEOUT) | 977 |
| 29.10.52 | RF_FSM10_TIMEOUT register (RF_FSM10_TIMEOUT) | 978 |
| 29.10.53 | SUBG_DIG_CTRL0 register (SUBG_DIG_CTRL0) | 978 |
| 29.10.54 | RADIO_REG_REG_BLOCK register map | 979 |
| 29.10.55 | Notes for 169 MHz configuration | 986 |
| 29.11 | Receive block | 987 |
| 29.11.1 | Automatic gain control (AGC) | 988 |
| 29.11.2 | DC removal block | 992 |
| 29.11.3 | I/Q mismatch compensation | 993 |
| 29.11.4 | RSSI | 996 |
| 29.11.5 | Carrier sense | 997 |
| 29.11.6 | Antenna switching | 998 |
| 29.11.7 | Automatic frequency compensation (AFC) ..... | 999 |
| 29.11.8 | Symbol timing recovery ..... | 1001 |
| 29.12 | Radio register manager (RRM) ..... | 1002 |
| 29.12.1 | Overview ..... | 1002 |
| 29.12.2 | UDRA ..... | 1003 |
| 29.12.3 | Direct APB access ..... | 1007 |
| 29.12.4 | RRM arbiter ..... | 1007 |
| 29.13 | Radio FSM ..... | 1007 |
| 29.13.1 | Radio FSM sequence ..... | 1007 |
| 29.13.2 | Radio FSM states overview ..... | 1010 |
| 29.13.3 | Timeout durations used by the Radio FSM ..... | 1012 |
| 29.14 | Radio controller ..... | 1013 |
| 29.14.1 | Commands ..... | 1014 |
| 29.14.2 | BACK2ACTIVE2 and BACK2LOCKON bits ..... | 1020 |
| 29.14.3 | RX Timer ..... | 1021 |
| 29.14.4 | Fast RX termination ..... | 1023 |
| 29.14.5 | Hardware analog failure information ..... | 1023 |
| 29.14.6 | Time capture feature ..... | 1025 |
| 29.15 | Data buffers ..... | 1025 |
| 29.15.1 | Data buffer mechanism ..... | 1026 |
| 29.15.2 | Data buffer manager overview ..... | 1027 |
| 29.15.3 | Programming procedure ..... | 1029 |
| 29.15.4 | Error handling ..... | 1030 |
| 29.16 | Sequencer ..... | 1031 |
| 29.16.1 | Sequencer overview ..... | 1031 |
| 29.16.2 | Sequence description ..... | 1033 |
| 29.16.3 | Next action mask management ..... | 1036 |
| 29.16.4 | Sequencer RAM tables ..... | 1038 |
| 29.17 | GlobalConfiguration RAM table overview ..... | 1039 |
| 29.18 | GlobalConfiguration RAM table register descriptions ..... | 1041 |
| 29.18.1 | Word 0 register (WORD0) ..... | 1041 |
| 29.18.2 | Word1 register (WORD1) ..... | 1042 |
| 29.18.3 | Word N register N = 2 to 16 (WORDN) ..... | 1043 |
| 29.19 | ActionConfiguration RAM table overview ..... | 1044 |
| 29.20 | ActionConfiguration RAM table register descriptions ..... | 1047 |
| 29.20.1 | Word 0 register (WORD0) ..... | 1047 |
| 29.20.2 | Word 1 register (WORD1) ..... | 1047 |
| 29.20.3 | Word 2 register (WORD2) ..... | 1048 |
| 29.20.4 | Word 3 register (WORD3) ..... | 1049 |
| 29.20.5 | Word 4 register (WORD4) ..... | 1050 |
| 29.20.6 | Word 5 register (WORD5) ..... | 1050 |
| 29.20.7 | Word 6 register (WORD6) ..... | 1051 |
| 29.20.8 | Word 7 register (WORD7) ..... | 1052 |
| 29.20.9 | Word 8 register (WORD8) ..... | 1053 |
| 29.20.10 | Word N register N = 2 to 16 (WORDN) ..... | 1053 |
| 29.21 | Time management unit (TMU) ..... | 1054 |
| 29.21.1 | Slow clock period measurement ..... | 1054 |
| 29.21.2 | Time interpolation ..... | 1056 |
| 29.22 | Wakeup and sleep management ..... | 1057 |
| 29.22.1 | Sleep management ..... | 1057 |
| 29.22.2 | Wakeup block ..... | 1057 |
| 29.23 | Uses-cases: examples of scenarios with the Sequencer ..... | 1060 |
| 29.23.1 | Reception with auto-acknowledge ..... | 1060 |
| 29.23.2 | Sniff mode ..... | 1063 |
| 29.23.3 | Listen before talk (LBT) ..... | 1066 |
| 30 | Debug support (DBG) ..... | 1070 |
| 30.1 | SWD debug features ..... | 1070 |
| 30.2 | MCU debug component (DBG) ..... | 1070 |
| 30.2.1 | Debug support for low-power modes ..... | 1071 |
| 30.2.2 | Debug support for timers, watchdog and I2C ..... | 1071 |
| 30.3 | DBG registers ..... | 1071 |
| 30.3.1 | DBG configuration register (DBG_CR) ..... | 1071 |
| 30.3.2 | DBG APB0 freeze register (DBG_APB0_FZ) ..... | 1073 |
| 30.3.3 | DBG APB1 freeze register (DBG_APB1_FZ) ..... | 1074 |
| 30.4 | DBG register map ..... | 1075 |
| 31 | Device electronic signature (DESIG) ..... | 1076 |
| 31.1 | DESIG registers ..... | 1076 |
| 31.1.1 | Unique device ID register 1 (UID64_R1) ..... | 1076 |
| 31.1.2 | Unique device ID register 2 (UID64_R2) ..... | 1076 |
| Table 1. | List of acronyms ..... | 40 |
| Table 2. | Document references ..... | 43 |
| Table 3. | Memory map and peripheral register boundary addresses ..... | 48 |
| Table 4. | SRAM0 reserved locations ..... | 50 |
| Table 5. | Address remapping depending on the REMAP bit ..... | 50 |
| Table 6. | Address remapping depending on REMAP bit ..... | 51 |
| Table 7. | Interrupt vectors ..... | 52 |
| Table 8. | GPIO alternate options AF0 - AF3 ..... | 58 |
| Table 9. | GPIO alternate options AF4 - AF6 ..... | 60 |
| Table 10. | I/O Analog feature mapping ..... | 62 |
| Table 11. | I/O Additional function mapping ..... | 63 |
| Table 12. | SMPS BOM information ..... | 76 |
| Table 13. | PWR register map and reset values ..... | 104 |
| Table 14. | Flags versus CPU reboot reason ..... | 107 |
| Table 15. | Wakeup reason flags ..... | 108 |
| Table 16. | System clock versus Radio IPs clock dependency ..... | 114 |
| Table 17. | RCC register map and reset values ..... | 151 |
| Table 18. | Port bit configuration table ..... | 159 |
| Table 19. | GPIO register map and reset values ..... | 180 |
| Table 20. | SYSCFG register map and reset values ..... | 199 |
| Table 21. | Flash memory section address ..... | 203 |
| Table 22. | Command list available for customer ..... | 204 |
| Table 23. | Flash size information ..... | 209 |
| Table 24. | Flash controller register map and reset values ..... | 215 |
| Table 25. | System memory protection ..... | 219 |
| Table 26. | Programmable data width and endian behavior (when PINC=MINC=1 and NDT=4) ..... | 225 |
| Table 27. | DMA interrupt requests ..... | 227 |
| Table 28. | DMA register map and reset values ..... | 234 |
| Table 29. | DMAMUX instantiation ..... | 237 |
| Table 30. | DMAMUX: assignment of multiplexer inputs to resource ..... | 238 |
| Table 31. | DMAMUX register map and reset values ..... | 241 |
| Table 32. | ADC interrupt requests ..... | 248 |
| Table 33. | ADC DTB configuration details ..... | 266 |
| Table 34. | ADC register map and reset values ..... | 266 |
| Table 35. | Comparator behavior in the low power modes ..... | 272 |
| Table 36. | COMP register map and reset values ..... | 275 |
| Table 37. | DAC register map and reset values ..... | 285 |
| Table 38. | LCSC register map and reset values ..... | 304 |
| Table 39. | Example of frame rate calculation ..... | 309 |
| Table 40. | Blink frequency ..... | 317 |
| Table 41. | LCD behavior in low power modes ..... | 321 |
| Table 42. | Remapping capability ..... | 322 |
| Table 43. | LCD interrupt requests ..... | 324 |
| Table 44. | LCD register map and reset values ..... | 332 |
| Table 45. | RNG register list ..... | 335 |
| Table 46. | RNG_CR register description ..... | 335 |
| Table 47. | RNG_SR register description ..... | 336 |
| Table 48. | RNG_VAL register description ..... | 336 |
| Table 49. | AES internal input/output signals . . . . . | 338 |
| Table 50. | CTR mode initialization vector definition . . . . . | 355 |
| Table 51. | GCM last block definition . . . . . | 357 |
| Table 52. | Initialization of AES_IVRx registers in GCM mode . . . . . | 358 |
| Table 53. | Initialization of AES_IVRx registers in CCM mode . . . . . | 365 |
| Table 54. | Key endianness in AES_KEYRx registers (128- or 256-bit key length) . . . . . | 370 |
| Table 55. | AES interrupt requests . . . . . | 373 |
| Table 56. | Processing latency for ECB, CBC and CTR . . . . . | 373 |
| Table 57. | Processing latency for GCM and CCM (in clock cycles) . . . . . | 374 |
| Table 58. | AES register map and reset values . . . . . | 387 |
| Table 59. | CRC register map and reset values . . . . . | 395 |
| Table 60. | Counting direction versus encoder signals . . . . . | 427 |
| Table 61. | Output control bits for OCx channels . . . . . | 457 |
| Table 62. | TIM2 register map and reset values . . . . . | 465 |
| Table 63. | Break protection disarming conditions . . . . . | 487 |
| Table 64. | TIM16 internal trigger connection . . . . . | 503 |
| Table 65. | Output control bits for complementary OCx and OCxN channels with break feature . . . . . | 513 |
| Table 66. | TIM16 register map and reset values . . . . . | 523 |
| Table 67. | RTC register map and reset values . . . . . | 560 |
| Table 68. | IWDG register map and reset values . . . . . | 569 |
| Table 69. | I2C implementation . . . . . | 571 |
| Table 70. | I2C-SMBUS specification data setup and hold times . . . . . | 578 |
| Table 71. | I2C configuration table . . . . . | 581 |
| Table 72. | I2C-SMBUS specification clock timings . . . . . | 592 |
| Table 73. | Examples of timings settings for fI2CCLK = 16 MHz . . . . . | 602 |
| Table 74. | SMBus timeout specifications . . . . . | 604 |
| Table 75. | SMBUS with PEC configuration . . . . . | 606 |
| Table 76. | Examples of TIMEOUTA settings (max tTIMEOUT = 25 ms) . . . . . | 607 |
| Table 77. | Example of TIMEOUTB settings . . . . . | 607 |
| Table 78. | Example of TIMEOUTA settings (max tIDLE = 50 μs) . . . . . | 607 |
| Table 79. | I2C Interrupt requests . . . . . | 616 |
| Table 80. | I2C register map and reset values . . . . . | 633 |
| Table 81. | USART / LPUART features . . . . . | 637 |
| Table 82. | Noise detection from sampled data . . . . . | 651 |
| Table 83. | Tolerance of the USART receiver when BRR [3:0] = 0000 (high-density devices) . . . . . | 654 |
| Table 84. | Tolerance of the USART receiver when BRR[3:0] is different from 0000 (high-density devices) . . . . . | 654 |
| Table 85. | Frame formats . . . . . | 658 |
| Table 86. | USART interrupt requests . . . . . | 677 |
| Table 87. | USART register map and reset values . . . . . | 703 |
| Table 88. | Error calculation for programmed baudrates at fck = 32,768 KHz . . . . . | 718 |
| Table 89. | Error calculation for programmed baudrates at fck = 16 MHz . . . . . | 719 |
| Table 90. | Frame formats . . . . . | 721 |
| Table 92. | LPUART interrupt requests . . . . . | 730 |
| Table 93. | LPUART register map and reset values . . . . . | 749 |
| Table 94. | SPI implementation . . . . . | 752 |
| Table 95. | SPI interrupt requests . . . . . | 777 |
| Table 96. | Audio frequency precision using I2SCLK = 64 MHz . . . . . | 787 |
| Table 97. | Audio frequency precision using I2SCLK = 32 MHz . . . . . | 788 |
| Table 98. | Audio frequency precision using I2SCLK = 16 MHz . . . . . | 789 |
| Table 99. | I2S interrupt requests . . . . . | 794 |
| Table 100. | SPI register map and reset values ..... | 806 |
| Table 101. | Register sub-group base address ..... | 813 |
| Table 102. | LPAWUR retained register list ..... | 815 |
| Table 103. | LPAWUR retained register map and reset values ..... | 823 |
| Table 104. | LPAWUR register list ..... | 825 |
| Table 105. | LPAWUR register map and reset values ..... | 829 |
| Table 106. | PREAMBLE pattern selection ..... | 839 |
| Table 107. | PHR frame ..... | 843 |
| Table 108. | 3-out-of-6 coding table ..... | 850 |
| Table 109. | Constellation mapping for 2-(G)FSK ..... | 852 |
| Table 110. | Constellation mapping for 4-(G)FSK ..... | 853 |
| Table 111. | DSSS codes ..... | 854 |
| Table 112. | PA Bessel filter programming ..... | 856 |
| Table 113. | Frequency bands ..... | 860 |
| Table 114. | Data rate range versus modulation ..... | 861 |
| Table 115. | Channel filter bandwidth (in kHz) programming ..... | 862 |
| Table 116. | TX mode summary ..... | 864 |
| Table 117. | RX mode summary ..... | 866 |
| Table 118. | Global registers sub-groups base address ..... | 878 |
| Table 119. | STATIC_REG_BLOCK register list ..... | 879 |
| Table 120. | STATIC_REG_BLOCK register map and reset values ..... | 895 |
| Table 121. | DYNAMIC_REG_BLOCK register list ..... | 897 |
| Table 122. | DYNAMIC_REG_BLOCK register map and reset values ..... | 910 |
| Table 123. | READ-ONLY_REG_BLOCK register list ..... | 912 |
| Table 124. | READ-ONLY_REG_BLOCK register map and reset values ..... | 925 |
| Table 125. | MISC_REG_BLOCK register list ..... | 927 |
| Table 126. | MISC_REG_BLOCK register map and reset values ..... | 934 |
| Table 127. | RETAINED_REG_BLOCK register list ..... | 935 |
| Table 128. | RETAINED_REG_BLOCK register map and reset values ..... | 939 |
| Table 129. | RADIO_REG_BLOCK register list ..... | 940 |
| Table 130. | RADIO_REG_BLOCK register map and reset values ..... | 979 |
| Table 131. | DC attenuation per sample versus the filter order n (for FSYS=16 MHz) ..... | 992 |
| Table 132. | IQC correction available configurations ..... | 994 |
| Table 133. | UDRA command format in RAM ..... | 1004 |
| Table 134. | Radio FSM state details ..... | 1010 |
| Table 135. | Timeout versus Radio FSM state exit ..... | 1012 |
| Table 136. | Command list ..... | 1014 |
| Table 137. | Concurrent command behavior overview ..... | 1015 |
| Table 138. | RX Timer duration versus slow clock frequency ..... | 1022 |
| Table 139. | DBM initial internal FIFO prefetch ..... | 1028 |
| Table 140. | Sequencer internal events bus overview ..... | 1037 |
| Table 141. | GlobalConfiguration RAM table ..... | 1040 |
| Table 142. | GlobalConfiguration RAM table registers ..... | 1041 |
| Table 143. | ActionConfiguration RAM table ..... | 1044 |
| Table 144. | ActionConfiguration RAM table registers list ..... | 1046 |
| Table 145. | DBG register map and reset values ..... | 1075 |
| Table 146. | Document revision history ..... | 1078 |
| Figure 1. | System architecture ..... | 45 |
| Figure 2. | Memory map ..... | 47 |
| Figure 3. | AHB up/down converter ..... | 56 |
| Figure 4. | Power supply domain overview ..... | 66 |
| Figure 5. | Power on reset/power down reset waveform ..... | 67 |
| Figure 6. | Power regulators and SMPS configuration in Run mode ..... | 69 |
| Figure 7. | Power regulators and SMPS configuration in Deepstop mode ..... | 72 |
| Figure 8. | Power regulators and SMPS configuration in Shutdown mode ..... | 74 |
| Figure 9. | PWR state machine for operating mode transitions ..... | 75 |
| Figure 10. | Power supply configuration ..... | 76 |
| Figure 11. | PWR SMPS state machine overview ..... | 77 |
| Figure 12. | Reset generation ..... | 109 |
| Figure 13. | System clock details ..... | 112 |
| Figure 14. | LCO / MCO output clocks ..... | 117 |
| Figure 15. | Basic structure of a mixed analog/digital five-volt tolerant I/O port bit ..... | 158 |
| Figure 16. | Basic structure of a digital only five-volt tolerant I/O port bit ..... | 159 |
| Figure 17. | Input floating/pull up/pull down configurations ..... | 163 |
| Figure 18. | Output configuration ..... | 164 |
| Figure 19. | Alternate function configuration ..... | 165 |
| Figure 20. | High impedance-analog configuration ..... | 165 |
| Figure 21. | DMAMUX block diagram ..... | 239 |
| Figure 22. | ADC top level diagram ..... | 244 |
| Figure 23. | ADC sampling time Tsw and sampling period Ts ..... | 246 |
| Figure 24. | Effect of analog source resistance ..... | 247 |
| Figure 25. | Comparator block diagram ..... | 269 |
| Figure 26. | Comparator hysteresis ..... | 270 |
| Figure 27. | Comparator output blanking ..... | 271 |
| Figure 28. | DAC block diagram ..... | 277 |
| Figure 29. | DAC LFSR register calculation algorithm ..... | 280 |
| Figure 30. | DAC triangle wave generation ..... | 280 |
| Figure 31. | LCSC block diagram ..... | 287 |
| Figure 32. | LCSC connection to DAC, COMP, VCMBUFF, GPIOs ..... | 288 |
| Figure 33. | LC oscillation damping ..... | 289 |
| Figure 34. | Tamper LCT ..... | 290 |
| Figure 35. | LCSC PB1, PA14, PB2, PB4 control timing ..... | 293 |
| Figure 36. | LCAB counters out-of-bound example ..... | 294 |
| Figure 37. | Wheel quarter status ..... | 295 |
| Figure 38. | LCD controller block diagram ..... | 308 |
| Figure 39. | 1/3 bias, 1/4 duty ..... | 310 |
| Figure 40. | Static duty ..... | 311 |
| Figure 41. | Static duty ..... | 312 |
| Figure 42. | 1/2 duty, 1/2 bias ..... | 313 |
| Figure 43. | 1/3 duty, 1/3 bias ..... | 314 |
| Figure 44. | 1/4 duty, 1/3 bias ..... | 315 |
| Figure 45. | 1/8 duty, 1/4 bias ..... | 316 |
| Figure 46. | VLCD pin for 1/2 1/3 1/4 bias ..... | 319 |
| Figure 47. | Deadtime ..... | 320 |
| Figure 48. | Flowchart example ..... | 323 |
| Figure 49. | AES block diagram . . . . . | 338 |
| Figure 50. | ECB encryption and decryption principle . . . . . | 340 |
| Figure 51. | CBC encryption and decryption principle . . . . . | 341 |
| Figure 52. | CTR encryption and decryption principle . . . . . | 342 |
| Figure 53. | GCM encryption and authentication principle . . . . . | 343 |
| Figure 54. | GMAC authentication principle . . . . . | 343 |
| Figure 55. | CCM encryption and authentication principle . . . . . | 344 |
| Figure 56. | Encryption key derivation for ECB/CBC decryption (Mode 2). . . . . | 347 |
| Figure 57. | Example of suspend mode management . . . . . | 348 |
| Figure 58. | ECB encryption . . . . . | 349 |
| Figure 59. | ECB decryption . . . . . | 349 |
| Figure 60. | CBC encryption . . . . . | 350 |
| Figure 61. | CBC decryption . . . . . | 350 |
| Figure 62. | ECB/CBC encryption (Mode 1). . . . . | 351 |
| Figure 63. | ECB/CBC decryption (Mode 3). . . . . | 352 |
| Figure 64. | Message construction in CTR mode. . . . . | 354 |
| Figure 65. | CTR encryption . . . . . | 355 |
| Figure 66. | CTR decryption . . . . . | 355 |
| Figure 67. | Message construction in GCM . . . . . | 357 |
| Figure 68. | GCM authenticated encryption . . . . . | 358 |
| Figure 69. | Message construction in GMAC mode . . . . . | 362 |
| Figure 70. | GMAC authentication mode . . . . . | 362 |
| Figure 71. | Message construction in CCM mode . . . . . | 363 |
| Figure 72. | CCM mode authenticated encryption . . . . . | 365 |
| Figure 73. | 128-bit block construction with respect to data swap . . . . . | 369 |
| Figure 74. | DMA transfer of a 128-bit data block during input phase . . . . . | 371 |
| Figure 75. | DMA transfer of a 128-bit data block during output phase . . . . . | 372 |
| Figure 76. | CRC calculation unit block diagram . . . . . | 390 |
| Figure 77. | General purpose timer block diagram. . . . . | 397 |
| Figure 78. | Counter timing diagram with prescaler division change from 1 to 2 . . . . . | 399 |
| Figure 79. | Counter timing diagram with prescaler division change from 1 to 4 . . . . . | 399 |
| Figure 80. | Counter timing diagram, internal clock divided by 1 . . . . . | 400 |
| Figure 81. | Counter timing diagram, internal clock divided by 2 . . . . . | 400 |
| Figure 82. | Counter timing diagram, internal clock divided by 4 . . . . . | 401 |
| Figure 83. | Counter timing diagram, internal clock divided by N. . . . . | 401 |
| Figure 84. | Counter timing diagram, update event when ARPE=0 (TIMx_ARR not preloaded). . . . . | 401 |
| Figure 85. | Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded). . . . . | 402 |
| Figure 86. | Counter timing diagram, internal clock divided by 1 . . . . . | 403 |
| Figure 87. | Counter timing diagram, internal clock divided by 2 . . . . . | 403 |
| Figure 88. | Counter timing diagram, internal clock divided by 4 . . . . . | 403 |
| Figure 89. | Counter timing diagram, internal clock divided by N. . . . . | 404 |
| Figure 90. | Counter timing diagram, update event when repetition counter is not used. . . . . | 404 |
| Figure 91. | Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6 . . . . . | 405 |
| Figure 92. | Counter timing diagram, internal clock divided by 2 . . . . . | 406 |
| Figure 93. | Counter timing diagram, internal clock divided by 4, TIMx_ARR=0x36 . . . . . | 406 |
| Figure 94. | Counter timing diagram, internal clock divided by N. . . . . | 406 |
| Figure 95. | Counter timing diagram, update event with ARPE=1 (counter underflow) . . . . . | 407 |
| Figure 96. | Counter timing diagram, Update event with ARPE=1 (counter overflow) . . . . . | 407 |
| Figure 97. | Update rate examples depending on mode and TIMx_RCR register settings . . . . . | 408 |
| Figure 98. | External trigger input block . . . . . | 409 |
| Figure 99. | TIM2 ETR input circuitry . . . . . | 409 |
| Figure 100. | Control circuit in normal mode, internal clock divided by 1 . . . . . | 410 |
| Figure 101. | TI2 external clock connection example. .... | 410 |
| Figure 102. | Control circuit in external clock mode 1 ..... | 411 |
| Figure 103. | External trigger input block ..... | 412 |
| Figure 104. | Control circuit in external clock mode 2 ..... | 412 |
| Figure 105. | Capture/compare channel (example: channel 1 input stage) ..... | 413 |
| Figure 106. | Capture/compare channel 1 main circuit ..... | 413 |
| Figure 107. | Output stage of capture/compare channel (channels 1, 2, 3, 4) ..... | 414 |
| Figure 108. | PWM input mode timing ..... | 416 |
| Figure 109. | Output compare mode, toggle on OC1 ..... | 417 |
| Figure 110. | Edge-aligned PWM waveforms (ARR=8) ..... | 419 |
| Figure 111. | Center-aligned PWM waveforms (ARR=8) ..... | 420 |
| Figure 112. | Generation of 2 phase-shifted PWM signals with 50% duty cycle ..... | 421 |
| Figure 113. | Combined PWM mode on channel 1 and 3 ..... | 422 |
| Figure 114. | Clearing TIMx OCxREF ..... | 423 |
| Figure 115. | Example of one pulse mode. .... | 424 |
| Figure 116. | Retrigerrable one pulse mode ..... | 426 |
| Figure 117. | Example of counter operation in encoder interface mode. .... | 427 |
| Figure 118. | Example of encoder interface mode with TI1FP1 polarity inverted. .... | 428 |
| Figure 119. | Measuring time interval between edges on 3 signals ..... | 429 |
| Figure 120. | Control circuit in reset mode ..... | 430 |
| Figure 121. | Control circuit in gated mode ..... | 430 |
| Figure 122. | Control circuit in trigger mode. .... | 431 |
| Figure 123. | Control circuit in external clock mode 2 + trigger mode ..... | 432 |
| Figure 124. | Master/slave timers example ..... | 433 |
| Figure 125. | Gating TIM16 with OC1REF of TIM2 ..... | 434 |
| Figure 126. | Gating TIM16 with Enable of TIM2 ..... | 435 |
| Figure 127. | Triggering TIM16 with update of TIM2 ..... | 435 |
| Figure 128. | Triggering TIM16 with Enable of TIM2 ..... | 436 |
| Figure 129. | TIM16 block diagram ..... | 468 |
| Figure 130. | Counter timing diagram with prescaler division change from 1 to 2 ..... | 470 |
| Figure 131. | Counter timing diagram with prescaler division change from 1 to 4 ..... | 470 |
| Figure 132. | Counter timing diagram, internal clock divided by 1 ..... | 471 |
| Figure 133. | Counter timing diagram, internal clock divided by 2 ..... | 472 |
| Figure 134. | Counter timing diagram, internal clock divided by 4 ..... | 472 |
| Figure 135. | Counter timing diagram, internal clock divided by N. .... | 472 |
| Figure 136. | Counter timing diagram, update event when ARPE=0 (TIMx_ARR not preloaded). .... | 473 |
| Figure 137. | Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded). .... | 473 |
| Figure 138. | Update rate examples depending on mode and TIMx_RCR register settings ..... | 474 |
| Figure 139. | Control circuit in normal mode, internal clock divided by 1 ..... | 475 |
| Figure 140. | TI1 external clock connection example. .... | 475 |
| Figure 141. | Control circuit in external clock mode 1 ..... | 476 |
| Figure 142. | Capture/compare channel (example: channel 1 input stage) ..... | 477 |
| Figure 143. | Capture/compare channel 1 main circuit ..... | 477 |
| Figure 144. | Output stage of capture/compare channel (channel 1). .... | 478 |
| Figure 145. | Output compare mode, toggle on OC1 ..... | 481 |
| Figure 146. | Edge-aligned PWM waveforms (ARR=8) ..... | 482 |
| Figure 147. | Complementary output with dead-time insertion. .... | 483 |
| Figure 148. | Dead-time waveforms with delay greater than the negative pulse. .... | 483 |
| Figure 149. | Dead-time waveforms with delay greater than the positive pulse. .... | 483 |
| Figure 150. | Output behavior in response to a break ..... | 486 |
| Figure 151. Output redirection . . . . . | 488 |
| Figure 152. Example of one pulse mode. . . . . | 489 |
| Figure 153. Retriggerable one pulse mode . . . . . | 490 |
| Figure 154. Control circuit in reset mode . . . . . | 492 |
| Figure 155. Control circuit in gated mode . . . . . | 492 |
| Figure 156. Control circuit in trigger mode. . . . . | 493 |
| Figure 157. Master/slave timers example . . . . . | 494 |
| Figure 158. Gating TIM2 with OC1REF of TIM16 . . . . . | 495 |
| Figure 159. Gating TIM2 with Enable of TIM16 . . . . . | 496 |
| Figure 160. Triggering TIM2 with update of TIM16 . . . . . | 496 |
| Figure 161. Triggering TIM2 with Enable of TIM16 . . . . . | 497 |
| Figure 162. RTC block diagram . . . . . | 526 |
| Figure 163. Independent watchdog block diagram . . . . . | 564 |
| Figure 164. I2C block diagram. . . . . | 572 |
| Figure 165. I2C bus protocol . . . . . | 574 |
| Figure 166. Setup and hold timings . . . . . | 576 |
| Figure 167. I2C initialization flowchart . . . . . | 579 |
| Figure 168. Data reception . . . . . | 580 |
| Figure 169. Data transmission . . . . . | 580 |
| Figure 170. Target initialization flowchart . . . . . | 584 |
| Figure 171. Transfer sequence flowchart for I2C target transmitter, NOSTRETCH=0 . . . . . | 585 |
| Figure 172. Transfer sequence flowchart for I2C target transmitter, NOSTRETCH=1 . . . . . | 586 |
| Figure 173. Transfer bus diagrams for I2C target transmitter . . . . . | 587 |
| Figure 174. Transfer sequence flowchart for target receiver with NOSTRETCH=0 . . . . . | 588 |
| Figure 175. Transfer sequence flowchart for target receiver with NOSTRETCH=1 . . . . . | 589 |
| Figure 176. Transfer bus diagrams for I2C target receiver . . . . . | 589 |
| Figure 177. Controller clock generation . . . . . | 591 |
| Figure 178. Controller initialization flowchart . . . . . | 593 |
| Figure 179. 10-bit address read access with HEAD10R=1 . . . . . | 593 |
| Figure 180. Transfer sequence flowchart for I2C controller transmitter for N≤255 bytes. . . . . | 595 |
| Figure 181. Transfer sequence flowchart for I2C controller transmitter for N>255 bytes . . . . . | 596 |
| Figure 182. Transfer bus diagrams for I2C controller transmitter . . . . . | 597 |
| Figure 183. Transfer sequence flowchart for I2C controller receiver for N≤255 bytes. . . . . | 599 |
| Figure 184. Transfer sequence flowchart for I2C controller receiver for N >255 bytes . . . . . | 600 |
| Figure 185. Transfer bus diagrams for I2C controller receiver. . . . . | 601 |
| Figure 186. Timeout intervals for \(t_{LOW:SEXT}\), \(t_{LOW:MEXT}\) . . . . . | 605 |
| Figure 187. Transfer sequence flowchart for SMBus target transmitter N bytes + PEC . . . . . | 608 |
| Figure 188. Transfer bus diagrams for SMBus target transmitter (SBC=1). . . . . | 609 |
| Figure 189. Transfer sequence flowchart for SMBus target receiver N Bytes + PEC . . . . . | 610 |
| Figure 190. Bus transfer diagrams for SMBus target receiver (SBC=1) . . . . . | 611 |
| Figure 191. Bus transfer diagrams for SMBus controller transmitter . . . . . | 612 |
| Figure 192. Bus transfer diagrams for SMBus controller receiver . . . . . | 613 |
| Figure 193. I2C interrupt mapping diagram . . . . . | 617 |
| Figure 194. USART block diagram . . . . . | 639 |
| Figure 195. Word length programming . . . . . | 641 |
| Figure 196. Configurable stop bits . . . . . | 643 |
| Figure 197. TC/TXE behavior when transmitting . . . . . | 645 |
| Figure 198. Start bit detection when oversampling by 16 or 8. . . . . | 646 |
| Figure 199. usart_ker_ck clock divider block diagram . . . . . | 649 |
| Figure 200. Data sampling when oversampling by 16 . . . . . | 650 |
| Figure 201. Data sampling when oversampling by 8 . . . . . | 651 |
| Figure 202. Mute mode using Idle line detection . . . . . | 656 |
| Figure 203. | Mute mode using address mark detection . . . . . | 657 |
| Figure 204. | Break detection in LIN mode (11-bit break length - LBDL bit is set) . . . . . | 660 |
| Figure 205. | Break detection in LIN mode vs. Framing error detection . . . . . | 661 |
| Figure 206. | USART example of synchronous Master transmission . . . . . | 662 |
| Figure 207. | USART data clock timing diagram (M=0) . . . . . | 662 |
| Figure 208. | USART data clock timing diagram (M bits = 01) . . . . . | 663 |
| Figure 209. | RX data setup/hold time . . . . . | 663 |
| Figure 210. | ISO 7816-3 asynchronous protocol . . . . . | 666 |
| Figure 211. | Parity error detection using the 1.5 stop bits . . . . . | 668 |
| Figure 212. | IrDA SIR ENDEC- block diagram . . . . . | 672 |
| Figure 213. | IrDA data modulation (3/16) -Normal Mode . . . . . | 672 |
| Figure 214. | Transmission using DMA . . . . . | 673 |
| Figure 215. | Reception using DMA . . . . . | 674 |
| Figure 216. | Hardware flow control between 2 USARTs . . . . . | 675 |
| Figure 217. | RS232 RTS flow control . . . . . | 675 |
| Figure 218. | RS232 CTS flow control . . . . . | 676 |
| Figure 219. | LPUART Block diagram . . . . . | 708 |
| Figure 220. | LPUART Word length programming . . . . . | 710 |
| Figure 221. | Configurable stop bits . . . . . | 712 |
| Figure 222. | TC/TXE behavior when transmitting . . . . . | 714 |
| Figure 223. | Mute mode using Idle line detection . . . . . | 720 |
| Figure 224. | Mute mode using address mark detection . . . . . | 721 |
| Figure 225. | Transmission using DMA . . . . . | 723 |
| Figure 226. | Reception using DMA . . . . . | 724 |
| Figure 227. | Hardware flow control between 2 LPUARTs . . . . . | 725 |
| Figure 228. | RS232 RTS flow control . . . . . | 725 |
| Figure 229. | RS232 CTS flow control . . . . . | 726 |
| Figure 230. | SPI block diagram . . . . . | 753 |
| Figure 231. | Full-duplex single master/ single slave application . . . . . | 754 |
| Figure 232. | Half-duplex single master/ single slave application . . . . . | 755 |
| Figure 233. | Simplex single master/single slave application (master in transmit-only/ slave in receive-only mode) . . . . . | 756 |
| Figure 234. | Master and three independent slaves . . . . . | 757 |
| Figure 235. | Hardware/software slave select management . . . . . | 758 |
| Figure 236. | Data clock timing diagram . . . . . | 760 |
| Figure 237. | Data alignment when data length is not equal to 8-bit or 16-bit . . . . . | 761 |
| Figure 238. | Packing data in FIFO for transmission and reception . . . . . | 765 |
| Figure 239. | Master full duplex communication . . . . . | 768 |
| Figure 240. | Slave full duplex communication . . . . . | 769 |
| Figure 241. | Master full duplex communication with CRC . . . . . | 770 |
| Figure 242. | Master full duplex communication in packed mode . . . . . | 771 |
| Figure 243. | NSSP pulse generation in Motorola SPI master mode . . . . . | 774 |
| Figure 244. | TI mode transfer . . . . . | 775 |
| Figure 245. | I2S block diagram . . . . . | 778 |
| Figure 246. | I2S Philips protocol waveforms (16/32-bit full accuracy, CPOL = 0) . . . . . | 780 |
| Figure 247. | I2S Philips standard waveforms (24-bit frame with CPOL = 0) . . . . . | 780 |
| Figure 248. | Transmitting 0x8EAA33 . . . . . | 780 |
| Figure 249. | Receiving 0x8EAA33 . . . . . | 781 |
| Figure 250. | I2S Philips standard (16-bit extended to 32-bit packet frame with CPOL = 0) . . . . . | 781 |
| Figure 251. | Example of 16-bit data frame extended to 32-bit channel frame . . . . . | 781 |
| Figure 252. | MSB Justified 16-bit or 32-bit full-accuracy length with CPOL = 0 . . . . . | 782 |
| Figure 253. MSB justified 24-bit frame length with CPOL = 0 . . . . . | 782 |
| Figure 254. MSB justified 16-bit extended to 32-bit packet frame with CPOL = 0 . . . . . | 782 |
| Figure 255. LSB justified 16-bit or 32-bit full-accuracy with CPOL = 0 . . . . . | 783 |
| Figure 256. LSB justified 24-bit frame length with CPOL = 0. . . . . | 783 |
| Figure 257. Operations required to transmit 0x3478AE. . . . . | 783 |
| Figure 258. Operations required to receive 0x3478AE . . . . . | 783 |
| Figure 259. LSB justified 16-bit extended to 32-bit packet frame with CPOL = 0 . . . . . | 784 |
| Figure 260. Example of 16-bit data frame extended to 32-bit channel frame . . . . . | 784 |
| Figure 261. PCM standard waveforms (16-bit) . . . . . | 785 |
| Figure 262. PCM standard waveforms (16-bit extended to 32-bit packet frame). . . . . | 785 |
| Figure 263. Audio sampling frequency definition . . . . . | 786 |
| Figure 264. I2S clock generator architecture . . . . . | 786 |
| Figure 265. LPAWUR architecture overview . . . . . | 808 |
| Figure 266. Wakeup frame format . . . . . | 811 |
| Figure 267. MR_SubG IP block diagram . . . . . | 833 |
| Figure 268. Basic packet format . . . . . | 842 |
| Figure 269. 802.15.4 packet format. . . . . | 843 |
| Figure 270. Data whitening scheme for Basic packets . . . . . | 845 |
| Figure 271. Data whitening scheme for 802.15.4 packets. . . . . | 846 |
| Figure 272. FEC scheme for Basic packet format . . . . . | 847 |
| Figure 273. FEC schemes for 802.15.4 packets . . . . . | 848 |
| Figure 274. Interleave scheme . . . . . | 849 |
| Figure 275. Transmission path for 2-(G)FSK modulation . . . . . | 851 |
| Figure 276. Transmission path for 4-(G)FSK modulation . . . . . | 851 |
| Figure 277. Transmission path for ASK/OOK modulation . . . . . | 856 |
| Figure 278. DBPSK modulation emulation through Polar TX mode . . . . . | 858 |
| Figure 279. Transmission path for Polar TX modulation . . . . . | 858 |
| Figure 280. Simplified RX data path . . . . . | 867 |
| Figure 281. TX and TX HP pin connections, TX PA drive mode, VBATT > 1.7 V . . . . . | 872 |
| Figure 282. TX and TX HP pin connections, TX + TX HP PA drive mode, VBATT > 2.4 V. . . . . | 873 |
| Figure 283. TX and TX HP pin connections, TX HP PA drive mode, VBATT = 3.3 V . . . . . | 873 |
| Figure 284. W-MBUS frame format . . . . . | 877 |
| Figure 285. AGC block diagram. . . . . | 988 |
| Figure 286. AGC attenuation example. . . . . | 989 |
| Figure 287. AGC high attenuation mode versus normal mode . . . . . | 989 |
| Figure 288. RRM overview . . . . . | 1003 |
| Figure 289. Overview of a possible UDRA command list in RAM . . . . . | 1006 |
| Figure 290. Radio FSM overview. . . . . | 1009 |
| Figure 291. Data Buffer Manager overview . . . . . | 1027 |
| Figure 292. Sequencer actions list example . . . . . | 1032 |
| Figure 293. SeqAction flow at Sequencer level . . . . . | 1035 |
| Figure 294. NextActionxMask mechanism overview (with x = 1 or 2) . . . . . | 1036 |
| Figure 295. Time Management Unit overview . . . . . | 1054 |
| Figure 296. Wakeup block overview . . . . . | 1058 |
| Figure 297. Sequencer wakeup event generation . . . . . | 1059 |
| Figure 298. CPU wakeup event generation . . . . . | 1060 |
| Figure 299. RX with Auto-Ack use-case through Sequencer example . . . . . | 1062 |
| Figure 300. Sniff mode use-case through Sequencer example. . . . . | 1064 |
| Figure 301. LBT use-case through Sequencer example . . . . . | 1067 |