SNAU250 November   2020 HDC2010 , HDC2021 , HDC2022 , HDC2080

 

  1.   1
  2.   2
    1.     3
    2.     4
      1.      5
      2.      6
      3.      7
  3.   8
    1.     9
    2.     10
      1.      11
      2.      12
  4.   13
    1.     14
    2.     15
      1.      16
      2.      17
      3.      18
    3.     19
      1.      20
      2.      21
      3.      22
      4.      23
    4.     24
    5.     25
  5.   26
  6.   27
    1.     28
    2.     29
    3.     30
    4.     31
    5.     32
    6.     33
    7.     34
  7.   35

Reading Procedure

To trigger the start of the measurements, the bit MEAS_TRIG is set to 1 in MEAS_CONFIG register (0x0F). The device will exit from sleep mode and will start to periodically convert the measurements based on the selected sample rate in the CONFIG register (0x0E). After each conversion, the device will update the measurement related registers and re-enter sleep mode. The register can be accessed through a pointer mechanism. When reading from the HDC20XX, the current pointer location is used to determine which register to read – the pointer location points to the last written register address. To change the address for a read operation, a new value must be written to the pointer. This transaction is accomplished by issuing the slave address byte with the R/W bit set to 0, followed by the pointer byte. The pointer auto increments, therefore it is possible to read all 4 bytes of information related to Temperature and humidity in a single transaction, this is shown in Figure 3-2 and Figure 3-3.