User manual
Pmod CAN Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 5 of 8
CANSTAT 0xXE
Bit Name
Bit Number
Bit Description
Bit
Values
Functional Description
OPMOD2
[7]
Operation Mode Bit 2
1¹
See the Operation Mode Bit
Table
OPMOD1
[6]
Operation Mode Bit 1
0¹
See the Operation Mode Bit
Table
OPMOD0
[5]
Operation Mode Bit 0
0¹
See the Operation Mode Bit
Table
--
[4]
Unimplemented
0¹
Unimplemented - read as '0'
ICOD2
[3]
Interrupt Flag Code Bit 2
0¹
See the Interrupt Flag Code Bit
Table
ICOD1
[2]
Interrupt Flag Code Bit 1
0¹
See the Interrupt Flag Code Bit
Table
ICOD0
[1]
Interrupt 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 Bit Table
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 is in Configuration Mode
2.2.5 Interrupt Flag Code Bit Table
Interrupt Flag Table
Bit values for Interrupt Flag bits 2,1,0
Interrupt
0,0,0
No Interrupt
0,0,1
Error Interrupt
0,1,0
Wake-up Interrupt
0,1,1
TBX0 Interrupt
1,0,0
TBX1 Interrupt
1,0,1
TBX2 Interrupt
1,1,0
RBX0 Interrupt
1,1,1
RBX1 Interrupt
2.3 Quick Start
Here is the series of SPI commands to set up, transmit, and receive data on the Pmod CAN:
2.3.1 Setup
1. Set CAN control mode to configuration








