libftdi Archives
|
From: | Nick Teo <gt224@xxxxxxxxxxx> |
---|---|
To: | libftdi@xxxxxxxxxxxxxxxxxxxxxxx |
Date: | Tue, 22 Oct 2013 14:52:44 -0400 |
Hi all, I'm working on some code right now for the FT2232H chip to read registers on another IC using I2C. First I send a start command, a write command (containing the slave write address and start register) and then a stop command. I then build a buffer that contains the start command, then write command (for the slave read address), then a read command, and a stop command. When I send the buffer over to the FT2232H chip, I don't get any intelligible output back from it when I read it. However, when I send the start and write command and then usleep for 10 millisecond and then send the read command and stop, I get what I expected to get back. Thanks, Nick libftdi - see http://www.intra2net.com/en/developer/libftdi for details. |
Current Thread |
---|
|