CanPal example

cancel
Showing results for 
Search instead for 
Did you mean: 

CanPal example

354 Views
kimmk
Contributor I

Hi, 

I'm trying to can pal example about s32k144.

Below picture is GND to CAN High signal.

It is right that message transmit continuous?

how to send message one time?txrx2.jpg

And this picture is Vehicle Spy3, CAN message doesn't show.

How to solve this situation to monitoring CAN message?

0000.PNG

0 Kudos
3 Replies

344 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes the message can be retransmitted automatically due to missing ACK from other node. Does your tool sent it? What is a CAN interface used?
Also check CAN bit timing. 

BR, Petr

0 Kudos

337 Views
kimmk
Contributor I

Hi,

 

I use Value CAN 4-1(Tool), Vehicle Spy3(GUI)

https://intrepidcs.com/products/vehicle-network-adapters/valuecan-4/valuecan-4-1-overview/

The board send CAN message, tool is monitoring it.

CAN bitrate is 500K, that coincide.

0 Kudos

321 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

in the can_pal example a message is sent upon button press, within button isr. So you can check in the debugger if it is repeatedly called.
Also check if any error is detected by module, see ESR1/ECR registers.
For bit timing, be sure same sample point is set similarly on all nodes.

BR, Petr

0 Kudos