FREE RTOS CAN in lpc54618

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

FREE RTOS CAN in lpc54618

1,936 次查看
keerthi1
Contributor I

I am using lpc54618 controller.I can able to communicate through CAN with SDK example given by NXP.But i could not able to communicate when i integrate the same code in RTOS .Any example available for CAN RTOS.

 

Attached error image .CAN.png

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

1,904 次查看
keerthi1
Contributor I

I have tried SPI example with CAN enabled.But while debugging i am getting error.Attached source code as well as snap shot.1.png

0 项奖励
回复

1,913 次查看
keerthi1
Contributor I

Yes sir.But there is a separate file freertos_spi.c.Like that any file available for CAN also.

0 项奖励
回复

1,878 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, there is not such file as freertos_spi.c. for CAN bus, you can refer to the freertos_spi.c architecture and develop the CAN bus code yourself, of course, it is a huge task.

BR

XiangJun Rong

 

0 项奖励
回复

1,918 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There is freertos_spi example in the rtos example based on callback function, I suppose that you can refer to the example for the can transfer.

Hope it can help you

BR

Xiangjun rong

 

xiangjun_rong_0-1681276583894.png

 

0 项奖励
回复