Specifications

BMA180
Preliminary data sheet
Bosch Sensortec
Rev. 1.0 Page 52 / - proprietary information - 06 March 2009
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such
as copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Specifications within this document are preliminary and subject to change without notice. Document is not intended for publication.
7.11.5 st1
This self test bit does not generate any electrostatic force in the MEM but is used to verify,
whether the digital part is working correctly and that microprocessor is able to react to the
interrupts. Basically a 0 g acceleration is emulated, and the user can detect the whole logic path
for interrupt, including the PCB path integrity. The low_th interrupt register must be set by user
so that st1 generates a low threshold interrupt.
7.11.6 st0
The self-test command uses electrostatic forces to move the MEMs common electrode. Self-test
can be used only with highest bandwidth setting so whatever is the setting defined by user, the
internal mode corresponds to bw = 0111 if st0 = 1. No acceleration change shall occur
during self-test procedure and no fine offset compensation is performed during the self-
test.
As soon as st0 is set, the self-test sequence starts and an acceleration of about ±0.5g for
each channel (this acceleration is summed with the real acceleration, as long as the sum result
stays inside the full scale range) is emulated. The internal procedure (deflection, measurement,
etc.) to determine if self-test has been successful or not takes about 10 – 15ms. Damping factor
is considered for these calculations only if st_damp is set.
After digital computation, st0 is written to 0 (the bit stays at 1 as long as the self test procedure
is running, user can read-out this bit to detect when the result of self-test can be read). Self test
result corresponds to the str (Self Test Result) status bit. During self-test procedure, it is advised
not to realize SPI transaction which could introduce noise, st0 read out should be used only to
verify the self-test is finished (a delay of 15 ms between the moment when st0 is written to 1 and
the first st0 read-out should be applied).
If str = ‘1’ self-test was successful.
A soft-reset is recommended after each self-test sequence.
7.11.7 st_amp
These 3 control bits define the amplitude of the generated electrostatic force to deflect the mass
of the micromechanical element.
st_amp<2:0> Amplitude =
(
1+code
_
value
)
*Vdd/2
000
0
001
1/8
010
2/8
011
3/8
100
4/8
101
5/8
110
6/8
111
7/8
The availability of this register is mainly for testing purposes. Thus to avoid mal-function of the
self-test, it is not recommended to change the pre-defined settings.