Hello,
I am not sure I understand, but FTDI converts data from a device’s UART to USB of a host and vise versa of course.
On Mbed target side you have to connect it to an UART and chose Buffered/UnbufferedSerial.
- can be with or without flow control (2 or more pins)
- The baud rate does not need to be set inside the chip, it has autodetection. Only on the host side.
I do not know what a target do you use, but for example I chose Nucleo-F429ZI. With that board and USB-CDC or USB Serial you can achieve similar/same result like with FTDI, I think.
If you want to set some data inside to FTDI memory and so on. These APIs are insufficient for this. Mbed provide only USBDEVICE APIs not HOST.
BR, Jan