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.

TMS320F28035: TMS320F28035 standalone USB communication outside of CCS

Part Number: TMS320F28035
Other Parts Discussed in Thread: DRV8312,

Hello,

I'm developing motor control applications with the DRV8312 dev kit, which has the TMS320F28035 control card. I managed to run example projects and control the motor (speed, power, etc.) via the Watch Expressions within CCS7. My goal is to do that outside of CCS with a Python application. Is it possible to have that kind of serial communication over USB between my PC and the control card? I found an older, very similar question for another TI controlStick hardware (https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/21096/81428 ), which denies this functionality since the FTDI chip is only meant for JTAG emulation for CCS if I understood correctly. Is this the same for the TMS320F28035 control card?

  • Hello there,
    There are a few ways to go about doing this. I have used a UART (SCI) to USB serial cable many times for quick debugging and runtime output. you can find these on Sparkfun, amazon, etc. The one I have connects to the SCI pins directly, and converts them to 5V TTL and passes them through to the USB using an FTDI chip. Its nicely packaged and has been useful many times. A lot of our newer kits with the onboard XDS100 emulators do bring out the Channel B to serial so you already have the capability embedded in the same USB cable.

    The cable I have: www.sparkfun.com/.../12977

    -Mark
  • Additionally, you can create or find modules that take SPI, UART, or I2C and convert them to USB. Modules do exist from the same vendors that I mentioned above.

    -Mark
  • Thank you for the suggestion, I'll try that USB-TTL cable you linked. So when using that kind of cable, the code on the control card will still just be as if it's a pure SCI connection, right? I've checked some example projects and there is the Example_2803xSci_Echoback one, this would run without alterations with the mentioned cable?

    Thanks for your help.
  • Sorry for the delay. Yes, if using that cable you will treat it just like any pure SCI/UART connection. The example code runs without modifications.
  • My board is in fact capable of using the TI XDS100 Channel B for serial communication over USB, so I opted for this option and managed to successfully establish communication with my host system using the 2803x_Sci example projects. But it took me a while to figure this out. I don't know why you would recommend me an extra cable in this case.

  • Ah, I guess i missed when you stated which board you were using. :) Yes, the ControlCard has the the XDS100 channel B serial connection available for this purpose.

    The cable is still a useful tool to have if you are ever working with a custom board that does not have the luxury of an on-board emulator.