| Electronic Components Datasheet Search |
|
STS32 Datasheet(PDF) 11 Page - Sensirion AG Switzerland |
|
|
|||||||||||||||||||||||||||||
STS32 Datasheet(HTML) 11 Page - Sensirion AG Switzerland |
|
11 / 24 page ![]() www.sensirion.com / D1 Version 4 – December 2022 11/24 Condition Hex. code Repeatability Clock stretching MSB LSB High enabled 0x2C 06 Medium 0D Low 10 High disabled 0x24 00 Medium 0B Low 16 e.g. 0x2C06: high repeatability measurement with clock stretching enabled Table 8. Measurement commands in single shot mode. The first “SCL free” block indicates a minimal waiting time of 1 ms (clear blocks are controlled by the microcontroller, grey blocks by the sensor). 4.4 Readout of Measurement Results for Single Shot Method After the sensor has completed the measurement, the master can read the measurement result 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 (temperature) followed by a 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 sensor does not receive an ACK from the master after any byte of data, it will not continue sending data. After having received the checksum for the temperature value a NACK and stop condition should be sent (see Table 8). The I2C master can abort the read transfer with a NACK condition after any data byte if it is not interested in the CRC. No Clock Stretching When a command without clock stretching has been issued, the sensor responds to a read header with a not acknowledge (NACK), if no data is present. Clock Stretching When a command with clock stretching has been issued, the sensor responds to a read header with an ACK and subsequently pulls down the SCL line. The SCL line is pulled down until the measurement is complete. As soon as the measurement is complete, the sensor releases the SCL line and sends the measurement results. 4.5 Measurement Commands for Periodic Data Acquisition Mode In this mode one issued measurement command yields a stream of 16 bit temperature values. In periodic mode different measurement commands can be selected. The corresponding 16 bit commands are shown in Table 9. They differ with respect to repeatability (low, medium and high) and data acquisition frequency (0.5, 1, 2, 4 & 10 measurements per second, mps). Clock stretching cannot be selected in this mode. SCL free SCL free I2C Address Temperature MSB 16-bit command I2C write header I2C read header I2C Address I2C Address I2C read header measurement completed measurement ongoing measurement ongoing measurement ongoing SCL pulled low Temperature LSB 16-bit temperature value Checksum S S W P CRC P R R clock stretching disabled clock stretching enabled Command LSB Command MSB S P |
|
|
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 |