
The features of the PIC18F258 microcontroller’s CAN module are as follows:
Compatible with CAN 1.2, CAN 2.0A, and CAN 2.0B
Supports standard and extended data frames
Programmable bit rate up to 1Mbit/s
Double-buffered receiver
Three transmit buffers
Two receive buffers
Programmable clock source
Six acceptance filters
Two acceptance filter masks
Loop-back mode for self-testing
Low-power sleep mode
Interrupt capabilities
The CAN module uses port pins RB3/CANRX and RB2/CANTX for CAN bus receive
and transmit functions respectively. These pins are connected to the CAN bus via an
MCP2551-type CAN bus transceiver chip.
The PIC18F258 microcontroller supports the following frame types:
Standard data frame
Extended data frame
Remote frame
Error frame
Overload frame
Interframe space
A node uses filters to decide whether or not to accept a received message. Message
filtering is applied to the whole identifier field, and mask registers are used to specify
which bits in the identifier the filters should examine.
www.newnespress.com
492 Chapter 9
Comentarios a estos manuales