This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HDC2010: Application Report SNAA312 - Flowcharts - Measurement Start

Part Number: HDC2010

Application Report SNAA312–August 2018
"Programming the HDC20X0 Devices"

All of the flowcharts show first writing Register 0x0F (Measurement Configuration) as zero in the 'Startup Sequence', and then writing 0x01 to start the measurement.

Is it really necessary to separate writing the "configuration" bits [7:1] from writing the 'Measurement Trigger bit [0] ?

eg, if I were to write 0xA1, would that immediately start 8-bit measurements of both Temperature & Humidity ?

  • Dear Andy -
    I think the recommendation to write a 0x'X'0 to the register 0x0F is just a logical/perhaps even responsible programming step, to ensure that a measurement was not already started and that the other bits are in a known state, too - in practice and experimentation, based on your question - the reality is that it is probably not 100% required. I found that setting up the part to generate an interrupt (at any of the possible resolutions) when measurement was ready, then issuing a 0xA1 (in this case i set up the part exactly as you asked - for the lower resolution and for temp & humidity) resulted in the interrupt firing as expected and results being ready in registers 0x00 through 0x03, as expected.

    hope that helps you out.
  • Thanks.

    My main concern was that this might be one of those cases where all other bits are ignored when the MEAS_TRIG bit is set.

    That is the impression which the flowcharts give.

  • Dear Andy -
    the DRDY/INT pin does reflect the status of only one interrupt bit at a time. Please see section 7.3.4 in the datasheet (page 9) here:
    www.ti.com/.../hdc2010.pdf