libftdi Archives

Subject: Re: Issues with MPSSE on FT232H

From: Damjan Marion <damjan.marion@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 18 Aug 2011 10:25:47 +0200
On Aug 18, 2011, at 10:06 AM, Uwe Bonnes wrote:

>>>>>> "Damjan" == Damjan Marion <damjan.marion@xxxxxxxxx> writes:
> 
>    Damjan> Hi,
> 
>    Damjan> I have issues running MPSSE I2C code on new FT232H.
> 
>    Damjan> My code works well with FT2232H but it fails to read data from
>    Damjan> FT232H.
> 
> Do you see the waveform with a scope?

I didn't try.

> 
> Do you use the FT232H new I2cC features?
> 7 FT232H ONLY

No, I run completely the same code on both. Only thing I change is USB PID. 

> 
> 7.1 Set I/O to only drive on a '0' and tristate on a '1'
> 0x9E
> 
>    Damjan> I tried to execute completely the same set of MPSSE instructions
>    Damjan> with libft2xx and it works well on both devices. I think that
>    Damjan> this proves that it is something wrong with libftdi and not with
>    Damjan> hardware or MPSSE code.
> 
> Can you provide code to test on a UM232H?

http://web.me.com/dmarion/ftdi/bmp085.c

I made my own board, my board schematics is:
http://web.me.com/dmarion/ftdi/ft232h_mini_v2.pdf

> 
>    Damjan> Has anybody else tried to play with this new FT232H and libftdi?
> 
>    Damjan> BTW Another interesting issue is that I2C MPSSE works only on
>    Damjan> INTERFACE_A on FT2232. When i change it to INTERFACE_B it
>    Damjan> fails....
> 
> Only with libftdi or also with FTD2XX?

Didn't try with FTD2xx.


Thanks,

Damjan

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

Current Thread