Re: Driver for FT232H

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Tue, 07 Mar 2023 12:01:29 UTC
On Tue, Mar 7, 2023 at 6:36 AM Olivier <Olivier.Nicole@cs.ait.ac.th> wrote:
> Hi,
> I was watching a video about the adapter FT232H that permits to have
> GPIO ports on a PC.
> All documentation I could find is mentioning Python.
> I am wondering if there is any library that could use such adapter in C?
> Best regards,
> Olivier

devel/libftdi1
devel/libftdi

https://www.ftdichip.com/old2020/Products/ICs/FT2232H.html

it can work in "bitbang mode" that resembles parallel port read write,
and "mpsse" multi purpose serial engine than can clock in/out some
series of bytes so you can build a serial bus adapter (i.e. spi, i2c,
etc) that is faster than bitbanging the bus.

note voltages on your target and absolute maximum ratings of the chip.

note usb latency that limits the possible operations speed.

have fun! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info