MCP2510-/P MICROCHIP [Microchip Technology], MCP2510-/P Datasheet - Page 16

no-image

MCP2510-/P

Manufacturer Part Number
MCP2510-/P
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
MCP2510
Only messages that have not already begun to be
transmitted can be aborted. Once a message has
begun transmission, it will not be possible for the user
to reset the TXBnCTRL.TXREQ bit. After transmission
FIGURE 3-1:
DS21291F-page 16
The CANINTE.TXnIE bit
determines if an interrupt
should be generated when
a message is successfully
transmitted.
Generate
Interrupt
TRANSMIT MESSAGE FLOWCHART
Examine TXBnCTRL.TXP <1:0> to
Determine Highest Priority Message
Yes
No
Set TxBnCTRL.TXREQ=0
Message Transmitted
TXBnCTRL.TXREQ
CANINTE.TXnIE=1?
to start transmission
Clear:
TXBnCTRL.ABTF
TXBnCTRL.MLOA
TXBnCTRL.TXERR
CAN Bus available
CANTINF.TXnIF=1
Transmit Message
GOTO START
Successfully?
Yes
Are any
bits = 1
Start
Was
Set
Is
?
?
Yes
No
Yes
No
No
The message transmission
sequence begins when the
device determines that the
TXBnCTRL.TXREQ for any of
the transmit registers has been
set.
Arbitration lost during
a message error
transmission?
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.
TXBnCTRL.TXREQ=0
No
No
occur?
Was
CANCTRL.ABAT=1
Did
Clearing the TxBnCTRL.TXREQ
bit while it is set, or setting the
CANCTRL.ABAT bit before the
message has started transmission
will abort the message.
is
?
Yes
Yes
Yes
TxBnCTRL.MLOA=1
TxBnCTRL.TXERR=1
No
© 2007 Microchip Technology Inc.
Set

Related parts for MCP2510-/P