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.

C2000WARE: TMS320F28379D

Part Number: C2000WARE
Other Parts Discussed in Thread: TMS320F28379D, TMDSCNCD28379D, TMDSHSECDOCK

Hello All,

I am little new in programming micro controllers, 

and I am trying to make CAN driver work on TMS320F28379D using the sample code. 

I am using the control card as by followed link,

http://www.ti.com/tool/TMDSCNCD28379D

It has a docking station as by attachment,EvalBoard.pdf

I couldn't figure out the CAN TX A and CAN RX A pins on the docking station.

Can anyone help me in tracing out the pins.

Thank you,

With Regards,

Arvind.

  • Arvind,

    the pins that support CAN are defined in the device datasheet. 

    "TMDSCNCD28377D_180cCARD_pinout_R1_3.pdf" describes how the TMDSCNCD28379D pins map to the docking station that you have mentioned(TMDSHSECDOCK). The standard CAN pins brought out are GPIOs 30 and 31, and you can see what pins they map to in the aforementioned PDF. Other GPIOs can be used if desired.

    If you haven't tried running code yet please note that these controlCARDs are isolated, and you will need to provide power to the emulator and C2000 device separately.(this takes two cables) 

    Regards,
    Cody 

  • Hello Cody,

    Thanks for the reply, 

    I have found the pins from the following Schematic pdf,3580.controlCARDDockingStationR4_1-SCH.pdf

    Happily I could able to Tx using the example code,

    But couldn't receive messages, If I try transmitting using the SW tool(Peak CAN),

    The Bus load immediate shoots up and I get a Bus off warning.

    I have double checked the pins connections they seem fine is anything that I can try to make to work?

    Thank you,

    With Regards,

    Arvind.

  • Arvind,

    there is no CAN transceiver on the controlCARD. How have you setup your physical layer?

    What pins are you using for CANTX and CANRX?

    Regards,
    Cody 

  • Hi Cody,

    Thanks for your reply,

    I am using an external CAN HW Module,

    I have made the connections like

    CAN HW TX to MCU Rx PIN 80

    CAN HW RX to MCU TX PIN 82

    Please correct/help me if I missed anything.

    Thank you,

    With regards,

    Arvind.

  • Arvind,

    Unfortunately I do not know anything about your hardware, you will need to be the expert here.

    The physical connections for can are pretty simple RX, TX and potentially a ground. Any proper CAN bus will require differential signals and has a specific requirement on termination resistors. Ideally your "HW module" should take care of those issues.

    you will need to scope the RX and TX lines using an oscilloscope to see if the signals are correctly leaving and entering the C2000 device. Since you cant receive messages, check that line first. if you have good data there, make sure the GPIO MUX and pin connections are correctly setup.


    Regards,
    Cody 

  • Arvind,

    This thread will be closing soon due to a lack of replies. If something helped your issue please mark that post to help other in the future.

    Regards,
    Cody

  • Hello Cody,

    I have tried running code,

    As I said CAN Tx works but Rx doesn't.

    I have used A Micro usb B for Power as mentioned in the manual,

    I have used other micro usb A for debugging.

    I believe there are no problems in connections,

    I have used GPIO 30 and 31 for Tx and Rx in code. There were initialized as CAN.

    With regards,

    Arvind

  • Have you observed the RX line? If you cannot receive information into the C2000 device you should use an oscilloscope to see if any data even appears on the pin.

    Regards,
    Cody

  • This thread will be closing due to inactivity. 

    Regards,
    Cody