hi nxp team:
Test hardware: s32g274
Software version: bsp38
can setting: ip link set llcecan(0~3) type can \
bitrate 500000 \
sample-point 0.8 \
dbitrate 2000000 \
dsample-point 0.7 \
fd on
test case:
1: Vector v1640 can1 can be connected to can0~can3 of s32g, and can2 can be connected to llce_can0~llce_can3 of s32g
2: vector1640 sends can data, and s32g receives can data.
3: Check whether the sent and received data frames are consistent.
Test results:
1: Data frames are lost in llce_can0~llce_can3, but not in can0~can3.
The reference image is as follows
Figure 1: We can see that v1640 can1 sent a total of 1,823,705 frames, and in Figure 2, s32g274 can0~can3 received 1,823,705 frames without any frame loss.
We can observe that the total number of frames sent by v1640 can2 is 1,845,947, while the corresponding number of frames received by s32g274 llce_can0~llce_can3 is approximately 1,845,887. There is a loss of 60 frames.
When the CPU load is relatively high, the frame loss situation worsens. Is it possible to increase LLCE_CAN_MAX_RX_MB to reduce the cpu load. as the same time, How to solve the frame loss problem? Are there any optimization items?

