GD32F403xx User Manual
602
22.
Controller area network (CAN)
22.1.
Overview
CAN bus (Controller Area Network) is a bus standard designed to allow microcontrollers and
devices to communicate with each other without a host computer.
As CAN network interface, basic extended CAN supports the CAN protocols version 2.0A and
B. The CAN interface automatically handles the transmission and the reception of CAN
frames. The CAN provides 28 scalable/configurable identifier filter banks in GD32F403xx.
The filters are used for selecting the input message as software requirement and otherwise
discarding the message. Three transmit mailboxes are provided to the software for transfer
messages. The transmission scheduler decides which mailbox will be transmitted firstly.
Three complete messages can be stored in every FIFO. The FIFOs are managed completely
by hardware. Two receiving FIFOs are used by hardware to store the incoming messages. In
addition, the CAN controller provides all hardware functions, which supports the time-
triggered communication option, in safety-critical applications.
22.2.
Characteristics
◼
Supports CAN protocols version 2.0A, B
◼
Baud rates up to 1 Mbit/s
◼
Supports the time-triggered communication
◼
Interrupt enable and clear
Transmission
◼
Supports 3 transmit mailboxes.
◼
Supports priority of transmission message.
◼
Supports time stamp at SOF transmission.
Reception
◼
Supports 2 Rx FIFOs and each has 3 messages depth
◼
28 scalable/configurable identifier filter banks in GDF403xx
◼
FIFO lock
Time-triggered communication
◼
Disable retransmission automatically in time-triggered communication mode.
◼
16-bit free timer
◼
Time stamp on SOF reception
◼
Time stamp sent in last two data bytes