FREE RTOS CAN in lpc54618

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

FREE RTOS CAN in lpc54618

1,957件の閲覧回数
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,925件の閲覧回数
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,934件の閲覧回数
keerthi1
Contributor I

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

0 件の賞賛
返信

1,899件の閲覧回数
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,939件の閲覧回数
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 件の賞賛
返信