Skip to main content
MFrie.7
Associate II
Jan 15, 2025 6:49 AM UTC
Solved

FDCAN Error Counters

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

This topic has been closed for replies.
ELABI.1
ELABI.1Best answer
ST Technical Moderator
Jan 15, 2025 10:10 AM UTC

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.

3 replies

mƎALLEm
ST Technical Moderator
Jan 15, 2025 9:51 AM UTC

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
ST Technical Moderator
Jan 15, 2025 10:10 AM UTC

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
Jan 15, 2025 2:53 PM UTC

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