SNAS778D June 2021 – July 2024 HDC3020 , HDC3021 , HDC3022
PRODUCTION DATA
This set of commands triggers a single measurement acquisition of temperature, followed by relative humidity. The HDC302x transitions from sleep mode into measurement mode, and upon measurement completion, returns to sleep mode. There are four possible Trigger On Demand commands, each one corresponding to a different conversion time (and therefore, different levels of power consumption). Table 7-4 shows these commands. After trigger on demand command is issued the host must provide the sensor enough time to finish the ordered conversion before starting the subsequent data read.
The measurement readout from these commands is obtained through an I2C read sequence, as previously documented in I2C Read - Retrieve Single Data Result and I2C Read - Retrieve Multi Data Result. The format of the measurement readout is two bytes of data representing temperature, followed by one byte CRC checksum, and then another two bytes of data representing relative humidity, followed by one byte CRC checksum as illustrated in Figure 7-9.
If the I2C controller attempts to read the measurements results prior to new measurement's completion, the HDC302x responds with a NACK condition, as illustrated in Figure 7-10.