Hi,
silly question: did you put pull-ups on the bus lines?
Best regards,
Hannes
> Am 30.04.2018 um 14:10 schrieb Rene Doss <doss@xxxxxx>:
>
>
>
>
> Hallo,
>
> I what to use my FT2232H for a I2C Master. Should be a simple task with
> the following
>
> https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjUvr7M-OHaAhUILFAKHd_MDvIQFggqMAA&url=http%3A%2F%2Fwww.ftdichip.com%2FSupport%2FDocuments%2FAppNotes%2FAN_255_USB%2520to%2520I2C%2520Example%2520using%2520the%2520FT232H%2520and%2520FT201X%2520devices.pdf&usg=AOvVaw0oXv754fyrRV5xnAl7nnz4
>
> This document descibe what I need.
> I have written some code and see the I2C message on my oscilloscope.
> Thats so nice.
> But I get not the NACK it is allways an ACK. (no slave in the bus).
>
> Now is in in the function SendByteAndCheckACK() a function calls
> FT_GetQueueStatus.
>
> ftStatus = FT_GetQueueStatus(ftHandle, &dwNumInputBuffer);
>
> I do not see the function FT_GetQueueStatus in libftdi. Has this an
> other name?
> Or use FTDI an other polling mechanismus?
>
> René Doss
>
>
>
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|