- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sir/Madam
i am using KIT_A2G_TC397XA_TRB testing MCMCAN,i initialized two CAN node(CAN0 Node0 & CAN1 Node0)and it could sent message out successful,but once i disconnected CAN BUS of CAN1,the CAN0 Node0 will stop transmission at the same time,if i didn't connect CAN1 at the beginning,then power on this demo board,CAN0 didn't work neither
have you ever meet this issue before?hope you can give me some advise
many thanks!
- Labels:
-
AURIX
-
ispn:25361:1:0
-
l1:314:1:0
- Tags:
- mcmcan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please debug the ISR when you disconnected CAN1 NodeX, CAN0 Node0 transmits only when the program is running normally. It looks like the ISR is taken, and no any process in ISR, and so CAN0 Node0 cannot continue transmit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi DW
only four interrupt are enable,CAN0 NODE0 transmissionCompletedEnabled(TC)、messageStoredToDedicatedRxBufferEnabled(DRX)、 CAN1 NODE0 transmissionCompletedEnabled(TC)、messageStoredToDedicatedRxBufferEnabled(DRX)
i am confused, if it trigger an ISR,and it's empty in ISR routine,it should return to main and continue,why you say :“no any process in ISR, and so CAN0 Node0 cannot continue transmit.”
attached is the testing code
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A way to debug is to check why the program stall/halt in the CAN transmit function.