Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TIDC-CC2650STK-SENSORTAG: using cc2650 Sensortag Register Service with hdc1000 sensor

$
0
0

Part Number:TIDC-CC2650STK-SENSORTAG

Hello everybody,

thanks for reading.

I am developing an Android app with for the cc2650 Sensortag. I want to add another humidity temperature HDC1000 sensor to the circuit.

I want to use the Sensortag register service for this purpose, so, at first, I want to read temperature data from the existent hdc1010 using the register service instead of the hdc1010 existing service.

looking at the instructions on the sensortag user guide, reporting this example to access the optical sensor

Reading OPT3001 "manufacturer ID" register
  • Write 00:45 to Register Device ID (this selects I2C bus 0 and Optical sensor)
  • Write 02:7E to Register Device Address (this selected OPT3001 register "Manufacturer ID", access length 2)
  • Read from Register Data - this should yield the result 54:49 (The manufacturer ID of Texas Instruments)

I am able to read the HDC1010  "manufacturer ID" register with this commands, see below the register list.

  • Write 00:43 to Register Device ID
  • Write 02:7E to Register Device Address
  • Read from Register Data - this yields the result 54:49 (The manufacturer ID of Texas Instruments)

the problem is that I can not read the 0x00 register, the temperature one.

My sequence is:

  • Write 00:43 to Register Device ID
  • Write 02:00 to Register Device Address
  • wait for some time interval (I have tried several, from 10ms to 500ms and 1s, no success)
  • Read from Register Data - I always get the decimal values 255 255 for the two bytes at address 0x00, wrong.

Reading the 0x02 configuration service I get decimal 24 for the first byte, that means if I am correct bit 12 and 11 are set to 1.

Your help will be very appreciated, thanks.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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