Presentation is loading. Please wait.

Presentation is loading. Please wait.

By:David Cohen & Gadi Gilad Instructor: Boaz Mizrahi Project Midterm Presentation CAN Bus Logger Spring 2011.

Similar presentations


Presentation on theme: "By:David Cohen & Gadi Gilad Instructor: Boaz Mizrahi Project Midterm Presentation CAN Bus Logger Spring 2011."— Presentation transcript:

1 By:David Cohen & Gadi Gilad Instructor: Boaz Mizrahi Project Midterm Presentation CAN Bus Logger Spring 2011

2 Introduction The CAN (Controller Area Network) bus is an automotive communications system developed by Robert Bosch specifically for data exchange between electronic control units, switches, sensors and actuators in vehicles. CAN is also used in industrial microcontroller networks. For example as a bus system that connects machine tools with the computers that control them. It allows for data supply between measurement, control and display functions and super ordinate computers, as well as for connecting sensors, actuators and controls.

3 The device is divided into three layers. Physical layer to connect to a CAN network, Data Link layer to manage messages to\from other CAN nodes, and a processing unit to run applications. Processing Unit Data Link Layer Physical Layer CAN Module MCP2551MCP2515 The CAN Module SPI To MCU CANH CANL To CAN Bus RX TX PIC18

4 Initialize spi_initmcp _ init mcp _ resetinit_buffersclose_spiopen_spiconfig_modeconfig_rate The Function’s blocks diagram

5 Send Message get_free_buffer set_idwrite_auxwrite_data activate Write_Message spi_writemcp_write print_data

6 The Function’s blocks diagram Receive Message read_message read_idread_dataread_auxmcp_read mcp_modify spi_readspi_write print_data

7 The CAN Module

8 Estimated time table · 15.5 – The end of the main studying · 22.5 –Submission of the software blocks scheme · 12.6 – Starting to work on the loopback · 24.7 – The end of the exams period · 14.8 - Loopback mode demonstrated on device: send and receive packets with "Hello World" · 4.9 - Chat application demo on loop back · 25.9 - Receive and display first packet received from car connector

9 Notes…


Download ppt "By:David Cohen & Gadi Gilad Instructor: Boaz Mizrahi Project Midterm Presentation CAN Bus Logger Spring 2011."

Similar presentations


Ads by Google