Bus-off management using AUTOSAR with RTD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bus-off management using AUTOSAR with RTD

2,885件の閲覧回数
BeCy
Contributor II

Hello,

I try to implement automatic bus-off recovery using RTD AUTOSAR driver (CAN.h).

I didn't find documentation, but I tried lots of configuration. My findings are :

- For automatic bus-off recovery, peripheral option "Can Auto BusOff Recovery" must be checked and bus-off interruption must be disabled. In this case the communication recover automatically after a short cut  between CAN_L and CAN_H, it's what I need, BUT I have no way to transmit the Bus Off state to the application in order to log the error state -> Do I miss something ?

- For manual bus-off recovery, peripheral option "Can Auto BusOff Recovery" could be checked or unchecked, but BUS-OFF interrupt shall be enabled in order to restart the CAN communication. It's ok for me, because I can log the error and restart the communication when I want.

In both cases, using interruption will put automatically the controller in stopped state, it this a requirement of AUTOSAR driver ?

Thanks for your help

0 件の賞賛
返信
1 返信

1,941件の閲覧回数
JuXinyang
Contributor I

Hi, I had the same problem, did you solve it?

0 件の賞賛
返信