Design and Implementation of Interface IP Core for CAN Bus Controller

Author
HuXiaoGuo
Advisor
WangLianMing
School
Northeast Normal University
Major
Circuits and Systems
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2011
Downloads
84
Citations
0

Request the full text

Abstract

Controller Area Network is one of the most important field buses, a kind of serial communication network that effectively supports the distributed control system.CAN is a distributed control field bus developed by a Germany company called Bosch in 1980s, looking forward to solving the problem of the data communication between control system and test instruments in automobile industry. CAN gradually draws the attention of the application markets for its high-performance, high-reliability and unique design. At present, it has been widely used in the field of automobile industy, medical equipment, industrial automation and security.Firstly, this paper starts from the background of CAN, and then briefly introduces its features and the current market-applied situation, comes up with the defination of IP core and its tendency at home and abroad. Taking the need of CAN and the application prospects of IP core, resrearch direction is putting forward in this paper.Secondly, it introduces the technical specification of CAN 2.0 A, the SOPC technology as well as the certain definition of AVALON bus and its development. Among these, this paper emphasizes on the packet transmission types of CAN 2.0 and slave port transmission of AVALON bus.Thirdly, this paper elaborates the speciality, inside function of CAN controlled chip and the functional characteristics of peripheral circuit related chip. It focuses on the VHDL design process of IP core, especially on the internal design, timing analysis and packaging process of the CAN bus controller interface IP core in different working patterns.Finally, the achieved IP core for the CAN controller MCP2515 is tested.

Table of contents

Abstract 4-5 ABSTRACT 5-8 first chapter 8-14 1.1 CAN Bus and Its Application Status Summary 8-10 1.1.1 CAN bus review 8 1.1.2 CAN bus application status 8-10 1.2 IP core research background at home and abroad development Status 10-12 1.2.1 IP core research background 10-11 1.2.2 IP core development in the world 11-12 < br /> 1.3 topics of the background and significance 12 1.4 in this thesis, the main contents 12-14 Chapter CAN bus protocol 14-22 2.1 CAN bus protocol 14-15 2.1.1 CAN bus the basic concepts 14-15 2.2 CAN node layer structure 15 - 16 2.3 packet transmission 16-20 2.3.1 data Frame 16-18 2.3.2 remote Frame 18-19 <br / > 2.3.3 error frame 19 2.3.4 overload Frame 19-20 2.3.5 interframe Space 20 2.4 Bit Timing requirements 20-22 Chapter SOPC technology with the Avalon bus specification 22-29 3.1 SOPC introduction 22-23 3.1.1 based FPGA embedded hard IP core SOPC system 22 3.1.2 FPGA-based soft-core embedded IP SOPC system 22-23 3.1.3 HardCopy based SOPC technology system 23 3.2 AVALON bus specification 23-25 ?? 3.2.1 Avalon switch fabric 24 3.2.2 Avalon peripherals 24-25 3.2.3 Avalon signal 25 3.3 Avalon slave port transmission 25-27 3.3.1 basic reading from the port transmission 25 -26 3.3.2 basic write transfers from the port 26-27 3.4 user-defined peripherals 27-29 Chapter CAN bus controller peripheral circuit design 29-35 4.1 MCP2515 features 29-32 4.1.1 CAN module 30-32 4.1.2 control Logic 32 4.1.3 SPI protocol modules 32 4.2 CAN bus controller peripheral circuit structure 32-35 4.2.1 CAN bus controller Related chips 33-34 4.2.2 system hardware block diagram 34-35 Chapter VHDL IP core design 35-50 <br / > 5.1 loopback mode 35-39 5.1.1 loopback mode, the internal registers MCP2515 design 36 5.1.2 loopback mode timing design 36-38 5.1.3 loopback mode of the underlying program 38-39 5.2 Sleep mode 39-40 5.3 listen-only mode 40 5.4 normal mode 40-47 5.4.1 normal mode MCP2515 internal registers design 40-42 5.4.2 normal mode timing design 42-43 5.4.3 normal Mode underlying program 43-47 5.5 IP core packaging and packaging 47-50 sixth Zhang IP core test 50-58 6.1 system test development environment 50-53 6.1.1 development Tools Introduction 50-51 6.1. 2 hardware platform 51-53 6.2 software design process 53-54 6.2.1 packet sending process 53 6.2.2 newspaper Man receiving process 53-54 6.3 system verification 54-58 Conclusion and Outlook 58-59 References 59 - 61 Thanks 61

Related dissertations

  1. Design and Implementation of the IP Core of AVI Encoding and SD Card Controller Based on SoPC
    LiXin ·Northeastern University ·2012 ·Master's thesis
  2. Transformer Sound Acquisition System Design and Realization Based the NiosⅡ
    QiuRuiYang ·Chengdu University of Technology ·2013 ·Master's thesis
  3. Design and Realization of Experimental Turntable Measurement and Control System Based on SOPC
    ZhaoShengBin ·Harbin Institute of Technology ·2013 ·Master's thesis
  4. Design and implementation of 2D-FFT processor based on SOPC
    WangXiaoJun ·Yunnan University ·2013 ·Master's thesis
  5. The IP Core Design of Error Diffusion Algorithm and the Implementation of Halftone System Based on SOPC
  6. Multi-Function IP Core Design of IoT Temperature and Humidity Sensors Based on FPGA
    WangYiFan ·Beijing University of Technology ·2012 ·Master's thesis
  7. The Research of Vital Signs Monitoring System
    PuRuiRui ·Xi'an Technological University ·2013 ·Master's thesis
  8. SOPC - based image rotation , zoom , and target tracking system design and Implementation
  9. Research of Video Image Processing System Based on FPGA and SOPC Technology
    WenXiaoYong ·Tianjin Normal University ·2008 ·Master's thesis
  10. The Research and Design of Modem Based on FPGA
    ChenZuo ·Central China Normal University ·2007 ·Master's thesis
  11. Research for SOC Design Base on FPGA
  12. Research and Design of Ground Access System of Satellite Based on FPGA
  13. Design of SOPC Embedded Navigation Computer
  14. Based on of SoPC the peripheral interface design and integrated
  15. Study on the Method of SOPC HW-SW Co-design
    HanZuo ·Beijing Jiaotong University ·2006 ·Master's thesis
  16. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  17. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  18. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  19. Design and Application of the Distributed Monitoring System Based on Embedded Web
  20. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA