SNAU250 November 2020 HDC2010 , HDC2021 , HDC2022 , HDC2080
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.