DocID025202 Rev 7
968/1080
RM0365
Controller area network (bxCAN)
and Tx mailboxes). The internal counter is incremented each CAN bit time (refer to
). The internal counter is captured on the sample point of the Start
Of Frame bit in both reception and transmission.
31.7.3 Reception
handling
For the reception of CAN messages, three mailboxes organized as a FIFO are provided. In
order to save CPU load, simplify the software and guarantee data consistency, the FIFO is
managed completely by hardware. The application accesses the messages stored in the
FIFO through the FIFO output mailbox.
Valid message
A received message is considered as valid
when
it has been received correctly according to
the CAN protocol (no error until the last but one bit of the EOF field)
and
It passed through
the identifier filtering successfully, see
Section 31.7.4: Identifier filtering
Figure 384. Receive FIFO states
FIFO management
Starting from the
empty
state, the first valid message received is stored in the FIFO which
becomes
pending_1
. The hardware signals the event setting the FMP[1:0] bits in the
%-049
0%.$).'?
0%.$).'?
0%.$).'?
/6%225.
6ALID-ESSAGE
2ECEIVED
-36
&-0X
&/62
&0-X
&/62
&0-X
&/62
&0-X
&/62
&0-X
&/62
2ELEASE
-AILBOX
2&/-
6ALID-ESSAGE
2ECEIVED
6ALID-ESSAGE
2ECEIVED
6ALID-ESSAGE
2ECEIVED
2ELEASE
-AILBOX
2&/-
2ELEASE
-AILBOX
2&/-
6ALID-ESSAGE
2ECEIVED
2ELEASE
-AILBOX