![ST LPS331AP Скачать руководство пользователя страница 2](http://html1.mh-extra.com/html/st/lps331ap/lps331ap_application-note_1355425002.webp)
Contents
AN4159
2/27
Doc ID 023639 Rev 3
Contents
1
Pressure sensor demonstration boards . . . . . . . . . . . . . . . . . . . . . . . . . 4
2
Hardware (designing PCB schematics and layout) . . . . . . . . . . . . . . . . 6
2.1
LPS331AP device package, interconnect and polarization . . . . . . . . . . . . 6
2.1.1
Typical application circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3
Pin mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.0.1
Pressure sensor PCB layout and solder recommendations . . . . . . . . . . 8
4
PCB design rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1
Power supply and sequencing, fail-safe I/Os . . . . . . . . . . . . . . . . . . . . . . 10
5
Using the device step-by-step, from basic to advanced . . . . . . . . . . . 11
5.1
First time bring-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1.1
One shot mode measurement sequence . . . . . . . . . . . . . . . . . . . . . . . . 11
5.1.2
Power optimization and estimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6
Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.1
Device register list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.2
Hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.2.1
One shot mode conversion time estimation . . . . . . . . . . . . . . . . . . . . . . 15
6.2.2
Reference S/W to get started with LPS331AP . . . . . . . . . . . . . . . . . . . 15
6.2.3
Pressure to altitude conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.2.4
Auto mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.2.5
SW filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.2.6
BOOT/SWRESET bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.2.7
Absolute accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.2.8
Self test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.2.9
Questions and answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26