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.
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