This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

communicate hercules CAN nodes

Other Parts Discussed in Thread: HALCOGEN

Sir, i am familiar with halcogen but i am not getting the particular code in code composer studio for each node. i am able to configure each node byhalcogen. but to transmit the data from nodes to others and try to display on terminal. using xds100v2 JTAGemulator .i had made the nodes by using launchpad schematic by removing on board xds100v2. i want to program the node by external xds100v2 JTAG. which i bought.i made just two CAN nodes

Thanks,

Regards,

Rocky

  • HI,

      I'm not clear on your question. You are saying you have made two boards with the header for external XDS100v2 emulator. Each board is to be used as one CAN node, correct? Have you been able to load your code onto each board? Is the code running standalone. For example, if one node is transmitting, can you see the data on the CANTX pin? How do you connect the two nodes together? Do you have the CAN transceiver between each MCU and the CAN bus? 

  • in this forum , someone suggest me that launchpad schematic and i put the ti-can transceiver in it. i just want to communicate those node. and transmit the data one to another node. i go through that example but that example is only for same MCU.

  • I think you need to do some debug on your side and see if you can use the scope to see any traffic from the sender and data traffic on the receiver side. I don't think there is much difference between two CAN nodes from the same MCU vs. two CAN nodes from two different MCU since we are talking about using the same MCU on two different boards. You have use the HalCoGen to configure these two MCU separately, correct?

    I find below DCAN example using two different MCUs. This example makes use of the DCAN FIFO mode. You can play with it a bit as a starter. See if you can at least get some data to communicate. Once you can get the communication going you can change to non-FIFO mode per your application need. This example is only meant to help you get started so you can make sure if you board hardware is ok and the two nodes do communicate to each other.

    e2e.ti.com/.../DCANFIFO.zip
  • thank you Sir, 

    but you send the transmit receive example for TMS570LS3137ZWT    i am using launchpad with TMS570LS04x . i made the node using same ic.can you plz send the code for that ic.

  • Hi,
    The DCAN is the same between LS3137 and LS04. These two devices are compatible to each other.