Yes, I have Pullups.

I use this Board.
https://download.mikroe.com/documents/add-on-boards/click/ftdi/ftdi-click-manual-v100.pdf


projekt/I2C/FTDI/ftdi-i2c-master> sudo ./i2csend 0x60
Port opened, resetting device...
Got 2 bytes FA AA
FTDI synchronized
Sending C0
Received: 1, FA
Received ACK



This is the signal with a NACK

http://192.168.1.105/crt_print.png?update=Update




Am 30.04.2018 um 19:20 schrieb Hannes Weisbach:
> 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 <[email protected]>:
>>
>>
>>
>>
>> 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 [email protected]   
>>
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to [email protected]   
>



--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to