AnsweredAssumed Answered

How to stop CAN tx interrupt

Question asked by Kim JungHyun on Dec 14, 2017
Latest reply on Jan 5, 2018 by Petr Stancik

Hi.

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

 

<S32K144.h>

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

 

<Main.c>

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.

https://community.nxp.com/message/917643?q=CAN interru

 

Thank you.

Outcomes