can2 not work for s32k144

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

can2 not work for s32k144

1,762 次查看
xuzeze
Contributor I

S32K144 CAN2 channel  work is not normal ,CAN0 work well .When I used S32DS simulation debugging, I made the following mistakespastedImage_1.jpg 

标签 (1)
标记 (1)
2 回复数

1,451 次查看
rathi_tg
Contributor III

Hello @mariuslucianand ,@PetrS 

I am using s32k144 and an External CAN Driver to run CAN2 on pins PTC16 and PTC17.

But, I am unable to receive Data. I am using MATLAB to Flash the Code.

What Could be the possible Reason? Any possible Solution to Resolve the Issue?

I have attached the Screenshot of the Program

rathi_tg_0-1617706064489.png

 

I would be Glad if you enlighten me with few queries regarding CAN.

1) What is the Purpose of Pretended Network?

2) Can I Use CAN any of the CAN ID to wake my master UP in a sleep Mode?

Hope for Help.

Regards

Gopal Rathi.

 

 

0 项奖励
回复

1,523 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it looks you are displaying a memory area that is not initialized yet, or the module is not clocked at all.

Did you properly enable clock for the CAN2 module within a code?

BR, Petr