BMA222 Bosch Sensortec, BMA222 Datasheet - Page 21

no-image

BMA222

Manufacturer Part Number
BMA222
Description
3-AXIS ACCELEROMETER DIGITAL SMD
Manufacturer
Bosch Sensortec
Datasheets

Specifications of BMA222

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
828-1025-2

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
BMA222E
Manufacturer:
BOSCH/博世
Quantity:
20 000
Part Number:
BMA222E(F)
Manufacturer:
BOSCH/博世
Quantity:
20 000
Company:
Part Number:
BMA222E(F)
Quantity:
2 395
The algorithm in detail: An average of 16 consecutive acceleration values is computed and the
difference between target value and computed value is written to (0x38, 0x39, 0x3A)
offset_filt_x/y/z or (0x3B, 0x3C, 0x3D) offset_unfilt_x/y/z The public registers (0x38, 0x39, 0x3A)
offset_filt_x/y/z and (0x3B, 0x3C, 0x3D) offset_unfilt_x/y/z are updated with the contents of the
internal registers (using saturation if necessary) and can be read by the user.
Fast compensation is triggered for each axis individually by setting the (0x36) cal_trigger bits as
shown in table 13:
The register (0x36) cal_trigger keeps its non-zero value while the fast compensation procedure
is running. Slow compensation is blocked as long as fast compensation endures. Bit (0x36)
cal_rdy is ´0´ when (0x36) cal_trigger is not ´00´.
Fast compensation should not be used in combination with low-power mode. In low-power
mode the conditions (availability of necessary data) for proper function of fast compensation are
not fulfilled.
4.6.3 Manual compensation
As explained above, the contents of the public compensation registers (0x38, 0x39, 0x3A)
offset_filt_x/y/z and (0x3B, 0x3C, 0x3D) offset_unfilt_x/y/z can be set manually via the digital
interface. It is recommended to write into these registers immediately after a new data interrupt
in order not to disturb running offset computations.
Writing to the offset compensation registers is not allowed if slow compensation is enabled or if
the fast compensation procedure is running.
4.6.4 Inline calibration
For a given application, it is often desirable to calibrate the offset once and to store the
compensation values permanently. This can be achieved by using one of the aforementioned
offset compensation methods to determine the proper compensation values and then storing
these values permanently in the non-volatile memory (EEPROM). See section 4.7 Non-volatile
memory for details of the storing procedure.
Each time the device is reset, the compensation values are loaded from the non-volatile
memory into the image registers and used for offset compensation until they are possibly
overwritten using one of the other compensation methods.
Rev. 1.0
© 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.
Note: Specifications within this document are subject to change without notice.
Table 13: Fast compensation axis selection
cal_trigger
(0x36)
00b
01b
10b
11b
Data sheet
BMA222
Page 21
Selected Axis
none
x
y
z
Bosch Sensortec
07 March 2011

Related parts for BMA222