LS1028ARDB CAN FD

cancel
Showing results for 
Search instead for 
Did you mean: 

LS1028ARDB CAN FD

77 Views
AMendoza
Contributor I

I'm working on the LS1028ARDB board, I'm trying to find the CANFD and CAN 2.0 low level drivers example code. I'm not using Linux distribution so if there is a low level driver available or example codes to exercise CAN and CANFD independent from the OS I would like to get the files.

 

0 Kudos
1 Reply

62 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could refer to flexcan driver provided in OpenIL Baremetal Framework

$ git clone https://github.com/openil/u-boot.git

$ git checkout -b OpenIL-v1.11-Baremetal-202104 OpenIL-v1.11-Baremetal-202104

Please refer to drivers/flexcan/flexcan.c and  app/test_flexcan.c

For details, please refer to "4.4.1.9 FlexCAN" and "4.2.11 CAN file" in https://www.nxp.com.cn/docs/en/user-guide/IIoTBaremetalUG-1.11.pdf.

0 Kudos