can2 not work for s32k144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can2 not work for s32k144

1,716件の閲覧回数
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,405件の閲覧回数
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,477件の閲覧回数
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