ST STEVAL-IFS001V1 User manual

April 2006 Rev 1 1/14
UM0223
User manual
STEVAL-IFS001V1 evaluation kit with MEMS
Introduction
This user manual gives an overview of the use of STEVAL-IFS001V1 kit with MEMS (Micro-
Electro-Mechanical System) evaluation board.
As shown in the next section, this evaluation board consists of the DK3420 (uPSD
evaluation board) and the ST-MEMS-xx-EVAL (MEMS evaluation module). When connected
together as an evaluation kit, MEMS applications can be evaluated and measured through a
USB connection to a PC. A brief introduction to the MEMS software, MEMS USB Reader
7.x, is also provided.
MEMS can be used in a variety of vibration sensor and intelligent movement estimator
situations, for example:
■Vibration analysis
– Motor control
– High buildings
■Control of position
– Stability system for caravans
– Stability for cable cars
■Sport
– Sport shoes
– Speedometers
■Automotive
–Blackbox
– Intelligent driver sensors
– Car alarms
■Navigation
– Dead-reckoning for GPS
■Logistics
– Blackbox for containers (sensoring)
■Robotics
– Control of robot arms (welding robots)
■Security
– Vibration detection (broken window alarm)
www.st.com
Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)
Contents STEVAL-IFS001V1
2/14
Contents
1 Overview of MEMS evaluation boards . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 I2C and SPI use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1 I2C and SPI connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Recommendations for I2C use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Recommendations for SPI use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 uPSD software use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1 Digital or analog module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2 LED signalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.3 Selection of operation mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.4 On-line measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.5 Off-line measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.6 Read out data from Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5 MEMS software - MEMS_USB_Reader_7x . . . . . . . . . . . . . . . . . . . . . . 12
5.1 Initial window and features overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.2 MEMS values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.3 Butterworth filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.4 FFT analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Obsolete Product(s) - Obsolete Product(s)
STEVAL-IFS001V1 Overview of MEMS evaluation boards
3/14
1 Overview of MEMS evaluation boards
Figure 1. STEVAL-IFS001V1
This consists of DK3420 and ST-MEMS-XX-EVAL
Figure 2. DK3420 - USB Demonstration board with µPSD Turbo Plus
For a pin description, see Section 2. Further information is available in the uPSD34xx
datasheet and online, from http://www.st.com

Obsolete Product(s) - Obsolete Product(s)
Overview of MEMS evaluation boards STEVAL-IFS001V1
4/14
Figure 3. ST-MEMS-DQ-EVAL
The MEMS module ST-MEMS-DQ-EVAL is designed for the evaluation of a MEMS
application which can be used in a variety of vibration sensor and intelligent movement
estimator situations.
For a pin description, see Section 2. Additionally, a description of I2C and SPI use is
provided in Section 3.
Additionally, for further information on this module, refer to the user manual UM0152 “MEMS
Module STMEMSDQ-EVAL1 Dedicated to uPSD Evaluation Kit DK34XX”.
Features include:
●LIS3LV02DQ (QFN28)
●I2C or SPI
●3x buttons
●3x LEDs

Obsolete Product(s) - Obsolete Product(s)
STEVAL-IFS001V1 Overview of MEMS evaluation boards
5/14
Figure 4. ST-MEMS-AQ-EVAL (check for availability)
Components include:
●LIS3L02AQ (QFN44)
●3x analog outputs
●3x buttons
●3x LEDs

