Dear NXP:
I want to port llce lin drivers to Linux. Referring to the LLCE LIN driver code in the M core, I also performed the same operation in the A core, and now encountered problems in the migration process.
Linux uses the BSP38 version and LLCE firmware uses 1.0.6.
The problem is that when I call 'LLCE_LIN_CMD_SENDFRAME', the return value is 'LLCE_LIN_TX_HEADER_ERROR'. I've checked: share memory, core2core interrupts, and llce lin's clock.
The attached source code is based on the Linux "llce-mailbox.c" file modified. The code for the llce lin operation I added is in lines 3003 ~ 3174.
I don't know what to do next. Can you give me some advice?