Hello, @Abhiram_m_s
Thanks for the feedback.
I will have a test with Yocto to see if there are issues, would you please compiling the kernel/modules manually to have a try?
I could confirm that it works fine with LLCECAN interface on BSP38.0, the reference steps are shown below:
- Add the following configuration to the kernel config
_Networking support
_CAN bus subsystem support
_CAN Device Drivers
_Platform CAN drivers with Netlink support
_NXP LLCE CAN Support
<M> LLCE CAN
- Build the kernel/modules, copy kernel image, ./drivers/net/can/llce/llce_can.ko, ./drivers/mailbox/llce-mailbox.ko ./drivers/mfd/llce-core.ko to the SD card.
- Copy the LLCE firmware binaries to the /lib/firmware on the SD card, including dte.bin, frpe.bin, ppe_tx.bin, ppe_rx.bin.
- Boot the board with newly built kernel image on the SD card
- Insmod the three modules following the order with: llce-core.ko, llce-mailbox.ko, llce_can.ko
- Setup the llcecan port by the following commands:
ip link set up llcecan0 type can bitrate 500000 dbitrate 5000000 fd on
ip link set up llcecan14 type can bitrate 500000 dbitrate 5000000 fd on
- Connect the llcecan0 and llcecan14 to have a test with candump/cansend.
Hope it helps.
Best Regards
Chenyin