采用独立CAN控制器SJA1000作为CAN总线/RS232智能电平转换器的核心器件。介绍了SJA1000器件性能,重点介绍节点硬件设计,基于CAN协议栈的节点应用程序设计,软件包括CAN节点初始化、RS232报文发送、RS232报文接收、CAN报文发送和CAN报文接收,并在Keil C51编译器上编译、调试,大大提高了系统设计的实用性。
- Abstract:
- In the design of stand-alone CAN controller,SJA1000 is used as a kernel part of the CAN/RS232 intellectual convertor in hardware design.The paper firstly introduces the performance of SJA1000 and the design of node hardware,the application program based on CAN protocols are mainly presented.The program design includes CAN nodes initialization,RS232 transmission and reception,CAN transmission and reception.The design is compiled and debugged in Keil C51,and the design is greatly enhanced.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