1300 Henley Court
Pullman, WA 99163
509.334.6306
www.store. digilent.com
Pmod CAN Reference Manual
Revised August 31, 2017
This manual applies to the Pmod CAN rev. B
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Overview
The Digilent Pmod CAN (Revision B) is a CAN 2.0B controller with an integrated transceiver. The
embedded Microchip MCP25625 chip connects directly to the physical CAN bus and meets automotive
requirements for high-speed (1 Mb/s), low quiescent current, electromagnetic compatibility, and electrostatic
discharge.
1 Specifications
Power Supply Voltage (Vcc)
High-Level Input Voltage (RxCAN)
Low-Level Input Voltage (RxCAN)
High-Level Output Voltage (TxCAN)
Low-Level Output Voltage (TxCAN)
Standalone CAN 2.0B controller with an
integrated CAN transceiver
Compatible with ISO-11898-1, ISO-11898-2, and
ISO-11898-5
Suitable for automotive applications
Up to 1 Mb/s operation
Up to 10 MHz SPI clock speed
3 Transmit buffers with prioritization and abort
feature
2 Receive buffers
6 Filters and 2 masks with optional filtering on
the first two data bytes
Interrupt output pin
Standard DB9 connector for a secure connection
Suitable for 12 V and 24 V systems
Small PCB size for flexible designs 1.4 in x 1.8 in
(3.6 cm x 4.6 cm)
12-pin Pmod connector with SPI interface
Follows the Digilent Pmod Interface
Specification 1.1.0
Pmod CAN Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Recessive Bus Output Voltage
(CANH & CANL)
Dominant Output Voltage (CANH)
Dominant Output Voltage (CANL)
Dominant Differential Output
Voltage
Recessive Differential Input
Voltage (normal mode)
Dominant Differential Input
Voltage (normal mode)
CAN Low-Level Voltage I/O
CAN High-Level Voltage I/O
Receive Buffer 0 Full Interrupt
Receive Buffer 0 Full Interrupt
Pmod CAN Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
CAN Low-Level Voltage I/O
CAN High-Level Voltage I/O
End of bus terminated with a combined 120Ω impedance/ Do not
terminate the end of the bus
Terminate the CAN bus lines with a capacitor to ground/ No termination
1.2 Physical Dimensions
The pins on the pin header are spaced 100 mil apart. The PCB is 1.8 inches long on the sides parallel to the pins on
the pin header and 1.4 inches long on the sides perpendicular to the pin header.
2 Functional Description
The Pmod CAN utilizes the Microchip MCP25625 to enable CAN communication with a variety of external devices.
A complete CAN solution with a controller and transceiver can be implemented on a system board by
communicating with the host board via the SPI protocol in SPI mode 0 or 3. The two differential lines on the
transceiver, CANH and CANL, enable balanced differential signaling to eliminate most of the electromagnetic field
(EMF) and provide high noise immunity within the system.
2.1 Serial Communication
The Pmod CAN communicates with the host board via the SPI protocol. By driving and keeping the Chip Select line
(pin 1) at a logic level low, users may communicate back and forth with the Pmod depending on whether or not
both sets of data lines are enabled. The embedded chip on the Pmod operates in SPI Mode 0 or 3, with data
captured on the rising edge of the clock and data transferred on the falling edge of the clock, and a minimum clock
cycle time of 100 nanoseconds as per Table 7-6 (page 70) of the Microchip MCP25625 datasheet.
Nine SPI instructions are available to read the status of the receiver, load a transmit buffer, modify bits in a register
and more. Most of the instruction commands are single byte instructions followed by an address byte. More
information is available in the Quick Start section as well as Section 5 (page 55) of the MCP25625 datasheet.
2.2 Register Details
2.2.1 CANINTE
The CANINTE register (page 51) enables the generation of interrupts on Pin 7.