This application note describes how to calculate the CRC checksum in I2C flow and differential pressure sensors.
The note describes the CRC‑8 error‑detection scheme used by Sensirion's SF04 CMOSens® flow and differential pressure sensors with an I²C interface. It explains when the CRC byte is transmitted, how a mismatch should be handled, and provides the polynomial and CRC parameters used.
The document details the bitwise CRC calculation, including XOR‑division and a generator‑model algorithm, and supplies a simple C++ routine for microcontroller implementation. Revision history and contact information for Sensirion worldwide are also included.
The CRC register initializes with the value 0x00.
No, the CRC check byte is only sent by the sensor after the master acknowledges both data bytes.