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

no-image

MCP2510-EP

Manufacturer Part Number
MCP2510-EP
Description
Stand-Alone CAN Controller with SPI Interface
Manufacturer
Microchip Technology
Datasheet
MCP2510
of a message has begun, if an error occurs on the bus
or if the message loses arbitration, the message will be
retransmitted regardless of a request to abort.
FIGURE 3-1: Transmit Message Flowchart
DS21291C-page 16
The CANINTE.TXnIE bit
determines if an interrupt
should be generated when
a message is successfully
transmitted.
Generate
Interrupt
Examine TXB
Determine Highest Priority Message
Yes
No
Set TxB
Message Transmitted
TXB
to start transmission
Clear:
TXB
TXB
TXB
CANINTE.TXnIE=1?
CAN Bus available
CANTINF.TX
Transmit Message
GOTO START
Successfully?
N
N
N
N
Yes
CTRL.TXREQ
CTRL.ABTF
CTRL.MLOA
CTRL.TXERR
N
Are any
N
Start
bits = 1
CTRL.TXREQ=0
CTRL.TXP <1:0> to
Was
Set
Is
?
?
Yes
No
Yes
N
IF=1
No
Preliminary
No
The message transmission
sequence begins when the
device determines that the
TXB
the transmit registers has been
set.
N
CTRL.TXREQ for any of
Arbitration lost during
a message error
transmission?
TXB
No
No
or
occur?
Was
Did
CANCTRL.ABAT=1
N
Clearing the TxB
bit while it is set, or setting the
CANCTRL.ABAT bit before the
message has started transmission
will abort the message.
CTRL.TXREQ=0
is
?
Yes
Yes
Yes
N
TxB
TxB
CTRL.TXREQ
No
N
N
CTRL.TXERR=1
CTRL.MLOA=1
Set
Set
1999 Microchip Technology Inc.

Related parts for MCP2510-EP