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.

CCS/TMS320F28379D: GIO pin assignments

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hi,

I wanted to know how the gpio pins are assigned for the c2000 launchpad. Gpio numbers are not given. so Im confused about it. 

Also, I'm currently running can loop feedback interrupt code. How do i check the output for CAN? I'm trying to connect it to GPIO 30 or any pin to read the information transmitted via CAN. If I connect it CAN_H and CAN_L, then would be seeing outputs from GPIO 12 and 17 pins(since schematic shows that GPIO12 and GPIO17 are directly connected to internal Transceiver) or the pins  that I'm initializing it with? Say, if i have a motor which sends information via CAN and i want the can on c2000 to work as loop feedback interrupt code which uses internal Transceiver, would it work?

  • Hi silsio,

    The LaunchPad Users Guide (http://www.ti.com/lit/sprui77 has this information. in a table form. Also, the "Pxx" in this graphic is indicating "GPIOxx", not the pin number.

    You can connect a scope to J12 for CANH and CANL and monitor that for testing the output of the transceiver. Alternately, you can change the GPIO assignment to another GPIO which is available on the BoosterPack headers and scope the CANTX and CANRX directly there. I.e. GPIO30 or another pin which has CANTX muxed with it.

    I am not sure that I understand your last question. Yes, if your motor is capable of interpreting CAN messages, then connecting the CAN bus to J12 will allow you to send/receive CAN messages to the motor.


    -Mark

  • Hi,
    Thank you for a quick response.

    1. The user guide webpage is not working. Can you please look into it? So, does this mean : P67 is GPIO67 at the given boosterpack header? Also, I cannot find GPIO30. Schematic shows that it is a part of J9, which looks like a control card connection. Is there any way i can test CAN outputs by assigning it to available pins without using additional boards?
    2. Ill frame the question in a better way. I apologize for it:
    I have a motor driver which is has its own CAN Transceiver. I want to connect my c2000 to it and start sending information from it to the motor driver and vice versa. Initially, I was using can external transmit but the program doesn't work. Hence, I wanted to know if a code can be written out of loop feedback interrupt code to get and send information to/from the motor. Hope my question is a bit clear now.
  • The Launchpad, as supplied, has the CAN pins hardwired to GPIO12 & GPIO17. You cannot change this. If you want to use some other GPIO pin for CAN, you need manually wire the chosen GPIO pin to an external transceiver.

    I don’t understand your last question.
  • I fixed the link in my original post. the auto hyperlink creation added the close parenthesis to the url...

    1. The CANTX and CANRX signals come out to many GPIO. please refer to the device datasheet in the GPIO muxing section and compare with the LaunchPad BoosterPack headers. I haven't gone in myself to look at the full list of options, but I would assume that CANTX and CANRX can get assigned to one of the 40+ GPIO positions on the BoosterPack headers.

    2. Yes! connect the Motor driver CAN transceiver to J12. You will obviously need to write your own code to do this, but if the motor driver can receive CAN messages, I don't see any issue here.

    -Mark
  • Thank you, Mark and Hareesh! This answered all my questions.