TIDA-020032: CC2642 - DBC Database for CAN

Part Number: TIDA-020032

Dear TI team, 

do we have the DBC-Database for CAN of our CC2642 device, to provide this customers? This sheet describes the signals of the individual nodes are described. For me it would be important to know which signals the BLE module needs to be configured and the signals that the module sends to a communication partner.

Thanks and best regards

Jens 

  • Hi Jens,

    I've assign our expert in this area to comment.

  • Hi Jens,

      We do not have a database at this time, but it is not a bad idea, let me look into this. In the meantime, For this demo https://training.ti.com/angle-arrival-bluetooth-low-energy-car-access, these are the signals that we use: 

                msgTxData[0] = 0;                   // Node number
                msgTxData[1] = LO_UINT16(avgDeg);   // Angle Average Low
                msgTxData[2] = HI_UINT16(avgDeg);   // Angle Average High
                msgTxData[3] = avgRssi;             // Average rssi
                msgTxData[4] = antResult->ch;       // channel
                msgTxData[5] = LO_UINT16(rawAngle); // Raw Angle Average Low
                msgTxData[6] = HI_UINT16(rawAngle); // Raw Angle Average High

      Best regards,

        David

  • Thanks David, that helps a lot (will be marked as answer afterwards). One additional question to that. Is there any CAN message requirements which must to be send to the chip? 

  • Hi Jens,

    Jens G said:
    Is there any CAN message requirements which must to be send to the chip?

    No, there is not. By default the nodes will be sending this message out (periodically).

    FYI -  this is demo was based on dev.ti.com/.../ble_aoa.html

    With some minor differences:

    The rtls_master node communicates to the rtls_passives and provide the connection parameters over CAN, so the passives can follow the connection successfully.

      Hopefully this helps.

         David

  • Hi David, 

    my name is Robin Rudolph (Brose Fahrzeugteile) and I am the initiator of this Thread. 

    First of all thank you very much for you support and for sending the link to the demo. It really helped us a lot. 

    There are only some open questions left.

    1. Is the CAN ID for the BLE node fixed or can this be changed? 

    2. If it is fixed what is the ID?

    Thanks again to Jens Gräser and you for supporting on this topic. 

    Best Regards, 

    Robin Rudolph 

  • Hey Robin,

      Nice to meet you and you have good questions.

    Robin Rudolph said:

    1. Is the CAN ID for the BLE node fixed or can this be changed? 

    Not that I'm aware, usually the BLE nodes are part of a local/private CAN network, so I do not think that is this has been defined just yet, in other words I've seen customers defining these CAN IDs. In our example code we defined them but they can be easily changed.  

    Robin Rudolph said:

    2. If it is fixed what is the ID?

    In our example code, we are using 0x33n, where 'n' is the node number. Ex. 0x331 and 0x332 and I'm planning to use these ID's to create the DBC.

    Best regards,

      David

  • Hey David, 

    thanks for your answers. 

    I will talk with my colleagues if all questions are clearified now. 

    I do have one final question. Can you please send me the demo-code as reference or do I find this reference within the link you sent within on of your last posts?

    Thanks and best Regards, 

    Robin 

  • Hey Robin,

      You can find a CAN example in here. Would this example be enough? Please let me know.

       Best regards,

        David

  • Hi David, 

    thanks for sending me the CAN-Example. I would say this should help us to get it running. 

    Best Regards, 

    Robin 

  • Hi Robin,

      Finally I was able to put together a dbc example.

        Hopefully this helps.

           David

  • Hi David, 

    first of all very thank you for the DBC and sorry that I forgot to answer to your last message earlier. The DBC was really helping us. 

    I only got one another queston from my colleagues. Is there a description available how to interpret the CAN data? We need to know the translation from Hex-Value to AoA / RSSI value. 

    Thank you very much in advance. 

    Best Regards, 

    Robin

  • Hi Robin,

      Finally I created the example code. You can download it from this link. e2e.ti.com/.../3664051

      Best regards,

       David