End-of-Conversion and Interrupt Pin Functionality in ABP2 Series I2C Board Mount Pressure Sensors
Technical Note
Introduction
This Technical Note addresses the EOC (End of Conversion)/INT (Interrupt) pin functionality available with the I²C versions of the ABP2 Series board mount pressure sensors.
1.0 EOC/INT Pin Functionality
The EOC pin may be programmed to operate either as a measurement busy, end-of-conversion indicator, or as a configurable interrupt indicator.
1.1 EOC Indicator (Default Configuration)
The EOC pin, in the default configuration, indicates the completion of a measurement cycle. It is set to "high" when a measurement and calculation have been completed and the data is ready to be clocked out. One way to use this is to periodically check the state of the EOC pin using a microcontroller.
1.2 Interrupt Indicator (Customer-Specific Configuration)
The EOC pin may also be configured as an interrupt output pin. In the interrupt mode, the now INT pin changes its logic state based on a numerical comparison between the measurement and a preset trigger threshold(s). The trigger threshold may be set with multiple modes as shown in Figure 2. Honeywell customers often use this feature as an alarm.
Figure 1. EOC Operation Timing Diagram
SCL Clock: XXXXXXXXXXXXXXXXX SDA Measurement request: Measurement data EOC Pin: 1 (5 ms typical) 0
2.0 Operating Modes
The ABP2 Series I2C sensors may be operated in two modes: sleep or cyclic. The functionality of the EOC/INT pin differs depending upon the operating mode.
2.1 Sleep Mode (Default Configuration)
In sleep mode, the state of the EOC/INT pin only updates after the completion of a measurement command. The state of the EOC output signal is reset to logical zero at the beginning of each new measurement, even though the interrupt trigger thresholds are established correctly at the end of each measurement. If configured as an EOC, the pin sets to logic state high after the conversion is complete. If configured as INT, the pin's logic state depends upon the measured value.
To obtain a true sense of whether or not the interrupt threshold has been crossed, adding a delay of several clock cycles (5 ms is typical) between sending the command and sampling the EOC/INT pin state is recommended. (See Figure 1.) The maximum possible update rate in this mode is 200 SPS.
2.2 Cyclic Mode (Customer-Specific Configuration)
The sensor takes periodic measurements at an interval of 125 ms to 4000 ms as shown in Table 1.
SLEEP INTERVAL (ms) | TYPICAL UPDATE RATE (SPS) |
---|---|
125 | 7.9 |
250 | 3.9 |
500 | 1.9 |
1000 | 0.99 (1 sample in 1 s) |
2000 | 0.49 (1 sample in 2 s) |
4000 | 0.249 (1 sample in 4 s) |
The sensor periodically wakes up and conducts another measurement according to the setting for the sleep duration. During this sleep interval, the state of the EOC/INT pin is not updated and latched to the previous state.
The cyclic measurement command must be sent at sensor power-up. Any power interrupt/cycling during operation will interrupt the measurement update. A cyclic measurement command must then be sent to re-initiate the measurement cycle.
Once in cyclic mode, no measure command needs to be sent to the sensor for taking the measurement.
The sensor provides measurement data immediately upon request. The state of the EOC/INT pin is continuously being updated without any external intervention. There are, however, two situations when the sensor does not detect the activity:
- When, during the wait/sleep time, the pressure level momentarily exceeds the trigger threshold and returns to its previous state.
- The pressure level rapidly jumps between two trigger thresholds during a time interval that is smaller than the time interval needed to take a measurement.
The settings for threshold and sleep interval may be set at the Honeywell factory upon customer request, or may be programmed by customers themselves with a command set provided by Honeywell. Please contact Honeywell customer service for more information.
Figure 2: Interrupt Modes of Operation, Programmable Trigger Thresholds
MODE 1: Measurement > Threshold, INT = 1 otherwise INT = 0 Pressure (%FS): 80 70 60 50 40 30 20 10 0 EOC/INT Pin State: [graph showing pressure and pin state over time] Trigger threshold, Measured pressure
MODE 2: Measurement < Threshold, INT = 1 otherwise INT = 0 Pressure (%FS): 80 70 60 50 40 30 20 10 0 EOC/INT Pin State: [graph showing pressure and pin state over time] Trigger threshold, Measured pressure
MODE 3: Threshold 1 > Measurement > Threshold 2, INT = 1 otherwise INT = 0 Pressure (%FS): 80 70 60 50 40 30 20 10 0 EOC/INT Pin State: [graph showing pressure and pin state over time] Trigger threshold 1, Trigger threshold 2, Measured pressure
MODE 4: Threshold 1 < Measurement < Threshold 2, INT = 1 otherwise INT = 0 Pressure (%FS): 80 70 60 50 40 30 20 10 0 EOC/INT Pin State: [graph showing pressure and pin state over time] Trigger threshold 2, Trigger threshold 1, Measured pressure
For More Information
Honeywell Advanced Sensing Technologies services its customers through a worldwide network of sales offices and distributors. For application assistance, current specifications, pricing or the nearest Authorized Distributor, visit our website or call:
USA/Canada: +1 302 613 4491
Latin America: +1 305 805 8188
Europe: +44 1344 238258
Japan: +81 (0) 3-6730-7152
Singapore: +65 6355 2828
Greater China: +86 4006396841
Website: honeywell.com
Warranty/Remedy
Honeywell warrants goods of its manufacture as being free of defective materials and faulty workmanship during the applicable warranty period. Honeywell's standard product warranty applies unless agreed to otherwise by Honeywell in writing; please refer to your order acknowledgement or consult your local sales office for specific warranty details. If warranted goods are returned to Honeywell during the period of coverage, Honeywell will repair or replace, at its option, without charge those items that Honeywell, in its sole discretion, finds defective. The foregoing is buyer's sole remedy and is in lieu of all other warranties, expressed or implied, including those of merchantability and fitness for a particular purpose. In no event shall Honeywell be liable for consequential, special, or indirect damages.
While Honeywell may provide application assistance personally, through our literature and the Honeywell web site, it is buyer's sole responsibility to determine the suitability of the product in the application.
Specifications may change without notice. The information we supply is believed to be accurate and reliable as of this writing. However, Honeywell assumes no responsibility for its use.