Information

BMA280
Data sheet
Page 36
BST-BMA280-DS000-11 | Revision 1.8 | August 2014 Bosch Sensortec
© 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.
Figure 10 shows the typical switching conditions between the four different orientations for the
symmetrical mode i.e. without hysteresis:
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
0 45 90 135 180 225 270 315 360
phi
acc_y/acc_x
acc_x/sin(theta)
acc_y/sin(theta)
portrait upright landscape left portrait upside
down
landscape right portrait upright
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
0 45 90 135 180 225 270 315 360
acc_y/acc_x
acc_x/sin(theta)
acc_y/sin(theta)
portrait upright landscape left portrait upside
down
landscape right portrait upright
Figure 10: Typical orientation switching conditions w/o hysteresis
The orientation interrupt is enabled (disabled) by writing ´1´ (´0´) to bit (0x16) orient_en. The
interrupt is generated if the value of (0x0C) orient has changed. It is automatically cleared after
one stable period of the (0x0C) orient value. The interrupt status is stored in the (0x09)
orient_int bit. The register (0x0C) orient always reflects the current orientation of the device,
irrespective of which interrupt mode has been selected. Bit (0x0C) orient<2> reflects the device
orientation with respect to the z-axis. The bits (0x0C) orient<1:0> reflect the device orientation
in the x-y-plane. The conventions associated with register (0x0C) orient are detailed in chapter
6.