AN5348 · Application noteIntroduction to FDCAN peripherals for STM32 MCUs
Download .pdfOpen in the full document

FDCAN implementation improvements over BxCAN

FDCAN implementation improvements over BxCAN

The below table helps users to simplify the CAN 2.0 protocol upgrade to the CAN-FD protocol in STM32 devices. This table also specifies the improvements on the FDCAN.

The FDCAN offers many advantages over the traditional BxCAN (basic extended CAN), including faster data rates and the extension of the number of data bytes that decreases the frame overhead. The bus load can be also reduced. There is an increase on the number of messages in transmission and reception that requires an improvement of the RAM memory.

Table 9. FDCAN improvements over BxCAN
FeaturesSupported by BxCANSupported by FDCAN
CompatibilityCompatibility with BxCAN YesYes
Compatibility with CAN-FDNoNo
Remote frameNoSupported to become compatible with BxCAN
FrameArbitration bitrate

/data rate (in Mbit/s)

Up to 1 (only bitrate per frame)Up to 1

/Up to 8

Data length per frame (in bytes)0 to 80 to 64
RAMRAM512 bytes10 Kbytes
Accessible RAMNoYes
TransmissionDedicated Tx buffer/Tx queue/Tx FIFONo/Yes/Yes

Maximum three elements can be used as queue or FIFO.

Yes/Yes/Yes

Maximum 32 elements: user chooses the transmit mechanism.

Transmit pauseNoYes
ReceptionDedicated Rx buffer/Rx FIFO No/2

Up to three elements in each Rx FIFO

Up to six elements maximum

64/2

Up to 64 elements in each Rx FIFO

Up to 192 elements maximum

Overwrite mode optionOverwrite the last element received in FIFOOverwrite the oldest element in FIFO
Improvements acceptance filtersClassical CAL (Can 2.0) acceptance filtersSome features are added as:
  • Discards matching filter.
  • Accepts non matching filters.
OtherRestricted test modeNoYes
Transceiver delay compensationNoYes
Clock calibration unitNoYes

BxCAN developers can easily migrate to FDCAN given its BxCAN compatibility and as the FDCAN can be implemented without imposing a revision of the entire system design. The FDCAN contains all BxCAN features in an improved matter and meets the requirements for the new applications.