没有合适的资源?快使用搜索试试~ 我知道了~
首页GD32F4系列用户手册
资源详情
资源评论
资源推荐
GD32F4xx User Manual
1
GigaDevice Semiconductor Inc.
GD32F4xx
ARM
®
Cortex
™
-M4 32-bit MCU
For GD32F405xx, GD32F407xx and GD32F450xx
User Manual
Revision 1.2
( Mar. 2017 )
GD32F4xx User Manual
2
Analog-to-digital converter (ADC) ................................................................................................................ 269
Clock trim controller (CTC) ............................................................................................................................ 147
Controller area network (CAN) ..................................................................................................................... 776
CRC calculation unit (CRC) .......................................................................................................................... 187
Debug (DBG) ................................................................................................................................................... 261
Digital camera interface(DCI) ........................................................................................................................ 615
Digital-to-analog converter (DAC) ................................................................................................................ 310
Direct memory access controller (DMA) ..................................................................................................... 195
Ethernet (ENET) ............................................................................................................................................. 809
External memory controller (EXMC) ............................................................................................................ 708
Flash memory controller (FMC) ...................................................................................................................... 55
General-purpose and alternate-function I/Os (GPIO and AFIO) ............................................................. 166
Image processing accelerator (IPA) ............................................................................................................. 226
Inter-integrated circuit interface (I2C) .......................................................................................................... 547
Interrupt/event controller(EXTI) .................................................................................................................... 157
Power management unit (PMU) ..................................................................................................................... 75
Programmable current reference (IREF) ..................................................................................................... 267
Real time clock (RTC) .................................................................................................................................... 335
Reset and clock unit (RCU) ............................................................................................................................. 88
Secure digital input/output interface (SDIO) ............................................................................................... 648
Serial peripheral interface/Inter-IC sound (SPI/I2S) .................................................................................. 576
System and memory architecture................................................................................................................... 35
TFT-LCD interface (TLI) ................................................................................................................................. 627
TIMER............................................................................................................................................................... 364
True random number generator (TRNG)..................................................................................................... 191
Universal serial bus full-speed interface (USBFS) .................................................................................... 912
Universal serial bus high-speed interface (USBHS) .................................................................................. 988
Universal synchronous/asynchronous receiver /transmitter (USART) ................................................... 515
Watchdog timer (WDGT) ............................................................................................................................... 325
GD32F4xx User Manual
3
Table of Contents
Table of Contents .................................................................................................................... 3
List of Figures ....................................................................................................................... 23
List of Tables ......................................................................................................................... 31
1. System and memory architecture ........................................................................... 35
1.1. ARM Cortex-M4 processor .................................................................................................. 35
1.2. System architecture ........................................................................................................... 36
1.3. Memory map ..................................................................................................................... 39
1.3.1. Bit-banding ......................................................................................................................................... 42
1.3.2. On-chip SRAM memory ................................................................................................................... 43
1.3.3. On-chip flash memory overview ..................................................................................................... 43
1.4. Boot configuration ............................................................................................................. 43
1.5. System configuration registers (SYSCFG) ............................................................................. 44
1.5.1. Configuration register 0 (SYSCFG_CFG0) ................................................................................... 44
1.5.2. Configuration register 1 (SYSCFG_CFG1) ................................................................................... 46
1.5.3. EXTI sources selection register 0 (SYSCFG_EXTISS0) ............................................................ 46
1.5.4. EXTI sources selection register 1 (SYSCFG_EXTISS1) ............................................................ 48
1.5.5. EXTI sources selection register 2 (SYSCFG_EXTISS2) ............................................................ 49
1.5.6. EXTI sources selection register 3 (SYSCFG_EXTISS3) ............................................................ 50
1.5.7. I/O compensation control register (SYSCFG_CPSCTL) ............................................................ 52
1.6. Device electronic signature ................................................................................................. 52
1.6.1. Memory density information ............................................................................................................ 53
1.6.2. Unique device ID (96 bits) ............................................................................................................... 53
2. Flash memory controller (FMC) ............................................................................... 55
2.1. Introduction ....................................................................................................................... 55
2.2. Main features .................................................................................................................... 55
2.3. Function description........................................................................................................... 55
2.3.1. Flash memory architecture .............................................................................................................. 55
2.3.2. Read operations ................................................................................................................................ 57
2.3.3. Unlock the FMC_CTL/FMC_OBCTLx register ............................................................................. 57
2.3.4. Sector erase ...................................................................................................................................... 58
2.3.5. Mass erase ........................................................................................................................................ 59
2.3.6. Main flash programming .................................................................................................................. 60
2.3.7. OTP block programming .................................................................................................................. 62
2.3.8. Option bytes modify .......................................................................................................................... 63
2.3.9. Option bytes description .................................................................................................................. 63
GD32F4xx User Manual
4
2.3.10. Sector erase/program protection .................................................................................................... 65
2.3.11. D-bus read protection ....................................................................................................................... 66
2.3.12. Security protection ............................................................................................................................ 66
2.4. FMC registers ..................................................................................................................... 67
2.4.1. Wait state register (FMC_WS) ........................................................................................................ 67
2.4.2. Unlock key register (FMC_KEY)..................................................................................................... 67
2.4.3. Option byte unlock key register (FMC_OBKEY) .......................................................................... 68
2.4.4. Status register (FMC_STAT) ........................................................................................................... 68
2.4.5. Control register (FMC_CTL) ............................................................................................................ 69
2.4.6. Option byte control register 0 (FMC_OBCTL0) ............................................................................ 71
2.4.7. Option byte control register 1 (FMC_OBCTL1) ............................................................................ 73
2.4.8. Wait state enable register (FMC_WSEN) ..................................................................................... 73
2.4.9. Product ID register (FMC_PID) ...................................................................................................... 74
3. Power management unit (PMU) ............................................................................... 75
3.1. Introduction ....................................................................................................................... 75
3.2. Main features .................................................................................................................... 75
3.3. Function description........................................................................................................... 75
3.3.1. Battery backup domain .................................................................................................................... 76
3.3.2. Backup SRAM ................................................................................................................................... 77
3.3.3. VDD/VDDA power domain .............................................................................................................. 77
3.3.4. 1.2V power domain ........................................................................................................................... 80
3.3.5. Power saving modes ........................................................................................................................ 81
3.4. PMU registers .................................................................................................................... 83
3.4.1. Control register (PMU_CTL) ........................................................................................................... 83
3.4.2. Control and status register (PMU_CS) .......................................................................................... 85
4. Reset and clock unit (RCU) ...................................................................................... 88
4.1. Reset control unit (RCTL) .................................................................................................... 88
4.1.1. Overview ............................................................................................................................................ 88
4.1.2. Function overview ............................................................................................................................. 88
4.2. Clock control unit (CCTL) ............................................................................................. 89
4.2.1. Overview ............................................................................................................................................ 89
4.2.2. Characteristics................................................................................................................................... 91
4.2.3. Function overview ............................................................................................................................. 92
4.3. Register definition.......................................................................................................... 96
4.3.1. Control register (RCU_CTL) ............................................................................................................ 96
4.3.2. PLL register (RCU_PLL) .................................................................................................................. 98
4.3.3. Clock configuration register 0 (RCU_CFG0) .............................................................................. 100
4.3.4. Clock interrupt register (RCU_INT) .............................................................................................. 102
4.3.5. AHB1 reset register (RCU_AHB1RST) ....................................................................................... 105
4.3.6. AHB2 reset register (RCU_AHB2RST) ....................................................................................... 108
GD32F4xx User Manual
5
4.3.7. AHB3 reset register (RCU_AHB3RST) ....................................................................................... 108
4.3.8. APB1 reset register (RCU_APB1RST) ........................................................................................ 109
4.3.9. APB2 reset register (RCU_APB2RST) ........................................................................................ 112
4.3.10. AHB1 enable register (RCU_AHB1EN) ....................................................................................... 114
4.3.11. AHB2 enable register (RCU_AHB2EN) ....................................................................................... 117
4.3.12. AHB3 enable register (RCU_AHB3EN) ....................................................................................... 118
4.3.13. APB1 enable register (RCU_APB1EN) ....................................................................................... 118
4.3.14. APB2 enable register (RCU_APB2EN) ....................................................................................... 121
4.3.15. AHB1 sleep mode enable register (RCU_AHB1SPEN) ............................................................ 124
4.3.16. AHB2 sleep mode enable register (RCU_AHB2SPEN) ............................................................ 127
4.3.17. AHB3 sleep mode enable register (RCU_AHB3SPEN) ............................................................ 127
4.3.18. APB1 sleep mode enable register (RCU_APB1SPEN) ............................................................ 128
4.3.19. APB2 sleep mode enable register (RCU_APB2SPEN) ............................................................ 131
4.3.20. Backup domain control register (RCU_BDCTL) ........................................................................ 134
4.3.21. Reset source/clock register (RCU_RSTSCK) ............................................................................ 135
4.3.22. PLL clock spread spectrum control register (RCU_PLLSSCTL) ............................................. 137
4.3.23. PLLI2S register (RCU_PLLI2S) .................................................................................................... 137
4.3.24. PLLSAI register (RCU_PLLSAI) ................................................................................................... 139
4.3.25. Clock configuration register 1 (RCU_CFG1) .............................................................................. 140
4.3.26. Additional clock control register (RCU_ADDCTL) ..................................................................... 141
4.3.27. Additional clock interrupt register (RCU_ADDINT) .................................................................... 142
4.3.28. APB1 additional reset register (RCU_ADDAPB1RST) ............................................................. 143
4.3.29. APB1 additional enable register (RCU_ADDAPB1EN) ............................................................. 144
4.3.30. APB1 additional sleep mode enable register (RCU_ADDAPB1SPEN) .................................. 145
4.3.31. Voltage key register (RCU_VKEY) ............................................................................................... 145
4.3.32. Deep-sleep mode voltage register (RCU_DSV) ........................................................................ 146
5. Clock trim controller (CTC) .................................................................................... 147
5.1. Overview ......................................................................................................................... 147
5.2. Characteristics ................................................................................................................. 147
5.3. Function overview ............................................................................................................ 147
5.3.1. REF sync pulse generator ............................................................................................................. 148
5.3.2. CTC trim counter ............................................................................................................................. 148
5.3.3. Frequency evaluation and automatically trim process .............................................................. 149
5.3.4. Software program guide ................................................................................................................ 150
5.4. Register definition ............................................................................................................ 151
5.4.1. Control register 0 (CTC_CTL0)..................................................................................................... 151
5.4.2. Control register 1 (CTC_CTL1)..................................................................................................... 152
5.4.3. Status register (CTC_STAT).......................................................................................................... 153
5.4.4. Interrupt clear register (CTC_INTC) ............................................................................................. 155
6. Interrupt/event controller(EXTI) ............................................................................. 157
6.1. Overview ......................................................................................................................... 157
剩余1077页未读,继续阅读
穿透灵魂的鼓点
- 粉丝: 50
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0