16
LV24- v6 Development System
MikroElektronika
page
11.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 to a car device without using a host PC. In addition, such communication is widely used in industrial
automation. The
LV24-33 v6
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 1 and 4 on the DIP switch SW17 to ON position. Other switches (1-6) on the DIP switch SW17 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. RX lines are connected to the microcontroller via RF0, RG0 and RC0 microcontroller pins. TX line is connected
to the microcontroller via RF1, RG1 and RC1 microcontroller pins.
Figure 11-1
: CAN module
Figure 11-2
: CAN module connector
Figure 11-3
: Microcontroller and MCP2551 connection schematic
CAN communication is enabled via DIP switch SW17