介紹了CAN總線和P87C591單片機的特點,給出了基于P87C591單片機的信號采集節點的軟、硬件設計,指出了硬件電路設計中應注意的問題,在軟件設計中重點介紹了節點初始化、報文發送和報文接收等子程序。
Abstract:
The features of CAN Bus and the microcontroller P87C591 are introduced, and the design of hardware circuit and soft configuration of the signals collection node based on P87C591 are presented. The problems in designing hardware circuit are discussed.Initialization subprogram, transmiting subprogram and receiving subprogram are emphasized in soft configuration.