Digilent Pmod CAN Panduan Referensi - Halaman 5

Jelajahi secara online atau unduh pdf Panduan Referensi untuk Pengontrol Digilent Pmod CAN. Digilent Pmod CAN 9 halaman.

Pmod CAN Reference Manual
Bit Name
Bit Number
OPMOD2
[7]
OPMOD1
[6]
OPMOD0
[5]
--
[4]
ICOD2
[3]
ICOD1
[2]
ICOD0
[1]
--
[0]
¹ −
This is the default value on power-up or reset
2.2.4 Operation Mode Bit Table
Bit values for Operation Mode bits 2,1,0
0,0,0
0,0,1
0,1,0
0,1,1
1,0,0
2.2.5 Interrupt Flag Code Bit Table
Bit values for Interrupt Flag bits 2,1,0
0,0,0
0,0,1
0,1,0
0,1,1
1,0,0
1,0,1
1,1,0
1,1,1
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
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
CANSTAT 0xXE
Bit Description
Operation Mode Bit 2
Operation Mode Bit 1
Operation Mode Bit 0
Unimplemented
Interrupt Flag Code Bit 2
Interrupt Flag Code Bit 1
Interrupt Flag Code Bit 0
Unimplemented
Operation Mode Bit Table
Interrupt Flag Table
Bit
Functional Description
Values
See the Operation Mode Bit
Table
See the Operation Mode Bit
Table
See the Operation Mode Bit
Table
Unimplemented - read as '0'
See the Interrupt Flag Code Bit
Table
See the Interrupt Flag Code Bit
Table
See the Interrupt Flag Code Bit
Table
Unimplemented - read as '0'
Mode
Device is in Normal Operation Mode
Device is in Sleep Mode
Device is in Loopback Mode
Device is in Listen-Only Mode
Device is in Configuration Mode
Interrupt
No Interrupt
Error Interrupt
Wake-up Interrupt
TBX0 Interrupt
TBX1 Interrupt
TBX2 Interrupt
RBX0 Interrupt
RBX1 Interrupt
Page 5 of 8