background image

 

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 

 

SKU: 410-353 

Copyright Digilent, Inc. All rights reserved. 

Other product and company names mentioned may be trademarks of their respective owners.

 

Page 

1

 of 

8

 

 

 

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. 

 

Specifications 

Parameter 

Min 

Typical 

Max 

Units 

Power Supply Voltage (Vcc) 

2.7 

 

5.5 

High-Level Input Voltage (RxCAN) 

Vcc+1 

Low-Level Input Voltage (RxCAN) 

-0.3 

0.15*Vcc 

High-Level Output Voltage (TxCAN) 

Vcc-0.7 

Low-Level Output Voltage (TxCAN) 

0.6 

Bit Frequency 

14.4 

1000 

kHz 

 

 

The Pmod CAN. 

 

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

 

 

Summary of Contents for Pmod CAN

Page 1: ...Power Supply Voltage Vcc 2 7 5 5 V High Level Input Voltage RxCAN 2 Vcc 1 V Low Level Input Voltage RxCAN 0 3 0 15 Vcc V High Level Output Voltage TxCAN Vcc 0 7 V Low Level Output Voltage TxCAN 0 6 V Bit Frequency 14 4 1000 kHz The Pmod CAN 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 ...

Page 2: ...rmal mode 0 9 Vcc Parameter Value Units Standby Current 10 μA 1 1 Pinout Table Diagram Header J1 Pin Signal Description 1 N C Not Connected 2 CANL CAN Low Level Voltage I O 3 GND Power Supply Ground 4 N C Not Connected 5 N C Not Connected 6 GND Power Supply Ground 7 CANH CAN High Level Voltage I O 8 N C Not Connected 9 N C Not Connected S1 GND Power Supply Ground S2 GND Power Supply Ground Header ...

Page 3: ... 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 ma...

Page 4: ...sabled This is the default value on power up or reset 2 2 2 CANINTF The CANINTF register page 51 holds the flags of all the interrupts that are enabled through the CANINTE register If an interrupt flag is set it must be cleared by the system board to reset the interrupt condition CANINTF 0x2C Bit Name Bit Number Bit Description Bit Values Functional Description MERRF 7 Message Error Interrupt Flag...

Page 5: ... Flag Code Bit 0 0 See the Interrupt Flag Code Bit Table 0 Unimplemented 0 Unimplemented read as 0 This is the default value on power up or reset 2 2 4 Operation Mode BitTable Operation Mode Bit Table Bit values for Operation Mode bits 2 1 0 Mode 0 0 0 Device is in Normal Operation Mode 0 0 1 Device is in Sleep Mode 0 1 0 Device is in Loopback Mode 0 1 1 Device is in Listen Only Mode 1 0 0 Device ...

Page 6: ...0 through 0x5D to a value of 0x00 This can be done for each register by performing the following steps 2 Send a write SPI command 0x02 3 Send the register address of interest 4 Send the value to be written 0x00 4 Set the CAN mode for any message type 1 Send modify register SPI command 0x05 2 Send the address of the control RXB0CNTRL 0x60 3 Send a mask to get things prepared 0x64 4 Send the actual ...

Page 7: ...end a Request To Send SPI command for one or more of the three registers of interest Transmit buffer 0 TXB0 uses 0x81 Transmit buffer 1 TXB1 uses 0x82 Transmit buffer 2 TXB2 uses 0x84 Multiple transmit buffers can be simultaneously primed by OR ing the SPI commands Note that this command does not actually initiate a message transmission The MCP25625 still internally goes through arbitration on the...

Page 8: ... 8 Timing diagrams from page 58 of the MCP25625 datasheet for the Pmod CAN for data coming in and out through SPI are provided below The timing values for the parameters shown in the images can be found in Table 7 6 page 70 of the MCP25625 datasheet Figure 1 SPI input timing diagram from MCP25625 datasheet Figure 1 SPI output timing diagram from MCP25625 datasheet ...

Page 9: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Digilent 410 353 ...

Reviews: