With the development of science and technology, the technology of CAN bus is used widely in many fields, such as transportation, military, medical industry and so on. Developing checkout equipment based on CAN bus have a broad application prospect. The checkout equipment designing is focused on based on CAN bus lower computer software. The core processor chip is freescal MC9S12XDT512.The design idea is use one CAN channel to receive the data in CAN bus, and send the data to the upper computer of the checkout equipment to deal with by RS232 interface.%随着科技的发展,CAN总线通信技术已广泛应用到包括交通、军事、医疗等各种领域。研发一种基于CAN总线技术的检测设备有着广泛的应用前景。着重论述一种检测设备的下位机程序设计,其核心处理器芯片采用飞思卡尔单片机MC9S12XDT512。设计思路是通过MC9S12XDT512上的一路CAN采集CAN总线上的数据信息,并通过串口RS232将数据转发给检测设备的上位机进行分析处理。
展开▼