infernalheaven / libmpsse

Automatically exported from code.google.com/p/libmpsse
0 stars 0 forks source link

i2c ACK bit not read properly #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write any byte on the i2c bus, the first byte with the slave address will do;
2. Call getAck(context) function
3. Compare the result with what you see by monitoring the i2c bus (I use an 
oscilloscope)

What is the expected output? What do you see instead?
GetAck should return ACK(0), but it returnes NACK(1)

What version of the product are you using? On what operating system?
1.3 on Linux (Ubuntu)

Please provide any additional information below.
Even though on the scope I see an ACK (9th bit on the data line is low), the 
output of GetAck is always NACK. In fact it's NACK regardless of what I see on 
the scope.

Original issue reported on code.google.com by andrei.p...@klasonline.com on 7 Apr 2015 at 3:23