FlexCAN Callback Not call

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

FlexCAN Callback Not call

899 Views
SW_S
Contributor II

hello.

I'm writing this because I have a problem.

The FlexCAN used as S32k144w was imported with the same settings.

I imported it to use as an S32k144 EVB, but a problem occurred.

Message transmission is used within the function of the 10ms routine in CANoe.

Looking at the message, it is sent infinitely in 100us units and the flexcan0_Callback function is not even called.

Messages are sent even when Debug Stop is reached with T32 in infinite transmission state.
Regardless of the 10ms routine, just send once and the transmission will continue very quickly.

*Note: S32k144w development environment is S32k ARM for 2.2.
The S32k144 EVB board development environment is S32k for platform3.4.

Please answer.

0 Kudos
Reply
2 Replies

875 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if one node is resending message still it indicates it detects some kind of error. If a node is S32K144 you can check ECR/ESR1 register. Most probably it will be due to missing ACK from other node. This may points to CAN bit timing issues, so check that if it is same on both sides.

BR, Petr 

0 Kudos
Reply

859 Views
SW_S
Contributor II

hello.

thank you As the port you are trying to use with EVB CAN is connected to another port, the problem occurred because ACK was not received as you said.

thank you

0 Kudos
Reply