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.

TM4C123GH6PM: FTDI device slave driver

Part Number: TM4C123GH6PM


We have a system that uses the TM4C123GH6PM to act as a host for the FTDI FT232 controller.  At the time I was able to configure the host application using the usblib functions including the FTDI functions from the files usbhftdi.c and usbhftdi.h.  We are now looking at reversing the role and using the TM4C123GH6PM to act as an FTDI slave device.  I've been looking through the support forums and I can't seem to find FTDI device slave drivers.  Do you know where I might locate the FTDI device application files usbdftdi.c and usbdftdi.h?

Thanks

  • Hello David,

    I believe those files were either generated by a third party or maybe by someone else in your company. We do not have files like usbhftdi.c or usbhftdi.h for TivaWare - I double checked to see if those may just be excluded in the latest release but I found no trace of either of those files in the build environment for the SDK.

    I have not heard of using the TM4C as an FTDI slave device before, but I don't think there is anything that would prohibit doing so. The usb_dev_serial example probably is a good starting place as it shows how to use the device as a USB to UART bridge.

    I would recommend starting there to build your application or possibly develop your own USB driver files for FTDI protocol.

    Best Regards,

    Ralph Jacobi

  • Hi Ralph,

    Thanks for the information. The host driver (c 2013) has a link to an e2e.ti.com/support/... page that no longer exists.  The host driver is for an LM4F232 but  works for the TM4C family.  I'll look into the usb_dev_serial example, as long as the device is recognized as a serial port, it should be OK.

    Regards,

    Dave Peterson