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.

Compiler/TMS320F28379D: TI CAN examples pins connections.

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: TI C/C++ Compiler

Dear TI,

I want to get started with the TI example to learn about CAN in Texas Instruments DSP.

In this example "can_ex3_external_transmit". I modified the GPIO because I'm using the Launchxl board,

//! \b External \b Connections \n
//!  - ControlCARD CANA is on GPIO4 (CANTXA) and GPIO5 (CANRXA)
//!  - ControlCARD CANB is on GPIO6 (CANTXB) and GPIO7 (CANRXB)

Do these PINs CANTXA and CANRXA have to be connected to the transceiver circuit or I could run this example without an external circuit?

How I could execute this example without connecting the transceiver circuit?

Thank you in advance for the help,

S.Tarik,

  • Tarik,

                  I presume you are referring to the example in C:\ti\c2000\C2000Ware_3_03_00_00\driverlib\f2837xd\examples\cpu1\can. The comment in the example you are referring clearly says the below:

    "Both CAN modules on the device need to be connected to each other via CAN transceivers. GPIOs will be different on Launchpad"

    On the Launchpad, only CAN-B is there. You need to connect the Launchpad to another CAN node, like a USB-based CAN analyzer in order to run some of the examples. This particular example is meant to run on boards with CANA & CANB. Transceiver is mandatory for any program that does not use the self-test mode of CAN. SPRACE5 explains why. 

    Please download my Application report http://www.ti.com/lit/sprace5. I also urge you to look at the Debug tips provided. 

    http://www.ti.com/lit/spracq3 depicts lot of easy to understand waveforms.

  • Thank you, Hareesh,

    I have seen people using CAN communication without a transceiver that why I put this question.

  • Tarik,

                  You are correct. That trick is typically used to connect two CAN nodes on the same PCB. There are different ways of doing it; one method is shown below: