MCP2510-EP Microchip Technology, MCP2510-EP Datasheet - Page 52

no-image

MCP2510-EP

Manufacturer Part Number
MCP2510-EP
Description
Stand-Alone CAN Controller with SPI Interface
Manufacturer
Microchip Technology
Datasheet
MCP2510
9.4
This mode will allow internal transmission of messages
from the transmit buffers to the receive buffers without
actually transmitting messages on the CAN bus. This
mode can be used in system development and testing.
In this mode the ACK bit is ignored and the device will
allow incoming messages from itself just as if they were
coming from another node. The loopback mode is a
silent mode, meaning no messages will be transmitted
while in this state, including error flags or acknowledge
signals. The TXCAN pin will be in a reccessive state
while the device is in this mode. The filters and masks
can be used to allow only particular messages to be
loaded into the receive registers. The masks can be set
to all zeros to provide a mode that accepts all mes-
sages. The loopback mode is activated by setting the
mode request bits in the CANCTRL register.
REGISTER 9-1: CANCTRL - CAN Control Register (ADDRESS: xFh)
DS21291C-page 52
bit 7-5: REQOP<2:0>: Request Operation Mode
bit 4:
bit 3:
bit 2:
bit 1-0: CLKPRE<1:0>: CLKOUT Pin Prescaler
REQOP2 REQOP1 REQOP0
bit 7
R/W-1
Loopback Mode
000 = Set Normal Operation Mode
001 = Set Sleep Mode
010 = Set Loopback Mode
011 = Set Listen Only Mode
100 = Set Configuration Mode
All other values for REQOP bits are invalid and should not be used
ABAT: Abort All Pending Transmissions
1 = Request abort of all pending transmit buffers
0 = Terminate request to abort all transmissions
Unimplemented: Reads as ‘0’
CLKEN
0 = CLKOUT pin disabled (Pin is in high impedance state)
1 =CLKOUT pin enabled
00 = F
01 = F
10 = F
11 = F
R/W-1
CLKOUT
CLKOUT
CLKOUT
CLKOUT
:
CLKOUT Pin Enable
R/W-1
= System Clock/1
= System Clock/2
= System Clock/4
= System Clock/8
R/W-0
ABAT
U-0
Preliminary
CLKEN CLKPRE1CLKPRE0
R/W-1
9.5
This is the standard operating mode of the MCP2510.
In this mode the device actively monitors all bus mes-
sages and generates acknowledge bits, error frames,
etc. This is also the only mode in which the MCP2510
will transmit messages over the CAN bus.
R/W-1
Normal Mode
R/W-1
bit 0
R = Readable bit
W = Writable bit
C = Bit can be cleared by
U = Unimplemented -
- n = Value at POR reset
1999 Microchip Technology Inc.
MCU but not set
reads as ‘0’

Related parts for MCP2510-EP