04-25-2012 03:44 PM
I wasn't sure if you were having one or two problems (pullups and address)
0x69 is b1101001, which has the lowest bit set, so I wasn't sure if that could be one of the issues. If it was an issue, it would be the lowest bit that is "wrong", hence 0x34. However, as you found it was actually the pull-ups and not the address.
FYI, 0x34 could be 6 or 7 bits... b110100 or b0110100 (MSB could be a zero).
Glad it was just the pull-ups.
07-08-2015 08:53 AM
Thank you for the information. I have similar problem, i get the error message Error -301744 occurred at NI-845x I2C Run Script.vi:6110001,
Possible reason(s):
NI-845x: The I2C master lost arbitration and failed to seize the bus during transmission of an address+direction byte.
the diffrance is that i'm using NI-8452 that include pull up ressitor and i make sure to enable them by enabling 'Use Internal I2C Pullup Resistor' filed in 'NI-845x Device' poprty node.
I set I/O voltage level to 3.3,
I double check the adress, i have 7 bit adress defined in user manual of my device, 64 dec or 1000000 binary
as specificed in my device user manual, i provide it Vdd of 5v from NI-8452 pin 40 and also GND in pin 7.
offcourse SDA in pin 5 and SCL in pin 9.
I think i might have a problem with pull up referance voltage becuse the sensor specified it need to be 5v but NI-8452 use up to 3.3V.
but the low limit for high signal is 2.5v so it should work
my digarm
another option i tried is using I2c script blocks
Thank You
Or Hirshfeld
אור הירשפלד
07-09-2015 10:13 AM
I re-wired the sensor to the i2c and it's working now.