Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

TRAVEO™ T2G

Ana0211
Level 1
First reply posted First like given First question asked
Level 1

Hello,

I am having a problem related to the Bus_Off recovery time. Can you please tell me what is the nominal value for this delay please ?

I am currently seeing around 18 ms in between the moment when I set the CCCR.INIT to 0 in order to recover and the Bus_Off status change interrupt in order to exit the Bus_Off.

I don't know if the problem comes from my integration (I am not using the SDK for the CAN module) or from something else that I am missing.

Thank you !

Ana

0 Likes
1 Reply
Pranith
Moderator
Moderator 100 sign-ins 50 sign-ins 25 replies posted
Moderator

Hello @Ana0211 ,

1. When bus off is detected, CAN FD controller will set CCR.INIT to 1. Stopping all bus activities.
2. In order to recovery the bus off, Bus off recovery sequence needs to be performed.
It is done by clearing the CCR.INIT (i.e. CCR.INIT written to 0), which starts the timer for waiting 129 occurrences of Bus Idle (129 x 11 consecutive recessive bits) before resuming normal operation.
3. At the end of the Bus off recovery sequence (confirmed by reading CCR.INIT equal to 0), the Receive and Transmit Error Counters will be reset.

Could you let us know if you are using the Sample driver library?

Regards,

0 Likes