can2 not work for s32k144

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

can2 not work for s32k144

1,322 Views
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 

Labels (1)
Tags (1)
2 Replies

1,011 Views
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 Kudos

1,083 Views
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