Can Bus Off TC39x

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

cross mob
BastTutt
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Hi,

I am using the CAN0 Node 2 on a KTI_A2G_TC397_3V3_TFT Evalboard and I got a permanent CAN Bus Off.

Used PINs (10.2/10.3) and Autosar Konfiguration seems to be correct. Does anybody has got this problem with this board also?

 

BR

Bastian

0 Likes
1 Solution
BastTutt
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Hi, I has been able to solve the problem after comparison with the integrated example from github. The Tx Pin 10.3 has to be set to Alternate 6 instead of Alternate 5. 

View solution in original post

0 Likes
7 Replies
lock attach
Attachments are accessible only for community members.
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Please see this pdf for P20.7/8 pin settings for MCMCAN.  The example code is here.

0 Likes
BastTutt
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Hi, thanks for the feedback. I used the Pin settings but unfortunately it doesn't solve my problem.  

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi, could you please use the example code first without Autosar? 

0 Likes
BastTutt
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Hi, this is actually the plan to see differences in the init phase and the config of the Can Controller and pins. I will reply with the results of the test.

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi BastTutt, all the code is in last post of github. For special pin settings, please refer above 2.pdf already posted.

0 Likes
BastTutt
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Hi, I has been able to solve the problem after comparison with the integrated example from github. The Tx Pin 10.3 has to be set to Alternate 6 instead of Alternate 5. 

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

good

0 Likes