Worked like a champ! Thanks.
I have the Logic Analyzer data in CSV format to upload here is that ok? or is there a better way to get it to you guys?
Strange Data on SDA/SCL
Started by nturpin77, Feb 21 2011 03:07 PM
25 replies to this topic
#21
Posted 01 April 2011 - 12:41 PM
#22
Posted 01 April 2011 - 01:12 PM
D
#23
Posted 01 April 2011 - 01:24 PM
No, it does not use I2C, it is just 'pin toggling'. You'd need to instantiate an I2CDevice object and pass some transactions to its Execute method - just search the forums, there is a lot of examples available. Do you have any device attached to I2C pins? With no device attached you will see only start of the communication (control byte) on the bus, it will not continue until the device responds with acknowledgement. Also check the pull-up resistors on the signal lines :-)Does this bit of code activate the I2C pins? When I hook up the logic analyzer it doesnt see anything there for the I2C.
#24
Posted 01 April 2011 - 01:40 PM
Ok so I am running the actual BMP085 Program that was working before. It still works but the data is still all over the place and I have the logic analyer in place. I will attach the I2C export from the logic analyzer, not sure if that will tell anyone anything..... Its just a bunch of numbers and ack/nak to me lol
Attached Files
#25
Posted 01 April 2011 - 01:44 PM
Also here is a screenshot of a reading not sure if that helps either......
screenshot.png 10.37KB
22 downloads
#26
Posted 05 April 2011 - 12:01 PM
is it possible that there is an issue with the clock? If the timing is off will that affect the way the I2C is read and data distributed/calculated? Is there a way to test the internal clock?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users