This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello experts,
I am using IntPnd to make sure my message has been sent.
When I enable TxIE, IntPnd gets set but how can I clear it for the next message that I am sending?
Hi Mina,
With successful frame transmission, IntPnd will be set. It will be automatically be cleared when next message is sent and if transmission is a success, then IntPnd will be set again, otherwise it will stay cleared.
Regards,
Joseph
Hi Joseph,
Thank you for the reply.
I have another question: Does IntPnd do the ACK job or does it only say that the message is put on the CAN line successfully? If the latter, how can I find out my message is received by the correct ID?
Hi Mina,
ACK is sent by the receiving node when the ID and mask criteria are met. IntPnd will just indicate that the message transmitted successfully with no errors. Refer to this app note (http://www.ti.com/lit/sprace5) for how ACK is sent by the receiving node (page 6). There are also other examples in the application note that may be helpful for you.
Regards,
Joseph