Sign In
Upload
Manuals
Brands
ST Manuals
Microcontrollers
STM32F423 Series
ST STM32F423 Series Manuals
Manuals and User Guides for ST STM32F423 Series. We have
3
ST STM32F423 Series manuals available for free PDF download: Reference Manual, Application Note
ST STM32F423 Series Reference Manual (1324 pages)
advanced Arm-based 32-bit MCUs
Brand:
ST
| Category:
Microcontrollers
| Size: 15 MB
Table of Contents
Table of Contents
2
SYSCFG External Interrupt Configuration Register
2
SYSCFG External Interrupt Configuration Register
4
Documentation Conventions
52
General Information
52
List of Abbreviations for Registers
52
Glossary
53
Availability of Peripherals
53
System and Memory Overview
54
System Architecture
54
I-Bus
55
D-Bus
55
S-Bus
55
DMA Memory Bus
55
Figure 1. System Architecture
55
DMA Peripheral Bus
56
Busmatrix
56
AHB/APB Bridges (APB)
56
Memory Organization
57
Introduction
57
Memory Map and Register Boundary Addresses
58
Figure 2. Memory Map
58
Table 1. Register Boundary Addresses
59
Embedded SRAM
62
Flash Memory Overview
62
Bit Banding
62
Boot Configuration
63
Table 2. Boot Modes
63
Table 3. Embedded Bootloader Interfaces
64
Table 4. Memory Mapping Vs. Boot Mode/Physical Remap in STM32F413/423
65
Embedded Flash Memory Interface
66
Introduction
66
Main Features
66
Figure 3. Flash Memory Interface Connection Inside System Architecture
66
Embedded Flash Memory
67
Table 5. Flash Module Organization
67
Read Interface
68
Relation between CPU Clock Frequency and Flash Memory Read Time
68
Table 6. Number of Wait States According to CPU Clock (HCLK) Frequency
68
Adaptive Real-Time Memory Accelerator (ART Accelerator™)
69
Figure 4. Sequential 32-Bit Instruction Execution
70
Erase and Program Operations
71
Unlocking the Flash Control Register
71
Program/Erase Parallelism
72
Erase
72
Table 7. Program/Erase Parallelism
72
Programming
73
Interrupts
74
Option Bytes
74
Description of User Option Bytes
74
Table 8. Flash Interrupt Request
74
Table 9. Option Byte Organization
74
Table 10. Description of the Option Bytes
75
Programming User Option Bytes
76
Read Protection (RDP)
76
Write Protections
78
Table 11. Access Versus Read Protection Level
78
Figure 5. RDP Levels
78
Proprietary Code Readout Protection (PCROP)
79
Figure 6. PCROP Levels
80
One-Time Programmable Bytes
81
Table 12. OTP Area Organization
81
Flash Interface Registers
82
Flash Access Control Register (FLASH_ACR)
82
Flash Key Register (FLASH_KEYR)
83
Flash Option Key Register (FLASH_OPTKEYR)
83
Flash Status Register (FLASH_SR)
84
Flash Control Register (FLASH_CR)
85
Flash Option Control Register (FLASH_OPTCR)
86
Flash Interface Register Map
89
Table 13. Flash Register Map and Reset Values
89
CRC Calculation Unit
90
CRC Introduction
90
CRC Main Features
90
CRC Functional Description
90
Figure 7. CRC Calculation Unit Block Diagram
90
CRC Registers
91
Data Register (CRC_DR)
91
Independent Data Register (CRC_IDR)
92
Control Register (CRC_CR)
92
CRC Register Map
93
Table 14. CRC Calculation Unit Register Map and Reset Values
93
Power Controller (PWR)
94
Power Supplies
94
Independent A/D Converter Supply and Reference Voltage
95
Battery Backup Domain
95
Figure 8. Power Supply Overview
95
Voltage Regulator
97
Power Supply Supervisor
98
Power-On Reset (Por)/Power-Down Reset (PDR)
98
Brownout Reset (BOR)
98
Figure 9. Power-On Reset/Power-Down Reset Waveform
98
Programmable Voltage Detector (PVD)
99
Figure 10. BOR Thresholds
99
Low-Power Modes
100
Figure 11. PVD Thresholds
100
Slowing down System Clocks
102
Peripheral Clock Gating
102
Table 15. Low-Power Mode Summary
102
Sleep Mode
103
Table 16. Sleep-Now Entry and Exit
103
Table 17. Sleep-On-Exit Entry and Exit
103
Batch Acquisition Mode
104
Table 18. BAM-Now Entry and Exit
104
Stop Mode
105
Table 19. BAM-On-Exit Entry and Exit
105
Table 20. Stop Operating Modes
106
Table 21. Stop Mode Entry and Exit
107
Standby Mode
108
Programming the RTC Alternate Functions to Wake up the Device from the Stop and Standby Modes
109
Table 22. Standby Mode Entry and Exit
109
Power Control Registers
112
PWR Power Control Register (PWR_CR)
112
PWR Power Control/Status Register (PWR_CSR)
114
PWR Register Map
116
Table 23. PWR - Register Map and Reset Values
116
Reset and Clock Control (RCC) for STM32F413/423
117
Reset
117
System Reset
117
Power Reset
118
Figure 12. Simplified Diagram of the Reset Circuit
118
Backup Domain Reset
119
Clocks
119
Figure 13. Clock Tree
120
HSE Clock
121
HSI Clock
122
Figure 14. HSE/ LSE Clock Sources
122
PLL Configuration
123
LSE Clock
123
LSI Clock
124
System Clock (SYSCLK) Selection
124
Clock Security System (CSS)
124
RTC/AWU Clock
125
Watchdog Clock
125
Clock-Out Capability
126
Internal/External Clock Measurement Using TIM5/TIM11
126
Figure 15. Frequency Measurement with TIM5 in Input Capture Mode
127
Figure 16. Frequency Measurement with TIM11 in Input Capture Mode
128
RCC Registers
129
RCC Clock Control Register (RCC_CR)
129
RCC PLL Configuration Register (RCC_PLLCFGR)
131
RCC Clock Configuration Register (RCC_CFGR)
133
RCC Clock Interrupt Register (RCC_CIR)
136
RCC AHB1 Peripheral Reset Register (RCC_AHB1RSTR)
138
RCC AHB2 Peripheral Reset Register (RCC_AHB2RSTR)
140
For Stm32F413Xx
140
RCC AHB2 Peripheral Reset Register (RCC_AHB2RSTR)
141
For Stm32F423Xx
141
RCC AHB3 Peripheral Reset Register (RCC_AHB3RSTR)
142
RCC APB1 Peripheral Reset Register for (RCC_APB1RSTR)
142
RCC APB2 Peripheral Reset Register (RCC_APB2RSTR)
146
RCC AHB1 Peripheral Clock Enable Register (RCC_AHB1ENR)
149
RCC AHB2 Peripheral Clock Enable Register (RCC_AHB2ENR)
151
For Stm32F413Xx
151
RCC AHB2 Peripheral Clock Enable Register (RCC_AHB2ENR)
152
For Stm32F423Xx
152
RCC AHB3 Peripheral Clock Enable Register (RCC_AHB3ENR)
153
RCC APB1 Peripheral Clock Enable Register (RCC_APB1ENR)
153
RCC APB2 Peripheral Clock Enable Register (RCC_APB2ENR)
157
RCC AHB1 Peripheral Clock Enable in Low Power Mode Register (RCC_AHB1LPENR)
160
RCC AHB2 Peripheral Clock Enable in Low Power Mode Register (RCC_AHB2LPENR) for Stm32F413Xx
162
RCC AHB2 Peripheral Clock Enable in Low Power Mode Register (RCC_AHB2LPENR) for Stm32F423Xx
163
RCC AHB3 Peripheral Clock Enable in Low Power Mode Register (RCC_AHB3LPENR)
163
RCC APB1 Peripheral Clock Enable in Low Power Mode Register (RCC_APB1LPENR)
165
RCC APB2 Peripheral Clock Enabled in Low Power Mode Register (RCC_APB2LPENR)
168
RCC Backup Domain Control Register (RCC_BDCR)
171
RCC Clock Control & Status Register (RCC_CSR)
172
RCC Spread Spectrum Clock Generation Register (RCC_SSCGR)
174
RCC PLLI2S Configuration Register (RCC_PLLI2SCFGR)
175
RCC Dedicated Clocks Configuration Register (RCC_DCKCFGR)
177
RCC Clocks Gated Enable Register (CKGATENR)
179
RCC Dedicated Clocks Configuration Register (RCC_DCKCFGR2)
180
RCC Register Map
181
Table 24. RCC Register Map and Reset Values for STM32F413/423
181
General-Purpose I/Os (GPIO)
184
GPIO Introduction
184
GPIO Main Features
184
GPIO Functional Description
184
Table 25. Port Bit Configuration Table
185
Figure 17. Basic Structure of a Five-Volt Tolerant I/O Port Bit
185
General-Purpose I/O (GPIO)
186
I/O Pin Multiplexer and Mapping
187
Table 26. Flexible SWJ-DP Pin Assignment
188
Figure 18. Selecting an Alternate Function on STM32F413/423
189
I/O Port Control Registers
190
I/O Port Data Registers
190
I/O Data Bitwise Handling
190
GPIO Locking Mechanism
190
I/O Alternate Function Input/Output
191
External Interrupt/Wakeup Lines
191
Input Configuration
191
Output Configuration
192
Figure 19. Input Floating/Pull Up/Pull down Configurations
192
Alternate Function Configuration
193
Figure 20. Output Configuration
193
Figure 21. Alternate Function Configuration
193
Analog Configuration
194
Using the OSC32_IN/OSC32_OUT Pins as GPIO PC14/PC15
194
Port Pins
194
Using the OSC_IN/OSC_OUT Pins as GPIO PH0/PH1 Port Pins
194
Figure 22. High Impedance-Analog Configuration
194
Selection of RTC Additional Functions
195
Table 27. RTC Additional Functions
195
GPIO Registers
196
GPIO Port Mode Register (Gpiox_Moder) (X = a
196
GPIO Port Output Type Register (Gpiox_Otyper)
196
(X = a
196
GPIO Port Output Speed Register (Gpiox_Ospeedr)
197
(X = a
197
GPIO Port Pull-Up/Pull-Down Register (Gpiox_Pupdr)
197
GPIO Port Input Data Register (Gpiox_Idr) (X = a
198
GPIO Port Output Data Register (Gpiox_Odr) (X = a
198
GPIO Port Bit Set/Reset Register (Gpiox_Bsrr) (X = a
198
GPIO Port Configuration Lock Register (Gpiox_Lckr)
199
(X = a
199
GPIO Alternate Function Low Register (Gpiox_Afrl) (X = a
200
(X = a
201
GPIO Register Map
201
Table 28. GPIO Register Map and Reset Values
201
System Configuration Controller (SYSCFG)
204
I/O Compensation Cell
204
SYSCFG Registers
204
SYSCFG Memory Remap Register (SYSCFG_MEMRMP)
204
SYSCFG Peripheral Mode Configuration Register (SYSCFG_PMC)
205
SYSCFG External Interrupt Configuration Register 1
206
(Syscfg_Exticr1)
206
(Syscfg_Exticr2)
206
SYSCFG External Interrupt Configuration Register 3
207
(Syscfg_Exticr3)
207
(Syscfg_Exticr4)
208
SYSCFG Configuration Register 2 (SYSCFG_CFGR2)
208
Compensation Cell Control Register (SYSCFG_CMPCR)
209
SYSCFG Configuration Register (SYSCFG_CFGR)
210
DFSDM Multi-Channel Delay Control Register (SYSCFG_MCHDLYCR)
210
SYSCFG Register Map
213
Table 29. SYSCFG Register Map and Reset Values
213
Direct Memory Access Controller (DMA)
214
DMA Introduction
214
DMA Main Features
214
DMA Functional Description
216
DMA Block Diagram
216
DMA Overview
216
Figure 23. DMA Block Diagram
216
DMA Transactions
217
Channel Selection
217
Figure 24. Channel Selection
217
Table 30. DMA1 Request Mapping
218
Table 31. DMA2 Request Mapping
218
Arbiter
219
DMA Streams
219
Source, Destination and Transfer Modes
219
Table 32. Source and Destination Address
219
Figure 25. Peripheral-To-Memory Mode
220
Figure 26. Memory-To-Peripheral Mode
221
Pointer Incrementation
222
Figure 27. Memory-To-Memory Mode
222
Circular Mode
223
Double-Buffer Mode
223
Programmable Data Width, Packing/Unpacking, Endianness
224
Table 33. Source and Destination Address Registers in Double-Buffer Mode (DBM = 1)
224
Table 34. Packing/Unpacking and Endian Behavior (Bit PINC = MINC = 1)
225
Table 35. Restriction on NDT Versus PSIZE and MSIZE
225
Single and Burst Transfers
226
Fifo
226
Figure 28. FIFO Structure
226
Table 36. FIFO Threshold Configurations
227
DMA Transfer Completion
229
DMA Transfer Suspension
230
Flow Controller
230
Summary of the Possible DMA Configurations
231
Table 37. Possible DMA Configurations
231
Stream Configuration Procedure
232
Error Management
233
DMA Interrupts
234
Table 38. DMA Interrupt Requests
234
DMA Registers
235
DMA Low Interrupt Status Register (DMA_LISR)
235
DMA High Interrupt Status Register (DMA_HISR)
236
DMA Low Interrupt Flag Clear Register (DMA_LIFCR)
237
DMA High Interrupt Flag Clear Register (DMA_HIFCR)
237
DMA Stream X Configuration Register (Dma_Sxcr)
238
DMA Stream X Number of Data Register (Dma_Sxndtr)
241
DMA Stream X Peripheral Address Register (Dma_Sxpar)
242
DMA Stream X Memory 0 Address Register (Dma_Sxm0Ar)
242
DMA Stream X Memory 1 Address Register (Dma_Sxm1Ar)
242
DMA Stream X FIFO Control Register (Dma_Sxfcr)
243
DMA Register Map
245
Table 39. DMA Register Map and Reset Values
245
Interrupts and Events
249
Nested Vectored Interrupt Controller (NVIC)
249
NVIC Features
249
Systick Calibration Value Register
249
Interrupt and Exception Vectors
249
External Interrupt/Event Controller (EXTI)
249
Table 40. Vector Table for STM32F413/423
250
EXTI Main Features
254
EXTI Block Diagram
254
Wakeup Event Management
254
Figure 29. External Interrupt/Event Controller Block Diagram
254
Functional Description
256
External Interrupt/Event Line Mapping
257
Figure 30. External Interrupt/Event GPIO Mapping
257
EXTI Registers
258
Interrupt Mask Register (EXTI_IMR)
258
Event Mask Register (EXTI_EMR)
258
Rising Trigger Selection Register (EXTI_RTSR)
259
Falling Trigger Selection Register (EXTI_FTSR)
260
Software Interrupt Event Register (EXTI_SWIER)
261
Pending Register (EXTI_PR)
262
EXTI Register Map
263
Table 41. External Interrupt/Event Controller Register Map and Reset Values
263
Flexible Static Memory Controller (FSMC)
264
FSMC Main Features
264
FMC Block Diagram
265
Figure 31. FSMC Block Diagram
265
AHB Interface
266
Supported Memories and Transactions
266
External Device Address Mapping
267
NOR/PSRAM Address Mapping
267
Table 42. NOR/PSRAM Bank Selection
267
Figure 32. FSMC Memory Banks
267
NOR Flash/Psram Controller
268
Table 43. NOR/PSRAM External Memory Address
268
External Memory Interface Signals
269
Table 44. Programmable NOR/PSRAM Access Parameters
269
Table 45. Non-Multiplexed I/O nor Flash Memory
270
Table 46. 16-Bit Multiplexed I/O nor Flash Memory
270
Table 47. Non-Multiplexed I/Os PSRAM/SRAM
270
Supported Memories and Transactions
271
Table 48. 16-Bit Multiplexed I/O PSRAM
271
Table 49. nor Flash/Psram: Example of Supported Memories and Transactions
272
General Timing Rules
273
NOR Flash/Psram Controller Asynchronous Transactions
273
Figure 33. Mode1 Read Access Waveforms
274
Figure 34. Mode1 Write Access Waveforms
274
Table 50. Fsmc_Bcrx Bit Fields
275
Table 51. Fsmc_Btrx Bit Fields
275
Figure 35. Modea Read Access Waveforms
276
Figure 36. Modea Write Access Waveforms
276
Table 52. Fsmc_Bcrx Bit Fields
277
Table 53. Fsmc_Btrx Bit Fields
277
Table 54. Fsmc_Bwtrx Bit Fields
278
Figure 37. Mode2 and Mode B Read Access Waveforms
278
Figure 38. Mode2 Write Access Waveforms
279
Figure 39. Modeb Write Access Waveforms
279
Table 55. Fsmc_Bcrx Bit Fields
280
Table 56. Fsmc_Btrx Bit Fields
280
Table 57. Fsmc_Bwtrx Bit Fields
281
Figure 40. Modec Read Access Waveforms
281
Table 58. Fsmc_Bcrx Bit Fields
282
Figure 41. Modec Write Access Waveforms
282
Table 59. Fsmc_Btrx Bit Fields
283
Table 60. Fsmc_Bwtrx Bit Fields
283
Figure 42. Moded Read Access Waveforms
284
Figure 43. Moded Write Access Waveforms
284
Table 61. Fsmc_Bcrx Bit Fields
285
Table 62. Fsmc_Btrx Bit Fields
285
Table 63. Fsmc_Bwtrx Bit Fields
286
Figure 44. Muxed Read Access Waveforms
286
Table 64. Fsmc_Bcrx Bit Fields
287
Figure 45. Muxed Write Access Waveforms
287
Table 65. Fsmc_Btrx Bit Fields
288
Figure 46. Asynchronous Wait During a Read Access Waveforms
289
Synchronous Transactions
290
Figure 47. Asynchronous Wait During a Write Access Waveforms
290
Figure 48. Wait Configuration Waveforms
292
Table 66. Fsmc_Bcrx Bit Fields
293
Figure 49. Synchronous Multiplexed Read Mode Waveforms - NOR, PSRAM (CRAM)
293
Table 67. Fsmc_Btrx Bit Fields
294
Table 68. Fsmc_Bcrx Bit Fields
295
Figure 50. Synchronous Multiplexed Write Mode Waveforms - PSRAM (CRAM)
295
Table 69. Fsmc_Btrx Bit Fields
296
NOR/PSRAM Controller Registers
297
FSMC Register Map
305
Table 70. FSMC Register Map
305
Quad-SPI Interface (QUADSPI)
307
Introduction
307
QUADSPI Main Features
307
QUADSPI Functional Description
307
QUADSPI Block Diagram
307
Figure 51. QUADSPI Block Diagram When Dual-Flash Mode Is Disabled
307
QUADSPI Pins
308
Table 71. QUADSPI Pins
308
Figure 52. QUADSPI Block Diagram When Dual-Flash Mode Is Enabled
308
QUADSPI Command Sequence
309
Figure 53. an Example of a Read Command in Quad Mode
309
QUADSPI Signal Interface Protocol Modes
311
Figure 54. an Example of a DDR Command in Quad Mode
312
QUADSPI Indirect Mode
313
QUADSPI Status Flag Polling Mode
315
QUADSPI Memory-Mapped Mode
315
QUADSPI Flash Memory Configuration
316
QUADSPI Delayed Data Sampling
316
QUADSPI Configuration
316
QUADSPI Usage
317
Sending the Instruction Only Once
319
QUADSPI Error Management
319
QUADSPI Busy Bit and Abort Functionality
320
Ncs Behavior
320
Figure 55. Ncs When CKMODE = 0 (T = CLK Period)
320
Figure 56. Ncs When CKMODE = 1 in SDR Mode (T = CLK Period)
320
Figure 57. Ncs When CKMODE = 1 in DDR Mode (T = CLK Period)
321
Figure 58. Ncs When CKMODE = 1 with an Abort (T = CLK Period)
321
QUADSPI Interrupts
322
Table 72. QUADSPI Interrupt Requests
322
QUADSPI Registers
323
QUADSPI Control Register (QUADSPI_CR)
323
QUADSPI Device Configuration Register (QUADSPI_DCR)
326
QUADSPI Status Register (QUADSPI_SR)
327
QUADSPI Flag Clear Register (QUADSPI_FCR)
328
QUADSPI Data Length Register (QUADSPI_DLR)
328
QUADSPI Communication Configuration Register (QUADSPI_CCR)
329
QUADSPI Address Register (QUADSPI_AR)
331
QUADSPI Alternate Bytes Registers (QUADSPI_ABR)
332
QUADSPI Data Register (QUADSPI_DR)
332
QUADSPI Polling Status Mask Register (QUADSPI
333
QUADSPI Polling Status Match Register (QUADSPI
333
QUADSPI Polling Interval Register (QUADSPI
334
QUADSPI Low-Power Timeout Register (QUADSPI_LPTR)
334
QUADSPI Register Map
335
Table 73. QUADSPI Register Map and Reset Values
335
Analog-To-Digital Converter (ADC)
336
ADC Introduction
336
ADC Main Features
336
ADC Functional Description
336
Figure 59. Single ADC Block Diagram
337
ADC On-Off Control
338
ADC Clock
338
Channel Selection
338
Table 74. ADC Pins
338
Single Conversion Mode
339
Continuous Conversion Mode
339
Timing Diagram
340
Analog Watchdog
340
Figure 60. Timing Diagram
340
Figure 61. Analog Watchdog's Guarded Area
340
Scan Mode
341
Injected Channel Management
341
Table 75. Analog Watchdog Channel Selection
341
Discontinuous Mode
342
Figure 62. Injected Conversion Latency
342
Data Alignment
343
Channel-Wise Programmable Sampling Time
344
Figure 63. Right Alignment of 12-Bit Data
344
Figure 64. Left Alignment of 12-Bit Data
344
Figure 65. Left Alignment of 6-Bit Data
344
Conversion on External Trigger and Trigger Polarity
345
Table 76. Configuring the Trigger Polarity
345
Table 77. External Trigger for Regular Channels
345
Fast Conversion Mode
346
Table 78. External Trigger for Injected Channels
346
Data Management
347
Using the DMA
347
Managing a Sequence of Conversions Without Using the DMA
347
Conversions Without DMA and Without Overrun Detection
348
Temperature Sensor
348
Figure 66. Temperature Sensor and VREFINT Channel Block Diagram
348
Battery Charge Monitoring
349
ADC Interrupts
350
Table 79. ADC Interrupts
350
ADC Registers
351
ADC Status Register (ADC_SR)
351
ADC Control Register 1 (ADC_CR1)
352
ADC Control Register 2 (ADC_CR2)
354
ADC Sample Time Register 1 (ADC_SMPR1)
356
ADC Sample Time Register 2 (ADC_SMPR2)
357
ADC Injected Channel Data Offset Register X (Adc_Jofrx) (X=1
357
ADC Watchdog Higher Threshold Register (ADC_HTR)
357
ADC Watchdog Lower Threshold Register (ADC_LTR)
358
ADC Regular Sequence Register 1 (ADC_SQR1)
358
ADC Regular Sequence Register 2 (ADC_SQR2)
359
ADC Regular Sequence Register 3 (ADC_SQR3)
360
ADC Injected Sequence Register (ADC_JSQR)
361
ADC Injected Data Register X (Adc_Jdrx) (X= 1
361
ADC Regular Data Register (ADC_DR)
362
ADC Common Status Register (ADC_CSR)
362
ADC Common Control Register (ADC_CCR)
363
13.12.17 ADC Register Map
364
Table 80. ADC Global Register Map
364
Table 81. ADC Register Map and Reset Values
364
Table 82. ADC Register Map and Reset Values (Common ADC Registers)
365
Digital-To-Analog Converter (DAC)
366
DAC Introduction
366
DAC Main Features
366
Table 83. DAC Pins
367
Figure 67. DAC Channel Block Diagram
367
DAC Functional Description
368
DAC Channel Enable
368
DAC Output Buffer Enable
368
DAC Data Format
368
DAC Conversion
369
Figure 68. Data Registers in Single DAC Channel Mode
369
Figure 69. Data Registers in Dual DAC Channel Mode
369
DAC Output Voltage
370
DAC Trigger Selection
370
Table 84. External Triggers
370
Figure 70. Timing Diagram for Conversion with Trigger Disabled TEN = 0
370
DMA Request
371
Noise Generation
371
Triangle-Wave Generation
372
Figure 71. DAC LFSR Register Calculation Algorithm
372
Figure 72. DAC Conversion (SW Trigger Enabled) with LFSR Wave Generation
372
Dual DAC Channel Conversion
373
Figure 73. DAC Triangle Wave Generation
373
Figure 74. DAC Conversion (SW Trigger Enabled) with Triangle Wave Generation
373
Independent Trigger Without Wave Generation
374
Independent Trigger with Single LFSR Generation
374
Independent Trigger with Different LFSR Generation
374
Independent Trigger with Single Triangle Generation
375
Independent Trigger with Different Triangle Generation
375
Simultaneous Software Start
375
Load the Dual DAC Channel Data into the Desired DHR Register
375
DAC_DHR12LD or DAC_DHR8RD)
375
Simultaneous Trigger Without Wave Generation
376
Simultaneous Trigger with Single LFSR Generation
376
Simultaneous Trigger with Different LFSR Generation
376
Simultaneous Trigger with Single Triangle Generation
377
Simultaneous Trigger with Different Triangle Generation
377
To Configure the DAC in this Conversion Mode, the Following Sequence Is Required: Set the Two DAC Channel Trigger Enable Bits TEN1 and TEN2
377
Load the Dual DAC Channel Data into the Desired DHR Register
377
DAC_DHR12LD or DAC_DHR8RD)
377
MAMP2[3:0], Is Added to the DHR2 Register and the Sum Is Transferred into DAC_DOR2
377
DAC Registers
378
DAC Control Register (DAC_CR)
378
DAC Software Trigger Register (DAC_SWTRIGR)
381
DAC Channel1 12-Bit Right-Aligned Data Holding Register (DAC_DHR12R1)
381
DAC Channel1 12-Bit Left Aligned Data Holding Register
382
(Dac_Dhr12L1)
382
DAC Channel1 8-Bit Right Aligned Data Holding Register
382
DAC Channel2 12-Bit Right Aligned Data Holding Register
383
DAC Channel2 12-Bit Left Aligned Data Holding Register
383
(Dac_Dhr12L2)
383
DAC Channel2 8-Bit Right-Aligned Data Holding Register
383
Dual DAC 12-Bit Right-Aligned Data Holding Register (DAC_DHR12RD)
384
DUAL DAC 12-Bit Left Aligned Data Holding Register
384
(Dac_Dhr12Ld)
384
DUAL DAC 8-Bit Right Aligned Data Holding Register
385
(Dac_Dhr8Rd)
385
DAC Channel1 Data Output Register (DAC_DOR1)
385
DAC Channel2 Data Output Register (DAC_DOR2)
385
DAC Status Register (DAC_SR)
386
DAC Register Map
386
Table 85. DAC Register Map
386
Digital Filter for Sigma Delta Modulators (DFSDM)
388
Introduction
388
DFSDM Main Features
389
DFSDM Implementation
390
Table 86. Dfsdmx Implementation
390
DFSDM Functional Description
391
DFSDM Block Diagram
391
Figure 75. Single DFSDM Block Diagram
391
DFSDM Pins and Internal Signals
392
Table 87. DFSDM External Pins
392
Table 88. DFSDM Internal Signals
392
Table 89. DFSDM1 Triggers Connection
392
DFSDM Reset and Clocks
393
Table 90. DFSDM2 Triggers Connection
393
Table 91. DFSDM Break Connection
393
Serial Channel Transceivers
394
Figure 76. Input Channel Pins Redirection
395
Figure 77. Channel Transceiver Timing Diagrams
397
Figure 78. Clock Absence Timing Diagram for SPI
398
Figure 79. Clock Absence Timing Diagram for Manchester Coding
399
Figure 80. First Conversion for Manchester Coding (Manchester Synchronization)
401
Figure 81. Multi-Channel Delay Block for Pulse Skipping
404
Figure 82. Pulses Skipper Operation
405
Table 92. Demultiplexers (DM[6:1]) Operation
406
Table 93. Use-Cases Examples for Beamforming Applications
406
Configuring the Input Serial Interface
407
Parallel Data Inputs
407
Channel Selection
409
Figure 83. Dfsdm_Chydatinr Registers Operation Modes and Assignment
409
Digital Filter Configuration
410
Figure 84. Example: Sinc3 Filter Response
410
Integrator Unit
411
Analog Watchdog
411
Table 94. Filter Maximum Output Resolution (Peak Data Values from Filter Output)
411
Table 95. Integrator Maximum Output Resolution
411
Short-Circuit Detector
414
Advertisement
ST STM32F423 Series Reference Manual (1284 pages)
advanced ARM-based 32-bit MCUs
Brand:
ST
| Category:
Microcontrollers
| Size: 14 MB
Table of Contents
Table of Contents
2
Table of Contents
3
Table of Contents
4
Table of Contents
5
Table of Contents
6
Table of Contents
7
Table of Contents
8
Table of Contents
9
Table of Contents
10
Table of Contents
11
Table of Contents
12
Table of Contents
13
Table of Contents
14
Table of Contents
15
Table of Contents
16
Table of Contents
17
Table of Contents
18
Table of Contents
19
Table of Contents
20
Table of Contents
21
Table of Contents
22
Table of Contents
23
Table of Contents
24
Table of Contents
25
Table of Contents
26
Table of Contents
27
Table of Contents
28
Table of Contents
29
Table of Contents
30
Table of Contents
31
Table of Contents
32
Table of Contents
33
Table of Contents
34
Table of Contents
35
Table of Contents
36
Table of Contents
37
Table of Contents
38
Table of Contents
39
Table of Contents
40
Table of Contents
41
Table of Contents
42
Table of Contents
43
Table of Contents
44
Table of Contents
45
Table of Contents
46
Table of Contents
47
Table of Contents
48
Table of Contents
49
Table of Contents
50
Documentation Conventions
51
System and Memory Overview
52
I-Bus
53
DMA Peripheral Bus
54
Memory Organization
55
Memory Map and Register Boundary Addresses
56
Embedded SRAM
60
Boot Configuration
61
Table 3. Embedded Bootloader Interfaces
62
Table 4. Memory Mapping Vs. Boot Mode/Physical Remap in STM32F413/423
63
Embedded Flash Memory Interface
64
Embedded Flash Memory
65
Read Interface
66
Adaptive Real-Time Memory Accelerator (ART Accelerator™)
67
Figure 4. Sequential 32-Bit Instruction Execution
68
Erase and Program Operations
69
Program/Erase Parallelism
70
Programming
71
Interrupts
72
Table 10. Description of the Option Bytes
73
Programming User Option Bytes
74
Write Protections
76
Proprietary Code Readout Protection (PCROP)
77
Figure 6. PCROP Levels
78
One-Time Programmable Bytes
79
Flash Interface Registers
80
Flash Key Register (FLASH_KEYR)
81
Flash Status Register (FLASH_SR)
82
Flash Control Register (FLASH_CR)
83
Flash Option Control Register (FLASH_OPTCR)
84
Flash Interface Register Map
87
CRC Introduction
88
CRC Registers
89
Independent Data Register (CRC_IDR)
90
CRC Register Map
91
Power Supplies
92
Independent A/D Converter Supply and Reference Voltage
93
Voltage Regulator
95
Power Supply Supervisor
96
Programmable Voltage Detector (PVD)
97
Low-Power Modes
98
Slowing down System Clocks
100
Sleep Mode
101
Batch Acquisition Mode
102
Stop Mode
103
Table 20. Stop Operating Modes
104
Table 21. Stop Mode Entry and Exit
105
Standby Mode
106
The Stop and Standby Modes
107
Power Control Registers
110
PWR Power Control/Status Register (PWR_CSR)
112
PWR Register Map
114
Reset
115
Power Reset
116
Backup Domain Reset
117
Figure 13. Clock Tree
118
HSE Clock
119
HSI Clock
120
PLL Configuration
121
LSI Clock
122
RTC/AWU Clock
123
Clock-Out Capability
124
Figure 15. Frequency Measurement with TIM5 in Input Capture Mode
125
Figure 16. Frequency Measurement with TIM11 in Input Capture Mode
126
RCC Registers
127
RCC PLL Configuration Register (RCC_PLLCFGR)
129
RCC Clock Configuration Register (RCC_CFGR)
131
RCC Clock Interrupt Register (RCC_CIR)
134
RCC AHB1 Peripheral Reset Register (RCC_AHB1RSTR)
136
For Stm32F413Xx
138
For Stm32F423Xx
139
RCC AHB3 Peripheral Reset Register (RCC_AHB3RSTR)
140
RCC APB2 Peripheral Reset Register (RCC_APB2RSTR)
144
RCC AHB1 Peripheral Clock Enable Register (RCC_AHB1ENR)
146
148
For Stm32F413Xx
148
149
For Stm32F423Xx
149
RCC AHB3 Peripheral Clock Enable Register (RCC_AHB3ENR)
150
RCC_AHB2LPENR) for Stm32F413Xx
159
RCC_AHB2LPENR) for Stm32F423Xx
160
RCC Backup Domain Control Register (RCC_BDCR)
168
RCC Clock Control & Status Register (RCC_CSR)
169
RCC Spread Spectrum Clock Generation Register (RCC_SSCGR)
171
RCC PLLI2S Configuration Register (RCC_PLLI2SCFGR)
172
RCC Dedicated Clocks Configuration Register (RCC_DCKCFGR)
174
RCC Clocks Gated Enable Register (CKGATENR)
176
RCC Dedicated Clocks Configuration Register (RCC_DCKCFGR2)
177
RCC Register Map
178
General-Purpose I/Os (GPIO)
181
Table 25. Port Bit Configuration Table
182
General-Purpose I/O (GPIO)
183
I/O Pin Multiplexer and Mapping
184
Table 26. Flexible SWJ-DP Pin Assignment
185
Figure 18. Selecting an Alternate Function on STM32F413/423
186
I/O Port Control Registers
187
I/O Alternate Function Input/Output
188
Output Configuration
189
Alternate Function Configuration
190
Analog Configuration
191
Selection of RTC Additional Functions
192
GPIO Registers
193
GPIO Port Input Data Register (Gpiox_Idr) (X = A...H)
195
GPIO Alternate Function Low Register (Gpiox_Afrl) (X = A...H)
197
GPIO Register Map
198
I/O Compensation Cell
201
SYSCFG Peripheral Mode Configuration Register (SYSCFG_PMC)
202
SYSCFG External Interrupt Configuration Register
203
204
SYSCFG External Interrupt Configuration Register
204
SYSCFG Configuration Register 2 (SYSCFG_CFGR2)
205
Compensation Cell Control Register (SYSCFG_CMPCR)
206
SYSCFG Configuration Register (SYSCFG_CFGR)
207
SYSCFG Register Map
210
DMA Introduction
211
DMA Functional Description
213
DMA Transactions
214
Table 30. DMA1 Request Mapping
215
Arbiter
216
Figure 25. Peripheral-To-Memory Mode
217
Figure 26. Memory-To-Peripheral Mode
218
Pointer Incrementation
219
Circular Mode
220
Programmable Data Width, Packing/Unpacking, Endianness
221
Table 34. Packing/Unpacking & Endian Behavior (Bit PINC = MINC = 1)
222
Single and Burst Transfers
223
Table 36. FIFO Threshold Configurations
224
DMA Transfer Completion
226
DMA Transfer Suspension
227
Summary of the Possible DMA Configurations
228
Stream Configuration Procedure
229
Error Management
230
DMA Interrupts
231
DMA Registers
232
DMA High Interrupt Status Register (DMA_HISR)
233
DMA Low Interrupt Flag Clear Register (DMA_LIFCR)
234
DMA Stream X Configuration Register (Dma_Sxcr) (X = 0..7)
235
DMA Stream X Number of Data Register (Dma_Sxndtr) (X = 0..7)
238
DMA Stream X Peripheral Address Register (Dma_Sxpar) (X = 0..7)
239
DMA Stream X FIFO Control Register (Dma_Sxfcr) (X = 0..7)
240
DMA Register Map
242
Nested Vectored Interrupt Controller (NVIC)
246
Table 40. Vector Table for STM32F413/423
247
EXTI Main Features
251
Functional Description
253
External Interrupt/Event Line Mapping
254
Interrupt Mask Register (EXTI_IMR)
255
Rising Trigger Selection Register (EXTI_RTSR)
256
Falling Trigger Selection Register (EXTI_FTSR)
257
Software Interrupt Event Register (EXTI_SWIER)
258
Pending Register (EXTI_PR)
259
EXTI Register Map
260
Flexible Static Memory Controller (FSMC)
261
Block Diagram
262
AHB Interface
263
External Device Address Mapping
264
NOR Flash/Psram Controller
265
External Memory Interface Signals
266
Table 45. Non-Multiplexed I/O nor Flash Memory
267
Supported Memories and Transactions
268
Table 49. nor Flash/Psram: Example of Supported Memories and Transactions
269
General Timing Rules
270
Figure 33. Mode1 Read Access Waveforms
271
Table 50. Fsmc_Bcrx Bit Fields
272
Figure 35. Modea Read Access Waveforms
273
Table 52. Fsmc_Bcrx Bit Fields
274
Table 54. Fsmc_Bwtrx Bit Fields
275
Figure 38. Mode2 Write Access Waveforms
276
Table 55. Fsmc_Bcrx Bit Fields
277
Table 57. Fsmc_Bwtrx Bit Fields
278
Table 58. Fsmc_Bcrx Bit Fields
279
Table 59. Fsmc_Btrx Bit Fields
280
Figure 42. Moded Read Access Waveforms
281
Table 61. Fsmc_Bcrx Bit Fields
282
Table 63. Fsmc_Bwtrx Bit Fields
283
Table 64. Fsmc_Bcrx Bit Fields
284
Table 65. Fsmc_Btrx Bit Fields
285
Figure 46. Asynchronous Wait During a Read Access Waveforms
286
Synchronous Transactions
287
Figure 48. Wait Configuration Waveforms
289
Table 66. Fsmc_Bcrx Bit Fields
290
Table 67. Fsmc_Btrx Bit Fields
291
Table 68. Fsmc_Bcrx Bit Fields
292
Table 69. Fsmc_Btrx Bit Fields
293
NOR/PSRAM Controller Registers
294
FSMC Register Map
302
Introduction
304
QUADSPI Pins
305
QUADSPI Command Sequence
306
QUADSPI Signal Interface Protocol Modes
308
Figure 54. an Example of a DDR Command in Quad Mode
309
QUADSPI Indirect Mode
310
QUADSPI Status Flag Polling Mode
311
QUADSPI Memory-Mapped Mode
312
QUADSPI Flash Memory Configuration
313
QUADSPI Usage
314
Sending the Instruction Only Once
316
QUADSPI Busy Bit and Abort Functionality
317
Figure 57. Ncs When CKMODE = 1 in DDR Mode (T = CLK Period)
318
QUADSPI Interrupts
319
QUADSPI Registers
320
QUADSPI Device Configuration Register (QUADSPI_DCR)
323
QUADSPI Status Register (QUADSPI_SR)
324
QUADSPI Flag Clear Register (QUADSPI_FCR)
325
QUADSPI Communication Configuration Register (QUADSPI_CCR)
326
QUADSPI Address Register (QUADSPI_AR)
328
QUADSPI Alternate Bytes Registers (QUADSPI_ABR)
329
QUADSPI Polling Status Mask Register (QUADSPI _PSMKR)
330
QUADSPI Polling Interval Register (QUADSPI _PIR)
331
QUADSPI Register Map
332
ADC Introduction
333
ADC On-Off Control
334
Single Conversion Mode
335
Timing Diagram
336
Scan Mode
337
Discontinuous Mode
338
Data Alignment
339
Channel-Wise Programmable Sampling Time
340
Conversion on External Trigger and Trigger Polarity
341
Data Management
342
Conversions Without DMA and Without Overrun Detection
343
Battery Charge Monitoring
344
ADC Registers
345
ADC Control Register 1 (ADC_CR1)
346
ADC Control Register 2 (ADC_CR2)
348
ADC Sample Time Register 1 (ADC_SMPR1)
349
ADC Sample Time Register 2 (ADC_SMPR2)
350
ADC Watchdog Higher Threshold Register (ADC_HTR)
351
ADC Regular Sequence Register 1 (ADC_SQR1)
352
ADC Regular Sequence Register 3 (ADC_SQR3)
353
ADC Injected Sequence Register (ADC_JSQR)
354
ADC Regular Data Register (ADC_DR)
355
ADC Common Control Register (ADC_CCR)
356
Digital-To-Analog Converter (DAC)
359
Table 79. DAC Pins
360
DAC Functional Description
361
DAC Conversion
362
DAC Output Voltage
363
DMA Request
364
Triangle-Wave Generation
365
Dual DAC Channel Conversion
366
Independent Trigger Without Wave Generation
367
Independent Trigger with Single Triangle Generation
368
Simultaneous Trigger Without Wave Generation
369
Simultaneous Trigger with Single Triangle Generation
370
DAC Registers
371
DAC Software Trigger Register (DAC_SWTRIGR)
374
DAC Channel1 Data Output Register (DAC_DOR1)
378
DAC Status Register (DAC_SR)
379
Digital Filter for Sigma Delta Modulators (DFSDM)
381
DFSDM Main Features
382
DFSDM Implementation
383
ST STM32F423 Series Application Note (50 pages)
Getting started with MCU hardware development
Brand:
ST
| Category:
Motherboard
| Size: 1 MB
Table of Contents
Table of Contents
2
1 Reference Documents
6
Table 2. Referenced Documents
6
2 Power Supplies
7
Digital Supply
7
Voltage Regulator
7
Regulator off Mode
7
Figure 1. BYPASS_REG Supervisor Reset Connection
8
Power Supply Schemes
9
Figure 2. Power Supply Scheme (Excluding Stm32F469Xx/F479Xx)
10
Figure 3. Power Supply Scheme for Stm32F469Xx/F479Xx
11
Analog Supply
12
3 Reset and Power Supply Supervisor
13
System Reset
13
NRST Circuitry Example
13
Figure 4. Reset Circuit
13
Figure 5. NRST Circuitry Example
14
Stm32F412Xx, Stm32F413Xx, Stm32F423Xx, Stm32F446Xx, Stm32F469Xx
14
And Stm32F479Xx)
14
Power Supply Supervisor
15
PDR_ON Circuitry Example
15
Figure 6. NRST Circuitry Timings Example
15
Stm32F411Xx, Stm32F412Xx, Stm32F413Xx, Stm32F423Xx, Stm32F446Xx
15
Stm32F469Xx and Stm32F479Xx)
15
Figure 7. PDR_ON Simple Circuitry Example
16
Stm32F411Xx, Stm32F413Xx, Stm32F423Xx, Stm32F412Xx, Stm32F446Xx
16
Power on Reset (POR) / Power down Reset (PDR)
17
Figure 8. PDR_ON Timings Example
17
Programmable Voltage Detector (PVD)
18
Figure 9. Power-On Reset/Power-Down Reset Waveform
18
Figure 10. PVD Thresholds
19
4 Package
20
Package Selection
20
Table 3. Package Summary
20
Pinout Compatibility
22
I/O Speed
22
Table 4. I/O AC Characteristics
22
Alternate Function
24
Table 5. Alternate Function
24
Handling Unused Pins
25
Boot Mode Selection
25
Figure 11. Stm32Cubemx Example Screen-Shot
25
Table 6. Boot Modes
26
Boot Pin Connection
27
Embedded Boot Loader Mode
27
Table 7. Stm32F4Xxxx Bootloader Communication Peripherals
27
Figure 12. Boot Mode Selection Implementation Example
27
5 Debug Management
29
SWJ Debug Port (Serial Wire and JTAG)
29
Pinout and Debug Port Pins
29
SWJ Debug Port Pins
29
Figure 13. Host-To-Board Connection
29
Internal Pull-Up and Pull-Down Resistors on JTAG Pins
30
SWJ Debug Port Connection with Standard JTAG Connector
30
Table 8. Debug Port Pin Assignment
30
Figure 14. JTAG Connector Implementation
31
Advertisement
Advertisement
Related Products
st STM32F429I-DISCO
st STM32F429 Series
ST STM32F423ZH
ST STM32F423MH
ST STM32F423CH
ST STM32F423VH
ST STM32F423RH
ST STM32F42 Series
ST STM32F412RE
ST STM32F415 Series
ST Categories
Motherboard
Computer Hardware
Microcontrollers
Control Unit
Controller
More ST Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL