Skip to main content
Visitor 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

    This topic has been closed for replies.
    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

    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

     

    ELABI.1Answer
    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

    MFrie.7Author
    Visitor 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