S32K144 CAN Failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 CAN Failed

2,198 Views
wenfengyao
Contributor II

Now my design is TI MCU+ S32K144. TI is master, S32K144 is slave.

At the begining, The can works normally. After about fifteen hours, the CAN failed.

The measured waveform of S32K144 TX is shown below:

wenfengyao_0-1681526421687.png

In addition, this waveform is also generated on TX when writing a program to S32K144.

Do you have any directions?

Tags (1)
0 Kudos
Reply
3 Replies

2,142 Views
wenfengyao
Contributor II

The MCU is all sending and receiving messages, connected through CAN OE

Now I have added the CAN bus off interrupt to the program. When CAN enters bus off, stop the current send and clear the error flag.

At present, there is no previous phenomenon, but it is still not clear why CAN communication failure

wenfengyao_0-1681961229495.jpeg

 

0 Kudos
Reply

2,141 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

unfortunately from this values nothing can be said.
Once error interrupt happens you should read ESR1 to capture all error condition and status bits. This action clears the respective bits that were set since the last read access. Read ECR as well.
Module only enters bus off when is sending a messages and errors are detected, it follows rules described in CAN protocol.

BR, Petr

0 Kudos
Reply

2,161 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

at which condition this signal is taken? When TI MCU is sending a message, or S32K144 is trying to do that? How is the CAN connection done between MCU's.
If you see issue in communication, check if device detect any king of error, so read ESR1/ECR registers.

BR, Petr

0 Kudos
Reply