RM0402 Rev 6 937/1163
RM0402 Controller area network (bxCAN)
966
Receive mailbox
When a message has been received, it is available to the software in the FIFO output
mailbox. Once the software has handled the message (e.g. read it) the software must
release the FIFO output mailbox by means of the RFOM bit in the CAN_RFR register to
make the next incoming message available. The filter match index is stored in the MFMI
field of the CAN_RDTxR register. The 16-bit time stamp value is stored in the TIME[15:0]
field of CAN_RDTxR.
Figure 329. CAN error state diagram
Table 193. Transmit mailbox mapping
Offset to transmit mailbox base address Register name
0CAN_TIxR
4 CAN_TDTxR
8CAN_TDLxR
12 CAN_TDHxR
Table 194. Receive mailbox mapping
Offset to receive mailbox base
address (bytes)
Register name
0CAN_RIxR
4 CAN_RDTxR
8 CAN_RDLxR
12 CAN_RDHxR
ERROR ACTIVE
ai15903
ERROR PASSIVE
BUS OFF
When TEC and REC < 128
When TEC or REC > 127
When TEC > 255When 128*11 recessive bits occur: