摘要
为了实现对CAN总线和RS-232串口双向通信需求,提出了一种基于C8051F040单片机的数据通信方案,并完成系统设计。分析了CAN总线和RS-232串口的通信特点,介绍了单片机硬件,并对软件的设计思路与流程做了详尽描述,完成功能检测。实验结果表明,该设计达到了要求。
In order to achieve the CAN bus and RS-232 serial bidirectional communication needs,a data communication program based on C8051F040 microcontroller is presented, and complete system design.CAN bus and RS-232's specialty is analyzed, the hardware is introduced, design concept of program is described as well, also giving related code, and complete function test. Experimental results show that the design meets the requirements.
出处
《电子设计工程》
2014年第13期191-193,共3页
Electronic Design Engineering