Rene Doss
2018-04-30 12:10:44 UTC
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+***@developer.intra2net.com
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+***@developer.intra2net.com