CAN FD Node based on a PIC18 microcontroller

Cita com:
hdl:2117/177408
Document typeBachelor thesis
Date2019-07-10
Rights accessOpen Access
Except where otherwise noted, content on this work
is licensed under a Creative Commons license
:
Attribution-NonCommercial-NoDerivs 3.0 Spain
Abstract
This document describesthe process to implement a CAN node based on a PIC18 microcontroller and anMCP2517FD click. The system has been programmedusing C language.On the first hand,the architecture of the electronic system as well as the CAN FD protocolis explained. Briefly it isshown how the CAN FD frames are, in order to leave it clear for the reader, as the main object of the project is to transfer data through the bus CAN. Therefore, the structure of the data is of great relevance. Also, the architectureof the electronic system as well as its components, both hardware and software, is detailed.On the other hand, it isexplained step by step how to implement the system. The PIC18 microcontroller family from Microchipincludes an8 bitCPU, whereasthe MCP2517FDCANFD controlleris oriented to work with4 byteword. From this regard, the main issue is to make these two devices compatible. It will be then, a good exercise to show how to link different devices with different bandwidths, with a method that isapplicable to any device.Finally, once the implementation is finished, several tests to prove that the system works properlyare included. One of the main features of the CAN FD protocol is that it can transfer as well as receive data with different payloadsand different baudrates, hence it will be demonstrated that the node is able to process any data frame in any rateset in the CAN FD protocol using a CAN FD sniffer.
SubjectsMicrocontrollers, Computer network protocols, Microcontroladors, Protocols de xarxes d'ordinadors
DegreeGRAU EN ENGINYERIA EN TECNOLOGIES INDUSTRIALS (Pla 2010)
Files | Description | Size | Format | View |
---|---|---|---|---|
tfg-final-oriol-garrob-.pdf | 4,248Mb | View/Open | ||
documents-annex.zip | 19,32Mb | application/zip | View/Open |