1
Development System EasydsPIC6
MikroElektronika
page
8.0. CAN Communication Module
CAN (Controller Area Network) is a communication standard primarily intended for use in automotive industry. It enables the
microcontroller to communicate with a car device without using a host PC. In addition, such communication is widely used in industrial
automation. The
EasydsPIC6
uses the MCP2551 circuit for CAN communication. This circuit provides an interface between the
microcontroller and some peripheral device. To enable connection between the microcontroller and MCP2551, it is necessary to
set switches 6 and 8 on the DIP switch SW8 to ON position. Switches 5 and 7 on the DIP switch SW8 may also be used for this
purpose. Which of these switches is to be used depends solely on the arrangement of the microcontroller pins connected to CAN
communication lines. The RX line can be connected to the microcontroller via RF0 and RF1 pins, whereas the TX line can be
connected to the microcontroller via pins RF2 and RF3.
Figure 8-1
: CAN communication module
Figure 8-2
: CAN communication
module connector
Figure 8-3
: MCP2551 and microcontroller connection schematic
CAN communication is enabled via DIP switch SW8
The MCP2551 circuit is used
for CAN communicaion