Damjan Marion wrote:
>> I tried to execute completely the same set of MPSSE instructions
>> with libft2xx and it works well on both devices. I think that this
>> proves that it is something wrong with libftdi and not with hardware
>> or MPSSE code.
Are you using FTDI's official (closed-source) MPSSE code? If so, then I
don't think it proves anything, since you'd have to rewrite that for
libftdi. In any case, getting solid MPSSE code is less than trivial. I
have some posts about it in the past for SPI. Even if you did write your
own MPSSE code for use with d2xx, d2xx and libftdi are not drop-in
replacements for each other, so the problem could still be with the MPSSE
code.
>> BTW Another interesting issue is that I2C MPSSE works only
>> on INTERFACE_A on FT2232. When i change it to INTERFACE_B it fails....
Have you tried anything other than MPSSE on interface B? It should be noted
that, at least on the C/D part, there is no MPSSE on interface B (see
datasheet). Maybe some stuff still has to be ironed out now that two
interfaces support it on the H part?
Regards,
Michael
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|