libftdi Archives

Subject: Re: ftdi_set_interface

From: bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 26 Oct 2013 11:57:34 +0200
>>>>> "pluto" == pluto mars <plutomars955@xxxxxxxxx> writes:

    pluto> Hi All, I am new to programming FTDI. I was wondering what this
    pluto> set interface is meant ? What is INTERFACE_A, INTERFACE_B and so
    pluto> forth. It says to tell which channel of the chip you want to
    pluto> select. What is channel of a chip is meant with ? I have a UM232H
    pluto> chip. How can I sort out what channels it has ?? or what
    pluto> interface it has. In the datasheet I read something like JTAG,
    pluto> SPI and I2C interface, is this what is meant by interface ?? IF
    pluto> yes how do I know which correspond to INTERFACE_A and so
    pluto> forth. Sorry if this is a very stupid beginners questions.

FT232 has only one Inteface. Use INTERFACE_A or INTERACE_ANY.
FT2232 has two interfaces and you must specify to what interface your
hardware is connected.
FT4232 has even 4 interfaces...

-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread