CanPal example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CanPal example

905 次查看
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 项奖励
3 回复数

895 次查看
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 项奖励

888 次查看
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 项奖励

872 次查看
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 项奖励