GD32A50x User Manual
598
FIFO.
Supports priority of message reception between mailboxes and Rx FIFO during matching
process.
Rx FIFO identifier filtering, supports identifier matching against either 104 extended, 208
standard, or 416 partial (8 bit) identifiers.
Rx FIFO up to 6 frames depth, with DMA support.
23.3.
Function overview
Figure 23-1. CAN module block diagram
Figure 23-1. CAN module block diagram
PHY
Controller Interface
Tx
arbitration
Rx
matching
CAN registers
RAM
CAN_TX
CAN_RX
Mailbox
System Control
Shift-in/out
Protocol Controller
CAN_sleep
Rx matching
MAC
PCS
As shown in
Figure 23-1. CAN module block diagram
, CAN module includes three main
parts:
The Protocol controller
The Protocol controller manages the communication on the CAN bus, including:
MAC (Media Access Control):
-
Bit-stuffing/de-stuffing.
-
Stuff bit count for FD Frames.
-
Add CRC.
-
Construction of MAC frame.
-
ACK check/transmission.
PCS (Physical Coding Sub-layer):
-
Bit timing.
-
Synchronization.
-
TDC (Transmitter delay compensation).
Pretended Networking Rx matching:
-
Process reception matching in Pretended Networking mode.
The Controller Interface
The Controller Interface manages RAM space selection for reception and transmission,