STM8S001J3单片机开发板设计
STM8S001J3单片机开发板设计(论文14000字)
摘要:单片机的用途广泛,人们生活中的许多产品都用到了单片机,它存在于家用电器、手机、电话、计算器、鼠标等等各式各样的电子产品中。单片机在大学的电子、电气、通信、仪器等相关专业的培养方案和教学计划中占有非常重要的位置,它具有很强的实践性,能够将很多相关的理论课程在单片机上面得到体现。单片机的初学者都是先从开发板/学习板开始,逐渐的完成单片机知识学习和相关技能的锻炼。目前高校内的单片机基本上为51系列,虽然51单片机是应用最早也是应用最多的一种类型的单片机,但单片机的封装尺寸较大,功能较少,在很多方面已凸显不足。STM8S001J3作为意法半导体公司的极小的一款单片机,具有封装尺寸小,功能齐全,价格便宜等优势,受到了国内外的广泛关注。STM8S001J3单片机只有8个引脚,采用SO-8封装,于2018年上市,目前国内外还没有相关的学习板。因此开发一款STM8S001J3的学习板对初学者具有非常重要的意义。
关键词:单片机开发板;学习板;STM8S001J3单片机;最小系统
Design of STM8S001J3 Microcontrollers demoboard
Abstract:MCU is widely used in many products in people's lives. It exists in various electronic products such as household appliances, mobile phones, telephones, calculators, mice and so on. MCU occupies a very important position in the training programs and teaching plans of related specialties such as electronic, electrical, communications, and instruments in universities. It has strong practicality and can embody many related theoretical courses on MCU. Therefore, the study of MCU is very important. The beginners of SCM begin with the development board/learning board and gradually complete the training of knowledge learning and related skills of SCM. At present, the microcontroller in Colleges and universities is basically 51 series. Although 51 microcontroller is the earliest and most widely used type of microcontroller, its package size is large and its function is small, which has been highlighted in many aspects. STM8S001J3, as the smallest single-chip computer of Italian-French Semiconductor Company, has the advantages of small package size, complete functions and low price, and has received extensive attention at home and abroad. STM8S001J3 MCU has only eight pins and is packaged in SO-8 package. It is listed in 2018. At present, there is no report on the learning board of universities at home and abroad. Therefore, it is very important for beginners to develop a STM8S001J3 learning board. [资料来源:http://Doc163.com]
Keywords:Microcontrollers;Demoboard;STM8S001J3Microcontrollers;Minimum system
[资料来源:http://www.doc163.com]
目 录
1 概述 1
1.1 流行的单片机开发板 1
1.1.1 51系列单片机及其开发板 1
1.1.2 MSP430系列单片机及其开发板 3
1.1.3 国外常见的单片机及应用 5
1.2 STM8系列单片机的功能及应用 6
1.2.1 STM8系列单片机的种类 6
1.2.2 STM8S系列单片机 7
2 STM8S001J3开发板的总体设计方案 7
2.1 STM8S001J3介绍 7
2.1.1 STM8S001J3的模块 8
2.1.2 STM8S001J3的FLASH程序内存以及EEPROM数据 9
2.1.3 STM8S001J3的时钟控制器 9
2.1.4 STM8S001J3的电源管理 10
2.2 STM8S001J3开发板总体设计方案 10 [来源:http://Doc163.com]
3 各功能模块的设计 12
3.1 最小系统 12
3.1.1 最小系统简单介绍 12
3.1.2 编程环境 12
3.1.3 程序下载 12
3.2 GPIO的功能调试 13
3.2.1 输出功能调试 13
3.2.2 输入功能调试 15
3.3 蜂鸣器调试程序 18
3.4 外部中断调试程序 20
3.5 串口调试程序 22
3.6 ADC调试程序 25
3.7 定时器调试程序 28
3.8 小结 30
4 总结与展望 30
参考文献 31
致谢 32 [版权所有:http://DOC163.com]