Skip to main content
Associate II
July 10, 2026
Question

Minor errors in the HAL documentation

  • July 10, 2026
  • 2 replies
  • 41 views

There seems to be a recurring error in the HAL documentation (e.g. UM2570, but also in others  STM32L5?)

 

UM2570 - Rev 2 page 60/2926

The description of the flag does not match the flag name

HAL_FDCAN_ERROR_FIFO_EMPTY

Put element in full FIFO

HAL_FDCAN_ERROR_FIFO_FULL

Get element from empty FIFO

 

2 replies

mƎALLEm
ST Technical Moderator
July 10, 2026

Hello ​@trojanobelix ,

I’ll escalate that for analysis and eventual fix.

They seem to be swapped:

Internal ticket for follow-up: CDM0064279

Thank you for your contribution.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
July 10, 2026

They seem to be swapped:

No: they are error flags - not functions or actions.

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
ST Technical Moderator
July 10, 2026

Swapped + they are flags not functions.

I’ll escalate that too.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Associate II
July 10, 2026

expected somethig like:

HAL_FDCAN_ERROR_FIFO_EMPTY

FIFO empty error

HAL_FDCAN_ERROR_FIFO_FULL 

FIFO fill error