cancel
Showing results for 
Search instead for 
Did you mean: 

FDCAN Error Counters

MFrie.7
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
ELABI.1
ST Employee

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.

View solution in original post

3 REPLIES 3
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.
PS: Be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.
ELABI.1
ST Employee

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
Associate II

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