Tcn75a i2c

Status
Not open for further replies.

Why do you set the pointer here! Do you not set the pointer when you read.. From the datasheet it looks like you MUST set the pointer each read.
 
Do you have ISIS? The only model I can use is the DS1621.. The read is almost identical.... Using your code it works ok.
 
No I don't. As I said, the code does work. But I only get a 9 bit reading unless I run the init routine twice. Then I get the desired 12 bit reading.
 
I'm wondering if noise is wobbling the I2C bus on bootup.. You can put a false start and address and the a stop to stabilize the bus before your init()
 
Yes, that's a good point. The circuit is currently constructed on breadboard with long lengths of kynar wire attached to the TCN75A (it's an 8 pin MSOP).
 
If that's the case... lower your pullup values to around 2.4k
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…