Electronic Components Datasheet Search
  English  ▼

X  

AN4159 Datasheet(PDF) 19 Page - STMicroelectronics

Part # AN4159
Description  Hardware and software guidelines for use of the LPS331AP
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4159 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button AN4159 Datasheet HTML 15Page - STMicroelectronics AN4159 Datasheet HTML 16Page - STMicroelectronics AN4159 Datasheet HTML 17Page - STMicroelectronics AN4159 Datasheet HTML 18Page - STMicroelectronics AN4159 Datasheet HTML 19Page - STMicroelectronics AN4159 Datasheet HTML 20Page - STMicroelectronics AN4159 Datasheet HTML 21Page - STMicroelectronics AN4159 Datasheet HTML 22Page - STMicroelectronics AN4159 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 27 page
background image
AN4159
Software
Doc ID 023639 Rev 3
19/27
All the needed coefficients to compute the quadratic pressure in the microcontroller are
available within the sensor registers. A reference C source code (using floating point or non-
floating point arithmetic) is available.
6.2.8
Self test
Devices can be self tested to a certain degree:
If the I2C slave address is not acknowledged, the power supply, I2C lines and pull-ups
are missing or the wrong slave address has been selected
If the device respond and the pressure is always fixed and out of range (e.g. 760 mb),
check that if you are using the auto reporting of the ODR, make sure that Tave and
Pave is in line with the specs and if u are in one shot mode, waiting for the data ready
bit flag before to do a read pressure, if all configurations are in line and the pressure is
still fixed at 760mb, the sensing element (PZT membrane/bonding wires between
sensing element and ASIC) is damaged. Do a registers dump for us to do a diagnostic.
This feature is available on FROG. LGA socket to UNICO adapter is available,
especially for failure analysis preliminary report.
A very big or “negative” pressure could come from bonding wire being cut by
mishandling of the device (bonding between sensing element and ASIC)
An example of C type self-test function is available
6.2.9
Questions and answers
Case 1:
“We are testing the barometer board through 4 wire SPI interface.
After setting CTRL_REG1 (0x20) to 0xF0, we are polling STATUS_REG (0x27) and
PRESS_OUT_XL/L/H, TEMP_OUT_L/H every second.
The value of STATUS_REG is 0x11 for every read.
The temperature values are updating correctly; it’s about 22.5 °C after the conversion, and
goes up if I put my hand on the board.
However, the pressure value is always constant at 0x2f8000 (PRESS_OUT_H &
PRESS_OUT_L & PRESS_OUT_XL); it does not seem to work properly.
Are there any additional configurations required?”
RES register was set to @0x10 = 0x7 A while ODR was set to (25 Hz, 25 Hz). Solved
by changing RES to 0x79 or ODR to (12.5 Hz, 12.5 Hz).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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