Chapter 19

Controller Area Network (CAN)

Abstract

The controller area network (CAN) is heavily used in industrial automation and for communication between many microprocessors in modern automobiles. This chapter describes how CAN allows many devices to communicate over a two-wire bus in electrically noisy environments. Sample code is given demonstrating how the special function registers (SFRs) are used in conjunction with CAN transceiver chips to transmit and receive messages over the CAN bus.

Keywords

Controller area network (CAN)

CAN bus

CAN transceiver

CAN frame

The high-speed controller area network (CAN) is an asynchronous protocol used extensively in industrial automation and for communication between many microprocessors in modern ...

Get Embedded Computing and Mechatronics with the PIC32 Microcontroller now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.