Eb Tresos configures the CAN module. CAN Rx Processing Type and CAN Tx Processing Type* are interrupt modes. Can_Write() is used to send data, but no interrupt is triggered，The specific configuration and code are shown in the figure
For the first time, eReturnValue returns OK. For the second time, eReturnValue returns PENDING. The code inside Can_Write says MB is not empty.
Hi @ananan ,
Could you please check if you have connected your board with other CAN Node (which can send back the ACK for this frame). If the Peripheral does not receive the ACK in the bus, so the TX interrupt will not be triggered.