S32K144W FLEXCAN EXAMPLE HELP ME PLZ

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

S32K144W FLEXCAN EXAMPLE HELP ME PLZ

274件の閲覧回数
Oido
Contributor I

I want to operate the example of s32k144w.

TX for CAN0 is set to PTE5 RX is set to PTE4
Example uses buttons and LEDs, but I want to get rid of them all.
I want CAN signal voltage output from PTE5 and 4

Currently, I only modified g_pin_mux_InitConfigArr0 and flexcanInitConfig0.

I tried changing and erasing everything, but it didn't work.

Even the buttons and the LED codes..

If the RX signal allows the ID to be 0x300 to receive the signal, I will add it on my own after that.

I really hope you can help me. I've been walking in place for three days.

0 件の賞賛
1 返信

256件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Oido

I have checked your code,please refer to this article to modified your demo code.

your clock setting is too slow

Senlent_0-1704779196746.png

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-FlexCAN-Mask-Setting-Demo/ta-p/1519753

this demo using interrupt method to receive CAN Frame, you can refer this demo to create your project.

0 件の賞賛