Obsolete Product(s) - Obsolete Product(s)
Pin description STEVAL-IFS001V1
6/14
2 Pin description
Legend:
●AINx - Analog input x
●SPC - SPI clock
●SDI - SPI data input (view from uPSD)
●SDO - SPI data output (view from uPSD)
●CS - SPI chip select
●UART0out - UART data out
●UART0in - UART data in
●SDA - I2C data
●SCL - I2C clock
Table 1. DK3420 - USB demonstration board with µPSD Turbo Plus and ST-MEMS-
DQ-EVAL
H1 5V PB0 PB2 PB4 PB6
LED6 RESET 3.3V
P1.5
Ain5
BUT5
P1.3
Ain3
P1.1
Ain1
H10 GND PB1 PB3 PB5
LED5
PB7
LED7
P1.6
Ain6
BUT6
P1.7
Ain7
BUT7
P1.4
Ain4
P1.2
Ain2
P1.0
Ain0
H3 PC2 P4.6
SDO
P4.4
SPC P4.2 P4.0 P3.3
P3.1
UART0
out
P3.5 P3.7
SCL GND
H30 GND P4.7
CS
P4.5
SDI P4.3 P4.1
P3.0
UART0
in
P3.2 P3.4 P3.6
SDA GND
H1 & H10 connections
H3 & H30 connections

Obsolete Product(s) - Obsolete Product(s)
STEVAL-IFS001V1 I2C and SPI use
7/14
3 I2C and SPI use
Figure 5. Board schematics for ST-MEMS-DQ-EVAL
3.1 I2C and SPI connections
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
3V33V3
GNDGND
3V3 3V3
P17
3V3
GNDPB5
3V3
PB6PB7
P16 P152V4
GND
CS
3V3
SDA_SDI
SCL_SPC
PB0
VUSB
PB2
PB4 CK
RSTn
PB6 PB6
Ai5 P15
V3.3 3V3
Ai3
Ai1
P4.6 SDA_SDI
P3.5
P4.2
P3.7 SCL_SPC
PC2
P3.1
P4.0
P4.4 SCL_SPC
GND GND
P3.3
P4.3
GNDGND
GNDGND GNDGND
P4.5SDO
P3.0
P4.1
P4.7CS
SDA_SDISDA_SDI P3.6SDA_SDI
P3.4
P3.2RDYINT
PB1
Ai0
PB7PB7
Ai4
Ai2
Ai6P16
GNDGND
PB5PB5
Ai7P17
PB3
GND
GND GND
2V4
2V4 2V4
RDYINT
SDO
SDA_SDI
SCL_SPC
CS
CK
GNDGND
2V43V3
2V4
GND
3V3 2V42V4
Title
Size Document Number Rev
Date: Sheet of
STEVAL-IFS001V1 0.1
Digital MEMS module
A
11Friday, March 03, 2006
Title
Size Document Number Rev
Date: Sheet of
STEVAL-IFS001V1 0.1
Digital MEMS module
A
11Friday, March 03, 2006
Title
Size Document Number Rev
Date: Sheet of
STEVAL-IFS001V1 0.1
Digital MEMS module
A
11Friday, March 03, 2006
R15
10k
R15
10k
R34
4k7
R34
4k7
R27
330
R27
330
1
2
3
4
5
6
7
8
9
10
H1
CON10
H1
CON10
1
2
3
4
5
6
7
8
9
10
H30
CON10
H30
CON10
12
B5B5
C1
100nF
C1
100nF
R17
10k
R17
10k
NC
1
GND
2
VDD
3
reserved
4
GND
5
RDY/INT
6
NC
7
NC
8
SDO
9
SDA/SDI/SDO
10
VDD_IO
11
SCL/SPC
12
CS
13
NC
14
NC 15
CK 16
GND 17
reserved 18
VDD 19
reserved 20
NC 21
NC 22
NC 23
NC 24
NC 25
NC 26
NC 27
NC 28
U8
LIS3LV02DQ
U8
LIS3LV02DQ
R25
330
R25
330
R16
10k
R16
10k
1
2
3
4
5
6
7
8
9
10
H10
CON10
H10
CON10
R36
4k7
R36
4k7
1
2
3
4
5
6
7
8
9
10
H3
CON10
H3
CON10
C2
100nF
C2
100nF
C4
100nF
C4
100nF
L6L6
R37
4k7
R37
4k7
L7L7
R35
0
R35
0
12
B7B7
12
B6B6
C3
100nF
C3
100nF
L5L5
R26
330
R26
330
3
Vin
1
Vout
2
GND
LE25
U11 LE25_TO92
LE25
U11 LE25_TO92
Signal (on MEMS) I2C (on uPSD) SPI (on uPSD)
SCL_SPC P3.7 P4.4
SDO NC P4.5
SDA_SDI P3.6 P4.6
CS NC P4.7

