Other Parts Discussed in Thread: MSP430FR5969,
Hello.
I have confirmed communications with the HDC2010 by reading both manufacturing ID registers. I am now trying to read temperature using single byte methods shown in the MSP430FR26xx I2C examples. I am receiving values of zero. Is there something I am missing?
I have used the following steps:
0) Reset. Check Mfg Id.
1) Write 0x0F (point to config register)
2) Write 0x01 (begin conversion)
3) Write 0x0F (continue pointing to config register)
4) Read value. (waiting for bit 0 to clear since the data sheet says this is a "Self-clearing bit when measurement completed")
Bit was cleared immediately so...
5) Write 0x00 (point to temp lsb)
6) Read one byte.
7) Write 0x01 (point to temp msb)
8) Read one byte.
Below is a logic analyzer trace of the I2C bus.
In this example, they used a timer to wait so I tried just waiting until the temperature values were non-zero. That did not work.
http://www.ti.com/product/HDC2010/toolssoftware
I also read this post which seemed to describe the same issue I am seeing, although I am setting the conversion bit. The handy flow chart seems to match what I am doing other than the timeout.