国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

基于arm系列(lpc1788)的can總線通訊實現(xiàn)以及j1939協(xié)議的研究.doc

  
約38頁DOC格式手機打開展開

基于arm系列(lpc1788)的can總線通訊實現(xiàn)以及j1939協(xié)議的研究,基于arm系列(lpc1788)的can總線通訊實現(xiàn)以及j1939協(xié)議的研究 15700字自己原創(chuàng)的畢業(yè)設計,今年最新的,僅在本站獨家提交,大家放心使用摘要 研究can總線在工業(yè)上的優(yōu)點,調試can總線自收發(fā)以及雙節(jié)點收發(fā)的程序。將lpc1788can控制器的讀入與輸出連接在一起,并通過keil平臺燒錄can總線自收發(fā)...
編號:80-480493大小:905.11K
分類: 論文>通信/電子論文

內容介紹

此文檔由會員 小花仙66 發(fā)布

基于ARM系列(LPC1788)的CAN總線通訊實現(xiàn)以及J1939協(xié)議的研究

15700字
自己原創(chuàng)的畢業(yè)設計,今年最新的,僅在本站獨家提交,大家放心使用


摘要 研究CAN總線在工業(yè)上的優(yōu)點,調試CAN總線自收發(fā)以及雙節(jié)點收發(fā)的程序。將lpc1788CAN控制器的讀入與輸出連接在一起,并通過keil平臺燒錄CAN總線自收發(fā)的程序,程序中對CAN總線進行了初始化并設置了接收中斷。打開串口顯示可以看到CAN總線發(fā)送成功以及接收到數(shù)據(jù)的顯示,完成CAN總線的自收發(fā)通訊的實現(xiàn)。再將lpc1788與CAN控制器連接在一起,并使用二根總線串行接入到另一個帶有CAN控制器的節(jié)點上,燒錄CAN總線雙節(jié)點收發(fā)的程序,程序對CAN總線以及CAN控制器進行了初始化并設置了發(fā)送時鐘中斷以及接收中斷,同時打開串口顯示觀看是否發(fā)送并接收到數(shù)據(jù),完成CAN總線雙節(jié)點收發(fā)的實現(xiàn)。CAN總線雙節(jié)點通訊的程序中改變傳輸?shù)淖止?jié)數(shù),來查看傳輸周期的改變。最后對J1939所定義的物理層、數(shù)據(jù)鏈路層、網(wǎng)絡層、應用層及錯誤檢測的研究,來熟悉CAN總線的上層協(xié)議并切身了解CAN總線在工業(yè)應用上的傳輸
優(yōu)點。
關鍵詞:CAN總線 lpc1788 J1939協(xié)議 keil平臺 通訊



Abstract Research the advantages of CAN bus in industry and debug the program of CAN bus selftransceiver . Connect the input and the output of controller lpc1788 CAN together and burn the program of CAN bus selftransceiver by keil platform . The program initializes the CAN bus and set the receive interrupt . Open the serial display ,the signl of CAN bus sendding information succeessfully and the recivering data can be displayed ,complete the self-communication of CAN bus transceiver implementations . Then ,connect the lpc1788 and CAN controller , using two roots to put in another node with CAN controller ,burn the program of CAN bus dual hode transeiver. The program initializes the CAN bus and CAN controller and set the transmit clock interrupt and receive interrupt.At the same time,open the sereial port display to see whether it has sent or receeived data. Finally completing CAN bus dual node transceiver.In the program of CAN bus dual node communication .Change of transmission cyscle.Finally,by the rescarch of defined physical layer,data link layer network layer and application layerand error detection of J1939,to become familiar with the upper layer protocol of CAN and its transfer advantage in industrial application..
Keyword CAN bus lpc1788 J1939 protocol keil platform Communication


目 錄
引 言 1
第一章 CAN總線的基本概念及特點 2
1.1 CAN總線的基本概念 2
1.2 CAN總線的產(chǎn)生及發(fā)展 2
1.3 CAN總線的特點及優(yōu)勢 3
1.3.1 編碼方式 3
1.3.2 信息傳輸方式 3
1.3.3 位仲裁 3
1.3.4 檢錯 4
第二章 CAN總線硬件的實現(xiàn) 6
2.1 七層網(wǎng)絡結構 6
2.1.1 CAN總線物理層 6
2.1.2 CAN總線驅動層 6
2.1.3 CAN總線協(xié)議層 6
2.2 CAN總線硬件結構 6
2.2.1 CAN總線驅動器 7
2.2.2 CAN總線控制器 8
第三章 CAN總線的軟件實現(xiàn) 11
3.1 CAN總線傳輸信息的格式 11
3.1.1 CAN總線的幀類型 11
3.1.2 CAN總線的幀格式 11
3.2 CAN總線線上信息傳輸方式 14
3.3 CAN總線功能的實現(xiàn) 14
3.3.1 單節(jié)點自收發(fā)功能的實現(xiàn) 14
3.3.2 雙節(jié)點收發(fā)功能的實現(xiàn) 20
3.4 CAN總線協(xié)議層功能的研究 23
3.4.1 J1939網(wǎng)絡協(xié)議的基本描述 23
3.4.2 J1939協(xié)議物理層 23
3.4.3 J1939協(xié)議數(shù)據(jù)鏈路層 24
3.4.4 J1939協(xié)議網(wǎng)絡層 28
3.4.5 J1939協(xié)議應用層 28
3.4.6 J1939協(xié)議故障診斷 29
結 論 32
致 謝 33
參考文獻 34