10 years, 1 month ago.

Has anyone got a USB to Serial (FTDI) chip working with Mbed?

I am using an LPC1768 platform. I need to connect it with a USB to Serial FTDI chip (FT232RQ). I need to receive the signal from FTDI chip and re-transmit it, using Mbed, to another device (through UART) . (If there is no signal from FTDI chip, I need the Mbed to run another part of code, which again sends Serial signal through the same UART pins)

Can anyone help with the hardware (schematic) or code? Thank you for any help

I've used an FTDI chip in one of my designs, this might help.

/media/uploads/ScubaBoy/mbeddisplaydriverschematic.pdf

posted by Rob Cawsey 12 Mar 2014

2 Answers

10 years, 1 month ago.

Thank you for your help Martin,

do you know the difference between VCP and D2XX drivers (for FTDI chip) ? I am trying to download D2XX on mac, but I cannot make it work, so I am wondering if downloading VCP drivers will be okay for me. (I want to connect my device with a lighting control software on mac)

Thanks Aaron Minner, I am using the Mbed module you are right, I changed to Windows (instead of Mac), the FTDI drivers were automatically downloaded and it's just working! It seems like FTDI drivers have compatibility problems with OS X 10.9 version

Accepted Answer

Are you using the MBED LPC1768 module, or is this a stand-alone LPC1768? If you're using the MBED module, the Serial devices should just work. I did something similar using an XBee transmitter connected to my Mac to send control signals to a remote XBee receiver attached to MBED-controlled device to make it perform lighting routines. On the MBED, I just used the Serial device on pins 28 & 27 to read the data from the XBee receiver.

posted by Aaron Minner 13 Mar 2014
10 years, 1 month ago.

I did this a few years ago here: http://mbed.org/users/ms523/notebook/mbed-usb-breakout/ Better to use the USB library now-a-days however.