Obsolete Product(s) - Obsolete Product(s)
I2C and SPI use STEVAL-IFS001V1
8/14
3.2 Recommendations for I2C use
●With I2C, the use of R36 & R37 pull-up resistors (4k7) is advised
●The use of resistor R34 (10k) is not normally necessary as uPSD has an internal pull-
up of around 100k.
●Because SCL_SPC and SDA_SDI are used for I2C and SPI together, care should be
taken with the following instructions:
– First (important), disable SPI and set the SPI pins as floating inputs
– Set P4.7 (CS) as GPIO output and write ‘1’ to activate I2C on the MEMS chip
–EnableI
2C on your micro and start the communication
3.3 Recommendations for SPI use
●With SPI, the use of resistors R36, R37 is NOT advised
●The use of resistor R34 (10k) is not normally necessary as uPSD has an internal pull-
up of around 100k.
●Because SCL_SPC and SDA_SDI are used for I2C and SPI together, care should be
taken with the following instructions:
– First (important), disable I2C and set the I2C pins as floating inputs
– Activate your SPI. P4.7 is a part of SPI and should be ‘0’, otherwise set P4.7 (CS)
as GPIO output and write ‘0’ directly. This instructs the MEMS chip to use SPI
– Start the communication

Obsolete Product(s) - Obsolete Product(s)
STEVAL-IFS001V1 uPSD software use
9/14
4 uPSD software use
4.1 Digital or analog module
The program automatically detects whether a module is digital or analog.
The recognition is based on the value on pin P3.3. A digital module has this pin
unconnected which is the same as logic ‘1’ because of an internal uPSD pull-up. Analog
modules must employ a pull-down resistor to enable the detection of logic ‘0’.
4.2 LED signalization
●LED5 (green) blinking
Data is being read. Digital modules are using I2C, analog modules are using ADC.
●LED6 (yellow) blinking
This indicates USB communication, data is being sent.
●LED7 (red) blinking
The program is running, this led is toggled in main.
Immediately after the module is plugged in, all LEDs are lit while initialization is in process.
When uPSD, the peripherals (I2C,ADC, etc) and MEMS are initialized, the LEDs are turned
off. Immediately following this, the main starts and LED7 blinks.
●If LED7 doesn't start blinking, the initialization will have failed.
a) Check hardware
b) Try to restart the PC
c) Re-program uPSD
d) If still not working, contact support
4.3 Selection of operation mode
During the initialization an operation mode can be selected by pressing buttons:
●no button is pressed
On-line measurement (default)
●BUT5 is pressed
Off-line measurement (it erases the Flash for new measurements which takes around
5s for the 256KB flash)
●BUT6 is pressed
Read out data from Flash (useful after the off-line measurement)
●BUT7 is pressed
No effect.
Note: Press the button first and then plug the module into the USB.

Obsolete Product(s) - Obsolete Product(s)
uPSD software use STEVAL-IFS001V1
10/14
4.4 On-line measurement
During on-line measurement, data is read from MEMS and sent via USB to the PC.
Logically, all three LEDs should blink. In this mode, the buttons have the following meanings:
●no button is pressed
uPSD sends data from MEMS to the PC (a packet with MEMS data)
●BUT5 is pressed
No effect.
●BUT6 is pressed
No effect.
●BUT7 is pressed
In the case of digital MEMS, uPSD reads its registers and sends this information via
USB (a packet with registers)
4.5 Off-line measurement
Ready to start the measurement. Normally LED7 blinks.
●no button is pressed
No effect.
●BUT5 is pressed
Pause/Stop measurement.
●BUT6 is pressed
Start measurement, LED5 blinks to indicate data is being read and stored (it stops
automatically when the Flash is full).
●BUT7 is pressed
If measurements have not started, the sample frequency can be changed. Possible
frequencies are 40 or 160 Hz. The selection is indicated by the LED7 blinking speed.
4.6 Read out data from Flash
Ready to start sending data stored in Flash via USB. Normally LED7 is blinking.
●no button is pressed
No effect
●BUT5 is pressed
Start sending data. uPSD sends data from Flash and LED6 blinks (a packet with
MEMS data). It reads the entire Flash. Any part which doesn't contain relevant MEMS
data you will get 0xFF. After the end of the Flash range, 0xFF will also be sent. 0xFF
Off-line measure time @40Hz @160Hz
128KB (uPSD3433) 576s 136s
256KB (uPSD3434) 1092s 273s

