Skip to main content
MFrie.7
Associate II
January 15, 2025
Solved

FDCAN Error Counters

  • January 15, 2025
  • 3 replies
  • 1091 views

Hello,
Where can I find documentation on the error counters of the FDCAN_ErrorCountersTypeDef structure? I would be particularly interested in how the incrementation of TxErrorCnt behaves if hfdcan1.Init.AutoRetransmission = ENABLE; (How often does the CAN peripheral attempt to transmit in the event of an error (e.g. no other node attached) and by how much is the TxErrorCnt incremented per transmission attempt?) I'm using STM32H755ZI
Many thanks for any clarification

Best answer by ELABI.1

Hi @MFrie.7,

You can also refer to the User Manual UM2217, specifically section 30.1.9 FDCAN_ErrorCountersTypeDef can help you.

 

 

image (1).png

Thank you.

ELABI.1

3 replies

mƎALLEm
Technical Moderator
January 15, 2025

Hello,

CAN FD fault confinement mechanism is following the CAN 2.0 standard and TEC/REC error counters are following the same CAN error confinement management:

SofLit_0-1736934513873.png

SofLit_1-1736934676762.png

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
ELABI.1
ELABI.1Best answer
Technical Moderator
January 15, 2025

Hi @MFrie.7,

You can also refer to the User Manual UM2217, specifically section 30.1.9 FDCAN_ErrorCountersTypeDef can help you.

 

 

image (1).png

Thank you.

ELABI.1

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
MFrie.7
MFrie.7Author
Associate II
January 15, 2025

Hello
Thank you very much for the quick answers. I was able to find the required information in the CAN FD specification from Bosch.
Best regards