GD32VF103 User Manual
427
20.
Controller area network (CAN)
20.1.
Overview
CAN bus (for Controller Area Network) is a bus standard designed to allow microcontrollers
and devices to communicate with each other without a host computer.
The Basic Extended CAN, interfaces the CAN network. It supports the CAN protocols version
2.0A and B. The CAN interface handles the transmission and the reception of CAN frames
fully autonomously. The CAN provides 28 scalable/configurable identifier filter banks. The
filters are used for selecting the incoming messages the software needs and discarding the
others. Three transmit mailboxes are provided to the software for setting up messages. The
transmission scheduler decides which mailbox has to be transmitted first. Three complete
messages can be stored in each FIFO. The FIFOs are managed completely by hardware.
Two receive FIFOs are used by hardware to store the incoming messages. The CAN
controller also provides all hardware functions for supporting the time-triggered
communication option for safety-critical applications.
20.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
Prioritization of messages
Supports Time Stamp at SOF transmission
Reception
Supports 2 receive FIFOs and each has 3 messages deep
28 scalable/configurable identifier filter banks in GD32VF103
FIFO lock
Time-triggered communication
Disable retransmission automatically
16-bit free timer
Time Stamp on SOF reception
Time Stamp sent in last two data bytes