1(國防科學技術大學 計算機學院,湖南省長沙市 410073)
2(深圳市中海建設監理有限公司,廣東省深圳市518057)
摘要:本文提出了CAN總線接口的FPGA設計方法,設計了CAN接口功能模塊來完成CPU與SJA1000之間的訪問時序轉換。設計了模塊狀態機,運用Verilog語言編程,并進行了模擬仿真驗證。
關鍵字:CAN; SJA1000; FPGA;Verilog
中圖分類號: 文獻標識碼:A 文章編號:
Design and Implementation of CAN bus interfacein FPGA
ZHAO Zhi-jun1,PENGWei1,ZHAO Bao-kang1, Liu Tao1
1(School of Computer ,National University of Defense Technology,Changsha,Hunan 410073,China)2(Shenzhen China Overseas Construction&Supervision Co.Ltd.Shenzhen, Guangzhou 410073,China)
Abstract:This paper presents a design of CAN bus interfacein FPGA,design CAN interface module function diagram,accomplish the conversion of access timing between CPU and SJA1000,design module state diagram, and write program in Verilog, carry out simulation and verification.
Key words: CAN; SJA1000; FPGA; Verilog
參考文獻
(1)廣州周立功單片機發展有限公司.CAN 發展史.
(2)鄒繼軍,饒運濤.CAN總線系統智能節點設計.
(3)NXP. Datasheet SJA1000 Stand-alone CAN controller product specification.2000 Jan 04.
(4)NXP. Application note SJA1000 Stand-alone CAN controller.
(5)CAN Specification.Version 2.0.1991,Robert Bosch Gmbh,Postfach 50,D-7000 Stuttgart 1.
(6)Verilog® HDL Synthesis,A Practical Primer.J.Bhasker
(7)李真花,崔健.CAN總線輕松入門與實踐.北京:北京航空航天大學出版社,2011.
(8)廣州致遠電子有限公司.Industry CAN-bus Application Protocol.Revl.01. http://www.embedcontrol.com
(9)廣州致遠電子有限公司.CAN-bus規范Rev2.0. http://www.zlgmcu.com
(10)Verilog® HDL.綜合實用教程/(美)巴斯克爾(Bhasker.J)著:孫海平等譯.北京:清華大學出版社.2004.
作者簡介:
趙志軍,河南禹州人,1989年生,國防科學技術大學碩士研究生,研究方向計算機網絡。