FREE RTOS CAN in lpc54618

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

FREE RTOS CAN in lpc54618

788 Views
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

Labels (1)
0 Kudos
4 Replies

758 Views
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 Kudos

767 Views
keerthi1
Contributor I

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

0 Kudos

732 Views
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 Kudos

772 Views
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 Kudos