When conducting LLCE CAN communication, I encountered an issue: in an environment where two CAN nodes are directly connected with two 120-ohm terminating resistors, an ACKERR is triggered when the peer device is in listen mode. Simultaneously, the LLCE firmware automatically retransmits, seemingly using the maximum bus bandwidth. I'd like to know if there's a way to configure the number of automatic retransmissions or how to stop automatic retransmissions.
Hello, @JACK_Q
Hello
From my understanding, this should not be related to the LLCE software. It is mainly caused by the ACK mechanism of the CAN protocol layer. When the other end is in listen-only mode, it does not send ACK. At this time, the frame sent by the S32G LLCE side does not receive ACK and will report ACKERR. Then the controller continues to retransmit, which is consistent with the behavior after CAN transmission failure.
The above operations are as specified in the protocol; I don't see any configuration to set the number of retransmissions.
BR
Chenyin
Hello, @JACK_Q
I understand your situation. Indeed, it is generally advisable to monitor and configure corresponding processing strategies in the upper-level software.
BR
Chenyin