Hi,
The following is provided from our internal team:
"This case has been tested on BSP30(A53) and LLCE 1.0.1(M7)
For example, resource LLCE CAN0-CAN7 assigned to M7_0 core, and resource LLCE CAN8-CAN15 assigned to A53 cores
Precondition
- Multiple core boot is ok, and M7 application runs faster than Linux kernel.
- CAN_PE clock shall be the same both on M7 and A53 sides.
M7 side:
- Load fw on the M7 side not A53
- Disable interrupt of LLCE CAN8 ~ LLCE CAN15
DanielAguirre_0-1685987154170.png
- Modify the ‘PlatformInitConfig0_PB’ corresponding to ‘llce_platform_init’
PlatformInitConfig0_PB:
DanielAguirre_1-1685987154370.png
llce_platform_init
DanielAguirre_2-1685987154219.png
A53 side:
- Enable LLCE CAN feature and specify the location where firmware binaries:
DanielAguirre_3-1685987154112.png
- Disable firmware loading:
~/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/linux-s32/5.10.41-r0/git/drivers/mfd/llce-core.c
DanielAguirre_4-1685987154066.png
- Comment ‘llce_platform_init’
~/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/linux-s32/5.10.41-r0/git/drivers/mailbox/llce-mailbox.c
DanielAguirre_5-1685987154228.png
- Disable interrupt of LLCE CAN0 ~ LLCE CAN7
~/build_s32g274ardb2/tmp/work/s32g274ardb2-fsl-linux/linux-s32/5.10.41-r0/git/drivers/mailbox/llce-mailbox.c
DanielAguirre_6-1685987154131.png"
Please, let us know.