Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 38546

Forum Post: RE: Cant configure tmp102 temperature sensor

$
0
0

Hello Anja,

I'm reading your code and trying to understand it and I need to you to answer the following questions:

What does TM, EM and CR1 used for? I'm trying to correlate values assigned with TMP102 registers.

#define TMP102_CONF_TM 0x0200

#define TMP102_CONF_EM 0x0010

#define TMP102_CONF_CR1 0x0080

I'm also trying to locate where the I2C read/write Slave Address is defined. 

When you say "My i2c device is getting detected" do you mean you are getting an acknowledge (ACK) from TMP102 or do you mean your freescale imx6 platform is detecting the presence of a serial device? 

 

Regards,

Abhi


Viewing all articles
Browse latest Browse all 38546

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>