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.

TMS320F28377D: TMS320F28377 - TivaWare USB serial port - no other baud rate than 9,6kBaud does work

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Hello,

I am trying to get the USB communication of a TMS320F28377D Dual-Core Delfino ™ via a virtual COM port. I downloaded the C2000WARE_1.00.06.00 and installed the windows driver. The COM port appears in the device manager with the name TivaWare USB serial port (COM18). So far everything is fine.

Communication with 9.6kBaud is possible. But other baud rates will not work except with the Multi Threaded TTY Terminal (MTTTY255). Further attempts were made with Hammer Term (HTerm) and LabView NI VISA Runtime 5.4. For the last both only the 9.6kBaud works.


Under Linux all baud rates are working well, which is why I suspect the Windows driver here. Does anyone have recommendations to get all baudrates? The final goal is to run communication via LabView (NI VISA).

Kind regards,

Gundolf

  • Hi Gundolf,

    Are you using the F2837xD Launchpad, the F2837xD ControlCard, or a custom board?
    Are you using the echo-back example code, or your own custom code (probably this shouldn't matter if the code works for at least one terminal)?

    It is a little hard to speculate why the alternate baud rates are working with some programs, but not others, since we haven't tried to use those programs.

    I believe that both TI EVMs use the FTDI FT2232H: www.ftdichip.com/.../DS_FT2232H.pdf. You can actually download the virtual COM port drivers directly from FTDI; it might be worth checking if these drivers fair better than whatever is bundled with C2000ware.
  • Hi Gundolf,

    Any luck with this? Were you able to get this to work with LabVIEW?
  • Dear Devin!

    Thank you for your questions. At the moment I use the F2837x controlCard. The sample code used is the usb_dev_serial, from the C2000Ware package.

    Not to be misunderstood: I'm not talking about the communication via the FTDI chip, which is on the controlCard, but the one that goes through the USB pins of the TMS320F28377D. This communication should later run via LabView with speeds of at least 115kBaud.

    I would be very happy, if there is the approach of a solution in sight.

     

    Kind regards,

    Gundolf

  • Hi Gundolf,

    Have you made any changes to the usb_dev_serial example program? You have it configured for 115200 Baud, correct?

    Also, do you have the terminal applications on your computer configured correctly for 8-N-1 serial communications? (i.e. data bits, parity bit, stop bit configured properly)

    Below is from the example's comments:

    //! This example application turns the evaluation kit into a virtual serial
    //! port when connected to the USB host system.  The application supports the
    //! USB Communication Device Class, Abstract Control Model to redirect UART0
    //! traffic to and from the USB host system.
    //!
    //! Connect USB cables from your PC to both the mini and microUSB connectors on
    //! the controlCARD.Figure out what COM ports your controlCARD is enumerating
    //! (typically done using Device Manager in Windows) and open a serial terminal
    //! to each of with the settings 115200 Baud 8-N-1.  Characters typed in one
    //! terminal should be echoed in the other and vice versa.
    //!
    //! A driver information (INF) file for use with Windows XP and
    //! Windows 7 can be found in the windows_drivers directory.

    Best,

    Kevin

  • Dear Kevin,

    The program usb_dev_serial was used as it is. And it worked with Linux and with MTTTY255 with 115kBaud. So I think the code is correct.

    But with LabView and HammerTerm only speed of 9.6k can be reached. So I suspect the windows driver. I have used 8N1.

     

    Kind regards,

    Gundolf

  • Hi Gundolf,

    There are some supporting windows drivers within C2000ware for USB. They may only work depending on your windows version however (think only XP and 7 are supported).

    C:\ti\c2000\C2000Ware_1_00_06_00\utilities\windows_drivers

    Hope this helps,
    Kevin
  • Dear Kevin,

    Thanks for your question.

    As I have written in the opening statement that  I have installed the windows driver from the C2000Ware package.

    Since the device works perfect under linux, actually the windows driver is, what I suspect to be the problem.

    I am using a  Windows 7 Professional 64 Bit system.

    Maybe it would be helpful to know what terminal program do you use.

    Kind regards,

    Gundolf

  • Hi Gundolf,

    Sorry, I missed that about the driver being installed in your first post.

    Could you try using Teraterm or PuTTY for me at both 115200 and 9600 Baud? Please let me know if either of those work for you.

    Best,
    Kevin

  • Hi Gundolf,

    Did you get the chance to try these suggestions?

    Best,
    Kevin
  • Dear Kevin,

    Thanks for your suggestions of terminal programs. I have tried Tera Term and it works also with 115,2 kBaud. Fine!

    I do not know why it will not work with LabView. So I will probably have to search there in the depths of the system.
    Many Thanks. I will close this case here in the forum.

    Kind regards,

    Gundolf

  • Hi Gundolf,

    If you haven't already, you might also try searching or posting over in NI's LabVIEW forums:
    forums.ni.com/.../170