IIn my test project, I am using the S32K146 mcal CAN and have configured the CAN reception to be interrupt-based. However, it consistently fails to enter the receive interrupt. Could you please take a look and see if there are any configuration errors.
binZhang01_0-1781156637825.png
binZhang01_1-1781156653799.png
binZhang01_2-1781156674592.png
binZhang01_3-1781156706397.png
binZhang01_4-1781156738032.png
Hi@binZhang01
1.delete this
Senlent_1-1781250044917.png
2.Note that if you set it up this way, you will need to send an extended frame to trigger an interrupt.
Senlent_2-1781250269365.png
When I debugged, it still didn't enter the Can_CommonIrqCallback function.
hi,The previous problem has been solved。Now The next question is why do we need to add a delay function when sending data on CAN? I want to send a set of data frames periodically. How should I do?
binZhang01_0-1781574633823.png