- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm new to the Aurix/Tricore and was wondering if there is an example of how to effectively use the MCMCAN module as a hardware gateway that can receive a message on one node and automatically transfer and transmit on another node. In our previous projects we used an XMC for this functionality and it worked great. We are now targeting the TC33x and trying to work out something similar.
The datasheet mentions automatic transferring of messages in section 40.3.1.6.1, but it didn't provide much information.
Any ideas on how to go about it?
Thanks!
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This functionality needs a receive interrupt or a watermark interrupt within a FIFO,triggering a DMA transfer. The transmit objects will be automatically triggered to transfer the messages below,via timer underflow.
From above description, Receive Msg Interrupt -> DMA, Timemout -> Transfer Msg, so the recieved message should be transfer to buffer 1/2/3. This is my understanding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, just one more piece of information here:
XMC and AURIX TC2xx devices used the MultiCAN IP which had a "Gateway functionality built in", however AURIX TC3xx uses Bosch MCMCAN IP witch fundamentally works differently then MultiCAN, this IP gives priority to support more and CAN-FD frames but there is no Gateway function as in MultiCAN. Section 40.3.1.6.1 describes a way to be able to do some "Gateway" however on my experience this is limited and not similar to the functionality in XMC or TC2xx, so unfortunately in many cases the Gateway function need to be a more elaborated process in TC3xx and it requires a combination of DMA transfers and some CPU involvement.