STM32F40xxx, STM32F41xxx, STM32F42xxx, STM32F43xxx Advanced ARM Based 32 Bit MCUs Stm32f4 Reference Manual
User Manual:
Open the PDF directly: View PDF
Page Count: 1422 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- 1 Documentation conventions
- 2 Memory and bus architecture
- 3 Embedded Flash memory interface
- 3.1 Introduction
- 3.2 Main features
- 3.3 Embedded Flash memory
- 3.4 Read interface
- 3.5 Erase and program operations
- 3.6 Option bytes
- 3.7 One-time programmable bytes
- 3.8 Flash interface registers
- 3.8.1 Flash access control register (FLASH_ACR)
- 3.8.2 Flash key register (FLASH_KEYR)
- 3.8.3 Flash option key register (FLASH_OPTKEYR)
- 3.8.4 Flash status register (FLASH_SR)
- 3.8.5 Flash control register (FLASH_CR) for STM32F405xx/07xx and STM32F415xx/17xx
- 3.8.6 Flash control register (FLASH_CR) for STM32F42xxx and STM32F43xxx
- 3.8.7 Flash option control register (FLASH_OPTCR)
- 3.8.8 Flash option control register (FLASH_OPTCR1) for STM32F42xxx and STM32F43xxx
- 3.8.9 Flash interface register map
- 4 CRC calculation unit
- 5 Power controller (PWR)
- 5.1 Power supplies
- 5.2 Power supply supervisor
- 5.3 Low-power modes
- 5.4 Power control registers
- 5.5 PWR register map
- 6 Reset and clock control for (RCC)
- 6.1 Reset
- 6.2 Clocks
- 6.3 RCC registers
- 6.3.1 RCC clock control register (RCC_CR)
- 6.3.2 RCC PLL configuration register (RCC_PLLCFGR)
- 6.3.3 RCC clock configuration register (RCC_CFGR)
- 6.3.4 RCC clock interrupt register (RCC_CIR)
- 6.3.5 RCC AHB1 peripheral reset register (RCC_AHB1RSTR)
- 6.3.6 RCC AHB2 peripheral reset register (RCC_AHB2RSTR)
- 6.3.7 RCC AHB3 peripheral reset register (RCC_AHB3RSTR)
- 6.3.8 RCC APB1 peripheral reset register for STM32F405xx/07xx and STM32F415xx/17xx(RCC_APB1RSTR)
- 6.3.9 RCC APB1 peripheral reset register for STM32F42xxx and STM32F43xxx (RCC_APB1RSTR)
- 6.3.10 RCC APB2 peripheral reset register (RCC_APB2RSTR) for STM32F405xx/07xx and STM32F415xx/17xx
- 6.3.11 RCC APB2 peripheral reset register for STM32F42xxx and STM32F43xxx (RCC_APB2RSTR)
- 6.3.12 RCC AHB1 peripheral clock enable register (RCC_AHB1ENR)
- 6.3.13 RCC AHB2 peripheral clock enable register (RCC_AHB2ENR)
- 6.3.14 RCC AHB3 peripheral clock enable register (RCC_AHB3ENR)
- 6.3.15 RCC APB1 peripheral clock enable register for STM32F405xx/07xx and STM32F415xx/17xx(RCC_APB1ENR)
- 6.3.16 RCC APB1 peripheral clock enable register for STM32F42xxx and STM32F43xxx(RCC_APB1ENR)
- 6.3.17 RCC APB2 peripheral clock enable register (RCC_APB2ENR) for STM32F405xx/07xx and STM32F415xx/17xx
- 6.3.18 RCC APB2 peripheral clock enable register for STM32F42xxx and STM32F43xxx(RCC_APB2ENR)
- 6.3.19 RCC AHB1 peripheral clock enable in low power mode register for STM32F405xx/07xx and STM32F415xx/17xx (RCC_AHB1LPENR)
- 6.3.20 RCC AHB1 peripheral clock enable in low power mode register for STM32F42xxx and STM32F43xxx (RCC_AHB1LPENR)
- 6.3.21 RCC AHB2 peripheral clock enable in low power mode register (RCC_AHB2LPENR)
- 6.3.22 RCC AHB3 peripheral clock enable in low power mode register (RCC_AHB3LPENR)
- 6.3.23 RCC APB1 peripheral clock enable in low power mode register for STM32F405xx/07xx and STM32F415xx/17xx (RCC_APB1LPENR)
- 6.3.24 RCC APB1 peripheral clock enable in low power mode register for STM32F42xxx and STM32F43xxx (RCC_APB1LPENR)
- 6.3.25 RCC APB2 peripheral clock enabled in low power mode register for STM32F405xx/07xx and STM32F415xx/17xx for STM32F405xx/07xx and STM32F415xx/17xx(RCC_APB2LPENR)
- 6.3.26 RCC APB2 peripheral clock enabled in low power mode register for STM32F42xxx and STM32F43xxx (RCC_APB2LPENR)
- 6.3.27 RCC Backup domain control register (RCC_BDCR)
- 6.3.28 RCC clock control & status register (RCC_CSR)
- 6.3.29 RCC spread spectrum clock generation register (RCC_SSCGR)
- 6.3.30 RCC PLLI2S configuration register (RCC_PLLI2SCFGR)
- 6.3.31 RCC Dedicated Clocks Configuration Register (RCC_DCKCFGR)
- 6.3.32 RCC register map
- 7 General-purpose I/Os (GPIO)
- 7.1 GPIO introduction
- 7.2 GPIO main features
- 7.3 GPIO functional description
- 7.3.1 General-purpose I/O (GPIO)
- 7.3.2 I/O pin multiplexer and mapping
- 7.3.3 I/O port control registers
- 7.3.4 I/O port data registers
- 7.3.5 I/O data bitwise handling
- 7.3.6 GPIO locking mechanism
- 7.3.7 I/O alternate function input/output
- 7.3.8 External interrupt/wakeup lines
- 7.3.9 Input configuration
- 7.3.10 Output configuration
- 7.3.11 Alternate function configuration
- 7.3.12 Analog configuration
- 7.3.13 Using the OSC32_IN/OSC32_OUT pins as GPIO PC14/PC15 port pins
- 7.3.14 Using the OSC_IN/OSC_OUT pins as GPIO PH0/PH1 port pins
- 7.3.15 Selection of RTC_AF1 and RTC_AF2 alternate functions
- 7.4 GPIO registers
- 7.4.1 GPIO port mode register (GPIOx_MODER) (x = A..I)
- 7.4.2 GPIO port output type register (GPIOx_OTYPER) (x = A..I)
- 7.4.3 GPIO port output speed register (GPIOx_OSPEEDR) (x = A..I/)
- 7.4.4 GPIO port pull-up/pull-down register (GPIOx_PUPDR) (x = A..I/)
- 7.4.5 GPIO port input data register (GPIOx_IDR) (x = A..I)
- 7.4.6 GPIO port output data register (GPIOx_ODR) (x = A..I)
- 7.4.7 GPIO port bit set/reset register (GPIOx_BSRR) (x = A..I)
- 7.4.8 GPIO port configuration lock register (GPIOx_LCKR) (x = A..I)
- 7.4.9 GPIO alternate function low register (GPIOx_AFRL) (x = A..I)
- 7.4.10 GPIO alternate function high register (GPIOx_AFRH) (x = A..I)
- 7.4.11 GPIO register map
- 8 System configuration controller (SYSCFG)
- 8.1 I/O compensation cell
- 8.2 SYSCFG registers
- 8.2.1 SYSCFG memory remap register (SYSCFG_MEMRMP)
- 8.2.2 SYSCFG peripheral mode configuration register (SYSCFG_PMC) for STM32F405xx/07xx and STM32F415xx/17xx
- 8.2.3 SYSCFG peripheral mode configuration register (SYSCFG_PMC) for STM32F42xxx and STM32F43xxx
- 8.2.4 SYSCFG external interrupt configuration register 1 (SYSCFG_EXTICR1)
- 8.2.5 SYSCFG external interrupt configuration register 2 (SYSCFG_EXTICR2)
- 8.2.6 SYSCFG external interrupt configuration register 3 (SYSCFG_EXTICR3)
- 8.2.7 SYSCFG external interrupt configuration register 4 (SYSCFG_EXTICR4)
- 8.2.8 Compensation cell control register (SYSCFG_CMPCR)
- 8.2.9 SYSCFG register maps
- 9 DMA controller (DMA)
- 9.1 DMA introduction
- 9.2 DMA main features
- 9.3 DMA functional description
- 9.3.1 General description
- 9.3.2 DMA transactions
- 9.3.3 Channel selection
- 9.3.4 Arbiter
- 9.3.5 DMA streams
- 9.3.6 Source, destination and transfer modes
- 9.3.7 Pointer incrementation
- 9.3.8 Circular mode
- 9.3.9 Double buffer mode
- 9.3.10 Programmable data width, packing/unpacking, endianess
- 9.3.11 Single and burst transfers
- 9.3.12 FIFO
- 9.3.13 DMA transfer completion
- 9.3.14 DMA transfer suspension
- 9.3.15 Flow controller
- 9.3.16 Summary of the possible DMA configurations
- 9.3.17 Stream configuration procedure
- 9.3.18 Error management
- 9.4 DMA interrupts
- 9.5 DMA registers
- 9.5.1 DMA low interrupt status register (DMA_LISR)
- 9.5.2 DMA high interrupt status register (DMA_HISR)
- 9.5.3 DMA low interrupt flag clear register (DMA_LIFCR)
- 9.5.4 DMA high interrupt flag clear register (DMA_HIFCR)
- 9.5.5 DMA stream x configuration register (DMA_SxCR) (x = 0..7)
- 9.5.6 DMA stream x number of data register (DMA_SxNDTR) (x = 0..7)
- 9.5.7 DMA stream x peripheral address register (DMA_SxPAR) (x = 0..7)
- 9.5.8 DMA stream x memory 0 address register (DMA_SxM0AR) (x = 0..7)
- 9.5.9 DMA stream x memory 1 address register (DMA_SxM1AR) (x = 0..7)
- 9.5.10 DMA stream x FIFO control register (DMA_SxFCR) (x = 0..7)
- 9.5.11 DMA register map
- 10 Interrupts and events
- 11 Analog-to-digital converter (ADC)
- 11.1 ADC introduction
- 11.2 ADC main features
- 11.3 ADC functional description
- 11.4 Data alignment
- 11.5 Channel-wise programmable sampling time
- 11.6 Conversion on external trigger and trigger polarity
- 11.7 Fast conversion mode
- 11.8 Data management
- 11.9 Multi ADC mode
- 11.10 Temperature sensor
- 11.11 Battery charge monitoring
- 11.12 ADC interrupts
- 11.13 ADC registers
- 11.13.1 ADC status register (ADC_SR)
- 11.13.2 ADC control register 1 (ADC_CR1)
- 11.13.3 ADC control register 2 (ADC_CR2)
- 11.13.4 ADC sample time register 1 (ADC_SMPR1)
- 11.13.5 ADC sample time register 2 (ADC_SMPR2)
- 11.13.6 ADC injected channel data offset register x (ADC_JOFRx)(x=1..4)
- 11.13.7 ADC watchdog higher threshold register (ADC_HTR)
- 11.13.8 ADC watchdog lower threshold register (ADC_LTR)
- 11.13.9 ADC regular sequence register 1 (ADC_SQR1)
- 11.13.10 ADC regular sequence register 2 (ADC_SQR2)
- 11.13.11 ADC regular sequence register 3 (ADC_SQR3)
- 11.13.12 ADC injected sequence register (ADC_JSQR)
- 11.13.13 ADC injected data register x (ADC_JDRx) (x= 1..4)
- 11.13.14 ADC regular data register (ADC_DR)
- 11.13.15 ADC Common status register (ADC_CSR)
- 11.13.16 ADC common control register (ADC_CCR)
- 11.13.17 ADC common regular data register for dual and triple modes (ADC_CDR)
- 11.13.18 ADC register map
- 12 Digital-to-analog converter (DAC)
- 12.1 DAC introduction
- 12.2 DAC main features
- 12.3 DAC functional description
- 12.4 Dual DAC channel conversion
- 12.4.1 Independent trigger without wave generation
- 12.4.2 Independent trigger with single LFSR generation
- 12.4.3 Independent trigger with different LFSR generation
- 12.4.4 Independent trigger with single triangle generation
- 12.4.5 Independent trigger with different triangle generation
- 12.4.6 Simultaneous software start
- 12.4.7 Simultaneous trigger without wave generation
- 12.4.8 Simultaneous trigger with single LFSR generation
- 12.4.9 Simultaneous trigger with different LFSR generation
- 12.4.10 Simultaneous trigger with single triangle generation
- 12.4.11 Simultaneous trigger with different triangle generation
- 12.5 DAC registers
- 12.5.1 DAC control register (DAC_CR)
- 12.5.2 DAC software trigger register (DAC_SWTRIGR)
- 12.5.3 DAC channel1 12-bit right-aligned data holding register (DAC_DHR12R1)
- 12.5.4 DAC channel1 12-bit left aligned data holding register (DAC_DHR12L1)
- 12.5.5 DAC channel1 8-bit right aligned data holding register (DAC_DHR8R1)
- 12.5.6 DAC channel2 12-bit right aligned data holding register (DAC_DHR12R2)
- 12.5.7 DAC channel2 12-bit left aligned data holding register (DAC_DHR12L2)
- 12.5.8 DAC channel2 8-bit right-aligned data holding register (DAC_DHR8R2)
- 12.5.9 Dual DAC 12-bit right-aligned data holding register (DAC_DHR12RD)
- 12.5.10 DUAL DAC 12-bit left aligned data holding register (DAC_DHR12LD)
- 12.5.11 DUAL DAC 8-bit right aligned data holding register (DAC_DHR8RD)
- 12.5.12 DAC channel1 data output register (DAC_DOR1)
- 12.5.13 DAC channel2 data output register (DAC_DOR2)
- 12.5.14 DAC status register (DAC_SR)
- 12.5.15 DAC register map
- 13 Digital camera interface (DCMI)
- 13.1 DCMI introduction
- 13.2 DCMI main features
- 13.3 DCMI pins
- 13.4 DCMI clocks
- 13.5 DCMI functional overview
- 13.6 Data format description
- 13.7 DCMI interrupts
- 13.8 DCMI register description
- 13.8.1 DCMI control register 1 (DCMI_CR)
- 13.8.2 DCMI status register (DCMI_SR)
- 13.8.3 DCMI raw interrupt status register (DCMI_RIS)
- 13.8.4 DCMI interrupt enable register (DCMI_IER)
- 13.8.5 DCMI masked interrupt status register (DCMI_MIS)
- 13.8.6 DCMI interrupt clear register (DCMI_ICR)
- 13.8.7 DCMI embedded synchronization code register (DCMI_ESCR)
- 13.8.8 DCMI embedded synchronization unmask register (DCMI_ESUR)
- 13.8.9 DCMI crop window start (DCMI_CWSTRT)
- 13.8.10 DCMI crop window size (DCMI_CWSIZE)
- 13.8.11 DCMI data register (DCMI_DR)
- 13.8.12 DCMI register map
- 14 Advanced-control timers (TIM1&TIM8)
- 14.1 TIM1&TIM8 introduction
- 14.2 TIM1&TIM8 main features
- 14.3 TIM1&TIM8 functional description
- 14.3.1 Time-base unit
- 14.3.2 Counter modes
- 14.3.3 Repetition counter
- 14.3.4 Clock selection
- 14.3.5 Capture/compare channels
- 14.3.6 Input capture mode
- 14.3.7 PWM input mode
- 14.3.8 Forced output mode
- 14.3.9 Output compare mode
- 14.3.10 PWM mode
- 14.3.11 Complementary outputs and dead-time insertion
- 14.3.12 Using the break function
- 14.3.13 Clearing the OCxREF signal on an external event
- 14.3.14 6-step PWM generation
- 14.3.15 One-pulse mode
- 14.3.16 Encoder interface mode
- 14.3.17 Timer input XOR function
- 14.3.18 Interfacing with Hall sensors
- 14.3.19 TIMx and external trigger synchronization
- 14.3.20 Timer synchronization
- 14.3.21 Debug mode
- 14.4 TIM1&TIM8 registers
- 14.4.1 TIM1&TIM8 control register 1 (TIMx_CR1)
- 14.4.2 TIM1&TIM8 control register 2 (TIMx_CR2)
- 14.4.3 TIM1&TIM8 slave mode control register (TIMx_SMCR)
- 14.4.4 TIM1&TIM8 DMA/interrupt enable register (TIMx_DIER)
- 14.4.5 TIM1&TIM8 status register (TIMx_SR)
- 14.4.6 TIM1&TIM8 event generation register (TIMx_EGR)
- 14.4.7 TIM1&TIM8 capture/compare mode register 1 (TIMx_CCMR1)
- 14.4.8 TIM1&TIM8 capture/compare mode register 2 (TIMx_CCMR2)
- 14.4.9 TIM1&TIM8 capture/compare enable register (TIMx_CCER)
- 14.4.10 TIM1&TIM8 counter (TIMx_CNT)
- 14.4.11 TIM1&TIM8 prescaler (TIMx_PSC)
- 14.4.12 TIM1&TIM8 auto-reload register (TIMx_ARR)
- 14.4.13 TIM1&TIM8 repetition counter register (TIMx_RCR)
- 14.4.14 TIM1&TIM8 capture/compare register 1 (TIMx_CCR1)
- 14.4.15 TIM1&TIM8 capture/compare register 2 (TIMx_CCR2)
- 14.4.16 TIM1&TIM8 capture/compare register 3 (TIMx_CCR3)
- 14.4.17 TIM1&TIM8 capture/compare register 4 (TIMx_CCR4)
- 14.4.18 TIM1&TIM8 break and dead-time register (TIMx_BDTR)
- 14.4.19 TIM1&TIM8 DMA control register (TIMx_DCR)
- 14.4.20 TIM1&TIM8 DMA address for full transfer (TIMx_DMAR)
- 14.4.21 TIM1&TIM8 register map
- 15 General-purpose timers (TIM2 to TIM5)
- 15.1 TIM2 to TIM5 introduction
- 15.2 TIM2 to TIM5 main features
- 15.3 TIM2 to TIM5 functional description
- 15.3.1 Time-base unit
- 15.3.2 Counter modes
- 15.3.3 Clock selection
- 15.3.4 Capture/compare channels
- 15.3.5 Input capture mode
- 15.3.6 PWM input mode
- 15.3.7 Forced output mode
- 15.3.8 Output compare mode
- 15.3.9 PWM mode
- 15.3.10 One-pulse mode
- 15.3.11 Clearing the OCxREF signal on an external event
- 15.3.12 Encoder interface mode
- 15.3.13 Timer input XOR function
- 15.3.14 Timers and external trigger synchronization
- 15.3.15 Timer synchronization
- 15.3.16 Debug mode
- 15.4 TIM2 to TIM5 registers
- 15.4.1 TIMx control register 1 (TIMx_CR1)
- 15.4.2 TIMx control register 2 (TIMx_CR2)
- 15.4.3 TIMx slave mode control register (TIMx_SMCR)
- 15.4.4 TIMx DMA/Interrupt enable register (TIMx_DIER)
- 15.4.5 TIMx status register (TIMx_SR)
- 15.4.6 TIMx event generation register (TIMx_EGR)
- 15.4.7 TIMx capture/compare mode register 1 (TIMx_CCMR1)
- 15.4.8 TIMx capture/compare mode register 2 (TIMx_CCMR2)
- 15.4.9 TIMx capture/compare enable register (TIMx_CCER)
- 15.4.10 TIMx counter (TIMx_CNT)
- 15.4.11 TIMx prescaler (TIMx_PSC)
- 15.4.12 TIMx auto-reload register (TIMx_ARR)
- 15.4.13 TIMx capture/compare register 1 (TIMx_CCR1)
- 15.4.14 TIMx capture/compare register 2 (TIMx_CCR2)
- 15.4.15 TIMx capture/compare register 3 (TIMx_CCR3)
- 15.4.16 TIMx capture/compare register 4 (TIMx_CCR4)
- 15.4.17 TIMx DMA control register (TIMx_DCR)
- 15.4.18 TIMx DMA address for full transfer (TIMx_DMAR)
- 15.4.19 TIM2 option register (TIM2_OR)
- 15.4.20 TIM5 option register (TIM5_OR)
- 15.4.21 TIMx register map
- 16 General-purpose timers (TIM9 to TIM14)
- 16.1 TIM9 to TIM14 introduction
- 16.2 TIM9 to TIM14 main features
- 16.3 TIM10/TIM11 and TIM13/TIM14 main features
- 16.4 TIM9 to TIM14 functional description
- 16.4.1 Time-base unit
- 16.4.2 Counter modes
- 16.4.3 Clock selection
- 16.4.4 Capture/compare channels
- 16.4.5 Input capture mode
- 16.4.6 PWM input mode (only for TIM9/12)
- 16.4.7 Forced output mode
- 16.4.8 Output compare mode
- 16.4.9 PWM mode
- 16.4.10 One-pulse mode
- 16.4.11 TIM9/12 external trigger synchronization
- 16.4.12 Timer synchronization (TIM9/12)
- 16.4.13 Debug mode
- 16.5 TIM9 and TIM12 registers
- 16.5.1 TIM9/12 control register 1 (TIMx_CR1)
- 16.5.2 TIM9/12 control register 2 (TIMx_CR2)
- 16.5.3 TIM9/12 slave mode control register (TIMx_SMCR)
- 16.5.4 TIM9/12 Interrupt enable register (TIMx_DIER)
- 16.5.5 TIM9/12 status register (TIMx_SR)
- 16.5.6 TIM9/12 event generation register (TIMx_EGR)
- 16.5.7 TIM9/12 capture/compare mode register 1 (TIMx_CCMR1)
- 16.5.8 TIM9/12 capture/compare enable register (TIMx_CCER)
- 16.5.9 TIM9/12 counter (TIMx_CNT)
- 16.5.10 TIM9/12 prescaler (TIMx_PSC)
- 16.5.11 TIM9/12 auto-reload register (TIMx_ARR)
- 16.5.12 TIM9/12 capture/compare register 1 (TIMx_CCR1)
- 16.5.13 TIM9/12 capture/compare register 2 (TIMx_CCR2)
- 16.5.14 TIM9/12 register map
- 16.6 TIM10/11/13/14 registers
- 16.6.1 TIM10/11/13/14 control register 1 (TIMx_CR1)
- 16.6.2 TIM10/11/13/14 status register (TIMx_SR)
- 16.6.3 TIM10/11/13/14 event generation register (TIMx_EGR)
- 16.6.4 TIM10/11/13/14 capture/compare mode register 1 (TIMx_CCMR1)
- 16.6.5 TIM10/11/13/14 capture/compare enable register (TIMx_CCER)
- 16.6.6 TIM10/11/13/14 counter (TIMx_CNT)
- 16.6.7 TIM10/11/13/14 prescaler (TIMx_PSC)
- 16.6.8 TIM10/11/13/14 auto-reload register (TIMx_ARR)
- 16.6.9 TIM10/11/13/14 capture/compare register 1 (TIMx_CCR1)
- 16.6.10 TIM11 option register 1 (TIM11_OR)
- 16.6.11 TIM10/11/13/14 register map
- 17 Basic timers (TIM6&TIM7)
- 17.1 TIM6&TIM7 introduction
- 17.2 TIM6&TIM7 main features
- 17.3 TIM6&TIM7 functional description
- 17.4 TIM6&TIM7 registers
- 17.4.1 TIM6&TIM7 control register 1 (TIMx_CR1)
- 17.4.2 TIM6&TIM7 control register 2 (TIMx_CR2)
- 17.4.3 TIM6&TIM7 DMA/Interrupt enable register (TIMx_DIER)
- 17.4.4 TIM6&TIM7 status register (TIMx_SR)
- 17.4.5 TIM6&TIM7 event generation register (TIMx_EGR)
- 17.4.6 TIM6&TIM7 counter (TIMx_CNT)
- 17.4.7 TIM6&TIM7 prescaler (TIMx_PSC)
- 17.4.8 TIM6&TIM7 auto-reload register (TIMx_ARR)
- 17.4.9 TIM6&TIM7 register map
- 18 Independent watchdog (IWDG)
- 19 Window watchdog (WWDG)
- 20 Cryptographic processor (CRYP)
- 20.1 CRYP introduction
- 20.2 CRYP main features
- 20.3 CRYP functional description
- 20.4 CRYP interrupts
- 20.5 CRYP DMA interface
- 20.6 CRYP registers
- 20.6.1 CRYP control register (CRYP_CR) for STM32F405xx/07xx and STM32F415xx/17xx
- 20.6.2 CRYP control register (CRYP_CR) for STM32F42xxx and STM32F43xxx
- 20.6.3 CRYP status register (CRYP_SR)
- 20.6.4 CRYP data input register (CRYP_DIN)
- 20.6.5 CRYP data output register (CRYP_DOUT)
- 20.6.6 CRYP DMA control register (CRYP_DMACR)
- 20.6.7 CRYP interrupt mask set/clear register (CRYP_IMSCR)
- 20.6.8 CRYP raw interrupt status register (CRYP_RISR)
- 20.6.9 CRYP masked interrupt status register (CRYP_MISR)
- 20.6.10 CRYP key registers (CRYP_K0...3(L/R)R)
- 20.6.11 CRYP initialization vector registers (CRYP_IV0...1(L/R)R)
- 20.6.12 CRYP context swap registers (CRYP_CSGCMCCM0..7R and CRYP_CSGCM0..7R) for STM32F42xxx and STM32F43xxx
- 20.6.13 CRYP register map
- 21 Random number generator (RNG)
- 22 Hash processor (HASH)
- 22.1 HASH introduction
- 22.2 HASH main features
- 22.3 HASH functional description
- 22.4 HASH registers
- 22.4.1 HASH control register (HASH_CR) for STM32F405xx/07xx and STM32F415xx/17xx
- 22.4.2 HASH control register (HASH_CR) for STM32F42xxx and STM32F43xxx
- 22.4.3 HASH data input register (HASH_DIN)
- 22.4.4 HASH start register (HASH_STR)
- 22.4.5 HASH digest registers (HASH_HR0..4/5/6/7)
- 22.4.6 HASH interrupt enable register (HASH_IMR)
- 22.4.7 HASH status register (HASH_SR)
- 22.4.8 HASH context swap registers (HASH_CSRx)
- 22.4.9 HASH register map
- 23 Real-time clock (RTC)
- 23.1 Introduction
- 23.2 RTC main features
- 23.3 RTC functional description
- 23.3.1 Clock and prescalers
- 23.3.2 Real-time clock and calendar
- 23.3.3 Programmable alarms
- 23.3.4 Periodic auto-wakeup
- 23.3.5 RTC initialization and configuration
- 23.3.6 Reading the calendar
- 23.3.7 Resetting the RTC
- 23.3.8 RTC synchronization
- 23.3.9 RTC reference clock detection
- 23.3.10 RTC coarse digital calibration
- 23.3.11 RTC smooth digital calibration
- 23.3.12 Timestamp function
- 23.3.13 Tamper detection
- 23.3.14 Calibration clock output
- 23.3.15 Alarm output
- 23.4 RTC and low power modes
- 23.5 RTC interrupts
- 23.6 RTC registers
- 23.6.1 RTC time register (RTC_TR)
- 23.6.2 RTC date register (RTC_DR)
- 23.6.3 RTC control register (RTC_CR)
- 23.6.4 RTC initialization and status register (RTC_ISR)
- 23.6.5 RTC prescaler register (RTC_PRER)
- 23.6.6 RTC wakeup timer register (RTC_WUTR)
- 23.6.7 RTC calibration register (RTC_CALIBR)
- 23.6.8 RTC alarm A register (RTC_ALRMAR)
- 23.6.9 RTC alarm B register (RTC_ALRMBR)
- 23.6.10 RTC write protection register (RTC_WPR)
- 23.6.11 RTC sub second register (RTC_SSR)
- 23.6.12 RTC shift control register (RTC_SHIFTR)
- 23.6.13 RTC time stamp time register (RTC_TSTR)
- 23.6.14 RTC time stamp date register (RTC_TSDR)
- 23.6.15 RTC timestamp sub second register (RTC_TSSSR)
- 23.6.16 RTC calibration register (RTC_CALR)
- 23.6.17 RTC tamper and alternate function configuration register (RTC_TAFCR)
- 23.6.18 RTC alarm A sub second register (RTC_ALRMASSR)
- 23.6.19 RTC alarm B sub second register (RTC_ALRMBSSR)
- 23.6.20 RTC backup registers (RTC_BKPxR)
- 23.6.21 RTC register map
- 24 Controller area network (bxCAN)
- 24.1 bxCAN introduction
- 24.2 bxCAN main features
- 24.3 bxCAN general description
- 24.4 bxCAN operating modes
- 24.5 Test mode
- 24.6 Debug mode
- 24.7 bxCAN functional description
- 24.8 bxCAN interrupts
- 24.9 CAN registers
- 24.9.1 Register access protection
- 24.9.2 CAN control and status registers
- 24.9.3 CAN mailbox registers
- CAN TX mailbox identifier register (CAN_TIxR) (x=0..2)
- CAN mailbox data length control and time stamp register (CAN_TDTxR) (x=0..2)
- CAN mailbox data low register (CAN_TDLxR) (x=0..2)
- CAN mailbox data high register (CAN_TDHxR) (x=0..2)
- CAN receive FIFO mailbox identifier register (CAN_RIxR) (x=0..1)
- CAN receive FIFO mailbox data length control and time stamp register (CAN_RDTxR) (x=0..1)
- CAN receive FIFO mailbox data low register (CAN_RDLxR) (x=0..1)
- CAN receive FIFO mailbox data high register (CAN_RDHxR) (x=0..1)
- 24.9.4 CAN filter registers
- 24.9.5 bxCAN register map
- 25 Inter-integrated circuit (I2C) interface
- 25.1 I2C introduction
- 25.2 I2C main features
- 25.3 I2C functional description
- 25.4 I2C interrupts
- 25.5 I2C debug mode
- 25.6 I2C registers
- 25.6.1 I2C Control register 1 (I2C_CR1)
- 25.6.2 I2C Control register 2 (I2C_CR2)
- 25.6.3 I2C Own address register 1 (I2C_OAR1)
- 25.6.4 I2C Own address register 2 (I2C_OAR2)
- 25.6.5 I2C Data register (I2C_DR)
- 25.6.6 I2C Status register 1 (I2C_SR1)
- 25.6.7 I2C Status register 2 (I2C_SR2)
- 25.6.8 I2C Clock control register (I2C_CCR)
- 25.6.9 I2C TRISE register (I2C_TRISE)
- 25.6.10 I2C FLTR register (I2C_FLTR)
- 25.6.11 I2C register map
- 26 Universal synchronous asynchronous receiver transmitter (USART)
- 26.1 USART introduction
- 26.2 USART main features
- 26.3 USART functional description
- 26.3.1 USART character description
- 26.3.2 Transmitter
- 26.3.3 Receiver
- 26.3.4 Fractional baud rate generation
- 26.3.5 USART receiver tolerance to clock deviation
- 26.3.6 Multiprocessor communication
- 26.3.7 Parity control
- 26.3.8 LIN (local interconnection network) mode
- 26.3.9 USART synchronous mode
- 26.3.10 Single-wire half-duplex communication
- 26.3.11 Smartcard
- 26.3.12 IrDA SIR ENDEC block
- 26.3.13 Continuous communication using DMA
- 26.3.14 Hardware flow control
- 26.4 USART interrupts
- 26.5 USART mode configuration
- 26.6 USART registers
- 27 Serial peripheral interface (SPI)
- 27.1 SPI introduction
- 27.2 SPI and I2S main features
- 27.3 SPI functional description
- 27.3.1 General description
- 27.3.2 Configuring the SPI in slave mode
- 27.3.3 Configuring the SPI in master mode
- 27.3.4 Configuring the SPI for half-duplex communication
- 27.3.5 Data transmission and reception procedures
- Rx and Tx buffers
- Start sequence in slave mode
- Handling data transmission and reception
- Transmit-only procedure (BIDIMODE=0 RXONLY=0)
- Bidirectional transmit procedure (BIDIMODE=1 and BIDIOE=1)
- Unidirectional receive-only procedure (BIDIMODE=0 and RXONLY=1)
- Bidirectional receive procedure (BIDIMODE=1 and BIDIOE=0)
- Continuous and discontinuous transfers
- 27.3.6 CRC calculation
- 27.3.7 Status flags
- 27.3.8 Disabling the SPI
- In master or slave full-duplex mode (BIDIMODE=0, RXONLY=0)
- In master or slave unidirectional transmit-only mode (BIDIMODE=0, RXONLY=0) or bidirectional transmit mode (BIDIMODE=1, BIDIOE=1)
- In master unidirectional receive-only mode (MSTR=1, BIDIMODE=0, RXONLY=1) or bidirectional receive mode (MSTR=1, BIDIMODE=1, BIDIOE=0)
- In slave receive-only mode (MSTR=0, BIDIMODE=0, RXONLY=1) or bidirectional receive mode (MSTR=0, BIDIMODE=1, BIDOE=0)
- 27.3.9 SPI communication using DMA (direct memory addressing)
- 27.3.10 Error flags
- 27.3.11 SPI interrupts
- 27.4 I2S functional description
- 27.5 SPI and I2S registers
- 27.5.1 SPI control register 1 (SPI_CR1) (not used in I2S mode)
- 27.5.2 SPI control register 2 (SPI_CR2)
- 27.5.3 SPI status register (SPI_SR)
- 27.5.4 SPI data register (SPI_DR)
- 27.5.5 SPI CRC polynomial register (SPI_CRCPR) (not used in I2S mode)
- 27.5.6 SPI RX CRC register (SPI_RXCRCR) (not used in I2S mode)
- 27.5.7 SPI TX CRC register (SPI_TXCRCR) (not used in I2S mode)
- 27.5.8 SPI_I2S configuration register (SPI_I2SCFGR)
- 27.5.9 SPI_I2S prescaler register (SPI_I2SPR)
- 27.5.10 SPI register map
- 28 Secure digital input/output interface (SDIO)
- 28.1 SDIO main features
- 28.2 SDIO bus topology
- 28.3 SDIO functional description
- 28.4 Card functional description
- 28.4.1 Card identification mode
- 28.4.2 Card reset
- 28.4.3 Operating voltage range validation
- 28.4.4 Card identification process
- 28.4.5 Block write
- 28.4.6 Block read
- 28.4.7 Stream access, stream write and stream read (MultiMediaCard only)
- 28.4.8 Erase: group erase and sector erase
- 28.4.9 Wide bus selection or deselection
- 28.4.10 Protection management
- 28.4.11 Card status register
- 28.4.12 SD status register
- 28.4.13 SD I/O mode
- 28.4.14 Commands and responses
- 28.5 Response formats
- 28.6 SDIO I/O card-specific operations
- 28.7 CE-ATA specific operations
- 28.8 HW flow control
- 28.9 SDIO registers
- 28.9.1 SDIO power control register (SDIO_POWER)
- 28.9.2 SDI clock control register (SDIO_CLKCR)
- 28.9.3 SDIO argument register (SDIO_ARG)
- 28.9.4 SDIO command register (SDIO_CMD)
- 28.9.5 SDIO command response register (SDIO_RESPCMD)
- 28.9.6 SDIO response 1..4 register (SDIO_RESPx)
- 28.9.7 SDIO data timer register (SDIO_DTIMER)
- 28.9.8 SDIO data length register (SDIO_DLEN)
- 28.9.9 SDIO data control register (SDIO_DCTRL)
- 28.9.10 SDIO data counter register (SDIO_DCOUNT)
- 28.9.11 SDIO status register (SDIO_STA)
- 28.9.12 SDIO interrupt clear register (SDIO_ICR)
- 28.9.13 SDIO mask register (SDIO_MASK)
- 28.9.14 SDIO FIFO counter register (SDIO_FIFOCNT)
- 28.9.15 SDIO data FIFO register (SDIO_FIFO)
- 28.9.16 SDIO register map
- 29 Ethernet (ETH): media access control (MAC) with DMA controller
- 29.1 Ethernet introduction
- 29.2 Ethernet main features
- 29.3 Ethernet pins
- 29.4 Ethernet functional description: SMI, MII and RMII
- 29.5 Ethernet functional description: MAC 802.3
- 29.5.1 MAC 802.3 frame format
- 29.5.2 MAC frame transmission
- 29.5.3 MAC frame reception
- 29.5.4 MAC interrupts
- 29.5.5 MAC filtering
- 29.5.6 MAC loopback mode
- 29.5.7 MAC management counters: MMC
- 29.5.8 Power management: PMT
- 29.5.9 Precision time protocol (IEEE1588 PTP)
- Reference timing source
- Transmission of frames with the PTP feature
- Reception of frames with the PTP feature
- System Time correction methods
- Programming steps for system time generation initialization
- Programming steps for system time update in the Coarse correction method
- Programming steps for system time update in the Fine correction method
- PTP trigger internal connection with TIM2
- PTP pulse-per-second output signal
- 29.6 Ethernet functional description: DMA controller operation
- 29.7 Ethernet interrupts
- 29.8 Ethernet register descriptions
- 29.8.1 MAC register description
- Ethernet MAC configuration register (ETH_MACCR)
- Ethernet MAC frame filter register (ETH_MACFFR)
- Ethernet MAC hash table high register (ETH_MACHTHR)
- Ethernet MAC hash table low register (ETH_MACHTLR)
- Ethernet MAC MII address register (ETH_MACMIIAR)
- Ethernet MAC MII data register (ETH_MACMIIDR)
- Ethernet MAC flow control register (ETH_MACFCR)
- Ethernet MAC VLAN tag register (ETH_MACVLANTR)
- Ethernet MAC remote wakeup frame filter register (ETH_MACRWUFFR)
- Ethernet MAC PMT control and status register (ETH_MACPMTCSR)
- Ethernet MAC debug register (ETH_MACDBGR)
- Ethernet MAC interrupt status register (ETH_MACSR)
- Ethernet MAC interrupt mask register (ETH_MACIMR)
- Ethernet MAC address 0 high register (ETH_MACA0HR)
- Ethernet MAC address 0 low register (ETH_MACA0LR)
- Ethernet MAC address 1 high register (ETH_MACA1HR)
- Ethernet MAC address1 low register (ETH_MACA1LR)
- Ethernet MAC address 2 high register (ETH_MACA2HR)
- Ethernet MAC address 2 low register (ETH_MACA2LR)
- Ethernet MAC address 3 high register (ETH_MACA3HR)
- Ethernet MAC address 3 low register (ETH_MACA3LR)
- 29.8.2 MMC register description
- Ethernet MMC control register (ETH_MMCCR)
- Ethernet MMC receive interrupt register (ETH_MMCRIR)
- Ethernet MMC transmit interrupt register (ETH_MMCTIR)
- Ethernet MMC receive interrupt mask register (ETH_MMCRIMR)
- Ethernet MMC transmit interrupt mask register (ETH_MMCTIMR)
- Ethernet MMC transmitted good frames after a single collision counter register (ETH_MMCTGFSCCR)
- Ethernet MMC transmitted good frames after more than a single collision counter register (ETH_MMCTGFMSCCR)
- Ethernet MMC transmitted good frames counter register (ETH_MMCTGFCR)
- Ethernet MMC received frames with CRC error counter register (ETH_MMCRFCECR)
- Ethernet MMC received frames with alignment error counter register (ETH_MMCRFAECR)
- MMC received good unicast frames counter register (ETH_MMCRGUFCR)
- 29.8.3 IEEE 1588 time stamp registers
- Ethernet PTP time stamp control register (ETH_PTPTSCR)
- Ethernet PTP subsecond increment register (ETH_PTPSSIR)
- Ethernet PTP time stamp high register (ETH_PTPTSHR)
- Ethernet PTP time stamp low register (ETH_PTPTSLR)
- Ethernet PTP time stamp high update register (ETH_PTPTSHUR)
- Ethernet PTP time stamp low update register (ETH_PTPTSLUR)
- Ethernet PTP time stamp addend register (ETH_PTPTSAR)
- Ethernet PTP target time high register (ETH_PTPTTHR)
- Ethernet PTP target time low register (ETH_PTPTTLR)
- Ethernet PTP time stamp status register (ETH_PTPTSSR)
- Ethernet PTP PPS control register (ETH_PTPPPSCR)
- 29.8.4 DMA register description
- Ethernet DMA bus mode register (ETH_DMABMR)
- Ethernet DMA transmit poll demand register (ETH_DMATPDR)
- EHERNET DMA receive poll demand register (ETH_DMARPDR)
- Ethernet DMA receive descriptor list address register (ETH_DMARDLAR)
- Ethernet DMA transmit descriptor list address register (ETH_DMATDLAR)
- Ethernet DMA status register (ETH_DMASR)
- Ethernet DMA operation mode register (ETH_DMAOMR)
- Ethernet DMA interrupt enable register (ETH_DMAIER)
- Ethernet DMA missed frame and buffer overflow counter register (ETH_DMAMFBOCR)
- Ethernet DMA receive status watchdog timer register (ETH_DMARSWTR)
- Ethernet DMA current host transmit descriptor register (ETH_DMACHTDR)
- Ethernet DMA current host receive descriptor register (ETH_DMACHRDR)
- Ethernet DMA current host transmit buffer address register (ETH_DMACHTBAR)
- Ethernet DMA current host receive buffer address register (ETH_DMACHRBAR)
- 29.8.5 Ethernet register maps
- 29.8.1 MAC register description
- 30 USB on-the-go full-speed (OTG_FS)
- 30.1 OTG_FS introduction
- 30.2 OTG_FS main features
- 30.3 OTG_FS functional description
- 30.4 OTG dual role device (DRD)
- 30.5 USB peripheral
- 30.6 USB host
- 30.7 SOF trigger
- 30.8 Power options
- 30.9 Dynamic update of the OTG_FS_HFIR register
- 30.10 USB data FIFOs
- 30.11 Peripheral FIFO architecture
- 30.12 Host FIFO architecture
- 30.13 FIFO RAM allocation
- 30.14 USB system performance
- 30.15 OTG_FS interrupts
- 30.16 OTG_FS control and status registers
- 30.16.1 CSR memory map
- 30.16.2 OTG_FS global registers
- OTG_FS control and status register (OTG_FS_GOTGCTL)
- OTG_FS interrupt register (OTG_FS_GOTGINT)
- OTG_FS AHB configuration register (OTG_FS_GAHBCFG)
- OTG_FS USB configuration register (OTG_FS_GUSBCFG)
- OTG_FS reset register (OTG_FS_GRSTCTL)
- OTG_FS core interrupt register (OTG_FS_GINTSTS)
- OTG_FS interrupt mask register (OTG_FS_GINTMSK)
- OTG_FS Receive status debug read/OTG status read and pop registers (OTG_FS_GRXSTSR/OTG_FS_GRXSTSP)
- OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)
- OTG_FS Host non-periodic transmit FIFO size register (OTG_FS_HNPTXFSIZ)/Endpoint 0 Transmit FIFO size (OTG_FS_DIEPTXF0)
- OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_HNPTXSTS)
- OTG_FS general core configuration register (OTG_FS_GCCFG)
- OTG_FS core ID register (OTG_FS_CID)
- OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)
- OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXFx) (x = 1..3, where x is the FIFO_number)
- 30.16.3 Host-mode registers
- OTG_FS Host configuration register (OTG_FS_HCFG)
- OTG_FS Host frame interval register (OTG_FS_HFIR)
- OTG_FS Host frame number/frame time remaining register (OTG_FS_HFNUM)
- OTG_FS_Host periodic transmit FIFO/queue status register (OTG_FS_HPTXSTS)
- OTG_FS Host all channels interrupt register (OTG_FS_HAINT)
- OTG_FS Host all channels interrupt mask register (OTG_FS_HAINTMSK)
- OTG_FS Host port control and status register (OTG_FS_HPRT)
- OTG_FS Host channel-x characteristics register (OTG_FS_HCCHARx) (x = 0..7, where x = Channel_number)
- OTG_FS Host channel-x interrupt register (OTG_FS_HCINTx) (x = 0..7, where x = Channel_number)
- OTG_FS Host channel-x interrupt mask register (OTG_FS_HCINTMSKx) (x = 0..7, where x = Channel_number)
- OTG_FS Host channel-x transfer size register (OTG_FS_HCTSIZx) (x = 0..7, where x = Channel_number)
- 30.16.4 Device-mode registers
- OTG_FS device configuration register (OTG_FS_DCFG)
- OTG_FS device control register (OTG_FS_DCTL)
- OTG_FS device status register (OTG_FS_DSTS)
- OTG_FS device IN endpoint common interrupt mask register (OTG_FS_DIEPMSK)
- OTG_FS device OUT endpoint common interrupt mask register (OTG_FS_DOEPMSK)
- OTG_FS device all endpoints interrupt register (OTG_FS_DAINT)
- OTG_FS all endpoints interrupt mask register (OTG_FS_DAINTMSK)
- OTG_FS device VBUS discharge time register (OTG_FS_DVBUSDIS)
- OTG_FS device VBUS pulsing time register (OTG_FS_DVBUSPULSE)
- OTG_FS device IN endpoint FIFO empty interrupt mask register: (OTG_FS_DIEPEMPMSK)
- OTG_FS device control IN endpoint 0 control register (OTG_FS_DIEPCTL0)
- OTG device endpoint-x control register (OTG_FS_DIEPCTLx) (x = 1..3, where x = Endpoint_number)
- OTG_FS device control OUT endpoint 0 control register (OTG_FS_DOEPCTL0)
- OTG_FS device endpoint-x control register (OTG_FS_DOEPCTLx) (x = 1..3, where x = Endpoint_number)
- OTG_FS device endpoint-x interrupt register (OTG_FS_DIEPINTx) (x = 0..3, where x = Endpoint_number)
- OTG_FS device endpoint-x interrupt register (OTG_FS_DOEPINTx) (x = 0..3, where x = Endpoint_number)
- OTG_FS device IN endpoint 0 transfer size register (OTG_FS_DIEPTSIZ0)
- OTG_FS device OUT endpoint 0 transfer size register (OTG_FS_DOEPTSIZ0)
- OTG_FS device endpoint-x transfer size register (OTG_FS_DIEPTSIZx) (x = 1..3, where x = Endpoint_number)
- OTG_FS device IN endpoint transmit FIFO status register (OTG_FS_DTXFSTSx) (x = 0..3, where x = Endpoint_number)
- OTG_FS device OUT endpoint-x transfer size register (OTG_FS_DOEPTSIZx) (x = 1..3, where x = Endpoint_number)
- 30.16.5 OTG_FS power and clock gating control register (OTG_FS_PCGCCTL)
- 30.16.6 OTG_FS register map
- 30.17 OTG_FS programming model
- 31 USB on-the-go high-speed (OTG_HS)
- 31.1 OTG_HS introduction
- 31.2 OTG_HS main features
- 31.3 OTG_HS functional description
- 31.4 OTG dual-role device
- 31.5 USB functional description in peripheral mode
- 31.6 USB functional description on host mode
- 31.7 SOF trigger
- 31.8 USB_HS power modes
- 31.9 Dynamic update of the OTG_HS_HFIR register
- 31.10 FIFO RAM allocation
- 31.11 OTG_HS interrupts
- 31.12 OTG_HS control and status registers
- 31.12.1 CSR memory map
- 31.12.2 OTG_HS global registers
- OTG_HS control and status register (OTG_HS_GOTGCTL)
- OTG_HS interrupt register (OTG_HS_GOTGINT)
- OTG_HS AHB configuration register (OTG_HS_GAHBCFG)
- OTG_HS USB configuration register (OTG_HS_GUSBCFG)
- OTG_HS reset register (OTG_HS_GRSTCTL)
- OTG_HS core interrupt register (OTG_HS_GINTSTS)
- OTG_HS interrupt mask register (OTG_HS_GINTMSK)
- OTG_HS Receive status debug read/OTG status read and pop registers (OTG_HS_GRXSTSR/OTG_HS_GRXSTSP)
- OTG_HS Receive FIFO size register (OTG_HS_GRXFSIZ)
- OTG_HS nonperiodic transmit FIFO size/Endpoint 0 transmit FIFO size register (OTG_HS_GNPTXFSIZ/OTG_HS_TX0FSIZ)
- OTG_HS nonperiodic transmit FIFO/queue status register (OTG_HS_GNPTXSTS)
- OTG_HS I2C access register (OTG_HS_GI2CCTL)
- OTG_HS general core configuration register (OTG_HS_GCCFG)
- OTG_HS core ID register (OTG_HS_CID)
- OTG_HS Host periodic transmit FIFO size register (OTG_HS_HPTXFSIZ)
- OTG_HS device IN endpoint transmit FIFO size register (OTG_HS_DIEPTXFx) (x = 1..7, where x is the FIFO_number)
- 31.12.3 Host-mode registers
- OTG_HS host configuration register (OTG_HS_HCFG)
- OTG_HS Host frame interval register (OTG_HS_HFIR)
- OTG_HS host frame number/frame time remaining register (OTG_HS_HFNUM)
- OTG_HS_Host periodic transmit FIFO/queue status register (OTG_HS_HPTXSTS)
- OTG_HS Host all channels interrupt register (OTG_HS_HAINT)
- OTG_HS host all channels interrupt mask register (OTG_HS_HAINTMSK)
- OTG_HS host port control and status register (OTG_HS_HPRT)
- OTG_HS host channel-x characteristics register (OTG_HS_HCCHARx) (x = 0..11, where x = Channel_number)
- OTG_HS host channel-x split control register (OTG_HS_HCSPLTx) (x = 0..11, where x = Channel_number)
- OTG_HS host channel-x interrupt register (OTG_HS_HCINTx) (x = 0..11, where x = Channel_number)
- OTG_HS host channel-x interrupt mask register (OTG_HS_HCINTMSKx) (x = 0..11, where x = Channel_number)
- OTG_HS host channel-x transfer size register (OTG_HS_HCTSIZx) (x = 0..11, where x = Channel_number)
- OTG_HS host channel-x DMA address register (OTG_HS_HCDMAx) (x = 0..11, where x = Channel_number)
- 31.12.4 Device-mode registers
- OTG_HS device configuration register (OTG_HS_DCFG)
- OTG_HS device control register (OTG_HS_DCTL)
- OTG_HS device status register (OTG_HS_DSTS)
- OTG_HS device IN endpoint common interrupt mask register (OTG_HS_DIEPMSK)
- OTG_HS device OUT endpoint common interrupt mask register (OTG_HS_DOEPMSK)
- OTG_HS device all endpoints interrupt register (OTG_HS_DAINT)
- OTG_HS all endpoints interrupt mask register (OTG_HS_DAINTMSK)
- OTG_HS device VBUS discharge time register (OTG_HS_DVBUSDIS)
- OTG_HS device VBUS pulsing time register (OTG_HS_DVBUSPULSE)
- OTG_HS Device threshold control register (OTG_HS_DTHRCTL)
- OTG_HS device IN endpoint FIFO empty interrupt mask register: (OTG_HS_DIEPEMPMSK)
- OTG_HS device each endpoint interrupt register (OTG_HS_DEACHINT)
- OTG_HS device each endpoint interrupt register mask (OTG_HS_DEACHINTMSK)
- OTG_HS device each in endpoint-1 interrupt register (OTG_HS_DIEPEACHMSK1)
- OTG_HS device each OUT endpoint-1 interrupt register (OTG_HS_DOEPEACHMSK1)
- OTG device endpoint-x control register (OTG_HS_DIEPCTLx) (x = 0..7, where x = Endpoint_number)
- OTG_HS device control OUT endpoint 0 control register (OTG_HS_DOEPCTL0)
- OTG_HS device endpoint-x control register (OTG_HS_DOEPCTLx) (x = 1..3, where x = Endpoint_number)
- OTG_HS device endpoint-x interrupt register (OTG_HS_DIEPINTx) (x = 0..7, where x = Endpoint_number)
- OTG_HS device endpoint-x interrupt register (OTG_HS_DOEPINTx) (x = 0..7, where x = Endpoint_number)
- OTG_HS device IN endpoint 0 transfer size register (OTG_HS_DIEPTSIZ0)
- OTG_HS device OUT endpoint 0 transfer size register (OTG_HS_DOEPTSIZ0)
- OTG_HS device endpoint-x transfer size register (OTG_HS_DIEPTSIZx) (x = 1..3, where x = Endpoint_number)
- OTG_HS device IN endpoint transmit FIFO status register (OTG_HS_DTXFSTSx) (x = 0..5, where x = Endpoint_number)
- OTG_HS device endpoint-x transfer size register (OTG_HS_DOEPTSIZx) (x = 1..5, where x = Endpoint_number)
- OTG_HS device endpoint-x DMA address register (OTG_HS_DIEPDMAx / OTG_HS_DOEPDMAx) (x = 1..5, where x = Endpoint_number)
- 31.12.5 OTG_HS power and clock gating control register (OTG_HS_PCGCCTL)
- 31.12.6 OTG_HS register map
- 31.13 OTG_HS programming model
- 32 Flexible static memory controller (FSMC)
- 32.1 FSMC main features
- 32.2 Block diagram
- 32.3 AHB interface
- 32.4 External device address mapping
- 32.5 NOR Flash/PSRAM controller
- 32.5.1 External memory interface signals
- 32.5.2 Supported memories and transactions
- 32.5.3 General timing rules
- 32.5.4 NOR Flash/PSRAM controller asynchronous transactions
- Asynchronous static memories (NOR Flash memory, PSRAM, SRAM)
- Mode 1 - SRAM/PSRAM (CRAM)
- Mode A - SRAM/PSRAM (CRAM) OE toggling
- Mode 2/B - NOR Flash
- Mode C - NOR Flash - OE toggling
- Mode D - asynchronous access with extended address
- Muxed mode - multiplexed asynchronous access to NOR Flash memory
- WAIT management in asynchronous accesses
- 32.5.5 Synchronous burst transactions
- 32.5.6 NOR/PSRAM control registers
- 32.6 NAND Flash/PC Card controller
- 32.6.1 External memory interface signals
- 32.6.2 NAND Flash / PC Card supported memories and transactions
- 32.6.3 Timing diagrams for NAND and PC Card
- 32.6.4 NAND Flash operations
- 32.6.5 NAND Flash pre-wait functionality
- 32.6.6 Error correction code computation ECC (NAND Flash)
- 32.6.7 PC Card/CompactFlash operations
- 32.6.8 NAND Flash/PC Card control registers
- PC Card/NAND Flash control registers 2..4 (FSMC_PCR2..4)
- FIFO status and interrupt register 2..4 (FSMC_SR2..4)
- Common memory space timing register 2..4 (FSMC_PMEM2..4)
- Attribute memory space timing registers 2..4 (FSMC_PATT2..4)
- I/O space timing register 4 (FSMC_PIO4)
- ECC result registers 2/3 (FSMC_ECCR2/3)
- 32.6.9 FSMC register map
- 33 Debug support (DBG)
- 33.1 Overview
- 33.2 Reference ARM documentation
- 33.3 SWJ debug port (serial wire and JTAG)
- 33.4 Pinout and debug port pins
- 33.5 STM32F4xx JTAG TAP connection
- 33.6 ID codes and locking mechanism
- 33.7 JTAG debug port
- 33.8 SW debug port
- 33.9 AHB-AP (AHB access port) - valid for both JTAG-DP and SW-DP
- 33.10 Core debug
- 33.11 Capability of the debugger host to connect under system reset
- 33.12 FPB (Flash patch breakpoint)
- 33.13 DWT (data watchpoint trigger)
- 33.14 ITM (instrumentation trace macrocell)
- 33.15 ETM (Embedded trace macrocell)
- 33.16 MCU debug component (DBGMCU)
- 33.17 TPIU (trace port interface unit)
- 33.17.1 Introduction
- 33.17.2 TRACE pin assignment
- 33.17.3 TPUI formatter
- 33.17.4 TPUI frame synchronization packets
- 33.17.5 Transmission of the synchronization frame packet
- 33.17.6 Synchronous mode
- 33.17.7 Asynchronous mode
- 33.17.8 TRACECLKIN connection inside the STM32F4xx
- 33.17.9 TPIU registers
- 33.17.10 Example of configuration
- 33.18 DBG register map
- 34 Device electronic signature
- Revision history