Obsolete Product(s) - Obsolete Product(s)
STEVAL-IFS001V1 uPSD software use
11/14
values translate as <-1,-1,-1> readings on the PC MEMS USB Reader, which should
be considered to detect both false readings and end of Flash data.
●BUT6 is pressed
No effect.
●BUT7 is pressed
No effect.

Obsolete Product(s) - Obsolete Product(s)
MEMS software - MEMS_USB_Reader_7x STEVAL-IFS001V1
12/14
5 MEMS software - MEMS_USB_Reader_7x
5.1 Initial window and features overview
Figure 6. Screenshot of initial screen of MEMS USB Reader 7.1
Main features available in the MEMS USB Reader include:
●MEMS values in time graph
●Butterworth filters
●FFT analysis
5.2 MEMS values
Figure 7. Screenshot showing MEMS values in time graph
Copy data
to clipboard
Paste from clipboard into Excel

Obsolete Product(s) - Obsolete Product(s)
STEVAL-IFS001V1 MEMS software - MEMS_USB_Reader_7x
13/14
Use the MEMS Values screen to:
●Copy data into the Excel directly via clipboard
●Copy the graphic figure (graph) as a metafile via clipboard
●Save data into a CSV file
5.3 Butterworth filters
Figure 8. Screenshot of the filtering window with Butterworth filter options
Filtering options include:
●Butterworth low-pass & hi-pass filters order 1-4
●Butterworth band pass filter order 1
●It's possible to hide the axis (currently, only the Y-Axis is shown)
5.4 FFT analysis
Figure 9. Screenshot of FFT analysis
FFT (Fast Fourier Transform) analysis features and options include:
●FFT for 16, 32, 64, 128 samples
●Allows FFT zoom (filling with zeros)
●Allows to change FFT overlap
●Copy of the figure to clipboard as a metafile

Obsolete Product(s) - Obsolete Product(s)
STEVAL-IFS001V1
14/14
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZE REPRESENTATIVE OF ST, ST PRODUCTS ARE NOT DESIGNED,
AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS,
NOR IN PRODUCTS OR SYSTEMS, WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR
SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2006 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
Table of contents
Other ST Motherboard manuals

ST
ST STEVAL-IFS012V1 User manual

ST
ST STM32H753I-EVAL User manual

ST
ST EVAL-L9001 User manual

ST
ST STA304 User manual

ST
ST SPC564A-DISP Installation and operating instructions

ST
ST STEVAL-IPE005V1 User manual

ST
ST STEVAL-SP1ML915 User manual

ST
ST STEVAL-PCC001V1 User manual

ST
ST STR910-EVAL User manual

ST
ST UM1935 User manual

ST
ST SPC58XXADPT144S REV.B User manual

ST
ST EVAL-FDA903U-SA User manual

ST
ST STEVAL-IHM022V1 User manual

ST
ST STM32F401 Discovery User manual

ST
ST STSW-S2LP-KNX-DK User manual

ST
ST STEVAL-BLUEPLUG1 User manual

ST
ST STM3241G-EVAL User manual

ST
ST STEVAL-ISB68RX User manual

ST
ST UM1509 User manual

ST
ST EVALSP1340CPU User manual