We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

AN212

Title
Title
Smart Sensor CAN Node using the MCP2510 and PIC16F876
Name
Name
AN212
Date
Date
06/24/2015
Application Categories
Application Categories
Peripheral / CAN
Product Categories
Product Categories
8-bit MCU
Description
Description
Advances in data communications has created efficient methods for several devices to communicate over a minimum number of system wires. The Controller Area Network (CAN) is one of these methods. CAN sends and receives messages over a two wire (CAN) bus. The nodes broadcast their individual messages over the CAN bus, while the receivers that are set-up to accept the message and anticipate an acknowledgment signal indicating the receipt of a non-corrupted message. The protocol of the CAN has two states and the bits are either dominant (logic"0") or recessive (logic"1"). Nodes may attempt to transmit a message at the same time. To ensure that collisions do not reduce the throughput of the bus there is an arbitration scheme. In this scheme, a node will continue to transmit until a dominant bit is detected while that node is expecting a recessive bit on the bus (in the ID field). The node(s) that lost arbitration will automatically terminate their transmission and switch to receive mode. Some time later after the CAN bus enters an idle state, these nodes attempt to re-transmit. If the node did not lose arbitration, it completes it?s transmission. (For additional information on the CAN protocol, refer to AN713, ?CAN Basics?).

Files

Title Title Download Date Size
AN212 Source Code - Smart Sensor CAN Node using the MCP2510 and PIC16F876 59.5 KB 06/23/2015 AN212 Source Code - Smart Sensor CAN Node using the MCP2510 and PIC16F876 Download 06/23/2015 59.5 KB