I am developing an Autosar project using the S32K146 chip, with EB Tresos as the configuration tool. I configured the CAN Stack and tested the upper-layer transmission and reception processes (from the Com layer to MCAL) in Loop Back Mode, and everything works fine.
When I configured the CAN controller to Normal Mode, the CAN data was written to the register (RAMn) but the hardware did not initiate transmission. There was no data on the Tx pin, and consequently, no transmission interrupt was triggered to clear the TX Buff flag. This also resulted in the first four frames of data being successfully written to the Buff, but from the fifth frame onward, data could not be written, and the CAN BUSY status was returned.
Due to this issue, I am unsure how to resolve it. Therefore, I used the Autosar CAN example for the S32K146 provided in S32DS, made some modifications, and ran it on the same hardware. However, the data was still not transmitted, and the same issue recurred.
Could you help me analyze why CAN transmission is failing in my project? Thank you.