CAN總線是汽車上應(yīng)用最廣泛的車載網(wǎng)絡(luò)總線,具有實(shí)時(shí)性強(qiáng)、可靠性高、成本低等優(yōu)點(diǎn)。鑒于此,介紹了一種利用飛思卡爾系列單片機(jī)MC9S12XS128作為控制器,利用其內(nèi)部的MSCAN模塊、CAN收發(fā)器TJA1040等外圍元件進(jìn)行CAN總線通信節(jié)點(diǎn)設(shè)計(jì)。該設(shè)計(jì)能夠?qū)崿F(xiàn)CAN總線數(shù)據(jù)的發(fā)送與接收,可應(yīng)用于汽車及其他各種CAN總線通信系統(tǒng)。CAN bus is the most widely used on-board network bus in automobiles. It has the advantages of realtime, high reliability and low cost. In view of this,this paper introduces the design of CAN bus communication node by using Freescale MC9S12XS128 as controller,using its internal MSCAN module,CAN transceiver TJA1040 and other peripheral components. This design can realize the sending and receiving of CAN bus data,and can be used in automobile and other CAN bus communication systems.
標(biāo)簽:
單片機(jī)
can總線
通信
上傳時(shí)間:
2022-03-27
上傳用戶: