- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I really hope someone can help me…
I’m using the tc397, I try to implement can communication between one node of the board (CAN0) with external devices.
I saw the GitHub with MCMCAN example, but it’s not so useful, every example is in loop back, and I need to see a working code in normal mode.
I don’t understand what I have to do in order to make can communication work in normal mode.
I try to set node 0 as a receiver, so, I initialize the can module (as see in the example) then the can node, I disable the LOOP BACK MODE ( loop back enable = FALSE) and I initialize the pins of IDC10, 20.7 as Rx and 20.8 as Tx.
So i use an external device (arduino + mcp2515) as a sender and, I verify with another arduino +mcp2515 as a receiver that the message is correctly sent, and it is, but if I add the node0 receiver, it doesn’t work.
ah, in other posts, similar to mine, someone spoke about CAN_STB pin, but I don’t really understand it’s function.
if it can be useful I try to set the node as transmitting one, and it works, in some way, only if I set the external loop back.
thank you for the attention, I really hope someone can kindly give me advices
Solved! Go to Solution.
- Labels:
-
AURIX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content