FlexCAN in loopback test

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

FlexCAN in loopback test

3,779 次查看
arvindupadhyay
Contributor II

Hi Friends,

 

I am using S32K144, i want some sample code to test Flex CAN in loopback mode. I have written code but it is not working.

 

Regards,

Arvind

标签 (1)
0 项奖励
回复
5 回复数

2,913 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Arvind,

see attached example. It is not loopback mode but it should help. Two FRDM boards are used.

Pushing SW2 on Tx board starts sending CAN message, then Rx board reply same message to Tx board.

You can configure project for Rx and Tx at line 41 in main.c.

Regards,

Lukas

2,913 次查看
swatimali
Contributor I

Hi,

I am beginner for CAN , can you please explain how should I use above attached code for CAN functionality on S32K144 Eval board ?. I have PCAN view tool how should I see data their.

Thanks & Regards,

Swati Mali

0 项奖励
回复

2,913 次查看
arvindupadhyay
Contributor II

Hi ,

Here is my sample code for LoopBack Test for FlexCAN.

GitHub - arvind747/S32K144_FlexCAN_LoopBackTest: Example code of FlexCAN loopback test 

Regards,

Arvind

0 项奖励
回复

2,913 次查看
arvindupadhyay
Contributor II

Hi Lukas,

Thank you for reply, I am managed to configure example code as in loopback mode and its working fine.

Regards,

Arvind.

0 项奖励
回复

2,913 次查看
dileepbalgi
Contributor I

Hello Arvind,

   Can you please explain how you are able to configure the above example in loopback mode.It will be helpful if u attach the code with the reply.

Regards,

Dileep

0 项奖励
回复