STM32F76xxx And STM32F77xxx Advanced Arm® Based 32 Bit MCUs Arm Reference Manual
reference_manual
RM0410-stm32f7_Reference_Manual
ref_manual_en.DM00224583
STM32F76xxx%20and%20STM32F77xxx%20Reference%20manual
User Manual:
Open the PDF directly: View PDF
Page Count: 1954 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- 1 Documentation conventions
- 2 System and memory overview
- 2.1 System architecture
- Figure 1. System architecture for STM32F76xxx and STM32F77xxx devices
- 2.1.1 Multi AHB BusMatrix
- 2.1.2 AHB/APB bridges (APB)
- 2.1.3 CPU AXIM bus
- 2.1.4 ITCM bus
- 2.1.5 DTCM bus
- 2.1.6 CPU AHBS bus
- 2.1.7 AHB peripheral bus
- 2.1.8 DMA memory bus
- 2.1.9 DMA peripheral bus
- 2.1.10 Ethernet DMA bus
- 2.1.11 USB OTG HS DMA bus
- 2.1.12 LCD-TFT controller DMA bus
- 2.1.13 DMA2D bus
- 2.2 Memory organization
- 2.3 Embedded SRAM
- 2.4 Flash memory overview
- 2.5 Boot configuration
- 2.1 System architecture
- 3 Embedded Flash memory (FLASH)
- 3.1 Introduction
- 3.2 Flash main features
- 3.3 Flash functional description
- 3.3.1 Flash memory organization
- Table 3. 2 Mbytes Flash memory single bank organization (256 bits read width)
- Table 4. 2 Mbytes Flash memory dual bank organization (128 bits read width)
- Table 5. 1 Mbyte Flash memory single bank organization (256 bits read width)
- Table 6. 1 Mbyte Flash memory dual bank organization (128 bits read width)
- 3.3.2 Read access latency
- 3.3.3 Flash program and erase operations
- 3.3.4 Unlocking the Flash control register
- 3.3.5 Program/erase parallelism
- 3.3.6 Switching from single bank to dual bank configuration
- 3.3.7 Flash erase sequences
- 3.3.8 Flash programming sequences
- 3.3.9 Flash Interrupts
- 3.3.1 Flash memory organization
- 3.4 FLASH Option bytes
- 3.5 FLASH memory protection
- 3.6 One-time programmable bytes
- 3.7 FLASH registers
- 3.7.1 Flash access control register (FLASH_ACR)
- 3.7.2 Flash key register (FLASH_KEYR)
- 3.7.3 Flash option key register (FLASH_OPTKEYR)
- 3.7.4 Flash status register (FLASH_SR)
- 3.7.5 Flash control register (FLASH_CR)
- 3.7.6 Flash option control register (FLASH_OPTCR)
- 3.7.7 Flash option control register (FLASH_OPTCR1)
- 3.7.8 Flash interface register map
- 4 Power controller (PWR)
- 4.1 Power supplies
- 4.2 Power supply supervisor
- 4.3 Low-power modes
- 4.4 Power control registers
- 4.5 PWR register map
- 5 Reset and clock control (RCC)
- 5.1 Reset
- 5.2 Clocks
- Figure 13. Clock tree
- 5.2.1 HSE clock
- 5.2.2 HSI clock
- 5.2.3 PLL
- 5.2.4 LSE clock
- 5.2.5 LSI clock
- 5.2.6 System clock (SYSCLK) selection
- 5.2.7 Clock security system (CSS)
- 5.2.8 RTC/AWU clock
- 5.2.9 Watchdog clock
- 5.2.10 Clock-out capability
- 5.2.11 Internal/external clock measurement using TIM5/TIM11
- 5.2.12 Peripheral clock enable register (RCC_AHBxENR, RCC_APBxENRy)
- 5.3 RCC registers
- 5.3.1 RCC clock control register (RCC_CR)
- 5.3.2 RCC PLL configuration register (RCC_PLLCFGR)
- 5.3.3 RCC clock configuration register (RCC_CFGR)
- 5.3.4 RCC clock interrupt register (RCC_CIR)
- 5.3.5 RCC AHB1 peripheral reset register (RCC_AHB1RSTR)
- 5.3.6 RCC AHB2 peripheral reset register (RCC_AHB2RSTR)
- 5.3.7 RCC AHB3 peripheral reset register (RCC_AHB3RSTR)
- 5.3.8 RCC APB1 peripheral reset register (RCC_APB1RSTR)
- 5.3.9 RCC APB2 peripheral reset register (RCC_APB2RSTR)
- 5.3.10 RCC AHB1 peripheral clock register (RCC_AHB1ENR)
- 5.3.11 RCC AHB2 peripheral clock enable register (RCC_AHB2ENR)
- 5.3.12 RCC AHB3 peripheral clock enable register (RCC_AHB3ENR)
- 5.3.13 RCC APB1 peripheral clock enable register (RCC_APB1ENR)
- 5.3.14 RCC APB2 peripheral clock enable register (RCC_APB2ENR)
- 5.3.15 RCC AHB1 peripheral clock enable in low-power mode register (RCC_AHB1LPENR)
- 5.3.16 RCC AHB2 peripheral clock enable in low-power mode register (RCC_AHB2LPENR)
- 5.3.17 RCC AHB3 peripheral clock enable in low-power mode register (RCC_AHB3LPENR)
- 5.3.18 RCC APB1 peripheral clock enable in low-power mode register (RCC_APB1LPENR)
- 5.3.19 RCC APB2 peripheral clock enabled in low-power mode register (RCC_APB2LPENR)
- 5.3.20 RCC backup domain control register (RCC_BDCR)
- 5.3.21 RCC clock control & status register (RCC_CSR)
- 5.3.22 RCC spread spectrum clock generation register (RCC_SSCGR)
- 5.3.23 RCC PLLI2S configuration register (RCC_PLLI2SCFGR)
- 5.3.24 RCC PLLSAI configuration register (RCC_PLLSAICFGR)
- 5.3.25 RCC dedicated clocks configuration register (RCC_DCKCFGR1)
- 5.3.26 RCC dedicated clocks configuration register (RCC_DCKCFGR2)
- 5.3.27 RCC register map
- 6 General-purpose I/Os (GPIO)
- 6.1 Introduction
- 6.2 GPIO main features
- 6.3 GPIO functional description
- Figure 17. Basic structure of an I/O port bit
- Figure 18. Basic structure of a 5-Volt tolerant I/O port bit
- Table 24. Port bit configuration table
- 6.3.1 General-purpose I/O (GPIO)
- 6.3.2 I/O pin alternate function multiplexer and mapping
- 6.3.3 I/O port control registers
- 6.3.4 I/O port data registers
- 6.3.5 I/O data bitwise handling
- 6.3.6 GPIO locking mechanism
- 6.3.7 I/O alternate function input/output
- 6.3.8 External interrupt/wakeup lines
- 6.3.9 Input configuration
- 6.3.10 Output configuration
- 6.3.11 Alternate function configuration
- 6.3.12 Analog configuration
- 6.3.13 Using the HSE or LSE oscillator pins as GPIOs
- 6.3.14 Using the GPIO pins in the backup supply domain
- 6.4 GPIO registers
- 6.4.1 GPIO port mode register (GPIOx_MODER) (x =A..K)
- 6.4.2 GPIO port output type register (GPIOx_OTYPER) (x = A..K)
- 6.4.3 GPIO port output speed register (GPIOx_OSPEEDR) (x = A..K)
- 6.4.4 GPIO port pull-up/pull-down register (GPIOx_PUPDR) (x = A..K)
- 6.4.5 GPIO port input data register (GPIOx_IDR) (x = A..K)
- 6.4.6 GPIO port output data register (GPIOx_ODR) (x = A..K)
- 6.4.7 GPIO port bit set/reset register (GPIOx_BSRR) (x = A..K)
- 6.4.8 GPIO port configuration lock register (GPIOx_LCKR) (x = A..K)
- 6.4.9 GPIO alternate function low register (GPIOx_AFRL) (x = A..K)
- 6.4.10 GPIO alternate function high register (GPIOx_AFRH) (x = A..J)
- 6.4.11 GPIO register map
- 7 System configuration controller (SYSCFG)
- 7.1 I/O compensation cell
- 7.2 SYSCFG registers
- 7.2.1 SYSCFG memory remap register (SYSCFG_MEMRMP)
- 7.2.2 SYSCFG peripheral mode configuration register (SYSCFG_PMC)
- 7.2.3 SYSCFG external interrupt configuration register 1 (SYSCFG_EXTICR1)
- 7.2.4 SYSCFG external interrupt configuration register 2 (SYSCFG_EXTICR2)
- 7.2.5 SYSCFG external interrupt configuration register 3 (SYSCFG_EXTICR3)
- 7.2.6 SYSCFG external interrupt configuration register 4 (SYSCFG_EXTICR4)
- 7.2.7 Class B register (SYSCFG_CBR)
- 7.2.8 Compensation cell control register (SYSCFG_CMPCR)
- 7.2.9 SYSCFG register map
- 8 Direct memory access controller (DMA)
- 8.1 DMA introduction
- 8.2 DMA main features
- 8.3 DMA functional description
- 8.3.1 DMA block diagram
- 8.3.2 DMA overview
- 8.3.3 DMA transactions
- 8.3.4 Channel selection
- 8.3.5 Arbiter
- 8.3.6 DMA streams
- 8.3.7 Source, destination and transfer modes
- 8.3.8 Pointer incrementation
- 8.3.9 Circular mode
- 8.3.10 Double-buffer mode
- 8.3.11 Programmable data width, packing/unpacking, endianness
- 8.3.12 Single and burst transfers
- 8.3.13 FIFO
- 8.3.14 DMA transfer completion
- 8.3.15 DMA transfer suspension
- 8.3.16 Flow controller
- 8.3.17 Summary of the possible DMA configurations
- 8.3.18 Stream configuration procedure
- 8.3.19 Error management
- 8.4 DMA interrupts
- 8.5 DMA registers
- 8.5.1 DMA low interrupt status register (DMA_LISR)
- 8.5.2 DMA high interrupt status register (DMA_HISR)
- 8.5.3 DMA low interrupt flag clear register (DMA_LIFCR)
- 8.5.4 DMA high interrupt flag clear register (DMA_HIFCR)
- 8.5.5 DMA stream x configuration register (DMA_SxCR)
- 8.5.6 DMA stream x number of data register (DMA_SxNDTR)
- 8.5.7 DMA stream x peripheral address register (DMA_SxPAR)
- 8.5.8 DMA stream x memory 0 address register (DMA_SxM0AR)
- 8.5.9 DMA stream x memory 1 address register (DMA_SxM1AR)
- 8.5.10 DMA stream x FIFO control register (DMA_SxFCR)
- 8.5.11 DMA register map
- 9 Chrom-ART Accelerator™ controller (DMA2D)
- 9.1 DMA2D introduction
- 9.2 DMA2D main features
- 9.3 DMA2D functional description
- 9.3.1 General description
- 9.3.2 DMA2D control
- 9.3.3 DMA2D foreground and background FIFOs
- 9.3.4 DMA2D foreground and background pixel format converter (PFC)
- 9.3.5 DMA2D foreground and background CLUT interface
- 9.3.6 DMA2D blender
- 9.3.7 DMA2D output PFC
- 9.3.8 DMA2D output FIFO
- 9.3.9 DMA2D AHB master port timer
- 9.3.10 DMA2D transactions
- 9.3.11 DMA2D configuration
- 9.3.12 DMA2D transfer control (start, suspend, abort and completion)
- 9.3.13 Watermark
- 9.3.14 Error management
- 9.3.15 AHB dead time
- 9.4 DMA2D interrupts
- 9.5 DMA2D registers
- 9.5.1 DMA2D control register (DMA2D_CR)
- 9.5.2 DMA2D Interrupt Status Register (DMA2D_ISR)
- 9.5.3 DMA2D interrupt flag clear register (DMA2D_IFCR)
- 9.5.4 DMA2D foreground memory address register (DMA2D_FGMAR)
- 9.5.5 DMA2D foreground offset register (DMA2D_FGOR)
- 9.5.6 DMA2D background memory address register (DMA2D_BGMAR)
- 9.5.7 DMA2D background offset register (DMA2D_BGOR)
- 9.5.8 DMA2D foreground PFC control register (DMA2D_FGPFCCR)
- 9.5.9 DMA2D foreground color register (DMA2D_FGCOLR)
- 9.5.10 DMA2D background PFC control register (DMA2D_BGPFCCR)
- 9.5.11 DMA2D background color register (DMA2D_BGCOLR)
- 9.5.12 DMA2D foreground CLUT memory address register (DMA2D_FGCMAR)
- 9.5.13 DMA2D background CLUT memory address register (DMA2D_BGCMAR)
- 9.5.14 DMA2D output PFC control register (DMA2D_OPFCCR)
- 9.5.15 DMA2D output color register (DMA2D_OCOLR)
- 9.5.16 DMA2D output memory address register (DMA2D_OMAR)
- 9.5.17 DMA2D output offset register (DMA2D_OOR)
- 9.5.18 DMA2D number of line register (DMA2D_NLR)
- 9.5.19 DMA2D line watermark register (DMA2D_LWR)
- 9.5.20 DMA2D AHB master timer configuration register (DMA2D_AMTCR)
- 9.5.21 DMA2D register map
- 10 Nested vectored interrupt controller (NVIC)
- 11 Extended interrupts and events controller (EXTI)
- 11.1 EXTI main features
- 11.2 EXTI block diagram
- 11.3 Wakeup event management
- 11.4 Functional description
- 11.5 Hardware interrupt selection
- 11.6 Hardware event selection
- 11.7 Software interrupt/event selection
- 11.8 External interrupt/event line mapping
- 11.9 EXTI registers
- 12 Cyclic redundancy check calculation unit (CRC)
- 13 Flexible memory controller (FMC)
- 13.1 FMC main features
- 13.2 FMC block diagram
- 13.3 AHB interface
- 13.4 External device address mapping
- 13.5 NOR Flash/PSRAM controller
- Table 59. Programmable NOR/PSRAM access parameters
- 13.5.1 External memory interface signals
- 13.5.2 Supported memories and transactions
- 13.5.3 General timing rules
- 13.5.4 NOR Flash/PSRAM controller asynchronous transactions
- Figure 35. Mode1 read access waveforms
- Figure 36. Mode1 write access waveforms
- Table 65. FMC_BCRx bit fields
- Table 66. FMC_BTRx bit fields
- Figure 37. ModeA read access waveforms
- Figure 38. ModeA write access waveforms
- Table 67. FMC_BCRx bit fields
- Table 68. FMC_BTRx bit fields
- Table 69. FMC_BWTRx bit fields
- Figure 39. Mode2 and mode B read access waveforms
- Figure 40. Mode2 write access waveforms
- Figure 41. ModeB write access waveforms
- Table 70. FMC_BCRx bit fields
- Table 71. FMC_BTRx bit fields
- Table 72. FMC_BWTRx bit fields
- Figure 42. ModeC read access waveforms
- Figure 43. ModeC write access waveforms
- Table 73. FMC_BCRx bit fields
- Table 74. FMC_BTRx bit fields
- Table 75. FMC_BWTRx bit fields
- Figure 44. ModeD read access waveforms
- Figure 45. ModeD write access waveforms
- Table 76. FMC_BCRx bit fields
- Table 77. FMC_BTRx bit fields
- Table 78. FMC_BWTRx bit fields
- Figure 46. Muxed read access waveforms
- Figure 47. Muxed write access waveforms
- Table 79. FMC_BCRx bit fields
- Table 80. FMC_BTRx bit fields
- Figure 48. Asynchronous wait during a read access waveforms
- Figure 49. Asynchronous wait during a write access waveforms
- 13.5.5 Synchronous transactions
- 13.5.6 NOR/PSRAM controller registers
- 13.6 NAND Flash controller
- Table 85. Programmable NAND Flash access parameters
- 13.6.1 External memory interface signals
- 13.6.2 NAND Flash supported memories and transactions
- 13.6.3 Timing diagrams for NAND Flash memory
- 13.6.4 NAND Flash operations
- 13.6.5 NAND Flash prewait functionality
- 13.6.6 Computation of the error correction code (ECC) in NAND Flash memory
- 13.6.7 NAND Flash controller registers
- 13.7 SDRAM controller
- 13.8 FMC register map
- 14 Quad-SPI interface (QUADSPI)
- 14.1 Introduction
- 14.2 QUADSPI main features
- 14.3 QUADSPI functional description
- 14.3.1 QUADSPI block diagram
- 14.3.2 QUADSPI pins
- 14.3.3 QUADSPI command sequence
- 14.3.4 QUADSPI signal interface protocol modes
- 14.3.5 QUADSPI indirect mode
- 14.3.6 QUADSPI status flag polling mode
- 14.3.7 QUADSPI memory-mapped mode
- 14.3.8 QUADSPI Flash memory configuration
- 14.3.9 QUADSPI delayed data sampling
- 14.3.10 QUADSPI configuration
- 14.3.11 QUADSPI usage
- 14.3.12 Sending the instruction only once
- 14.3.13 QUADSPI error management
- 14.3.14 QUADSPI busy bit and abort functionality
- 14.3.15 nCS behavior
- 14.4 QUADSPI interrupts
- 14.5 QUADSPI registers
- 14.5.1 QUADSPI control register (QUADSPI_CR)
- 14.5.2 QUADSPI device configuration register (QUADSPI_DCR)
- 14.5.3 QUADSPI status register (QUADSPI_SR)
- 14.5.4 QUADSPI flag clear register (QUADSPI_FCR)
- 14.5.5 QUADSPI data length register (QUADSPI_DLR)
- 14.5.6 QUADSPI communication configuration register (QUADSPI_CCR)
- 14.5.7 QUADSPI address register (QUADSPI_AR)
- 14.5.8 QUADSPI alternate bytes registers (QUADSPI_ABR)
- 14.5.9 QUADSPI data register (QUADSPI_DR)
- 14.5.10 QUADSPI polling status mask register (QUADSPI _PSMKR)
- 14.5.11 QUADSPI polling status match register (QUADSPI _PSMAR)
- 14.5.12 QUADSPI polling interval register (QUADSPI _PIR)
- 14.5.13 QUADSPI low-power timeout register (QUADSPI_LPTR)
- 14.5.14 QUADSPI register map
- 15 Analog-to-digital converter (ADC)
- 15.1 ADC introduction
- 15.2 ADC main features
- 15.3 ADC functional description
- Figure 70. Single ADC block diagram
- Table 95. ADC pins
- 15.3.1 ADC on-off control
- 15.3.2 ADC1/2 and ADC3 connectivity
- 15.3.3 ADC clock
- 15.3.4 Channel selection
- 15.3.5 Single conversion mode
- 15.3.6 Continuous conversion mode
- 15.3.7 Timing diagram
- 15.3.8 Analog watchdog
- 15.3.9 Scan mode
- 15.3.10 Injected channel management
- 15.3.11 Discontinuous mode
- 15.4 Data alignment
- 15.5 Channel-wise programmable sampling time
- 15.6 Conversion on external trigger and trigger polarity
- 15.7 Fast conversion mode
- 15.8 Data management
- 15.9 Multi ADC mode
- 15.10 Temperature sensor
- 15.11 Battery charge monitoring
- 15.12 ADC interrupts
- 15.13 ADC registers
- 15.13.1 ADC status register (ADC_SR)
- 15.13.2 ADC control register 1 (ADC_CR1)
- 15.13.3 ADC control register 2 (ADC_CR2)
- 15.13.4 ADC sample time register 1 (ADC_SMPR1)
- 15.13.5 ADC sample time register 2 (ADC_SMPR2)
- 15.13.6 ADC injected channel data offset register x (ADC_JOFRx) (x=1..4)
- 15.13.7 ADC watchdog higher threshold register (ADC_HTR)
- 15.13.8 ADC watchdog lower threshold register (ADC_LTR)
- 15.13.9 ADC regular sequence register 1 (ADC_SQR1)
- 15.13.10 ADC regular sequence register 2 (ADC_SQR2)
- 15.13.11 ADC regular sequence register 3 (ADC_SQR3)
- 15.13.12 ADC injected sequence register (ADC_JSQR)
- 15.13.13 ADC injected data register x (ADC_JDRx) (x= 1..4)
- 15.13.14 ADC regular data register (ADC_DR)
- 15.13.15 ADC Common status register (ADC_CSR)
- 15.13.16 ADC common control register (ADC_CCR)
- 15.13.17 ADC common regular data register for dual and triple modes (ADC_CDR)
- 15.13.18 ADC register map
- 16 Digital-to-analog converter (DAC)
- 16.1 DAC introduction
- 16.2 DAC main features
- 16.3 DAC functional description
- 16.4 Dual DAC channel conversion
- 16.4.1 Independent trigger without wave generation
- 16.4.2 Independent trigger with single LFSR generation
- 16.4.3 Independent trigger with different LFSR generation
- 16.4.4 Independent trigger with single triangle generation
- 16.4.5 Independent trigger with different triangle generation
- 16.4.6 Simultaneous software start
- 16.4.7 Simultaneous trigger without wave generation
- 16.4.8 Simultaneous trigger with single LFSR generation
- 16.4.9 Simultaneous trigger with different LFSR generation
- 16.4.10 Simultaneous trigger with single triangle generation
- 16.4.11 Simultaneous trigger with different triangle generation
- 16.5 DAC registers
- 16.5.1 DAC control register (DAC_CR)
- 16.5.2 DAC software trigger register (DAC_SWTRIGR)
- 16.5.3 DAC channel1 12-bit right-aligned data holding register (DAC_DHR12R1)
- 16.5.4 DAC channel1 12-bit left aligned data holding register (DAC_DHR12L1)
- 16.5.5 DAC channel1 8-bit right aligned data holding register (DAC_DHR8R1)
- 16.5.6 DAC channel2 12-bit right aligned data holding register (DAC_DHR12R2)
- 16.5.7 DAC channel2 12-bit left aligned data holding register (DAC_DHR12L2)
- 16.5.8 DAC channel2 8-bit right-aligned data holding register (DAC_DHR8R2)
- 16.5.9 Dual DAC 12-bit right-aligned data holding register (DAC_DHR12RD)
- 16.5.10 DUAL DAC 12-bit left aligned data holding register (DAC_DHR12LD)
- 16.5.11 DUAL DAC 8-bit right aligned data holding register (DAC_DHR8RD)
- 16.5.12 DAC channel1 data output register (DAC_DOR1)
- 16.5.13 DAC channel2 data output register (DAC_DOR2)
- 16.5.14 DAC status register (DAC_SR)
- 16.5.15 DAC register map
- 17 Digital filter for sigma delta modulators (DFSDM)
- 17.1 Introduction
- 17.2 DFSDM main features
- 17.3 DFSDM implementation
- 17.4 DFSDM functional description
- 17.4.1 DFSDM block diagram
- 17.4.2 DFSDM pins and internal signals
- 17.4.3 DFSDM reset and clocks
- 17.4.4 Serial channel transceivers
- 17.4.5 Configuring the input serial interface
- 17.4.6 Parallel data inputs
- 17.4.7 Channel selection
- 17.4.8 Digital filter configuration
- 17.4.9 Integrator unit
- 17.4.10 Analog watchdog
- 17.4.11 Short-circuit detector
- 17.4.12 Extreme detector
- 17.4.13 Data unit block
- 17.4.14 Signed data format
- 17.4.15 Launching conversions
- 17.4.16 Continuous and fast continuous modes
- 17.4.17 Request precedence
- 17.4.18 Power optimization in run mode
- 17.5 DFSDM interrupts
- 17.6 DFSDM DMA transfer
- 17.7 DFSDM channel y registers (y=0..7)
- 17.7.1 DFSDM channel y configuration register (DFSDM_CHyCFGR1)
- 17.7.2 DFSDM channel y configuration register (DFSDM_CHyCFGR2)
- 17.7.3 DFSDM channel y analog watchdog and short-circuit detector register (DFSDM_CHyAWSCDR)
- 17.7.4 DFSDM channel y watchdog filter data register (DFSDM_CHyWDATR)
- 17.7.5 DFSDM channel y data input register (DFSDM_CHyDATINR)
- 17.8 DFSDM filter x module registers (x=0..3)
- 17.8.1 DFSDM filter x control register 1 (DFSDM_FLTxCR1)
- 17.8.2 DFSDM filter x control register 2 (DFSDM_FLTxCR2)
- 17.8.3 DFSDM filter x interrupt and status register (DFSDM_FLTxISR)
- 17.8.4 DFSDM filter x interrupt flag clear register (DFSDM_FLTxICR)
- 17.8.5 DFSDM filter x injected channel group selection register (DFSDM_FLTxJCHGR)
- 17.8.6 DFSDM filter x control register (DFSDM_FLTxFCR)
- 17.8.7 DFSDM filter x data register for injected group (DFSDM_FLTxJDATAR)
- 17.8.8 DFSDM filter x data register for the regular channel (DFSDM_FLTxRDATAR)
- 17.8.9 DFSDM filter x analog watchdog high threshold register (DFSDM_FLTxAWHTR)
- 17.8.10 DFSDM filter x analog watchdog low threshold register (DFSDM_FLTxAWLTR)
- 17.8.11 DFSDM filter x analog watchdog status register (DFSDM_FLTxAWSR)
- 17.8.12 DFSDM filter x analog watchdog clear flag register (DFSDM_FLTxAWCFR)
- 17.8.13 DFSDM filter x extremes detector maximum register (DFSDM_FLTxEXMAX)
- 17.8.14 DFSDM filter x extremes detector minimum register (DFSDM_FLTxEXMIN)
- 17.8.15 DFSDM filter x conversion timer register (DFSDM_FLTxCNVTIMR)
- 17.8.16 DFSDM register map
- 18 Digital camera interface (DCMI)
- 18.1 DCMI introduction
- 18.2 DCMI main features
- 18.3 DCMI clocks
- 18.4 DCMI functional overview
- 18.4.1 DCMI block diagram
- 18.4.2 DMA interface
- 18.4.3 DCMI physical interface
- Table 116. DCMI external signals
- Figure 112. DCMI signal waveforms
- Table 117. Positioning of captured data bytes in 32-bit words (8-bit width)
- Table 118. Positioning of captured data bytes in 32-bit words (10-bit width)
- Table 119. Positioning of captured data bytes in 32-bit words (12-bit width)
- Table 120. Positioning of captured data bytes in 32-bit words (14-bit width)
- 18.4.4 Synchronization
- 18.4.5 Capture modes
- 18.4.6 Crop feature
- 18.4.7 JPEG format
- 18.4.8 FIFO
- 18.5 Data format description
- 18.6 DCMI interrupts
- 18.7 DCMI register description
- 18.7.1 DCMI control register (DCMI_CR)
- 18.7.2 DCMI status register (DCMI_SR)
- 18.7.3 DCMI raw interrupt status register (DCMI_RIS)
- 18.7.4 DCMI interrupt enable register (DCMI_IER)
- 18.7.5 DCMI masked interrupt status register (DCMI_MIS)
- 18.7.6 DCMI interrupt clear register (DCMI_ICR)
- 18.7.7 DCMI embedded synchronization code register (DCMI_ESCR)
- 18.7.8 DCMI embedded synchronization unmask register (DCMI_ESUR)
- 18.7.9 DCMI crop window start (DCMI_CWSTRT)
- 18.7.10 DCMI crop window size (DCMI_CWSIZE)
- 18.7.11 DCMI data register (DCMI_DR)
- 18.7.12 DCMI register map
- 19 LCD-TFT display controller (LTDC)
- 19.1 Introduction
- 19.2 LTDC main features
- 19.3 LTDC functional description
- 19.4 LTDC programmable parameters
- 19.5 LTDC interrupts
- 19.6 LTDC programming procedure
- 19.7 LTDC registers
- 19.7.1 LTDC synchronization size configuration register (LTDC_SSCR)
- 19.7.2 LTDC back porch configuration register (LTDC_BPCR)
- 19.7.3 LTDC active width configuration register (LTDC_AWCR)
- 19.7.4 LTDC total width configuration register (LTDC_TWCR)
- 19.7.5 LTDC global control register (LTDC_GCR)
- 19.7.6 LTDC shadow reload configuration register (LTDC_SRCR)
- 19.7.7 LTDC background color configuration register (LTDC_BCCR)
- 19.7.8 LTDC interrupt enable register (LTDC_IER)
- 19.7.9 LTDC interrupt status register (LTDC_ISR)
- 19.7.10 LTDC Interrupt Clear Register (LTDC_ICR)
- 19.7.11 LTDC line interrupt position configuration register (LTDC_LIPCR)
- 19.7.12 LTDC current position status register (LTDC_CPSR)
- 19.7.13 LTDC current display status register (LTDC_CDSR)
- 19.7.14 LTDC layer x control register (LTDC_LxCR)
- 19.7.15 LTDC layer x window horizontal position configuration register (LTDC_LxWHPCR)
- 19.7.16 LTDC layer x window vertical position configuration register (LTDC_LxWVPCR)
- 19.7.17 LTDC layer x color keying configuration register (LTDC_LxCKCR)
- 19.7.18 LTDC layer x pixel format configuration register (LTDC_LxPFCR)
- 19.7.19 LTDC layer x constant alpha configuration register (LTDC_LxCACR)
- 19.7.20 LTDC layer x default color configuration register (LTDC_LxDCCR)
- 19.7.21 LTDC layer x blending factors configuration register (LTDC_LxBFCR)
- 19.7.22 LTDC layer x color frame buffer address register (LTDC_LxCFBAR)
- 19.7.23 LTDC layer x color frame buffer length register (LTDC_LxCFBLR)
- 19.7.24 LTDC layer x color frame buffer line number register (LTDC_LxCFBLNR)
- 19.7.25 LTDC layer x CLUT write register (LTDC_LxCLUTWR)
- 19.7.26 LTDC register map
- 20 DSI Host (DSI)
- 20.1 Introduction
- 20.2 Standard and references
- 20.3 DSI Host main features
- 20.4 DSI Host functional description
- 20.5 Functional description: video mode on LTDC interface
- 20.6 Functional description – adapted command mode on LTDC interface
- 20.7 Functional description: APB slave generic interface
- 20.8 Functional description: timeout counters
- 20.8.1 Contention error detection timeout counters
- 20.8.2 Peripheral response timeout counters
- Table 135. List of events of different categories of the PRESP_TO counter
- Figure 135. Timing of PRESP_TO after a bus-turn-around
- Figure 136. Timing of PRESP_TO after a read request (HS or LP)
- Figure 137. Timing of PRESP_TO after a write request (HS or LP)
- Table 136. PRESP_TO counter configuration
- Figure 138. Effect of prep mode at 1
- 20.9 Functional description: transmission of commands
- 20.9.1 Transmission of commands in video mode
- 20.9.2 Transmission of commands in low-power mode
- Figure 141. LPSIZE for non-burst with sync pulses
- Figure 142. LPSIZE for burst or non-burst with sync events
- Figure 143. VLPSIZE for non-burst with sync pulses
- Figure 144. VLPSIZE for non-burst with sync events
- Figure 145. VLPSIZE for burst mode
- Figure 146. Location of LPSIZE and VLPSIZE in the image area
- 20.9.3 Transmission of commands in high-speed
- 20.9.4 Read command transmission
- 20.9.5 Clock lane in low-power mode
- 20.10 Functional description: virtual channels
- 20.11 Functional description: video mode pattern generator
- 20.12 Functional description: D-PHY management
- 20.13 Functional description: interrupts and errors
- 20.14 Programing procedure
- 20.14.1 Programing procedure overview
- 20.14.2 Configuring the D-PHY parameters
- 20.14.3 Configuring the DSI Host timing
- 20.14.4 Configuring flow control and DBI interface
- 20.14.5 Configuring the DSI Host LTDC interface
- 20.14.6 Configuring the video mode
- 20.14.7 Configuring the adapted command mode
- 20.14.8 Configuring the video mode pattern generator
- 20.14.9 Managing ULPM
- 20.15 DSI Host registers
- 20.15.1 DSI Host version register (DSI_VR)
- 20.15.2 DSI Host control register (DSI_CR)
- 20.15.3 DSI Host clock control register (DSI_CCR)
- 20.15.4 DSI Host LTDC VCID register (DSI_LVCIDR)
- 20.15.5 DSI Host LTDC color coding register (DSI_LCOLCR)
- 20.15.6 DSI Host LTDC polarity configuration register (DSI_LPCR)
- 20.15.7 DSI Host low-power mode configuration register (DSI_LPMCR)
- 20.15.8 DSI Host protocol configuration register (DSI_PCR)
- 20.15.9 DSI Host generic VCID register (DSI_GVCIDR)
- 20.15.10 DSI Host mode configuration register (DSI_MCR)
- 20.15.11 DSI Host video mode configuration register (DSI_VMCR)
- 20.15.12 DSI Host video packet configuration register (DSI_VPCR)
- 20.15.13 DSI Host video chunks configuration register (DSI_VCCR)
- 20.15.14 DSI Host video null packet configuration register (DSI_VNPCR)
- 20.15.15 DSI Host video HSA configuration register (DSI_VHSACR)
- 20.15.16 DSI Host video HBP configuration register (DSI_VHBPCR)
- 20.15.17 DSI Host video line configuration register (DSI_VLCR)
- 20.15.18 DSI Host video VSA configuration register (DSI_VVSACR)
- 20.15.19 DSI Host video VBP configuration register (DSI_VVBPCR)
- 20.15.20 DSI Host video VFP configuration register (DSI_VVFPCR)
- 20.15.21 DSI Host video VA configuration register (DSI_VVACR)
- 20.15.22 DSI Host LTDC command configuration register (DSI_LCCR)
- 20.15.23 DSI Host command mode configuration register (DSI_CMCR)
- 20.15.24 DSI Host generic header configuration register (DSI_GHCR)
- 20.15.25 DSI Host generic payload data register (DSI_GPDR)
- 20.15.26 DSI Host generic packet status register (DSI_GPSR)
- 20.15.27 DSI Host timeout counter configuration register 0 (DSI_TCCR0)
- 20.15.28 DSI Host timeout counter configuration register 1 (DSI_TCCR1)
- 20.15.29 DSI Host timeout counter configuration register 2 (DSI_TCCR2)
- 20.15.30 DSI Host timeout counter configuration register 3 (DSI_TCCR3)
- 20.15.31 DSI Host timeout counter configuration register 4 (DSI_TCCR4)
- 20.15.32 DSI Host timeout counter configuration register 5 (DSI_TCCR5)
- 20.15.33 DSI Host clock lane configuration register (DSI_CLCR)
- 20.15.34 DSI Host clock lane timer configuration register (DSI_CLTCR)
- 20.15.35 DSI Host data lane timer configuration register (DSI_DLTCR)
- 20.15.36 DSI Host PHY control register (DSI_PCTLR)
- 20.15.37 DSI Host PHY configuration register (DSI_PCONFR)
- 20.15.38 DSI Host PHY ULPS control register (DSI_PUCR)
- 20.15.39 DSI Host PHY TX triggers configuration register (DSI_PTTCR)
- 20.15.40 DSI Host PHY status register (DSI_PSR)
- 20.15.41 DSI Host interrupt and status register 0 (DSI_ISR0)
- 20.15.42 DSI Host interrupt and status register 1 (DSI_ISR1)
- 20.15.43 DSI Host interrupt enable register 0 (DSI_IER0)
- 20.15.44 DSI Host interrupt enable register 1 (DSI_IER1)
- 20.15.45 DSI Host force interrupt register 0 (DSI_FIR0)
- 20.15.46 DSI Host force interrupt register 1 (DSI_FIR1)
- 20.15.47 DSI Host video shadow control register (DSI_VSCR)
- 20.15.48 DSI Host LTDC current VCID register (DSI_LCVCIDR)
- 20.15.49 DSI Host LTDC current color coding register (DSI_LCCCR)
- 20.15.50 DSI Host low-power mode current configuration register (DSI_LPMCCR)
- 20.15.51 DSI Host video mode current configuration register (DSI_VMCCR)
- 20.15.52 DSI Host video packet current configuration register (DSI_VPCCR)
- 20.15.53 DSI Host video chunks current configuration register (DSI_VCCCR)
- 20.15.54 DSI Host video null packet current configuration register (DSI_VNPCCR)
- 20.15.55 DSI Host video HSA current configuration register (DSI_VHSACCR)
- 20.15.56 DSI Host video HBP current configuration register (DSI_VHBPCCR)
- 20.15.57 DSI Host video line current configuration register (DSI_VLCCR)
- 20.15.58 DSI Host video VSA current configuration register (DSI_VVSACCR)
- 20.15.59 DSI Host video VBP current configuration register (DSI_VVBPCCR)
- 20.15.60 DSI Host video VFP current configuration register (DSI_VVFPCCR)
- 20.15.61 DSI Host video VA current configuration register (DSI_VVACCR)
- 20.16 DSI wrapper registers
- 20.16.1 DSI wrapper configuration register (DSI_WCFGR)
- 20.16.2 DSI wrapper control register (DSI_WCR)
- 20.16.3 DSI wrapper interrupt enable register (DSI_WIER)
- 20.16.4 DSI wrapper interrupt and status register (DSI_WISR)
- 20.16.5 DSI wrapper interrupt flag clear register (DSI_WIFCR)
- 20.16.6 DSI wrapper PHY configuration register 0 (DSI_WPCR0)
- 20.16.7 DSI wrapper PHY configuration register 1 (DSI_WPCR1)
- 20.16.8 DSI wrapper PHY configuration register 2 (DSI_WPCR2)
- 20.16.9 DSI wrapper PHY configuration register 3 (DSI_WPCR3)
- 20.16.10 DSI wrapper PHY configuration register 4 (DSI_WPCR4)
- 20.16.11 DSI wrapper regulator and PLL control register (DSI_WRPCR)
- 20.17 DSI Host register map
- 21 JPEG codec (JPEG)
- 21.1 Introduction
- 21.2 JPEG codec main features
- 21.3 JPEG codec block functional description
- 21.4 JPEG codec interrupts
- 21.5 JPEG codec registers
- 21.5.1 JPEG codec control register (JPEG_CONFR0)
- 21.5.2 JPEG codec configuration register 1 (JPEG_CONFR1)
- 21.5.3 JPEG codec configuration register 2 (JPEG_CONFR2)
- 21.5.4 JPEG codec configuration register 3 (JPEG_CONFR3)
- 21.5.5 JPEG codec configuration register 4-7 (JPEG_CONFR4-7)
- 21.5.6 JPEG control register (JPEG_CR)
- 21.5.7 JPEG status register (JPEG_SR)
- 21.5.8 JPEG clear flag register (JPEG_CFR)
- 21.5.9 JPEG data input register (JPEG_DIR)
- 21.5.10 JPEG data output register (JPEG_DOR)
- 21.5.11 JPEG codec register map
- 22 True random number generator (RNG)
- 23 Cryptographic processor (CRYP)
- 23.1 Introduction
- 23.2 CRYP main features
- 23.3 CRYP functional description
- 23.3.1 CRYP block diagram
- 23.3.2 CRYP internal signals
- 23.3.3 CRYP DES/TDES cryptographic core
- 23.3.4 CRYP AES cryptographic core
- 23.3.5 CRYP procedure to perform a cipher operation
- 23.3.6 CRYP busy state
- 23.3.7 Preparing the CRYP AES key for decryption
- 23.3.8 CRYP stealing and data padding
- 23.3.9 CRYP suspend/resume operations
- 23.3.10 CRYP DES/TDES basic chaining modes (ECB, CBC)
- 23.3.11 CRYP AES basic chaining modes (ECB, CBC)
- 23.3.12 CRYP AES counter mode (AES-CTR)
- 23.3.13 CRYP AES Galois/counter mode (GCM)
- 23.3.14 CRYP AES Galois message authentication code (GMAC)
- 23.3.15 CRYP AES Counter with CBC-MAC (CCM)
- 23.3.16 CRYP data registers and data swapping
- 23.3.17 CRYP key registers
- 23.3.18 CRYP initialization vector registers
- 23.3.19 CRYP DMA interface
- 23.3.20 CRYP error management
- 23.4 CRYP interrupts
- 23.5 CRYP processing time
- 23.6 CRYP registers
- 23.6.1 CRYP control register (CRYP_CR)
- 23.6.2 CRYP status register (CRYP_SR)
- 23.6.3 CRYP data input register (CRYP_DIN)
- 23.6.4 CRYP data output register (CRYP_DOUT)
- 23.6.5 CRYP DMA control register (CRYP_DMACR)
- 23.6.6 CRYP interrupt mask set/clear register (CRYP_IMSCR)
- 23.6.7 CRYP raw interrupt status register (CRYP_RISR)
- 23.6.8 CRYP masked interrupt status register (CRYP_MISR)
- 23.6.9 CRYP key register 0L (CRYP_K0LR)
- 23.6.10 CRYP key register 0R (CRYP_K0RR)
- 23.6.11 CRYP key register 1L (CRYP_K1LR)
- 23.6.12 CRYP key register 1R (CRYP_K1RR)
- 23.6.13 CRYP key register 2L (CRYP_K2LR)
- 23.6.14 CRYP key register 2R (CRYP_K2RR)
- 23.6.15 CRYP key register 3L (CRYP_K3LR)
- 23.6.16 CRYP key register 3R (CRYP_K3RR)
- 23.6.17 CRYP initialization vector register 0L (CRYP_IV0LR)
- 23.6.18 CRYP initialization vector register 0R (CRYP_IV0RR)
- 23.6.19 CRYP initialization vector register 1L (CRYP_IV1LR)
- 23.6.20 CRYP initialization vector register 1R (CRYP_IV1RR)
- 23.6.21 CRYP register map
- 24 Hash processor (HASH)
- 24.1 Introduction
- 24.2 HASH main features
- 24.3 HASH functional description
- 24.4 HASH interrupts
- 24.5 HASH processing time
- 24.6 HASH registers
- 24.6.1 HASH control register (HASH_CR)
- 24.6.2 HASH data input register (HASH_DIN)
- 24.6.3 HASH start register (HASH_STR)
- 24.6.4 HASH digest registers (HASH_HR0..7)
- 24.6.5 HASH interrupt enable register (HASH_IMR)
- 24.6.6 HASH status register (HASH_SR)
- 24.6.7 HASH context swap registers (HASH_CSRx)
- 24.6.8 HASH register map
- 25 Advanced-control timers (TIM1/TIM8)
- 25.1 TIM1/TIM8 introduction
- 25.2 TIM1/TIM8 main features
- 25.3 TIM1/TIM8 functional description
- 25.3.1 Time-base unit
- 25.3.2 Counter modes
- Figure 198. Counter timing diagram, internal clock divided by 1
- Figure 199. Counter timing diagram, internal clock divided by 2
- Figure 200. Counter timing diagram, internal clock divided by 4
- Figure 201. Counter timing diagram, internal clock divided by N
- Figure 202. Counter timing diagram, update event when ARPE=0 (TIMx_ARR not preloaded)
- Figure 203. Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded)
- Figure 204. Counter timing diagram, internal clock divided by 1
- Figure 205. Counter timing diagram, internal clock divided by 2
- Figure 206. Counter timing diagram, internal clock divided by 4
- Figure 207. Counter timing diagram, internal clock divided by N
- Figure 208. Counter timing diagram, update event when repetition counter is not used
- Figure 209. Counter timing diagram, internal clock divided by 1, TIMx_ARR = 0x6
- Figure 210. Counter timing diagram, internal clock divided by 2
- Figure 211. Counter timing diagram, internal clock divided by 4, TIMx_ARR=0x36
- Figure 212. Counter timing diagram, internal clock divided by N
- Figure 213. Counter timing diagram, update event with ARPE=1 (counter underflow)
- Figure 214. Counter timing diagram, Update event with ARPE=1 (counter overflow)
- 25.3.3 Repetition counter
- 25.3.4 External trigger input
- 25.3.5 Clock selection
- 25.3.6 Capture/compare channels
- Figure 222. Capture/compare channel (example: channel 1 input stage)
- Figure 223. Capture/compare channel 1 main circuit
- Figure 224. Output stage of capture/compare channel (channel 1, idem ch. 2 and 3)
- Figure 225. Output stage of capture/compare channel (channel 4)
- Figure 226. Output stage of capture/compare channel (channel 5, idem ch. 6)
- 25.3.7 Input capture mode
- 25.3.8 PWM input mode
- 25.3.9 Forced output mode
- 25.3.10 Output compare mode
- 25.3.11 PWM mode
- 25.3.12 Asymmetric PWM mode
- 25.3.13 Combined PWM mode
- 25.3.14 Combined 3-phase PWM mode
- 25.3.15 Complementary outputs and dead-time insertion
- 25.3.16 Using the break function
- Figure 237. Break and Break2 circuitry overview
- Figure 238. Various output behavior in response to a break event on BRK (OSSI = 1)
- Table 170. Behavior of timer outputs versus BRK/BRK2 inputs
- Figure 239. PWM output state following BRK and BRK2 pins assertion (OSSI=1)
- Figure 240. PWM output state following BRK assertion (OSSI=0)
- 25.3.17 Clearing the OCxREF signal on an external event
- 25.3.18 6-step PWM generation
- 25.3.19 One-pulse mode
- 25.3.20 Retriggerable one pulse mode (OPM)
- 25.3.21 Encoder interface mode
- 25.3.22 UIF bit remapping
- 25.3.23 Timer input XOR function
- 25.3.24 Interfacing with Hall sensors
- 25.3.25 Timer synchronization
- 25.3.26 ADC synchronization
- 25.3.27 DMA burst mode
- 25.3.28 Debug mode
- 25.4 TIM1/TIM8 registers
- 25.4.1 TIM1/TIM8 control register 1 (TIMx_CR1)
- 25.4.2 TIM1/TIM8 control register 2 (TIMx_CR2)
- 25.4.3 TIM1/TIM8 slave mode control register (TIMx_SMCR)
- 25.4.4 TIM1/TIM8 DMA/interrupt enable register (TIMx_DIER)
- 25.4.5 TIM1/TIM8 status register (TIMx_SR)
- 25.4.6 TIM1/TIM8 event generation register (TIMx_EGR)
- 25.4.7 TIM1/TIM8 capture/compare mode register 1 (TIMx_CCMR1)
- 25.4.8 TIM1/TIM8 capture/compare mode register 2 (TIMx_CCMR2)
- 25.4.9 TIM1/TIM8 capture/compare enable register (TIMx_CCER)
- 25.4.10 TIM1/TIM8 counter (TIMx_CNT)
- 25.4.11 TIM1/TIM8 prescaler (TIMx_PSC)
- 25.4.12 TIM1/TIM8 auto-reload register (TIMx_ARR)
- 25.4.13 TIM1/TIM8 repetition counter register (TIMx_RCR)
- 25.4.14 TIM1/TIM8 capture/compare register 1 (TIMx_CCR1)
- 25.4.15 TIM1/TIM8 capture/compare register 2 (TIMx_CCR2)
- 25.4.16 TIM1/TIM8 capture/compare register 3 (TIMx_CCR3)
- 25.4.17 TIM1/TIM8 capture/compare register 4 (TIMx_CCR4)
- 25.4.18 TIM1/TIM8 break and dead-time register (TIMx_BDTR)
- 25.4.19 TIM1/TIM8 DMA control register (TIMx_DCR)
- 25.4.20 TIM1/TIM8 DMA address for full transfer (TIMx_DMAR)
- 25.4.21 TIM1/TIM8 capture/compare mode register 3 (TIMx_CCMR3)
- 25.4.22 TIM1/TIM8 capture/compare register 5 (TIMx_CCR5)
- 25.4.23 TIM1/TIM8 capture/compare register 6 (TIMx_CCR6)
- 25.4.24 TIM1/TIM8 alternate function option register 1 (TIMx_AF1)
- 25.4.25 TIM1/TIM8 alternate function option register 2 (TIMx_AF2)
- 25.4.26 TIM1 register map
- 25.4.27 TIM8 register map
- 26 General-purpose timers (TIM2/TIM3/TIM4/TIM5)
- 26.1 TIM2/TIM3/TIM4/TIM5 introduction
- 26.2 TIM2/TIM3/TIM4/TIM5 main features
- 26.3 TIM2/TIM3/TIM4/TIM5 functional description
- 26.3.1 Time-base unit
- 26.3.2 Counter modes
- Figure 256. Counter timing diagram, internal clock divided by 1
- Figure 257. Counter timing diagram, internal clock divided by 2
- Figure 258. Counter timing diagram, internal clock divided by 4
- Figure 259. Counter timing diagram, internal clock divided by N
- Figure 260. Counter timing diagram, Update event when ARPE=0 (TIMx_ARR not preloaded)
- Figure 261. Counter timing diagram, Update event when ARPE=1 (TIMx_ARR preloaded)
- Figure 262. Counter timing diagram, internal clock divided by 1
- Figure 263. Counter timing diagram, internal clock divided by 2
- Figure 264. Counter timing diagram, internal clock divided by 4
- Figure 265. Counter timing diagram, internal clock divided by N
- Figure 266. Counter timing diagram, Update event when repetition counter is not used
- Figure 267. Counter timing diagram, internal clock divided by 1, TIMx_ARR=0x6
- Figure 268. Counter timing diagram, internal clock divided by 2
- Figure 269. Counter timing diagram, internal clock divided by 4, TIMx_ARR=0x36
- Figure 270. Counter timing diagram, internal clock divided by N
- Figure 271. Counter timing diagram, Update event with ARPE=1 (counter underflow)
- Figure 272. Counter timing diagram, Update event with ARPE=1 (counter overflow)
- 26.3.3 Clock selection
- 26.3.4 Capture/compare channels
- 26.3.5 Input capture mode
- 26.3.6 PWM input mode
- 26.3.7 Forced output mode
- 26.3.8 Output compare mode
- 26.3.9 PWM mode
- 26.3.10 Asymmetric PWM mode
- 26.3.11 Combined PWM mode
- 26.3.12 Clearing the OCxREF signal on an external event
- 26.3.13 One-pulse mode
- 26.3.14 Retriggerable one pulse mode (OPM)
- 26.3.15 Encoder interface mode
- 26.3.16 UIF bit remapping
- 26.3.17 Timer input XOR function
- 26.3.18 Timers and external trigger synchronization
- 26.3.19 Timer synchronization
- 26.3.20 DMA burst mode
- 26.3.21 Debug mode
- 26.4 TIM2/TIM3/TIM4/TIM5 registers
- 26.4.1 TIMx control register 1 (TIMx_CR1)
- 26.4.2 TIMx control register 2 (TIMx_CR2)
- 26.4.3 TIMx slave mode control register (TIMx_SMCR)
- 26.4.4 TIMx DMA/Interrupt enable register (TIMx_DIER)
- 26.4.5 TIMx status register (TIMx_SR)
- 26.4.6 TIMx event generation register (TIMx_EGR)
- 26.4.7 TIMx capture/compare mode register 1 (TIMx_CCMR1)
- 26.4.8 TIMx capture/compare mode register 2 (TIMx_CCMR2)
- 26.4.9 TIMx capture/compare enable register (TIMx_CCER)
- 26.4.10 TIMx counter (TIMx_CNT)
- 26.4.11 TIMx prescaler (TIMx_PSC)
- 26.4.12 TIMx auto-reload register (TIMx_ARR)
- 26.4.13 TIMx capture/compare register 1 (TIMx_CCR1)
- 26.4.14 TIMx capture/compare register 2 (TIMx_CCR2)
- 26.4.15 TIMx capture/compare register 3 (TIMx_CCR3)
- 26.4.16 TIMx capture/compare register 4 (TIMx_CCR4)
- 26.4.17 TIMx DMA control register (TIMx_DCR)
- 26.4.18 TIMx DMA address for full transfer (TIMx_DMAR)
- 26.4.19 TIM2 option register (TIM2_OR)
- 26.4.20 TIM5 option register (TIM5_OR)
- 26.4.21 TIMx register map
- 27 General-purpose timers (TIM9/TIM10/TIM11/TIM12/TIM13/TIM14)
- 27.1 TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 introduction
- 27.2 TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 main features
- 27.3 TIM9/TIM10/TIM11/TIM12/TIM13/TIM14 functional description
- 27.3.1 Time-base unit
- 27.3.2 Counter modes
- Figure 306. Counter timing diagram, internal clock divided by 1
- Figure 307. Counter timing diagram, internal clock divided by 2
- Figure 308. Counter timing diagram, internal clock divided by 4
- Figure 309. Counter timing diagram, internal clock divided by N
- Figure 310. Counter timing diagram, update event when ARPE=0 (TIMx_ARR not preloaded)
- Figure 311. Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded)
- 27.3.3 Clock selection
- 27.3.4 Capture/compare channels
- 27.3.5 Input capture mode
- 27.3.6 PWM input mode (only for TIM9/TIM12)
- 27.3.7 Forced output mode
- 27.3.8 Output compare mode
- 27.3.9 PWM mode
- 27.3.10 Combined PWM mode (TIM9/TIM12 only)
- 27.3.11 One-pulse mode
- 27.3.12 Retriggerable one pulse mode (OPM) (TIM12 only)
- 27.3.13 UIF bit remapping
- 27.3.14 Timer input XOR function
- 27.3.15 TIM9/TIM12 external trigger synchronization
- 27.3.16 Slave mode – combined reset + trigger mode
- 27.3.17 Timer synchronization (TIM9/TIM12)
- 27.3.18 Debug mode
- 27.4 TIM9/TIM12 registers
- 27.4.1 TIM9/TIM12 control register 1 (TIMx_CR1)
- 27.4.2 TIM9/TIM12 slave mode control register (TIMx_SMCR)
- 27.4.3 TIM9/TIM12 Interrupt enable register (TIMx_DIER)
- 27.4.4 TIM9/TIM12 status register (TIMx_SR)
- 27.4.5 TIM9/TIM12 event generation register (TIMx_EGR)
- 27.4.6 TIM9/TIM12 capture/compare mode register 1 (TIMx_CCMR1)
- 27.4.7 TIM9/TIM12 capture/compare enable register (TIMx_CCER)
- 27.4.8 TIM9/TIM12 counter (TIMx_CNT)
- 27.4.9 TIM9/TIM12 prescaler (TIMx_PSC)
- 27.4.10 TIM9/TIM12 auto-reload register (TIMx_ARR)
- 27.4.11 TIM9/TIM12 capture/compare register 1 (TIMx_CCR1)
- 27.4.12 TIM9/TIM12 capture/compare register 2 (TIMx_CCR2)
- 27.4.13 TIM9/TIM12 register map
- 27.5 TIM10/TIM11/TIM13/TIM14 registers
- 27.5.1 TIM10/TIM11/TIM13/TIM14 control register 1 (TIMx_CR1)
- 27.5.2 TIM10/TIM11/TIM13/TIM14 Interrupt enable register (TIMx_DIER)
- 27.5.3 TIM10/TIM11/TIM13/TIM14 status register (TIMx_SR)
- 27.5.4 TIM10/TIM11/TIM13/TIM14 event generation register (TIMx_EGR)
- 27.5.5 TIM10/TIM11/TIM13/TIM14 capture/compare mode register 1 (TIMx_CCMR1)
- 27.5.6 TIM10/TIM11/TIM13/TIM14 capture/compare enable register (TIMx_CCER)
- 27.5.7 TIM10/TIM11/TIM13/TIM14 counter (TIMx_CNT)
- 27.5.8 TIM10/TIM11/TIM13/TIM14 prescaler (TIMx_PSC)
- 27.5.9 TIM10/TIM11/TIM13/TIM14 auto-reload register (TIMx_ARR)
- 27.5.10 TIM10/TIM11/TIM13/TIM14 capture/compare register 1 (TIMx_CCR1)
- 27.5.11 TIM11 option register 1 (TIM11_OR)
- 27.5.12 TIM10/TIM11/TIM13/TIM14 register map
- 28 Basic timers (TIM6/TIM7)
- 28.1 TIM6/TIM7 introduction
- 28.2 TIM6/TIM7 main features
- 28.3 TIM6/TIM7 functional description
- 28.3.1 Time-base unit
- 28.3.2 Counting mode
- Figure 331. Counter timing diagram, internal clock divided by 1
- Figure 332. Counter timing diagram, internal clock divided by 2
- Figure 333. Counter timing diagram, internal clock divided by 4
- Figure 334. Counter timing diagram, internal clock divided by N
- Figure 335. Counter timing diagram, update event when ARPE = 0 (TIMx_ARR not preloaded)
- Figure 336. Counter timing diagram, update event when ARPE=1 (TIMx_ARR preloaded)
- 28.3.3 UIF bit remapping
- 28.3.4 Clock source
- 28.3.5 Debug mode
- 28.4 TIM6/TIM7 registers
- 28.4.1 TIM6/TIM7 control register 1 (TIMx_CR1)
- 28.4.2 TIM6/TIM7 control register 2 (TIMx_CR2)
- 28.4.3 TIM6/TIM7 DMA/Interrupt enable register (TIMx_DIER)
- 28.4.4 TIM6/TIM7 status register (TIMx_SR)
- 28.4.5 TIM6/TIM7 event generation register (TIMx_EGR)
- 28.4.6 TIM6/TIM7 counter (TIMx_CNT)
- 28.4.7 TIM6/TIM7 prescaler (TIMx_PSC)
- 28.4.8 TIM6/TIM7 auto-reload register (TIMx_ARR)
- 28.4.9 TIM6/TIM7 register map
- 29 Low-power timer (LPTIM)
- 29.1 Introduction
- 29.2 LPTIM main features
- 29.3 LPTIM implementation
- 29.4 LPTIM functional description
- 29.5 LPTIM interrupts
- 29.6 LPTIM registers
- 29.6.1 LPTIM interrupt and status register (LPTIM_ISR)
- 29.6.2 LPTIM interrupt clear register (LPTIM_ICR)
- 29.6.3 LPTIM interrupt enable register (LPTIM_IER)
- 29.6.4 LPTIM configuration register (LPTIM_CFGR)
- 29.6.5 LPTIM control register (LPTIM_CR)
- 29.6.6 LPTIM compare register (LPTIM_CMP)
- 29.6.7 LPTIM autoreload register (LPTIM_ARR)
- 29.6.8 LPTIM counter register (LPTIM_CNT)
- 29.6.9 LPTIM register map
- 30 Independent watchdog (IWDG)
- 31 System window watchdog (WWDG)
- 32 Real-time clock (RTC)
- 32.1 Introduction
- 32.2 RTC main features
- 32.3 RTC functional description
- 32.3.1 RTC block diagram
- 32.3.2 GPIOs controlled by the RTC
- 32.3.3 Clock and prescalers
- 32.3.4 Real-time clock and calendar
- 32.3.5 Programmable alarms
- 32.3.6 Periodic auto-wakeup
- 32.3.7 RTC initialization and configuration
- 32.3.8 Reading the calendar
- 32.3.9 Resetting the RTC
- 32.3.10 RTC synchronization
- 32.3.11 RTC reference clock detection
- 32.3.12 RTC smooth digital calibration
- 32.3.13 Time-stamp function
- 32.3.14 Tamper detection
- 32.3.15 Calibration clock output
- 32.3.16 Alarm output
- 32.4 RTC low-power modes
- 32.5 RTC interrupts
- 32.6 RTC registers
- 32.6.1 RTC time register (RTC_TR)
- 32.6.2 RTC date register (RTC_DR)
- 32.6.3 RTC control register (RTC_CR)
- 32.6.4 RTC initialization and status register (RTC_ISR)
- 32.6.5 RTC prescaler register (RTC_PRER)
- 32.6.6 RTC wakeup timer register (RTC_WUTR)
- 32.6.7 RTC alarm A register (RTC_ALRMAR)
- 32.6.8 RTC alarm B register (RTC_ALRMBR)
- 32.6.9 RTC write protection register (RTC_WPR)
- 32.6.10 RTC sub second register (RTC_SSR)
- 32.6.11 RTC shift control register (RTC_SHIFTR)
- 32.6.12 RTC timestamp time register (RTC_TSTR)
- 32.6.13 RTC timestamp date register (RTC_TSDR)
- 32.6.14 RTC time-stamp sub second register (RTC_TSSSR)
- 32.6.15 RTC calibration register (RTC_CALR)
- 32.6.16 RTC tamper configuration register (RTC_TAMPCR)
- 32.6.17 RTC alarm A sub second register (RTC_ALRMASSR)
- 32.6.18 RTC alarm B sub second register (RTC_ALRMBSSR)
- 32.6.19 RTC option register (RTC_OR)
- 32.6.20 RTC backup registers (RTC_BKPxR)
- 32.6.21 RTC register map
- 33 Inter-integrated circuit (I2C) interface
- 33.1 Introduction
- 33.2 I2C main features
- 33.3 I2C implementation
- 33.4 I2C functional description
- 33.4.1 I2C block diagram
- 33.4.2 I2C clock requirements
- 33.4.3 Mode selection
- 33.4.4 I2C initialization
- 33.4.5 Software reset
- 33.4.6 Data transfer
- 33.4.7 I2C slave mode
- Figure 355. Slave initialization flowchart
- Figure 356. Transfer sequence flowchart for I2C slave transmitter, NOSTRETCH=0
- Figure 357. Transfer sequence flowchart for I2C slave transmitter, NOSTRETCH=1
- Figure 358. Transfer bus diagrams for I2C slave transmitter
- Figure 359. Transfer sequence flowchart for slave receiver with NOSTRETCH=0
- Figure 360. Transfer sequence flowchart for slave receiver with NOSTRETCH=1
- Figure 361. Transfer bus diagrams for I2C slave receiver
- 33.4.8 I2C master mode
- Figure 362. Master clock generation
- Table 205. I2C-SMBUS specification clock timings
- Figure 363. Master initialization flowchart
- Figure 364. 10-bit address read access with HEAD10R=0
- Figure 365. 10-bit address read access with HEAD10R=1
- Figure 366. Transfer sequence flowchart for I2C master transmitter for N≤255 bytes
- Figure 367. Transfer sequence flowchart for I2C master transmitter for N>255 bytes
- Figure 368. Transfer bus diagrams for I2C master transmitter
- Figure 369. Transfer sequence flowchart for I2C master receiver for N≤255 bytes
- Figure 370. Transfer sequence flowchart for I2C master receiver for N >255 bytes
- Figure 371. Transfer bus diagrams for I2C master receiver
- 33.4.9 I2C_TIMINGR register configuration examples
- 33.4.10 SMBus specific features
- 33.4.11 SMBus initialization
- 33.4.12 SMBus: I2C_TIMEOUTR register configuration examples
- 33.4.13 SMBus slave mode
- Figure 373. Transfer sequence flowchart for SMBus slave transmitter N bytes + PEC
- Figure 374. Transfer bus diagrams for SMBus slave transmitter (SBC=1)
- Figure 375. Transfer sequence flowchart for SMBus slave receiver N Bytes + PEC
- Figure 376. Bus transfer diagrams for SMBus slave receiver (SBC=1)
- Figure 377. Bus transfer diagrams for SMBus master transmitter
- Figure 378. Bus transfer diagrams for SMBus master receiver
- 33.4.14 Error conditions
- 33.4.15 DMA requests
- 33.4.16 Debug mode
- 33.5 I2C low-power modes
- 33.6 I2C interrupts
- 33.7 I2C registers
- 33.7.1 Control register 1 (I2C_CR1)
- 33.7.2 Control register 2 (I2C_CR2)
- 33.7.3 Own address 1 register (I2C_OAR1)
- 33.7.4 Own address 2 register (I2C_OAR2)
- 33.7.5 Timing register (I2C_TIMINGR)
- 33.7.6 Timeout register (I2C_TIMEOUTR)
- 33.7.7 Interrupt and status register (I2C_ISR)
- 33.7.8 Interrupt clear register (I2C_ICR)
- 33.7.9 PEC register (I2C_PECR)
- 33.7.10 Receive data register (I2C_RXDR)
- 33.7.11 Transmit data register (I2C_TXDR)
- 33.7.12 I2C register map
- 34 Universal synchronous asynchronous receiver transmitter (USART)
- 34.1 Introduction
- 34.2 USART main features
- 34.3 USART extended features
- 34.4 USART implementation
- 34.5 USART functional description
- Figure 380. USART block diagram
- 34.5.1 USART character description
- 34.5.2 USART transmitter
- 34.5.3 USART receiver
- 34.5.4 USART baud rate generation
- 34.5.5 Tolerance of the USART receiver to clock deviation
- 34.5.6 USART auto baud rate detection
- 34.5.7 Multiprocessor communication using USART
- 34.5.8 Modbus communication using USART
- 34.5.9 USART parity control
- 34.5.10 USART LIN (local interconnection network) mode
- 34.5.11 USART synchronous mode
- 34.5.12 USART Single-wire Half-duplex communication
- 34.5.13 USART Smartcard mode
- 34.5.14 USART IrDA SIR ENDEC block
- 34.5.15 USART continuous communication in DMA mode
- 34.5.16 RS232 hardware flow control and RS485 driver enable using USART
- 34.5.17 Wakeup from Stop mode using USART
- 34.6 USART low-power modes
- 34.7 USART interrupts
- 34.8 USART registers
- 34.8.1 Control register 1 (USART_CR1)
- 34.8.2 Control register 2 (USART_CR2)
- 34.8.3 Control register 3 (USART_CR3)
- 34.8.4 Baud rate register (USART_BRR)
- 34.8.5 Guard time and prescaler register (USART_GTPR)
- 34.8.6 Receiver timeout register (USART_RTOR)
- 34.8.7 Request register (USART_RQR)
- 34.8.8 Interrupt and status register (USART_ISR)
- 34.8.9 Interrupt flag clear register (USART_ICR)
- 34.8.10 Receive data register (USART_RDR)
- 34.8.11 Transmit data register (USART_TDR)
- 34.8.12 USART register map
- 35 Serial peripheral interface / inter-IC sound (SPI/I2S)
- 35.1 Introduction
- 35.2 SPI main features
- 35.3 I2S main features
- 35.4 SPI/I2S implementation
- 35.5 SPI functional description
- 35.5.1 General description
- 35.5.2 Communications between one master and one slave
- 35.5.3 Standard multi-slave communication
- 35.5.4 Multi-master communication
- 35.5.5 Slave select (NSS) pin management
- 35.5.6 Communication formats
- 35.5.7 Configuration of SPI
- 35.5.8 Procedure for enabling SPI
- 35.5.9 Data transmission and reception procedures
- 35.5.10 SPI status flags
- 35.5.11 SPI error flags
- 35.5.12 NSS pulse mode
- 35.5.13 TI mode
- 35.5.14 CRC calculation
- 35.6 SPI interrupts
- 35.7 I2S functional description
- 35.7.1 I2S general description
- 35.7.2 I2S full duplex
- 35.7.3 Supported audio protocols
- Figure 423. I2S Philips protocol waveforms (16/32-bit full accuracy)
- Figure 424. I2S Philips standard waveforms (24-bit frame)
- Figure 425. Transmitting 0x8EAA33
- Figure 426. Receiving 0x8EAA33
- Figure 427. I2S Philips standard (16-bit extended to 32-bit packet frame)
- Figure 428. Example of 16-bit data frame extended to 32-bit channel frame
- Figure 429. MSB Justified 16-bit or 32-bit full-accuracy length
- Figure 430. MSB justified 24-bit frame length
- Figure 431. MSB justified 16-bit extended to 32-bit packet frame
- Figure 432. LSB justified 16-bit or 32-bit full-accuracy
- Figure 433. LSB justified 24-bit frame length
- Figure 434. Operations required to transmit 0x3478AE
- Figure 435. Operations required to receive 0x3478AE
- Figure 436. LSB justified 16-bit extended to 32-bit packet frame
- Figure 437. Example of 16-bit data frame extended to 32-bit channel frame
- Figure 438. PCM standard waveforms (16-bit)
- Figure 439. PCM standard waveforms (16-bit extended to 32-bit packet frame)
- 35.7.4 Start-up description
- 35.7.5 Clock generator
- 35.7.6 I2S master mode
- 35.7.7 I2S slave mode
- 35.7.8 I2S status flags
- 35.7.9 I2S error flags
- 35.7.10 DMA features
- 35.8 I2S interrupts
- 35.9 SPI and I2S registers
- 35.9.1 SPI control register 1 (SPIx_CR1)
- 35.9.2 SPI control register 2 (SPIx_CR2)
- 35.9.3 SPI status register (SPIx_SR)
- 35.9.4 SPI data register (SPIx_DR)
- 35.9.5 SPI CRC polynomial register (SPIx_CRCPR)
- 35.9.6 SPI Rx CRC register (SPIx_RXCRCR)
- 35.9.7 SPI Tx CRC register (SPIx_TXCRCR)
- 35.9.8 SPIx_I2S configuration register (SPIx_I2SCFGR)
- 35.9.9 SPIx_I2S prescaler register (SPIx_I2SPR)
- 35.9.10 SPI/I2S register map
- 36 Serial audio interface (SAI)
- 36.1 Introduction
- 36.2 SAI main features
- 36.3 SAI functional description
- 36.3.1 SAI block diagram
- 36.3.2 SAI pins and internal signals
- 36.3.3 Main SAI modes
- 36.3.4 SAI synchronization mode
- 36.3.5 Audio data size
- 36.3.6 Frame synchronization
- 36.3.7 Slot configuration
- 36.3.8 SAI clock generator
- 36.3.9 Internal FIFOs
- 36.3.10 AC’97 link controller
- 36.3.11 SPDIF output
- 36.3.12 Specific features
- 36.3.13 Error flags
- 36.3.14 Disabling the SAI
- 36.3.15 SAI DMA interface
- 36.4 SAI interrupts
- 36.5 SAI registers
- 36.5.1 Global configuration register (SAI_GCR)
- 36.5.2 Configuration register 1 (SAI_ACR1)
- 36.5.3 Configuration register 1 (SAI_BCR1)
- 36.5.4 Configuration register 2 (SAI_ACR2)
- 36.5.5 Configuration register 2 (SAI_BCR2)
- 36.5.6 Frame configuration register (SAI_AFRCR)
- 36.5.7 Frame configuration register (SAI_BFRCR)
- 36.5.8 Slot register (SAI_ASLOTR)
- 36.5.9 Slot register (SAI_BSLOTR)
- 36.5.10 Interrupt mask register 2 (SAI_AIM)
- 36.5.11 Interrupt mask register 2 (SAI_BIM)
- 36.5.12 Status register (SAI_ASR)
- 36.5.13 Status register (SAI_BSR)
- 36.5.14 Clear flag register (SAI_ACLRFR)
- 36.5.15 Clear flag register (SAI_BCLRFR)
- 36.5.16 Data register (SAI_ADR)
- 36.5.17 Data register (SAI_BDR)
- 36.5.18 SAI register map
- 37 SPDIF receiver interface (SPDIFRX)
- 37.1 SPDIFRX interface introduction
- 37.2 SPDIFRX main features
- 37.3 SPDIFRX functional description
- Figure 459. SPDIFRX block diagram
- 37.3.1 S/PDIF protocol (IEC-60958)
- 37.3.2 SPDIFRX decoder (SPDIFRX_DC)
- 37.3.3 SPDIFRX tolerance to clock deviation
- 37.3.4 SPDIFRX synchronization
- 37.3.5 SPDIFRX handling
- 37.3.6 Data reception management
- 37.3.7 Dedicated control flow
- 37.3.8 Reception errors
- 37.3.9 Clocking strategy
- 37.3.10 DMA Interface
- 37.3.11 Interrupt Generation
- 37.3.12 Register protection
- 37.4 Programming procedures
- 37.5 SPDIFRX interface registers
- 37.5.1 Control register (SPDIFRX_CR)
- 37.5.2 Interrupt mask register (SPDIFRX_IMR)
- 37.5.3 Status register (SPDIFRX_SR)
- 37.5.4 Interrupt flag clear register (SPDIFRX_IFCR)
- 37.5.5 Data input register (SPDIFRX_FMT0_DR)
- 37.5.6 Data input register (SPDIFRX_FMT1_DR)
- 37.5.7 Data input register (SPDIFRX_FMT2_DR)
- 37.5.8 Channel status register (SPDIFRX_CSR)
- 37.5.9 Debug information register (SPDIFRX_DIR)
- 37.5.10 SPDIFRX interface register map
- 38 Management data input/output (MDIOS)
- 38.1 MDIOS introduction
- 38.2 MDIOS main features
- 38.3 MDIOS functional description
- 38.4 MDIOS registers
- 38.4.1 MDIOS configuration register (MDIOS_CR)
- 38.4.2 MDIOS write flag register (MDIOS_WRFR)
- 38.4.3 MDIOS clear write flag register (MDIOS_CWRFR)
- 38.4.4 MDIOS read flag register (MDIOS_RDFR)
- 38.4.5 MDIOS clear read flag register (MDIOS_CRDFR)
- 38.4.6 MDIOS status register (MDIOS_SR)
- 38.4.7 MDIOS clear flag register (MDIOS_CLRFR)
- 38.4.8 MDIOS input data register (MDIOS_DINR0-MDIOS_DINR31)
- 38.4.9 MDIOS output data register (MDIOS_DOUTR0-MDIOS_DOUTR31)
- 38.4.10 MDIOS register map
- 39 SD/SDIO/MMC card host interface (SDMMC)
- 39.1 SDMMC main features
- 39.2 SDMMC bus topology
- 39.3 SDMMC functional description
- Figure 483. SDMMC block diagram
- Table 247. SDMMC I/O definitions
- 39.3.1 SDMMC adapter
- Figure 484. SDMMC adapter
- Figure 485. Control unit
- Figure 486. SDMMC_CK clock dephasing (BYPASS = 0)
- Figure 487. SDMMC adapter command path
- Figure 488. Command path state machine (SDMMC)
- Figure 489. SDMMC command transfer
- Table 248. Command format
- Table 249. Short response format
- Table 250. Long response format
- Table 251. Command path status flags
- Figure 490. Data path
- Figure 491. Data path state machine (DPSM)
- Table 252. Data token format
- Table 253. DPSM flags
- Table 254. Transmit FIFO status flags
- Table 255. Receive FIFO status flags
- 39.3.2 SDMMC APB2 interface
- 39.4 Card functional description
- 39.4.1 Card identification mode
- 39.4.2 Card reset
- 39.4.3 Operating voltage range validation
- 39.4.4 Card identification process
- 39.4.5 Block write
- 39.4.6 Block read
- 39.4.7 Stream access, stream write and stream read (MultiMediaCard only)
- 39.4.8 Erase: group erase and sector erase
- 39.4.9 Wide bus selection or deselection
- 39.4.10 Protection management
- 39.4.11 Card status register
- 39.4.12 SD status register
- 39.4.13 SD I/O mode
- 39.4.14 Commands and responses
- 39.5 Response formats
- 39.6 SDIO I/O card-specific operations
- 39.7 HW flow control
- 39.8 SDMMC registers
- 39.8.1 SDMMC power control register (SDMMC_POWER)
- 39.8.2 SDMMC clock control register (SDMMC_CLKCR)
- 39.8.3 SDMMC argument register (SDMMC_ARG)
- 39.8.4 SDMMC command register (SDMMC_CMD)
- 39.8.5 SDMMC command response register (SDMMC_RESPCMD)
- 39.8.6 SDMMC response 1..4 register (SDMMC_RESPx)
- 39.8.7 SDMMC data timer register (SDMMC_DTIMER)
- 39.8.8 SDMMC data length register (SDMMC_DLEN)
- 39.8.9 SDMMC data control register (SDMMC_DCTRL)
- 39.8.10 SDMMC data counter register (SDMMC_DCOUNT)
- 39.8.11 SDMMC status register (SDMMC_STA)
- 39.8.12 SDMMC interrupt clear register (SDMMC_ICR)
- 39.8.13 SDMMC mask register (SDMMC_MASK)
- 39.8.14 SDMMC FIFO counter register (SDMMC_FIFOCNT)
- 39.8.15 SDMMC data FIFO register (SDMMC_FIFO)
- 39.8.16 SDMMC register map
- 40 Controller area network (bxCAN)
- 40.1 Introduction
- 40.2 bxCAN main features
- 40.3 bxCAN general description
- 40.4 bxCAN operating modes
- 40.5 Test mode
- 40.6 Behavior in debug mode
- 40.7 bxCAN functional description
- 40.8 bxCAN interrupts
- 40.9 CAN registers
- 41 USB on-the-go full-speed/high-speed (OTG_FS/OTG_HS)
- 41.1 Introduction
- 41.2 OTG main features
- 41.3 OTG implementation
- 41.4 OTG functional description
- 41.5 OTG dual role device (DRD)
- 41.6 USB peripheral
- 41.7 USB host
- 41.8 SOF trigger
- 41.9 OTG low-power modes
- 41.10 Dynamic update of the OTG_HFIR register
- 41.11 USB data FIFOs
- 41.12 OTG_FS system performance
- 41.13 OTG_FS/OTG_HS interrupts
- 41.14 OTG_FS/OTG_HS control and status registers
- 41.15 OTG_FS/OTG_HS registers
- 41.15.1 OTG control and status register (OTG_GOTGCTL)
- 41.15.2 OTG interrupt register (OTG_GOTGINT)
- 41.15.3 OTG AHB configuration register (OTG_GAHBCFG)
- 41.15.4 OTG USB configuration register (OTG_GUSBCFG)
- 41.15.5 OTG reset register (OTG_GRSTCTL)
- 41.15.6 OTG core interrupt register (OTG_GINTSTS)
- 41.15.7 OTG interrupt mask register (OTG_GINTMSK)
- 41.15.8 OTG receive status debug read/OTG status read and pop registers (OTG_GRXSTSR/OTG_GRXSTSP)
- 41.15.9 OTG receive FIFO size register (OTG_GRXFSIZ)
- 41.15.10 OTG host non-periodic transmit FIFO size register (OTG_HNPTXFSIZ)/Endpoint 0 Transmit FIFO size (OTG_DIEPTXF0)
- 41.15.11 OTG non-periodic transmit FIFO/queue status register (OTG_HNPTXSTS)
- 41.15.12 OTG general core configuration register (OTG_GCCFG)
- 41.15.13 OTG core ID register (OTG_CID)
- 41.15.14 OTG core LPM configuration register (OTG_GLPMCFG)
- 41.15.15 OTG host periodic transmit FIFO size register (OTG_HPTXFSIZ)
- 41.15.16 OTG device IN endpoint transmit FIFO size register (OTG_DIEPTXFx) (x = 1..5[FS] /8[HS], where x is the FIFO number)
- 41.15.17 Host-mode registers
- 41.15.18 OTG host configuration register (OTG_HCFG)
- 41.15.19 OTG host frame interval register (OTG_HFIR)
- 41.15.20 OTG host frame number/frame time remaining register (OTG_HFNUM)
- 41.15.21 OTG_Host periodic transmit FIFO/queue status register (OTG_HPTXSTS)
- 41.15.22 OTG host all channels interrupt register (OTG_HAINT)
- 41.15.23 OTG host all channels interrupt mask register (OTG_HAINTMSK)
- 41.15.24 OTG host port control and status register (OTG_HPRT)
- 41.15.25 OTG host channel x characteristics register (OTG_HCCHARx) (x = 0..15[HS] / 11[FS], where x = Channel number)
- 41.15.26 OTG host channel x split control register (OTG_HCSPLTx) (x = 0..15, where x = Channel number)
- 41.15.27 OTG host channel x interrupt register (OTG_HCINTx) (x = 0..15[HS] / 11[FS], where x = Channel number)
- 41.15.28 OTG host channel x interrupt mask register (OTG_HCINTMSKx) (x = 0..15[HS] / 11[FS], where x = Channel number)
- 41.15.29 OTG host channel x transfer size register (OTG_HCTSIZx) (x = 0..15[HS] / 11[FS], where x = Channel number)
- 41.15.30 OTG host channel x DMA address register (OTG_HCDMAx) (x = 0..15, where x = Channel number)
- 41.15.31 Device-mode registers
- 41.15.32 OTG device configuration register (OTG_DCFG)
- 41.15.33 OTG device control register (OTG_DCTL)
- 41.15.34 OTG device status register (OTG_DSTS)
- 41.15.35 OTG device IN endpoint common interrupt mask register (OTG_DIEPMSK)
- 41.15.36 OTG device OUT endpoint common interrupt mask register (OTG_DOEPMSK)
- 41.15.37 OTG device all endpoints interrupt register (OTG_DAINT)
- 41.15.38 OTG all endpoints interrupt mask register (OTG_DAINTMSK)
- 41.15.39 OTG device VBUS discharge time register (OTG_DVBUSDIS)
- 41.15.40 OTG device VBUS pulsing time register (OTG_DVBUSPULSE)
- 41.15.41 OTG device threshold control register (OTG_DTHRCTL)
- 41.15.42 OTG device IN endpoint FIFO empty interrupt mask register (OTG_DIEPEMPMSK)
- 41.15.43 OTG device each endpoint interrupt register (OTG_DEACHINT)
- 41.15.44 OTG device each endpoint interrupt mask register (OTG_DEACHINTMSK)
- 41.15.45 OTG device each IN endpoint-1 interrupt mask register (OTG_HS_DIEPEACHMSK1)
- 41.15.46 OTG device each OUT endpoint-1 interrupt mask register (OTG_HS_DOEPEACHMSK1)
- 41.15.47 OTG device control IN endpoint 0 control register (OTG_DIEPCTL0)
- 41.15.48 OTG device IN endpoint x control register (OTG_DIEPCTLx) (x = 1..5[FS] / 0..8[HS], where x = endpoint number)
- 41.15.49 OTG device IN endpoint x interrupt register (OTG_DIEPINTx) (x = 0..5[FS] /8[HS], where x = Endpoint number)
- 41.15.50 OTG device IN endpoint 0 transfer size register (OTG_DIEPTSIZ0)
- 41.15.51 OTG device IN endpoint x DMA address register (OTG_DIEPDMAx) (x = 0..8, where x = endpoint number)
- 41.15.52 OTG device IN endpoint transmit FIFO status register (OTG_DTXFSTSx) (x = 0..5[FS] /8[HS], where x = endpoint number)
- 41.15.53 OTG device IN endpoint x transfer size register (OTG_DIEPTSIZx) (x = 1..5[FS] /8[HS], where x = endpoint number)
- 41.15.54 OTG device control OUT endpoint 0 control register (OTG_DOEPCTL0)
- 41.15.55 OTG device OUT endpoint x interrupt register (OTG_DOEPINTx) (x = 0..5[FS] /8[HS], where x = Endpoint number)
- 41.15.56 OTG device OUT endpoint 0 transfer size register (OTG_DOEPTSIZ0)
- 41.15.57 OTG device OUT endpoint x DMA address register (OTG_DOEPDMAx) (x = 0..8, where x = endpoint number)
- 41.15.58 OTG device OUT endpoint x control register (OTG_DOEPCTLx) (x = 1..5[FS] /8[HS], where x = endpoint number)
- 41.15.59 OTG device OUT endpoint x transfer size register (OTG_DOEPTSIZx) (x = 1..5[FS] /8[HS], where x = Endpoint number)
- 41.15.60 OTG power and clock gating control register (OTG_PCGCCTL)
- 41.15.61 OTG_FS/OTG_HS register map
- 41.16 OTG_FS/OTG_HS programming model
- 41.16.1 Core initialization
- 41.16.2 Host initialization
- 41.16.3 Device initialization
- 41.16.4 DMA mode
- 41.16.5 Host programming model
- Figure 519. Transmit FIFO write task
- Figure 520. Receive FIFO read task
- Figure 521. Normal bulk/control OUT/SETUP
- Figure 522. Bulk/control IN transactions
- Figure 523. Normal interrupt OUT
- Figure 524. Normal interrupt IN
- Figure 525. Isochronous OUT transactions
- Figure 526. Isochronous IN transactions
- Figure 527. Normal bulk/control OUT/SETUP transactions - DMA
- Figure 528. Normal bulk/control IN transaction - DMA
- Figure 529. Normal interrupt OUT transactions - DMA mode
- Figure 530. Normal interrupt IN transactions - DMA mode
- Figure 531. Normal isochronous OUT transaction - DMA mode
- Figure 532. Normal isochronous IN transactions - DMA mode
- 41.16.6 Device programming model
- 41.16.7 Worst case response time
- 41.16.8 OTG programming model
- 42 Ethernet (ETH): media access control (MAC) with DMA controller
- 42.1 Ethernet introduction
- 42.2 Ethernet main features
- 42.3 Ethernet pins
- 42.4 Ethernet functional description: SMI, MII and RMII
- 42.5 Ethernet functional description: MAC 802.3
- 42.6 Ethernet functional description: DMA controller operation
- Figure 567. Descriptor ring and chain structure
- 42.6.1 Initialization of a transfer using DMA
- 42.6.2 Host bus burst access
- 42.6.3 Host data buffer alignment
- 42.6.4 Buffer size calculations
- 42.6.5 DMA arbiter
- 42.6.6 Error response to DMA
- 42.6.7 Tx DMA configuration
- 42.6.8 Rx DMA configuration
- 42.6.9 DMA interrupts
- 42.7 Ethernet interrupts
- 42.8 Ethernet register descriptions
- 43 HDMI-CEC controller (HDMI-CEC)
- 43.1 Introduction
- 43.2 HDMI-CEC controller main features
- 43.3 HDMI-CEC functional description
- 43.4 Arbitration
- 43.5 Error handling
- 43.6 HDMI-CEC interrupts
- 43.7 HDMI-CEC registers
- 44 Debug support (DBG)
- 44.1 Overview
- 44.2 Reference Arm® documentation
- 44.3 SWJ debug port (serial wire and JTAG)
- 44.4 Pinout and debug port pins
- 44.5 STM32F76xxx and STM32F77xxx JTAG Debug Port connection
- 44.6 ID codes and locking mechanism
- 44.7 JTAG debug port
- 44.8 SW debug port
- 44.9 AHB-AP (AHB access port) - valid for both JTAG-DP and SW-DP
- 44.10 Core debug
- 44.11 Capability of the debugger host to connect under system reset
- 44.12 FPB (Flash patch breakpoint)
- 44.13 DWT (data watchpoint trigger)
- 44.14 ITM (instrumentation trace macrocell)
- 44.15 ETM (Embedded trace macrocell)
- 44.16 MCU debug component (DBGMCU)
- 44.17 Pelican TPIU (trace port interface unit)
- 44.17.1 Introduction
- 44.17.2 TRACE pin assignment
- 44.17.3 TPIU formatter
- 44.17.4 TPIU frame synchronization packets
- 44.17.5 Transmission of the synchronization frame packet
- 44.17.6 Synchronous mode
- 44.17.7 Asynchronous mode
- 44.17.8 TRACECLKIN connection inside the STM32F76xxx and STM32F77xxx
- 44.17.9 TPIU registers
- 44.17.10 Example of configuration
- 44.18 DBG register map
- 45 Device electronic signature
- 46 Revision history