热搜关键词: 电路基础ADC数字信号处理封装库PLC

pdf

STM32开发指南

  • 1星
  • 2015-02-11
  • 23.58MB
  • 需要1积分
  • 2次下载
标签: stm32

stm32

stm32开发指南    pdf

ALIENTEK 战舰STM32开发板
STM32 开发指南
−ALIENTEK 战舰 STM32 开发板教程
官方店铺 1:http://shop62103354.taobao.com
官方店铺 2:http://shop62057469.taobao.com
技术论坛:www.openedv.com
www.openedv.com
I
ALIENTEK 战舰STM32开发板
内容简介
........................................................................................................................ I
前言
................................................................................................................................2
第一篇 硬件篇
..............................................................................................................4
第一章 实验平台简介
..................................................................................................5
1.1 ALIENTEK
战舰
STM32
开发板资源初探
........................................................ 5
1.2 ALIENTEK
战舰
STM32
开发板资源说明
........................................................ 7
1.2.1
硬件资源说明
.................................................................................................... 7
1.2.2
½件资源说明
.................................................................................................. 12
第二章 实验平台硬件资源详解
................................................................................14
2.1
开发板原理图详解
............................................................................................ 14
2.1.1 MCU ................................................................................................................. 14
2.1.2
引出
IO
....................................................................................................... 16
2.1.3 USB
串口/串口
1
选择接口
............................................................................ 16
2.1.4 JTAG/SWD ....................................................................................................... 17
2.1.5 SRAM ............................................................................................................... 17
2.1.6 LCD/OLED
模块接口
..................................................................................... 18
2.1.7
复½电路
......................................................................................................... 19
2.1.8
启动模式设½接口
......................................................................................... 19
2.1.9 RS232
串口
...................................................................................................... 20
2.1.10 RS485
接口
.................................................................................................... 20
2.1.11 CAN/USB
接口
.............................................................................................. 21
2.1.12 EEPROM ........................................................................................................ 21
2.1.13
游戏手柄接口
............................................................................................... 22
2.1.14 SPI FLASH ..................................................................................................... 22
2.1.15 3D
加速度传感器
.......................................................................................... 23
2.1.16
温湿度传感器接口
....................................................................................... 23
2.1.17
红外接收头
................................................................................................... 23
2.1.18
无线模块接口
............................................................................................... 24
2.1.19 LED ................................................................................................................ 24
2.1.20
按键
............................................................................................................... 25
2.1.21 TPAD
电容触摸按键
..................................................................................... 25
2.1.22 PS/2
接口
........................................................................................................ 26
www.openedv.com
II
ALIENTEK 战舰STM32开发板
2.1.23 OLED/摄像头模块接口 ................................................................................ 26
2.1.24
有源蜂鸣器
................................................................................................... 27
2.1.25 SD
卡/以太½模块接口
................................................................................. 28
2.1.26
多功½端口
................................................................................................... 29
2.1.27
音频选择
....................................................................................................... 30
2.1.28 FM
收发
......................................................................................................... 31
2.1.29
音频输出
....................................................................................................... 31
2.1.30
音频编解码
................................................................................................... 32
2.1.31
电源
............................................................................................................... 32
2.1.32
电源输入输出接口
....................................................................................... 33
2.1.33 USB
串口
....................................................................................................... 34
2.2
开发板½用注意事项
......................................................................................... 34
第二篇 ½件篇
............................................................................................................36
第三章
RVMDK
½件入门
..........................................................................................37
3.1 RVMDK3.80A
简介
............................................................................................ 37
3.2
新建
RVMDK
工程
............................................................................................ 37
3.3 RVMDK
½用技巧
.............................................................................................. 50
3.3.1
文本美化
......................................................................................................... 50
3.3.2
代码编辑技巧
................................................................................................. 53
3.3.3
其他小技巧
..................................................................................................... 57
3.3.4
调试技巧
......................................................................................................... 59
第四章 下½½与调试
....................................................................................................63
4.1 STM32
½件仿真
................................................................................................ 63
4.2 STM32
程序下½½
................................................................................................ 68
4.3 STM32
硬件调试
................................................................................................ 73
第五章
SYSTEM
文件夹介绍
...................................................................................78
5.1 delay
文件夹代码介绍
....................................................................................... 78
5.1.1 delay_init
½数
................................................................................................. 79
5.1.2 delay_us
½数
................................................................................................... 80
5.1.3 delay_ms
½数
.................................................................................................. 82
5.2 sys
文件夹代码介绍
........................................................................................... 83
5.2.1 IO
口的½操½实现
......................................................................................... 83
www.openedv.com
III
ALIENTEK 战舰STM32开发板
5.2.2 Stm32_Clock_Init
½数
.................................................................................... 85
5.2.3 Sys_Soft_Reset
½数
........................................................................................ 88
5.2.4 Sys_Standby
½数
............................................................................................ 89
5.2.5 JTAG_Set
½数
................................................................................................. 91
5.2.6
中断管理½数
................................................................................................. 92
5.3 usart
文件夹介绍
................................................................................................ 98
5.3.1 USART1_IRQHandler
½数.............................................................................
98
5.3.2 uart_init
½数
.................................................................................................. 100
第三篇 实战篇
..........................................................................................................102
第六章 跑马灯实验
..................................................................................................103
6.1 STM32 IO
简介
................................................................................................. 104
6.2
硬件设计
.......................................................................................................... 106
6.3
½件设计
.......................................................................................................... 107
6.4
仿真与下½½
...................................................................................................... 110
第七章 蜂鸣器实验
.................................................................................................. 113
7.1
蜂鸣器简介
...................................................................................................... 114
7.2
硬件设计
.......................................................................................................... 114
7.3
½件设计
.......................................................................................................... 115
7.4
仿真与下½½
...................................................................................................... 118
第八章 按键输入实验
..............................................................................................120
8.1 STM32 IO
口简介
............................................................................................. 121
8.2
硬件设计
.......................................................................................................... 121
8.3
½件设计
.......................................................................................................... 121
8.4
仿真与下½½
...................................................................................................... 126
第九章 串口实验
......................................................................................................131
9.1 STM32
串口简介
.............................................................................................. 132
9.2
硬件设计
.......................................................................................................... 134
9.3
½件设计
.......................................................................................................... 134
9.4
下½½验证
.......................................................................................................... 137
第十章 外部中断实验
..............................................................................................140
10.1 STM32
外部中断简介
.................................................................................... 141
10.2
硬件设计
........................................................................................................ 141
www.openedv.com
IV
ALIENTEK 战舰STM32开发板
10.3
½件设计
........................................................................................................ 141
10.4
下½½验证
........................................................................................................ 144
第十一章 独立看门狗(IWDG)实验
...................................................................146
11.1 STM32
独立看门狗简介
................................................................................ 147
11.2
硬件设计
........................................................................................................ 149
11.3
½件设计
........................................................................................................ 149
11.4
下½½验证
........................................................................................................ 151
第十二章 窗口门狗(WWDG)实验
.....................................................................152
12.1 STM32
窗口看门狗简介
................................................................................ 153
12.2
硬件设计
........................................................................................................ 155
12.3
½件设计
........................................................................................................ 155
12.4
下½½验证
........................................................................................................ 157
第十三章 定时器中断实验
......................................................................................158
13.1 STM32
通用定时器简介
................................................................................ 159
13.2
硬件设计
........................................................................................................ 163
13.3
½件设计
........................................................................................................ 163
13.4
下½½验证
........................................................................................................ 164
第十四章
PWM
输出实验
........................................................................................165
14.1 PWM
简介
....................................................................................................... 166
14.2
硬件设计
........................................................................................................ 168
14.3
½件设计
........................................................................................................ 168
14.4
下½½验证
........................................................................................................ 170
第十五章 输入捕获实验
..........................................................................................171
15.1
输入捕获简介
................................................................................................ 172
15.2
硬件设计
........................................................................................................ 175
15.3
½件设计
........................................................................................................ 175
15.4
下½½验证
........................................................................................................ 178
第十六章 电容触摸按键实验
..................................................................................180
16.1
电容触摸按键简介
........................................................................................ 181
16.2
硬件设计
........................................................................................................ 182
16.3
½件设计
........................................................................................................ 182
16.4
下½½验证
........................................................................................................ 187
www.openedv.com
V
展开预览

猜您喜欢

评论

登录/注册

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
×