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.

DRV8312-69M-Kit and SCI communication

Other Parts Discussed in Thread: CONTROLSUITE, TMDSCNCD28069ISO, DRV8312

Hi

I am looking for some guidance and support.  I am using DRV8312-69M-KIT.  The kit comes with controlCARD TMDSCNCD28069MISO.  

I would like my controlCARD to stream data out of a UART serial port (RPM, status, etc.).  Is there a UART (COM Port) capability on the DRV8312-69M-Kit?

Can Piccolo TMS320F2806xM InstaSPIN-MOTION software libraries handle serial communication to an external program?

Is there an SCI Echo Back (sci_echoback) example for DRV8312-69M-Kit and Piccolo TMS320F2806xM InstaSPIN-MOTION ? 

A quick response is highly appreciated.

Thanks in advance.

f2803x_example_list
SCI Echo Back(sci_echoback)

  • Hi,

    You can very well refer to this sample code: C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_examples_ccsv5\sci_echoback
    Also, check the schematics of your kit for SCI GPIO pinouts. You'll need a level shifter though to convert this SCI to RS-232.

    Regards,
    Gautam
  • Hi Omid,

    Please also note that the FTDI chip (responsible for doing the emulation) also has a USB-to-serial converter in it.  As a result, when you plug in the USB-JTAG portion of the controlCARD, a Virtual Comport should show up in your Windows Device Manager.

    Take a look at the controlCARD and note that GPIO28/29 are tied into the FTDI's virtual comport (assuming switches are positioned appropriately).
    \controlSUITE\development_kits\~controlCARDs\TMDSCNCD28069ISO_v1_1\R0_4\


    Thank you,
    Brett

  • Hi Brett,

    Thanks for your response.  

    I would like to use the usb-to-serial converter option that is through the USB-JTAG.  I have located the schematics and I have found GPIO 28 and GPIO 29 on the schematics.

    I have couple of question...

    If I use the USB-JTAG port, will that interfere with the emulation or debugging in the future?  Will there be multiple streams of data coming out of that port that I would need to manage?

    How can I find out what the appropriate switches positions  for this to work properly?  Currently, all my switches are in default positions and I have not changed them.

    How can I find out the pin mapping between the DRV8312 board and controlCARD TMDSCNCD28069ISO?  I am assuming some of the controlCARD pins get assigned to J5 or J10.  

    A quick response is highly appreciated.

    Thanks in advance.

  • Hi Omid,

    The DRV8312 schematics are also available in controlSUITE.  Together, the controlCARD schematics and the DRV8312 schematics should tell the story.
    \controlSUITE\development_kits\DRV8312-C2-KIT_v128\~DRV8312EVM-HWdevPkg\DRV8312_RevD_HWDevPKG\

    The xds100v2/FTDI chip contains two parallel interfaces (JTAG and UART).  Both can be seen as independent for the most part (even though at the lowest levels the cable is sharing bandwidth between the two path) and you really shouldn't need to do much managing - the xds100v1 Windows driver will do the work.  The JTAG interface is used by CCS.  The UART interface can be utilized by something like Hyperterminal (or potentially a custom written GUI application).
    http://processors.wiki.ti.com/index.php/XDS100#Q:_Can_I_use_port_B_as_a_UART.3F

    Hopefully this helps!


    Thank you,
    Brett