| Electronic Components Datasheet Search |
|
SHTC3 Datasheet(PDF) 8 Page - Sensirion AG Switzerland |
|
|
|||||||||||||||||||||||||||||
SHTC3 Datasheet(HTML) 8 Page - Sensirion AG Switzerland |
|
8 / 14 page ![]() www.sensirion.com Version 4 – December 2022 8/14 5.5 Sensor Behavior during Measurement and Clock Stretching In general, the sensor does not respond to any I2C activity during measurement, i.e. I2C read and write headers are not acknowledged (NACK). However, when clock stretching has been enabled by using a corresponding measurement command, the sensor responds to a read header with an ACK and subsequently pulls down the SCL line until the measurement is complete. As soon as the measurement is complete, the sensor starts sending the measurement results. During measurement, the sensor has a current consumption according to Table 3. For best possible repeatability of humidity and temperature measurements, it is recommended to avoid any communication on the I2C bus while the SHTC3 is measuring. For more information, see the application note “Optimization of Repeatibility”. 5.6 Readout of Measurement Results After a measurement command has been issued and the sensor has completed the measurement, the master can read the measurement results by sending a START condition followed by an I2C read header. The sensor will acknowledge the reception of the read header and send two bytes of data followed by one byte CRC checksum and another two bytes of data followed by one byte CRC checksum. Each byte must be acknowledged by the microcontroller with an ACK condition for the sensor to continue sending data. If the SHTC3 does not receive an ACK from the master after any byte of data, it will not continue sending data. The I2C master can abort the read transfer with a NACK condition after any data byte if it is not interested in subsequent data, e.g. the CRC byte or the second measurement result, in order to save time. In case the user needs humidity and temperature data but does not want to process CRC data, it is recommended to read the first two bytes of data with the CRC byte (without processing the CRC data) and abort the read transfer after reading the second two data bytes with a NACK. This procedure is more time efficient than starting two different measurements and aborting the read transfer after the first two data bytes each time. 5.7 Soft Reset The SHTC3 provides a soft reset mechanism that forces the system into a well-defined state without removing the power supply. If the system is in its idle state (i.e. if no measurement is in progress) the soft reset command can be sent to SHTC3 according to Table 12. This triggers the 14 http://www.nxp.com/documents/user_manual/UM10204.pdf sensor to reset all internal state machines and reload calibration data from the memory. Command Hex. Code Bin. Code Software reset 0x805D 1000’0000’0101’1101 Table 12 Soft reset command. 5.8 Reset through General Call Additionally, a reset of the sensor can also be generated using the “general call” mode according to I2C-bus specification14. This generates a reset which is functionally identical to using the nReset pin. It is important to understand that a reset generated in this way is not device specific. All devices on the same I2C bus that support the general call mode will perform a reset. Additionally, this command only works when the sensor is able to process I2C commands. The appropriate command consists of two bytes and is shown in Table 13. Command Code Address byte 0x00 Second byte 0x06 Reset command using the general call address 0x0006 Table 13 Reset through the general call address (clear blocks are controlled by the microcontroller, grey blocks by the sensor) 5.9 Read-out of ID Register The SHTC3 has an ID register which contains an SHTC3- specific product code. The read-out of the ID register can be used to verify the presence of the sensor and proper communication. The command to read the ID register is shown in Table 14. Command Hex. Code Bin. Code Read ID register 0xEFC8 1110’1111’1100’1000 Table 14 Read-out command of ID register. It needs to be sent to the SHTC3 after an I2C write header. Once the SHTC3 has acknowledged the proper reception of the command, the master can send an I2C read header and the SHTC3 submits the 16-bit ID followed by 8 bits of CRC. The structure of the ID is described in Table 15. S General Call Address 1 2 3 4 5 6 7 8 9 Reset Command 1 2 3 4 5 6 7 8 9 General Call 1st byte General Call 2nd byte |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |