Attachments are accessible only for community members.
Oct 17, 2021
06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2021
06:45 AM
CAN bus cannot transmit complete interrupt
I try to use all Interrupt for can
can erro and can RX can be use
but can TX all Interrupt invalid。
i need this to clear busoff flag
Solved! Go to Solution.
Labels
- Labels:
-
Automotive Traveo_II
- Tags:
- BusOff
1 Solution
Oct 18, 2021
12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 18, 2021
12:13 AM
OKay, in this case, there might be some problems with your TX interrupt handler.
Can you double check your CAN_TxMsgCallback function? Is that successfully implemented in main.c?
Here is a demo call back function, RxMsgCallback. I put it here for your reference.
Meanwhile, don't forget to update your canCfg configuration struct. The .txCallback feild is set to NULL by default, but you want to set it to your interrupt handler (namely CAN_TxMsgCallback())
Check if these changes bring it back to work.
Kind Regards,
Finn
5 Replies