2016-04-21 7:57 AM
DoclD027112 Rev2.
Description for CTRL_REG1 in Register description 8.6 DIFF_EN - Interrupt generation enable. Default value: 0 (0: interrupt generation disabled; 1: interrupt generation enabled) Text description is: The DIFF_EN bit is used to enable the computing of differential pressure output. It is recommended to enable DIFF_EN after the configuration of REF_P_H (0Ah), REF_P_L (09h), REF_P_XL (08h), THS_P_H (31h) and THS_P_L (30h). Question: Is this bit a DIFF_EN or is it an Interrupt Enable? Description for CTRL_REG2 in Register description 8.7 FIFO_MEAN_-DEC - Register address automatically incremented during a multiple byte access with a serial interface (I 2 C or SPI). Default value 1. (0: disable; 1 enable) There is no text description of the bit. Question: Is this bit related to the FIFO operation in any way (as the bit name implies) or is it simply a register addr increment for the serial bus access?2016-05-11 2:21 AM
Hi,
1.
DIFF_EN bit is used to enable the computing of differential pressure output. The pressure output value PRESS_OUT will contain the Reference pressure value data (REF_P) subtracted from the sensor output measurement. The reference pressure value is subtracted from the sensor output measurement, to detect a measured pressure beyond programmed limits ( THS_P). In order to enable the pressure interrupt, you have to configure the CTRL_REG3 (0x22h) too. So in order to enable the interrupt generation you have to enable DIFF_EN bit and configure CTRL_REG3 (see table 20 on datasheet).2.
Sorry, the FIFO_MEAN_-DEC bit description is not correct. Pls, See section 4.6 on datasheet for explanation of this bit. We are going to correct the datasheet for the next review. Regards AntonellaWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.