Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Differentiate between RX and TX messages in a CAN DBC

I want to differentiate between rx and tx CAN-messages from a DBC but can’t find any difference, when I open it with notebook. As anyone a idea if they can be identified in a DBC?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

The DBC Format is described here and here.

The sender is specified on the same line as the message definition like so:

BO_ <CAN-ID> <MessageName>: <MessageLength> <SendingNode>

While the receiver is specified on the signal line:

SG_ <SignalName> [M|m<MultiplexerIdentifier>] : <StartBit>|<Length>@<Endianness><Signed> (<Factor>,<Offset>) [<Min>|<Max>] "[Unit]" [ReceivingNodes]

So for the following definition, IO is the sending node while DBG is the receiving node (in other word this is a Tx-Message for IO and an Rx-Message for DBG):

BO_ 500 IO_DEBUG: 4 IO
 SG_ IO_DEBUG_test_unsigned : 0|8@1+ (1,0) [0|0] "" DBG
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading