毕业设计说明书中文摘要CAN总线在当今技术环境下应用广泛,尤其广泛应用于汽车电子领域。本文以CAN双机通信为基础,介绍了CAN总线的基本规范,整理了CAN总线收发基本原理、发展历史以及介绍与CAN总线相关设计方法,介绍了所用的元器件,并设计了CAN总线节点设计电路,系统由STM32F103ZET6芯片及其外围设备和TJA1050组成,完成CAN双机通信的收发过程。最后设计了CAN双机通信的软件设计及流程图。79005
CAN总线在各个领域都有应用,本设计帮助我们理解CAN基础收发的过程与硬件应用电路设计,并且可以在此基础上进行多功能的扩展。
毕业论文关键词 CAN总线 STM32F103ZET6单片机 双机通信
毕业设计说明书外文摘要
Title Software and Hardware Realization of CAN Bus Interface Based on STM32
Abstract The CAN bus has been widely applied in the current technical environment, especially in the automotive electronic field。 Based on CAN two-machine communication, this paper introduced the basic standard of CAN bus, combed the basic principle & development history of CAN bus receiving and sending and clarified the design method relevant to CAN bus。 Further, this paper introduced the used components and designed the circuit of CAN bus nodes。 The system is composed by single chip microcomputers STM32F103ZET6 and its external equipment and chip TJA1050 to complete the receiving and sending process of CAN two-machine communication。 Finally, this paper presented the software design and flow diagram of CAN two-machine communication。
The CAN has been applied in various fields。 This design helps us to understand its basic receiving and sending process as well as hardware application circuit design。 Based on the above mentioned, the multi-function expansion can be further conducted。
Keywords: CAN bus; STM32F103ZET6 single chip; two-machine communication
目 次
1 绪论 1
1。1 研究背景及意义 1
1。2 CAN总线技术现状与发展 1
1。3 论文结构介绍 1
2 STM32 CAN总线硬件原理介绍 2
2。1 CAN总线简介 2
2。2 STM32F103ZET6最小系统 4
2。3 bxCAN控制器介绍 7
3 STM32 CAN通信硬件设计 8
3。1 CAN通信硬件模块 8
3。2 外设电路设计 9
3。3 本章小结 10
4 STM32 CAN通信硬件设计 10
4。1 CAN通信硬件模块 11
4。2 硬件模块介绍 12
4。3 程序调试环境 13
5 STM32 CAN通信软件设计 13
5。1 程序框架 13
5。2 CAN模块程序说明 14
5。3 外设模块程序说明 23
6 STM32 CAN通信调试 26
6。1 调试过程 26
6。2 调试结果与分析