I have been making source code to generate CAN RX interrupt.
I want to generate CAN RX interrupt only, but CAN TX interrupt works.
How can I stop CAN TX interrupt?
- MCU : S32K144(64pin)
- CAN TX MB : 0
I changed IMASK1 as below to stop interrupt of MB0 and MB1.
* I also changed IMASK1 to 0x00000000 to see if CAN interrupt is stopped by clearing IMASK1 bit. But CAN TX interrupt works
1. above main()
- I used 'callback()'
2. inside main()
* I also used 'INT_SYS_EnableIRQ()' but CAN TX interrupt works.
* I refered below link but it did not work for my project.