On Thu, Feb 14, 2013 at 10:53 PM, Ori Idan <ori@xxxxxxxxxxxxxxxxx> wrote:
>> On Mon, Feb 11, 2013 at 7:15 PM, Ori Idan <ori@xxxxxxxxxxxxxxxxx> wrote:
>> > Is it possible to use libftdi for I2C communication of channels
>> > C and D?
>> >
>> > I have just found out from the FT4232H data sheet that channels
>> > C and D can only be used for serial or MPSSE and I wonder if
>> > I can implement I2C using MPSSE?
>
> I did not find there any mention of using 4 I2C ports on FT4232H chip
>
Hmm, your question is now different from your first question.
As per the datasheet, Channel C and D are actually not possible
to use MPSSE since MPSSE is only available for Channel A
and B. So you can not use MPSSE for I2C on Channel C and D.
Ref: http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT4232H.pdf
So you have now the only choice to use bitbang (synchronous
or asynchronous) for Channel C and D to try to implement I2C
using bitbang. I am not so sure how good the performance
it will be but from what I read it can be done on the
FT2232H and FT4232H.
Ref:
http://developer.intra2net.com/mailarchive/html/libftdi/2011/msg00316.html
http://libftdi.141977.n3.nabble.com/Bit-Bang-mode-hardware-bug-for-FT232-and-FT2232-chips-td889096.html
--
Xiaofan
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|