Data in this document are subject to change without notice. Product
photos and pictures are for illustration purposes only and may differ from
the real product’s appearance.
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.
Page 4
BNO055
Data sheet
Page 4
General description
The BNO055 is a System in Package (SiP), integrating a triaxial 14-bit accelerometer, a
triaxial 16-bit gyroscope with a range of ±2000 degrees per second, a triaxial geomagnetic
sensor and a 32-bit cortex M0+ microcontroller running Bosch Sensortec sensor fusion
software, in a single package.
The corresponding chip-sets are integrated into one single 28-pin LGA 3.8mm x 5.2mm x
1.1 mm housing. For optimum system integration the BNO055 is equipped with digital bidirectional I2C and UART interfaces. The I2C interface can be programmed to run with the
HID-I2C protocol turning the BNO055 into a plug-and-play sensor hub solution for devices
running the Windows 8.0 or 8.1 operating system.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 17
BNO055
Data sheet
Page 17
Parameter
Symbol
Condition
Min
Max
Units
Voltage at Supply Pin
VDD Pin -0.3
4.2
V
V
DDIO
Pin
-0.3
3.6
V
Voltage at any Logic Pin
V
non-supply
Pin
-0.3
V
DDIO
+0.3
V
Passive Storage Temp.
Range
Trps
≤ 65% rel. H.
-50
+150
°C
Mechanical Shock
MechShock
200µs
Duration ≤ 200µs
10,000
g
MechShock
1ms
Duration ≤ 1.0ms
2,000
g
MechShock
freefall
Free fall
onto hard surfaces
1.8
m
ESD
ESD
HBM
HBM, at any Pin
2
kV
ESD
CDM
CDM
500
V
ESDMM
MM
200
V
2. Absolute Maximum Ratings
Table 2-1: Absolute maximum ratings (preliminary target values)
Note:
Stress above these limits may cause damage to the device. Exceeding the specified
electrical limits may affect the device reliability or cause malfunction.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 18
BNO055
Data sheet
Page 18
3. Functional Description
3.1 Architecture
The following figure shows the basic building blocks of the BNO055 device.
Figure 1: system architecture
3.2 Power management
The BNO055 has two distinct power supply pins:
• VDD is the main power supply for the internal sensors
• V
For the switching sequence of power supply VDD and VDDIO it is mandatory that VDD is powered
on and driven to the specified level before or at the same time as VDDIO is powered ON.
Otherwise there are no limitations on the voltage levels of both pins relative to each other, as
long as they are used within the specified operating range.
The sensor features a power-on reset (POR), initializing the register map with the default
values and starting in CONFIG mode. The POR is executed at every power on and can also
be triggered either by applying a low signal to the nRESET pin for at least 20ns or by setting
the RST_SYS bit in the SYS_TRIGGER register.
The BNO055 can be configured to run in one of the following power modes: normal mode,
low power mode, and suspend mode. These power modes are described in more detail in
section Power Modes
is a separate power supply pin used for the supply of the µC and the digital interfaces
DDIO
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 19
BNO055
Data sheet
Page 19
Parameter
Value
[Reg Addr]: Reg Value
Power Mode
Normal Mode
[PWR_MODE]: xxxxxx00b
Low Power Mode
[PWR_MODE]: xxxxxx01b
Suspend Mode
[PWR_MODE]: xxxxxx10b
Description
Parameter
Value
Reg Value
Restriction
Entering to
sleep:
NO Motion
Interrupt
Detection
Type
No Motion
[ACC_NM_SET] : xxxxxxx1b
n/a
Detection Axis
[ACC_INT_Settings] : bit4-bit2
Shares common
bit with Any Motion
interrupt axis
selection
Params
Duration
[ACC_NM_SET] : bit6-bit1
n/a
Threshold
[ACC_NM_THRE] : bit7-bit0
n/a
Description
Parameter
Value
Reg Value
Waking up: Any
Motion Interrupt
Detection Type
Detection Axis
[ACC_INT_Settings] : bit4-bit2
Params
Duration
[ACC_INT_Settings] : bit1-bit0
Threshold
[ACC_AM_THRES] : bit7-bit0
Power Modes
The BNO055 support three different power modes: Normal mode, Low Power Mode, and
Suspend mode.
The power mode can be selected by writing to the PWR_MODE register as defined in the
table below. As default at start-up the BNO055 will run in Normal mode.
Table 3-1: power modes selection
3.2.1 Normal Mode
In normal mode all sensors required for the selected operating mode (see section 3.3) are
always switched ON. The register map and the internal peripherals of the MCU are always
operative in this mode.
3.2.2 Low Power Mode
If no activity (i.e. no motion) is detected for a configurable duration (default 5 seconds), the
BNO055 enters the low power mode. In this mode only the accelerometer is active. Once
motion is detected (i.e. the accelerometer signals an any-motion interrupt), the system is
woken up and normal mode is entered. The following settings are possible.
Table 3-2: Low power modes - Interrupts
Additionally, the interrupt pins can also be configured to provide HW interrupt to the host.
The BNO055 is by default configured to have optimum values for entering into sleep and
waking up. To restore these values, trigger system reset by setting RST_SYS bit in
SYS_TRIGGER register.
There are some limitations to achieve the low power mode performance:
Only No and Any motion interrupts are applicable and High-G and slow motion
interrupts are not applicable in low power mode.
Low power mode is not applicable where accelerometer is not employed.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 20
BNO055
Data sheet
Page 20
Operating Mode
Available sensor signals
Fusion Data
Accel
Mag
Gyro
Relative
orientation
Absolute
orientation
CONFIGMODE
- - - - -
Non
-fusion
modes
ACCONLY
X - - - -
MAGONLY
- X - - -
GYROONLY
- - X - -
ACCMAG
X X - - -
ACCGYRO
X - X - -
MAGGYRO
- X X - AMG
X X X - -
Fusion modes
IMU
X - X X -
COMPASS
X X - - X
M4G
X X X -
NDOF_FMC_OFF
X X X - X
NDOF
X X X - X
3.2.3 Suspend Mode
In suspend mode the system is paused and all the sensors and the microcontroller are put
into sleep mode. No values in the register map will be updated in this mode. To exit from
suspend mode the mode should be changed by writing to the PWR_MODE register (see
Table 3-1).
3.3 Operation Modes
The BNO055 provides a variety of output signals, which can be chosen by selecting the
appropriate operation mode. The table below lists the different modes and the available
sensor signals.
Table 3-3: Operating modes overview
The default operation mode after power-on is CONFIGMODE.
When the user changes to another operation mode, the sensors which are required in that
particular sensor mode are powered, while the sensors whose signals are not required are
set to suspend mode.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 21
BNO055
Data sheet
Page 21
Sensor
Range
Bandwidth
Accelerometer
4G
62.5 Hz
Magnetometer
NA
10 Hz
Gyroscope
2000 dps
32 Hz
Parameter
Value
[Reg Addr]: Reg Value
CONFIG MODE
CONFIGMODE
[OPR_MODE]: xxxx0000b
Non-Fusion
Mode
ACCONLY
[OPR_MODE]: xxxx0001b
MAGONLY
[OPR_MODE]: xxxx0010b
GYROONLY
[OPR_MODE]: xxxx0011b
ACCMAG
[OPR_MODE]: xxxx0100b
ACCGYRO
[OPR_MODE]: xxxx0101b
MAGGYRO
[OPR_MODE]: xxxx0110b
AMG
[OPR_MODE]: xxxx0111b
Fusion Mode
IMU
[OPR_MODE]: xxxx1000b
COMPASS
[OPR_MODE]: xxxx1001b
M4G
[OPR_MODE]: xxxx1010b
NDOF_FMC_OFF
[OPR_MODE]: xxxx1011b
NDOF
[OPR_MODE]: xxxx1100b
From
To
Switching time
CONFIGMODE
Any operation mode
7ms
Any operation mode
CONFIGMODE
19ms
The BNO055 sets the following default settings for the sensors. The user can overwrite these
settings in the register map when in CONFIGMODE.
Table 3-4: Default sensor settings
In any mode, the sensor data are available in the data register based on the unit selected.
The axis of the data is configured based on the axis-remap register configuration.
The operating mode can be selected by writing to the OPR_MODE register, possible register
values and the corresponding operating modes are shown in the table below.
Table 3-5: operating modes selection
Table 3-6 below shows the time required to switch between CONFIGMODE and the other
operating modes.
Table 3-6: Operating mode switching time
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 22
BNO055
Data sheet
Page 22
3.3.1 Config Mode
This mode is used to configure BNO, wherein all output data is reset to zero and sensor
fusion is halted. This is the only mode in which all the writable register map entries can be
changed. (Exceptions from this rule are the interrupt registers (INT and INT_MSK) and the
operation mode register (OPR_MODE), which can be modified in any operation mode.)
As being said, this mode is the default operation mode after power-on or RESET. Any other
mode must be chosen to be able to read any sensor data.
3.3.2 Non-Fusion Modes
3.3.2.1 ACCONLY
If the application requires only raw accelerometer data, this mode can be chosen. In this
mode the other sensors (magnetometer, gyro) are suspended to lower the power
consumption. In this mode, the BNO055 behaves like a stand-alone acceleration sensor.
3.3.2.1 MAGONLY
In MAGONLY mode, the BNO055 behaves like a stand-alone magnetometer, with
acceleration sensor and gyroscope being suspended.
3.3.2.2 GYROONLY
In GYROONLY mode, the BNO055 behaves like a stand-alone gyroscope, with acceleration
sensor and magnetometer being suspended.
3.3.2.3 ACCMAG
Both accelerometer and magnetometer are switched on, the user can read the data from
these two sensors.
3.3.2.4 ACCGYRO
Both accelerometer and gyroscope are switched on; the user can read the data from these
two sensors.
3.3.2.5 MAGGYRO
Both magnetometer and gyroscope are switched on, the user can read the data from these
two sensors.
3.3.2.6 AMG (ACC-MAG-GYRO)
All three sensors accelerometer, magnetometer and gyroscope are switched on.
3.3.3 Fusion modes
Sensor fusion modes are meant to calculate measures describing the orientation of the
device in space. It can be distinguished between non-absolute or relative orientation and
absolute orientation. Absolute orientation means orientation of the sensor with respect to the
earth and its magnetic field. In other words, absolute orientation sensor fusion modes
calculate the direction of the magnetic north pole.
In non-absolute or relative orientation modes, the heading of the sensor can vary depending
on how the sensor is placed initially.
All fusion modes provide the heading of the sensor as quaternion data or in Euler angles
(roll, pitch and yaw angle). The acceleration sensor is both exposed to the gravity force and
to accelerations applied to the sensor due to movement. In fusion modes it is possible to
separate the two acceleration sources, and thus the sensor fusion data provides separately
linear acceleration (i.e. acceleration that is applied due to movement) and the gravity vector.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 23
BNO055
Data sheet
Page 23
3.3.3.1 IMU (Inertial Measurement Unit)
In the IMU mode the relative orientation of the BNO055 in space is calculated from the
accelerometer and gyroscope data. The calculation is fast (i.e. high output data rate).
3.3.3.2 COMPASS
The COMPASS mode is intended to measure the magnetic earth field and calculate the
geographic direction.
The earth magnetic field is a vector with the horizontal components x,y and the vertical z
component. It depends on the position on the globe and natural iron occurrence. For heading
calculation (direction of compass pointer) only the horizontal components x and y are used.
Therefore the vector components of the earth magnetic field must be transformed in the
horizontal plane, which requires the knowledge of the direction of the gravity vector. To
summarize, the heading can only be calculated when considering gravity and magnetic field
at the same time.
However, the measurement accuracy depends on the stability of the surrounding magnetic
field. Furthermore, since the earth magnetic field is usually much smaller than the magnetic
fields that occur around and inside electronic devices, the compass mode requires calibration
(see chapter 3.10)
3.3.3.3 M4G (Magnet for Gyroscope)
The M4G mode is similar to the IMU mode, but instead of using the gyroscope signal to
detect rotation, the changing orientation of the magnetometer in the magnetic field is used.
Since the magnetometer has much lower power consumption than the gyroscope, this mode
is less power consuming in comparison to the IMU mode. There are no drift effects in this
mode which are inherent to the gyroscope.
However, as for compass mode, the measurement accuracy depends on the stability of the
surrounding magnetic field.
For this mode no magnetometer calibration is required and also not available.
3.3.3.4 NDOF_FMC_OFF
This fusion mode is same as NDOF mode, but with the Fast Magnetometer Calibration
turned ‘OFF’.
3.3.3.5 NDOF
This is a fusion mode with 9 degrees of freedom where the fused absolute orientation data is
calculated from accelerometer, gyroscope and the magnetometer. The advantages of
combining all three sensors are a fast calculation, resulting in high output data rate, and high
robustness from magnetic field distortions. In this mode the Fast Magnetometer calibration is
turned ON and thereby resulting in quick calibration of the magnetometer and higher output
data accuracy. The current consumption is slightly higher in comparison to the
NDOF_FMC_OFF fusion mode.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 24
BNO055
Data sheet
Page 24
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reserved
Remapped Z axis value
Remapped Y axis
value
Remapped X axis
value
Value
Axis Representation
00
X - Axis
01
Y - Axis
10
Z- Axis
11
Invalid
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reserved
Remapped
X axis sign
Remapped
Y axis sign
Remapped
Z axis sign
Value
Sign
0
Positive
1
Negative
Z; Ωz; z
X; Ωx; x
Y; Ωy; y
Accel; Gyro; Magnet
3.4 Axis remap
The device mounting position should not limit the data output of the BNO055 device. The
axis of the device can be re-configured to the new reference axis.
There are two bits are used to configure the axis remap which will define in the following
way,
Also, when user try to configure the same axis to two or more then BNO055 will take this as
invalid condition and previous configuration will be restored in the register map. The default
value is: X Axis = X, Y Axis = Y and Z Axis = Z (AXIS_REMAP_CONFIG = 0x24).
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.
Page 26
BNO055
Data sheet
Page 26
Sensors
Parameters
Value
Accelerometer
Power Mode
NORMAL
Range
+/- 4g
Bandwidth
62.5Hz
Resolution
14 bits
Gyroscope
Power Mode
NORMAL
Range
2000 °/s
Bandwidth
32Hz
Resolution
16 bits
Magnetometer
Power Mode
FORCED
ODR
20Hz
XY Repetition
15
Z Repetition
16
Resolution x/y/z
13/13/15 bits
3.5 Sensor Configuration
The fusion outputs of the BNO055 are tightly linked with the sensor configuration settings.
Due to this fact, the sensor configuration is limited when BNO055 is configured to run in any
of the fusion operating mode. In any of the non-fusion modes the configuration settings can
be updated by writing to the configuration registers as defined in the following sections.
3.5.1 Default sensor configuration
At power-on the sensors are configured with the default settings as defined in Table 3-8
below.
Table 3-7: Default sensor configuration at power-on
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 27
BNO055
Data sheet
Page 27
Parameter
Values
[Reg Addr]: Reg Value
Restrictions
G Range
2G
[ACC_Config]: xxxxxx00b
Auto controlled in fusion
mode
4G
[ACC_Config]: xxxxxx01b
8G
[ACC_Config]: xxxxxx10b
16G
[ACC_Config]: xxxxxx11b
Bandwidth
7.81Hz
[ACC_Config]: xxx000xxb
15.63Hz
[ACC_Config]: xxx001xxb
31.25Hz
[ACC_Config]: xxx010xxb
62.5Hz
[ACC_Config]: xxx011xxb
125Hz
[ACC_Config]: xxx100xxb
250Hz
[ACC_Config]: xxx101xxb
500Hz
[ACC_Config]: xxx110xxb
1000Hz
[ACC_Config]: xxx111xxb
Operation Mode
Normal
[ACC_Config]: 000xxxxxb
Suspend
[ACC_Config]: 001xxxxxb
Low Power 1
[ACC_Config]: 010xxxxxb
Standby
[ACC_Config]: 011xxxxxb
Low Power 2
[ACC_Config]: 100xxxxxb
Deep Suspend
[ACC_Config]: 101xxxxxb
3.5.2 Accelerometer configuration
The fusion outputs of the BNO055 are tightly linked with the accelerometer sensor settings.
Therefore the configuration possibilities are restricted when running in any of the fusion
operating modes. The accelerometer configuration can be changed by writing to the
ACC_Config register, Table below shows different Accelerometer configurations
Table 3-8: Accelerometer configurations
The accelerometer sensor operation mode is not configurable by user when BNO power
mode is configured as low power mode. BNO rewrites the user configured value to Normal
mode when switching from config mode to any BNO operation mode. This used to achieve
the BNO low power mode performance.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 28
BNO055
Data sheet
Page 28
Parameter
Values
[Reg Addr]: Register value
Restrictions
Range
2000 dps
[GYR_Config_0]: xxxxx000b
Auto controlled in fusion mode
1000 dps
[GYR_Config_0]: xxxxx001b
500dps
[GYR_Config_0]: xxxxx010b
250 dps
[GYR_Config_0]: xxxxx011b
125 dps
[GYR_Config_0]: xxxxx100b
Bandwidth
523Hz
[GYR_Config_0]: xx000xxxb
230Hz
[GYR_Config_0]: xx001xxxb
116Hz
[GYR_Config_0]: xx010xxxb
47Hz
[GYR_Config_0]: xx011xxxb
23Hz
[GYR_Config_0]: xx100xxxb
12Hz
[GYR_Config_0]: xx101xxxb
64Hz
[GYR_Config_0]: xx110xxxb
32Hz
[GYR_Config_0]: xx111xxxb
Operation Mode
Normal
[GYR_Config_1]: xxxxx000b
Fast Power up
[GYR_Config_1]: xxxxx001b
Deep Suspend
[GYR_Config_1]: xxxxx010b
Suspend
[GYR_Config_1]: xxxxx011b
Advanced
Powersave
[GYR_Config_1]: xxxxx100b
3.5.3 Gyroscope configuration
The fusion outputs of the BNO055 are tightly linked with the angular rate sensor settings.
Therefore the configuration possibilities are restricted when running in any of the fusion
operating modes. The gyroscope configuration can be changed by writing to the GYR_Config
register, Table below shows different Gyroscope configurations
Table 3-9: Gyroscope configurations
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 29
BNO055
Data sheet
Page 29
Parameter
Values
[Reg Addr]: Register
value
Restrictions
Data output rate
2Hz
[MAG_Config]: xxxxx000b
Auto controlled in fusion mode
6Hz
[MAG_Config]: xxxxx001b
8Hz
[MAG_Config]: xxxxx010b
10Hz
[MAG_Config]: xxxxx011b
15Hz
[MAG_Config]: xxxxx100b
20Hz
[MAG_Config]: xxxxx101b
25Hz
[MAG_Config]: xxxxx110b
30Hz
[MAG_Config]: xxxxx111b
Operation Mode
Low Power
[MAG_Config]: xxx00xxxb
Regular
[MAG_Config]: xxx01xxxb
Enhanced
Regular
[MAG_Config]: xxx10xxxb
High Accuracy
[MAG_Config]: xxx11xxxb
Power Mode
Normal
[MAG_Config]: x00xxxxxb
Sleep
[MAG_Config]: x01xxxxxb
Suspend
[MAG_Config]: x10xxxxxb
Force Mode
[MAG_Config]: x11xxxxxb
3.5.4 Magnetometer configuration
The fusion outputs of the BNO055 are tightly linked with the magnetometer sensor settings.
Therefore the configuration possibilities are restricted when running in any of the fusion
operating modes. The magnetometer configuration can be changed by writing to the
MAG_Config register, Table below shows different Magnetometer configurations.
Table 3-10: Magnetometer configurations
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 30
BNO055
Data sheet
Page 30
Data
Units
[Reg Addr]: Register Value
Acceleration, Linear
Acceleration, Gravity
vector
m/s2
[UNIT_SEL] : xxxxxxx0b
mg
[UNIT_SEL] : xxxxxxx1b
Magnetic Field Strength
Micro Tesla
NA
Angular Rate
Dps
[UNIT_SEL] : xxxxxx0xb
Rps
[UNIT_SEL] : xxxxxx1xb
Euler Angles
Degrees
[UNIT_SEL] : xxxxx0xxb
Radians
[UNIT_SEL] : xxxxx1xxb
Quaternion
Quaternion
units
NA
Temperature
°C
[UNIT_SEL] : xxx0xxxxb
°F
[UNIT_SEL] : xxx1xxxxb
Parameter
Values
[Reg Addr]: Register value
Fusion data output
format
Windows
[UNIT_SEL]: 0xxxxxxxb
Android
[UNIT_SEL]: 1xxxxxxxb
Rotation angle
Range (Android format)
Range (Windows format)
Pitch
+180° to -180° (turning
clockwise decreases values)
-180° to +180° (turning clockwise increases values)
Roll
-90° to +90° (increasing with increasing inclination)
Heading / Yaw
0° to 360° (turning clockwise increases values)
3.6 Output data
Depending on the selected operating mode the device will output either un-calibrated sensor
data (in non-fusion mode) or calibrated / fused data (in fusion mode), this section describes
the output data for each modes.
3.6.1 Unit selection
The measurement units for the various data outputs (regardless of operation mode) can be
configured by writing to the UNIT_SEL register as described in Table 3-9.
Table 3-11: unit selection
3.6.2 Data output format
The data output format can be selected by writing to the UNIT_SEL register, this allows user
to switch between the orientation definition described by Windows and Android operating
systems.
Table 3-12: Fusion data output format
The output data format is based on the following convention regarding the rotation angles for
roll, pitch and heading / yaw (compare also section 3.4):
Table 3-13: Rotation angle conventions
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 31
BNO055
Data sheet
Page 31
BNO055 Operating
Mode
Data input rate
Algo
calling
rate
Data output rate
Accel
Mag
Gyro
Accel
Mag
Gyro
Fusion
data
IMU
100Hz
NA
100Hz
100Hz
100Hz
NA
100Hz
100Hz
COMPASS
20Hz
20Hz
NA
20Hz
20Hz
20Hz
NA
20Hz
M4G
50Hz
50Hz
NA
50Hz
50Hz
50Hz
NA
50Hz
NDOF_FMC_OFF
100Hz
20Hz
100Hz
100Hz
100Hz
20Hz
100Hz
100Hz
NDOF
100Hz
20Hz
100Hz
100Hz
100Hz
20Hz
100Hz
100Hz
Reg Name
Default Reg Value (Bit 0 – Bit 7)
ACC_OFFSET_X_LSB
0x00
ACC_OFFSET_X_MSB
0x00
ACC_OFFSET_Y_LSB
0x00
ACC_OFFSET_Y_MSB
0x00
ACC_OFFSET_Z_LSB
0x00
ACC_OFFSET_Z_MSB
0x00
Accelerometer G-range
Maximum Offset range in mg
2G
+/- 2000
4G
+/- 4000
8G
+/- 8000
16G
+/- 16000
Unit
Representation
m/s2
1 m/s2 = 100 LSB
mg
1 mg = 1 LSB
3.6.3 Fusion Output data rates
Table 3-14: Fusion output data rates
3.6.4 Sensor calibration data
The following section describes the register holding the calibration data of the sensors (see
chapter 3.11). The offset and radius data can be read from these registers and stored in the
host system, which could be later used to get the correct orientation data after ‘Power on Reset’ of the sensor.
3.6.4.1 Accelerometer offset
The accelerometer offset can be configured in the following registers, shown in the table
below. There are 6 bytes required to configure the accelerometer offset (2 bytes for each of
the 3 axis X, Y and Z). Configuration will take place only when the user writes the last byte
(i.e., ACC_OFFSET_Z_MSB).
Table 3-15: Accelerometer Default-Reg settings
The range of the offsets varies based on the G-range of accelerometer sensor.
Table 3-16: Accelerometer G-range settings
Table 3-17: Accelerometer Unit settings
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 32
BNO055
Data sheet
Page 32
Reg Name
Default Reg Value (Bit 0 – Bit 7)
MAG_OFFSET_X_LSB
0x00
MAG_OFFSET_X_MSB
0x00
MAG_OFFSET_Y_LSB
0x00
MAG_OFFSET_Y_MSB
0x00
MAG_OFFSET_Z_LSB
0x00
MAG_OFFSET_Z_MSB
0x00
Unit
Representation
µT
1 µT = 16 LSB
Reg Name
Default Reg Value (Bit 0 – Bit 7)
GYR_OFFSET_X_LSB
0x00
GYR_OFFSET_X_MSB
0x00
GYR_OFFSET_Y_LSB
0x00
GYR_OFFSET_Y_MSB
0x00
GYR_OFFSET_Z_LSB
0x00
GYR_OFFSET_Z_MSB
0x00
3.6.4.2 Magnetometer offset
The magnetometer offset can be configured in the following registers,
Table 3-18: Magnetometer Default-Reg settings
There are 6 bytes required to configure the magnetometer offset (bytes (2 bytes for each of
the 3 axis X, Y and Z). Configuration will take place only when the user writes the last byte
(i.e., MAG_OFFSET_Z_MSB). Therefore the last byte must be written whenever the user
wants to changes the configuration. The range of the magnetometer offset is +/-6400 in LSB.
Table 3-19: Magnetometer Unit settings
3.6.4.3 Gyroscope offset
The gyroscope offset can be configured in the following registers, shown in the table below
Table 3-20: Gyroscope Default Reg-settings
There are 6 bytes required to configure the gyroscope offset (bytes (2 bytes for each of the 3
axis X, Y and Z). Configuration will take place only when the user writes the last byte (i.e.,
GYR_OFFSET_Z_MSB). Therefore the last byte must be written whenever the user wants to
changes the configuration. The range of the offset varies based on the dps-range of
gyroscope sensor.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 33
BNO055
Data sheet
Page 33
Gyroscope dps range
Maximum Offset range in LSB
2000
+/- 32000
1000
+/- 16000
500
+/- 8000
250
+/- 4000
125
+/- 2000
Unit
Representation
Dps
1 Dps = 16 LSB
Rps
1 Rps = 900 LSB
Reg Name
Default Reg Value (Bit 0 – Bit 7)
ACC_RADIUS_LSB
0x00
ACC_RADIUS_MSB
0x00
MAG_RADIUS_LSB
0x00
MAG_RADIUS_MSB
0x00
Radius for sensor
Maximum Range
Accelerometer
+/- 1000 LSB
Magnetometer
+/- 960 LSB
Table 3-21: Gyroscope range settings
Table 3-22: Gyroscope unit settings
3.6.4.4 Radius
The radius of accelerometer, magnetometer and gyroscope can be configured in the
following registers,
Table 3-23: Radius Default-Reg settings
There are 4 bytes (2 bytes for each accelerometer and magnetometer) to configure the
radius. Configuration will take place only when user writes to the last byte (i.e.,
ACC_RADIUS_MSB and MAG_RADIUS_MSB). Therefore the last byte must be written
whenever the user wants to changes the configuration. The range of the radius for
accelerometer is +/-1000, magnetometer is +/-960 and Gyroscope is NA.
Table 3-24: Radius range settings
3.6.5 Output data registers
3.6.5.1 Acceleration data
In non-fusion mode uncompensated acceleration data for each axis X/Y/Z, can be read from
the appropriate ACC_DATA_<axis>_LSB and ACC_DATA_<axis>_MSB registers.
In fusion mode the fusion algorithm output offset compensated acceleration data for each
axis X/Y/Z, the output data can be read from the appropriate ACC_DATA_<axis>_LSB and
ACC_DATA_<axis>_MSB registers. Refer table below for information regarding the data
types for the acceleration data.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 34
BNO055
Data sheet
Page 34
Parameter
Data type
bytes
Accel_Data_X
signed
2
Accel_Data_Y
signed
2
Accel_Data_Z
signed
2
Parameter
Data type
bytes
Mag_Data_X
signed
2
Mag_Data_Y
signed
2
Mag_Data_Z
signed
2
Parameter
Data type
bytes
Gyr_Data_X
signed
2
Gyr_Data_Y
signed
2
Gyr_Data_Z
signed
2
Table 3-25: Acceleration data
3.6.5.2 Magnetic Field Strength
In non-fusion mode uncompensated field strength data for each axis X/Y/Z, can be read from
the appropriate MAG_DATA_<axis>_LSB and MAG_DATA_<axis>_MSB registers.
In fusion mode the fusion algorithm output offset compensated magnetic field strength data
for each axis X/Y/Z, the output data can be read from the appropriate
MAG_DATA_<axis>_LSB and MAG_DATA_<axis>_MSB registers. Refer table below for
information regarding the data types for the magnetic field strength.
Table 3-26: Magnetic field strength data
3.6.5.3 Angular Velocity
In non-fusion mode uncompensated angular velocity (yaw rate) data for each axis X/Y/Z, can
be read from the appropriate GYR_DATA_<axis>_LSB and GYR_DATA_<axis>_MSB
registers.
In fusion mode the fusion algorithm output offset compensated angular velocity (yaw rate)
data for each axis X/Y/Z, the output data can be read from the appropriate
GYR_DATA_<axis>_LSB and GYR_DATA_<axis>_MSB registers. Refer table below for
information regarding the data types for the angular velocity.
Table 3-27: Yaw rate data
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 35
BNO055
Data sheet
Page 35
Parameter
Data type
bytes
EUL_Heading
Signed
2
EUL_Roll
Signed
2
EUL_Pitch
Signed
2
Unit
Representation
Degrees
1 degree = 16 LSB
Radians
1 radian = 900 LSB
Parameter
Data type
bytes
QUA_Data_w
Signed
2
QUA_Data_x
Signed
2
QUA_Data_y
Signed
2
QUA_Data_z
Signed
2
Unit
Representation
Quaternion (unit less)
1 Quaternion (unit less) = 2^14 LSB
3.6.5.4 Orientation (Euler angles)
Orientation output only available in fusion operation modes.
The fusion algorithm output offset and tilt compensated orientation data in Euler angles
format for each DOF Heading/Roll/Pitch, the output data can be read from the appropriate
EUL<dof>_LSB and EUL_<dof>_MSB registers. Refer table below for information regarding
the data types and the unit representation for the Euler angle format.
Table 3-28: Compensated orientation data in Euler angles format
Table 3-29: Euler angle data representation
3.6.5.5 Orientation (Quaternion)
Orientation output only available in fusion operating modes.
The fusion algorithm output offset and tilt compensated orientation data in quaternion format
for each DOF w/x/y/z, the output data can be read from the appropriate
QUA_DATA_<dof>_LSB and QUA_DATA_<dof>_MSB registers. Refer table below for
information regarding the data types and the unit representation for the Orientation output.
Table 3-30: Compensated orientation data in quaternion format
Table 3-31: Quaternion data representation
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 36
BNO055
Data sheet
Page 36
Parameter
Data type
bytes
LIA_Data_X
signed
2
LIA_Data_Y
signed
2
LIA_Data_Z
signed
2
Unit
Representation
m/s2
1 m/s2 = 100 LSB
mg
1 mg = 1 LSB
Parameter
Data type
bytes
GRV_Data_X
signed
2
GRV_Data_Y
signed
2
GRV_Data_Z
signed
2
Unit
Representation
m/s2
1 m/s2 = 100 LSB
mg
1 mg = 1 LSB
3.6.5.6 Linear Acceleration
Linear acceleration output only available in fusion operating modes.
The fusion algorithm output linear acceleration data for each axis x/y/z, the output data can
be read from the appropriate LIA_DATA_<axis>_LSB and LIA_DATA_<axis>_MSB registers.
Refer table below for further information regarding the data types and the unit representation
for Linear acceleration
Table 3-32: Linear Acceleration Data
Table 3-33: Linear Acceleration data representation
3.6.5.7 Gravity Vector
Gravity Vector output only available in fusion operating modes.
The fusion algorithm output gravity vector data for each axis x/y/z, the output data can be
read from the appropriate GRV_DATA_<axis>_LSB and GRV_DATA_<axis>_MSB registers.
Refer table below for further information regarding the data types and the unit representation
for the Gravity vector.
Table 3-34: Gravity Vector Data
Table 3-35: Gravity Vector data representation
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 37
BNO055
Data sheet
Page 37
Parameter
Data type
bytes
TEMP
signed
1
Unit
Representation
°C
1°C = 1 LSB
F
2 F = 1 LSB
Source
[Reg Addr]: Register Value
Accelerometer
[TEMP_SOURCE]: xxxxxx00b
Gyroscope
[TEMP_SOURCE]: xxxxxx01b
3.6.5.8 Temperature
The temperature output data can be read from the TEMP register. The table below describes
the output data type and data representation (depending on selected unit).
The temperature can be read from one of two sources, the temperature source can be
selected by writing to the TEMP_SOURCE register as detailed below.
Table 3-36: Temperature Data
Table 3-37: Temperature data representation
Table 3-38: Temperature Source Selection
3.7 Data register shadowing
This section describes the two methods to read sensor data from the BNO055 register map.
In the first method also called multi byte read (or burst read) the data consistency is ensured
by data register shadowing and hence the LSB and MSB of each axis are all referring to the
same instance (refer section 4.6 I2C read access)
Whereas in the single byte reads, the MSB may get updated when the data in LSB is read
and thereby resulting in data inconsistency.
So depending upon the application, the user may select the type of data read to ensure that
the correct data is being read.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 38
BNO055
Data sheet
Page 38
3.8 Interrupts
3.8.1 Interrupt Pin
INT is configured as interrupt pin for signaling an interrupt to the host. The interrupt trigger is
configured as raising edge and is latched on to the INT pin. Once an interrupt occurs, the INT
pin is set to high and will remain high until it is reset by host. This can be done by setting
RST_INT in SYS_TRIGGER register.
Interrupts can be enabled by setting the corresponding bit in the interrupt enable register
(INT_EN) and disabled when it is cleared.
Interrupt Pin Masking
Interrupts can be routed to the INT pin by setting the corresponding interrupt bit in the
INT_MSK register.
Interrupt Status
Interrupt occurrences are stored in the interrupt status register (INT_STA). All bits in this
register are cleared on read.
3.8.2 Interrupt Settings
3.8.2.1 Accelerometer Slow/No Motion Interrupt
The slow-motion/no-motion interrupt engine can be configured in two modes.
Slow-motion Interrupt is triggered when the measured slope of at least one enabled axis
exceeds the programmable slope threshold for a programmable number of samples. Hence
the engine behaves similar to the any-motion interrupt, but with a different set of parameters.
In order to suppress false triggers, the interrupt is only generated (cleared) if a certain
number N of consecutive slope data points is larger (smaller) than the slope threshold given
by slo_no_mot_dur<1:0>. The number is N = slo_no_mot_dur<1:0> + 1.
In no-motion mode an interrupt is generated if the slope on all selected axes remains smaller
than a programmable threshold for a programmable delay time. Figure 11 shows the timing
diagram for the no-motion interrupt. The scaling of the threshold value is identical to that of
the slow-motion interrupt. However, in no-motion mode register slo_no_mot_dur defines the
delay time before the no-motion interrupt is triggered.
Table 3-39 lists the delay times adjustable with register slo_no_mot_dur. The timer tick
period is 1 second. Hence using short delay times can result in considerable timing
uncertainty.
If bit SM/NMis set to ‘1’ (‘0’), the no-motion/slow-motion interrupt engine is configured in the
no-motion (slow-motion) mode. Common to both modes, the engine monitors the slopes of
the axes that have been enabled with bits AM/NM_X_AXIS, AM/NM_Y_AXIS, and
AM/NM_Z_AXIS for the x-axis, y-axis and z-axis, respectively. The measured slope values
are continuously compared against the threshold value defined in register ACC_NM_THRES.
The scaling is such that 1 LSB of ACC_NM_THRES corresponds to 3.91 mg in 2g-range
(7.81 mg in 4g-range, 15.6 mg in 8g-range and 31.3 mg in 16g-range). Therefore the
maximum value is 996 mg in 2g-range (1.99g in 4g-range, 3.98g in 8g-range and 7.97g in
16g-range). The time difference between the successive acceleration samples depends on
the selected bandwidth and equates to 1/(2 * bw).
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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 3-40: Timing of No-motion interrupt
Page 40
BNO055
Data sheet
Page 40
slope_th
INT
slope
acceleration
acc(t0)
acc(t0−1/(2*bw))
slope(t0)=acc(t0)−acc(t0−1/(2*bw))
time
time
time
slope_dur
slope_dur
Axis selection
X-axis
[ACC_INT_Settings]: xxxxx1xxb
Y-axis
[ACC_INT_Settings]: xxxx1xxxb
Z-axis
[ACC_INT_Settings]: xxx1xxxxb
3.8.2.2 Accelerometer Any Motion Interrupt
The any-motion interrupt uses the slope between successive acceleration signals to detect
changes in motion. An interrupt is generated when the slope (absolute value of acceleration
difference) exceeds a preset threshold. It is cleared as soon as the slope falls below the
threshold. The principle is made clear in Figure 2: Principle of any-motion detection.
Figure 2: Principle of any-motion detection
The threshold is defined through register ACC_AM_THRES. In terms of scaling 1 LSB of
ACC_AM_THRES corresponds to 3.91 mg in 2g-range (7.81 mg in 4g-range, 15.6 mg in 8grange and 31.3 mg in 16g-range). Therefore the maximum value is 996 mg in 2g-range
(1.99g in 4g-range, 3.98g in 8g-range and 7.97g in 16g-range).
The time difference between the successive acceleration signals depends on the selected
bandwidth and equates to 1/(2*bandwidth) (t=1/(2*bw)). In order to suppress false triggers,
the interrupt is only generated (cleared) if a certain number N of consecutive slope data
points is larger (smaller) than the slope threshold given by ACC_AM_THRES. This number is
set by the AM_DUR bits. It is N = AM_DUR + 1.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 42
BNO055
Data sheet
Page 42
Params
Value
[Reg Addr]: Register Value
Interrupt Parameters
Threshold
[ACC_AM_THRES]: bit7:bit0
Duration
[ACC_INT_Settings]: bit1:bit0
Axis selection
X-axis
[ACC_INT_Settings]: xxxxx1xxb
Y-axis
[ACC_INT_Settings]: xxxx1xxxb
Z-axis
[ACC_INT_Settings]: xxx1xxxxb
Params
Value
[Reg Addr]: Register Value
Interrupt Parameters
Threshold
[ACC_HG_THRES]: bit7 : bit0
Duration
[ACC_HG_DURATION]: bit7 : bit0
Axis selection
X-axis
[ACC_INT_Settings]: xx1xxxxxb
Y-axis
[ACC_INT_Settings]: x1xxxxxxb
Z-axis
[ACC_INT_Settings]: 1xxxxxxxb
Enabling (disabling) for each axis:
Any-motion detection can be enabled (disabled) for each axis separately by writing ´1´ (´0´)
to bits AM/NM_X_AXIS, AM/NM_Y_AXIS, AM/NM_Z_AXIS. The criteria for any-motion
detection are fulfilled and the slope interrupt is generated if the slope of any of the enabled
axes exceeds the threshold ACC_AM_THRES for [AM_DUR +1] consecutive times. As soon
as the slopes of all enabled axes fall or stay below this threshold for [AM_DUR +1]
consecutive times the interrupt is cleared unless interrupt signal is latched.
Table 3-41: Any-motion Interrupt parameters and Axis selection
3.8.2.3 Accelerometer High G Interrupt
This interrupt is based on the comparison of acceleration data against a high-g threshold for
the detection of shock or other high-acceleration events.
The high-g interrupt is enabled (disabled) per axis by writing ´1´ (´0´) to bits ACC_HIGH_G in
the INT_EN register and enabling the axis in with bits HG_X_AXIS, HG_Y_AXIS, and
HG_Z_AXIS, respectively in the ACC_INT_Settings register. The high-g threshold is set
through the ACC_HG_THRES register. The meaning of an LSB of ACC_HG_THRES
depends on the selected g-range: it corresponds to 7.81 mg in 2g-range, 15.63 mg in 4grange, 31.25 mg in 8g-range, and 62.5 mg in 16g-range (i.e. increment depends from grange setting).
The high-g interrupt is generated if the absolute value of the acceleration of at least one of
the enabled axes (´or´ relation) is higher than the threshold for at least the time defined by
the ACC_HG_DURATION register. The interrupt is reset if the absolute value of the
acceleration of all enabled axes (´and´ relation) is lower than the threshold for at least the
time defined by the ACC_HG_DURATION register. The interrupt status is stored in bit
ACC_HIGH_G in the INT_STA register. The relation between the content of
ACC_HG_DURATION and the actual delay of the interrupt generation is delay [ms] =
[ACC_HG_DURATION + 1] * 2 ms. Therefore, possible delay times range from 2 ms to 512
ms.
Table 3-42: High-G Interrupt parameters and Axis selection
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 43
BNO055
Data sheet
Page 43
3.8.2.4 Gyroscope High Rate Interrupt
This interrupt is based on the comparison of angular rate data against a high-rate threshold
for the detection of shock or other high-angular rate events. The principle is made clear in
Figure 3 below:
Figure 3: High rate interrupt
The high-rate interrupt is enabled (disabled) per axis by writing ´1´ (´0´) to bits
GYRO_HIGH_RATE in the INT_EN register and for each axis by writing to the HR_X_AXIS,
HR_Y_AXIS, and HR_Z_AXIS, respectively in the GYR_INT_SETTING register. The high-rate threshold is set through the HR_<axis>_Threshold bits in the appropriate
GYR_HR_<axis>_SET register. The meaning of an LSB of HR_<axis>_Threshold depends
on the selected °/s-range: it corresponds to 62.5°/s in 2000°/s-range, 31.25°/s in 1000°/srange, 15.625°/s in 500°/s -range …). The HR_<axis>_Threshold register setting 0
corresponds to 62.26°/s in 2000°/s-range, 31.13°/s in 1000°/s-range, 15.56°/s in 500°/srange …. Therefore the maximum value is 1999.76°/s in 2000°/s-range (999.87°/s 1000°/srange, 499.93°/s in 500°/s -range …).
A hysteresis can be selected by setting the HR_<axis>_THRES_HYST bits. Analogously to
threshold, the meaning of an LSB of HR_<axis>_THRES_HYST bits is °/s-range dependent:
The HR_<axis>_THRES_HYST register setting 0 corresponds to an angular rate difference
of 62.26°/s in 2000°/s-range, 31.13°/s in 1000°/s-range, 15.56°/s in 500°/s-range …. The
meaning of an LSB of HR_<axis>_THRES_HYST depends on the selected °/s-range too: it
corresponds to 62.5°/s in 2000°/s-range, 31.25°/s in 1000°/s-range, 15.625°/s in 500°/s -
range …).
The high-rate interrupt is generated if the absolute value of the angular rate of at least one of
the enabled axes (´or´ relation) is higher than the threshold for at least the time defined by
the GYR_DUR_<axis> register. The interrupt is reset if the absolute value of the angular rate
of all enabled axes (´and´ relation) is lower than the threshold minus the hysteresis. In bit
GYR_HIGH_RATE in the INT_STA the interrupt status is stored. The relation between the
content of GYR_DUR_<axis> and the actual delay of the interrupt generation is delay [ms] =
[ GYR_DUR_<axis> + 1] * 2.5 ms. Therefore, possible delay times range from 2.5 ms to 640
ms.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 45
BNO055
Data sheet
Page 45
slope_th
INT
slope
angular rate
rate(t0)
rate(t0−1/(4*fs))
slope(t0)=gyro(t0)−gyro(t0−1/(2*bw))
time
time
time
slope_dur
slope_dur
3.8.2.5 Gyroscope Any Motion Interrupt
Any-motion (slope) detection uses the slope between successive angular rate signals to
detect changes in motion. An interrupt is generated when the slope (absolute value of
angular rate difference) exceeds a preset threshold. It is cleared as soon as the slope falls
below the threshold. The principle is made clear in Figure 4.
Figure 4: Principle of any-motion detection
The threshold is defined through register GYR_AM_THRES. In terms of scaling 1 LSB of
GYR_AM_THRES corresponds to 1 °/s in 2000°/s-range (0.5°/s in 1000°/s-range, 0.25°/s in
500°/s -range …). Therefore the maximum value is 125°/s in 2000°/s-range (62.5°/s
1000°/s-range, 31.25 in 500°/s -range …).
The time difference between the successive angular rate signals depends on the selected
update rate(fs) which is coupled to the bandwidth and equates to 1/(4*fs) (t=1/(4*fs)). For
bandwidth settings with an update rate higher than 400Hz (bandwidth =0,1,2) fs is set to
400Hz.
In order to suppress false triggers, the interrupt is only generated (cleared) if a certain
number N of consecutive slope data points is larger (smaller) than the slope threshold given
by GYR_AM_THRES. This number is set by the Slope Samples bits in the GYR_AM_SET
register. It is N = [Slope Samples + 1]*4. N is set in samples. Thus the time is scaling with the
update rate (fs).
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 46
BNO055
Data sheet
Page 46
Params
Value
[Reg Addr]: Register Value
Axis selection
X-axis
[GYR_INT_SETING]: xxxxxxx1b
Y-axis
[GYR_INT_SETING]: xxxxxx1xb
Z-axis
[GYR_INT_SETING]: xxxxx1xxb
Any Motion Filter
settings
Filtered
[GYR_INT_SETING]: x0xxxxxxb
Unfiltered
[GYR_INT_SETING]: x1xxxxxxb
Interrupt Settings
Threshold
[GYR_AM_THRES]: bit6 : bit0
Slope Samples
[GYR_AM_SET]: bit1 : bit0
Awake Duration
[GYR_AM_SET]: bit3 : bit2
3.8.2.6 Enabling (disabling) for each axis
Any-motion detection can be enabled (disabled) for each axis separately by writing ´1´ (´0´)
to bits AM_X_AXIS, AM_Y_AXIS, AM_Z_AXIS in the GYR_INT_SETTING register. The
criteria for any-motion detection are fulfilled and the Any-Motion interrupt is generated if the
slope of any of the enabled axes exceeds the threshold GYR_AM_THRES for [Slope
Samples+1]*4 consecutive times. As soon as the slopes of all enabled axes fall or stay below
this threshold for [Slope Samples +1]*4 consecutive times the interrupt is cleared unless
interrupt signal is latched.
3.8.2.7 Axis of slope / any motion interrupt
The interrupt status is stored in bit GYRO_AM in the INT_EN register. The Any-motion
interrupt supplies additional information about the detected slope.
Table 3-44: Axis selection and any motion interrupt
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 47
BNO055
Data sheet
Page 47
Components
Test type
Accelerometer
Verify chip ID
Magnetometer
Verify chip ID
Gyroscope
Verify chip ID
Microcontroller
Memory Build In Self Test
Components
Test type
Accelerometer
built in self test
Magnetometer
built in self test
Gyroscope
built in self test
Microcontroller
No test
performed
3.9 Self-Test
3.9.1 Power On Self Test (POST)
During the device startup, a power on self test is executed. This feature checks that the
connected sensors and microcontroller are responding / functioning correctly. Following tests
are executed
Table 3-45: Power on Self Test
The results of the POST are stored at register ST_RESULT, where a bit set indicates test
passed and cleared indicates self test failed.
3.9.2 Build In Self Test (BIST)
The host can trigger a self test from CONFIG MODE. The test can be triggered by setting bit
SELF_TEST in the in the SYS_TRIGGER register, the results are stored in the ST_RESULT
register. During the execution of the system test, all other features are paused.
Table 3-46: Power on Self Test
3.10 Boot loader
The boot loader is located at the start of the program memory and it is executed at each
reset / power-on sequence. It first checks the status of the nBOOT_LOAD_PIN.
If the nBOOT_LOAD_PIN is pulled low during reset / power-on sequence, it continues
execution in boot loader mode. Otherwise the device continues to boot in application mode.
In case there is a firmware update, then an application note would be available in time with
the necessary information to upgrade at the host side. Nevertheless it is recommended that
the nBOOT_LOAD_PIN is connected as shown in section 5.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 48
BNO055
Data sheet
Page 48
5
3.11 Calibration
Though the sensor fusion software runs the calibration algorithm of all the three sensors
(accelerometer, gyroscope and magnetometer) in the background to remove the offsets,
some preliminary steps had to be ensured for this automatic calibration5 to take place.
The accelerometer and the gyroscope are relatively less susceptible to external
disturbances, as a result of which the offset is negligible. Whereas the magnetometer is
susceptible to external magnetic field and therefore to ensure proper heading accuracy, the
calibration steps described below have to be taken.
Depending on the sensors been selected in the fusion mode, the following simple steps had
to be taken after every ‘Power on Reset’ for proper calibration of the device.
3.11.1 Accelerometer Calibration
Place the device in 6 different stable positions for a period of few seconds to allow the
accelerometer to calibrate.
Make sure that there is slow movement between 2 stable positions
The 6 stable positions could be in any direction, but make sure that the device is lying at
least once perpendicular to the x, y and z axis.
The register CALIB_STAT can be read to see the calibration status of the accelerometer.
3.11.2 Gyroscope Calibration
Place the device in a single stable position for a period of few seconds to allow the
gyroscope to calibrate
The register CALIB_STAT can be read to see the calibration status of the gyroscope.
3.11.3 Magnetometer Calibration
Magnetometer in general are susceptible to both hard-iron and soft-iron distortions, but
majority of the cases are rather due to the former. And the steps mentioned below are to
calibrate the magnetometer for hard-iron distortions.
Nevertheless certain precautions need to be taken into account during the positioning of the
sensor in the PCB which is described in our HSMI (Handling, Soldering and Mounting
Instructions) application note to avoid unnecessary magnetic influences.
Compass, M4G & NDOF_FMC_OFF:
Make some random movements (for example: writing the number ‘8’ on air) until the
CALIB_STAT register indicates fully calibrated.
It takes more calibration movements to get the magnetometer calibrated than in the NDOF
mode.
NDOF:
The same random movements have to be made to calibrate the sensor as in the
FMC_OFF mode, but here it takes relatively less calibration movements (and slightly
higher current consumption) to get the magnetometer calibrated.
The register CALIB_STAT can be read to see the calibration status of the magnetometer.
It is not possible to disable the automatic calibration which runs in the background
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 49
BNO055
Data sheet
Page 49
3.11.4 Reuse of Calibration Profile
Once the device is calibrated, the calibration profile can be reused to get the correct
orientation data immediately after ‘Power of Reset’ (prior to going through the steps
mentioned in the above section). However, once the sensor enters the internal calibration
routine, the calibration profile is overwritten with the newly obtained sensor offsets and
sensor radius. Depending on the application, necessary steps had to be ensured for proper
calibration of the sensor.
Reading Calibration profile
The calibration profile includes sensor offsets and sensor radius. Host system can read the
offsets and radius only after a full calibration is achieved and the operation mode is switched
to CONFIG_MODE. Refer to sensor offsets and sensor radius registers.
Setting Calibration profile
It is important that the correct offsets and corresponding sensor radius are used. Incorrect
offsets may result in unreliable orientation data even at calibration accuracy level 3. To set
the calibration profile the following steps need to be taken
1. Select the operation mode to CONFIG_MODE
2. Write the corresponding sensor offsets and radius data
3. Change operation mode to fusion mode
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 50
BNO055
Data sheet
Page 50
4. Register description
4.1 General Remarks
The entire communication with the device is performed by reading from and writing to
registers. Registers have a width of 8 bits. There are several registers which are either
completely or partially marked as ‘reserved’. Any reserved bit is ignored when it is written and
no specific value is guaranteed when read. It is recommended not to use registers at all
which are completely marked as ‘reserved’. Furthermore it is recommended to mask out
(logical and with zero) reserved bits of registers which are partially marked as reserved.
Read-Only Registers are marked as shown in Table 4-1: Register Access Coding. Any
attempt to write to these registers is ignored.
There are bits within some registers that trigger internal sequences. These bits are
configured for write-only access and read as value ´0´.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 51
BNO055
Data sheet
Page 51
read/write
read only
write only
reserved
Register
Address
Register Name
Default
Value
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
7F-6B
Reserved
NA
6A
MAG_RADIUS_
MSB
Magnetometer Radius
69
MAG_RADIUS_
LSB
Magnetometer Radius
68
ACC_RADIUS_
MSB
Accelerometer Radius
67
ACC_RADIUS_
LSB
Accelerometer Radius
66
GYR_OFFSET_
Z_MSB
0x00
Gyroscope Offset Z <15:8>
65
GYR_OFFSET_
Z_LSB
0x00
Gyroscope Offset Z <7:0>
64
GYR_OFFSET_
Y_MSB
0x00
Gyroscope Offset Y <15:8>
63
GYR_OFFSET_
Y_LSB
0x00
Gyroscope Offset Y <7:0>
62
GYR_OFFSET_
X_MSB
0x00
Gyroscope Offset X <15:8>
61
GYR_OFFSET_
X_LSB
0x00
Gyroscope Offset X <7:0>
60
MAG_OFFSET
_Z_MSB
0x00
Magnetometer Offset Z <15:8>
5F
MAG_OFFSET
_Z_LSB
0x00
Magnetometer Offset Z <7:0>
5E
MAG_OFFSET
_Y_MSB
0x00
Magnetometer Offset Y <15:8>
5D
MAG_OFFSET
_Y_LSB
0x00
Magnetometer Offset Y <7:0>
5C
MAG_OFFSET
_X_MSB
0x00
Magnetometer Offset X <15:8>
5B
MAG_OFFSET
_X_LSB
0x00
Magnetometer Offset X <7:0>
5A
ACC_OFFSET_
Z_MSB
0x00
Accelerometer Offset Z <15:8>
59
ACC_OFFSET_
Z_LSB
0x00
Accelerometer Offset Z <7:0>
58
ACC_OFFSET_
Y_MSB
0x00
Accelerometer Offset Y <15:8>
57
ACC_OFFSET_
Y_LSB
0x00
Accelerometer Offset Y <7:0>
56
ACC_OFFSET_
X_MSB
0x00
Accelerometer Offset X <15:8>
55
ACC_OFFSET_
X_LSB
0x00
Accelerometer Offset X <7:0>
43 - 54
Reserved
0x00
4.2 Register map
The register map is separated into two logical pages, Page 1 contains sensor specific
configuration data and Page 0 contains all other configuration parameters and output data.
At power-on Page 0 is selected, the PAGE_ID register can be used to identify the current
selected page and change between page 0 and page 1.
4.2.1 Register map Page 0
Table 4-1: Register Access Coding
Table 4-2: Register Map Page 0
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 70
BNO055
Data sheet
Page 70
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access r r r r r r r r
Reset
Content
System Error Code
DATA
bits
Description
System Error
Code
<7:0>
Read the error status from this register if the SYS_STATUS (0x39) register is SYSTEM
ERROR (0x01)
Read : 0 No error
1 Peripheral initialization error
2 System initialization error
3 Self test result failed
4 Register map value out of range
5 Register map address out of range
6 Register map write error
7 BNO low power mode not available for selected operation mode
8 Accelerometer power mode not available
9 Fusion algorithm configuration error
A Sensor configuration error
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access
r/w
r/w
r/w
r/w
r/w
r/w
r/w
r/w
Reset 0 0 0 0 0 0
Content
ORI_Andro
id_Windows reserved
TEMP_Uni
t
reserved
EUL_Unit
GYR_Unit
ACC_Unit
DATA
bits
Description
ORI_Android_Win
dows
7
Read: Current selected orientation mode
Write: Select orientation mode
0: Windows orientation
1: Android orientation
See section 3.6.2 for more details
TEMP_Unit
5
Read: Current selected temperature units
Write: Select temperature units
0: Celsius
1: Fahrenheit
See section 3.6.1 for more details
EUL_Unit
3
Read: Current selected Euler units
Write: Select Euler units
0: Degrees
1: Radians
See section 3.6.1 for more details
GYR_Unit
2
Read: Current selected angular rate units
Write: Select angular rate units
0: dps
1: rps
See section 3.6.1 for more details
ACC_Unit
1
Read: Current selected acceleration units
Write: Select acceleration units
0: m/s2
1: mg
See section 3.6.1 for more details
4.3.59 SYS_ERR 0x3A
4.3.60 UNIT_SEL 0x3B
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 81
BNO055
Data sheet
Page 81
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access
r/w
r/w
r/w
r/w
r/w
r/w
r/w
r/w
Reset
Content
reserved
AUTO_SLP_DURATION <2:0>
SLP_DURATION <2:0>
DATA
bits
Description
AUTO_SLP_DUR
ATION <2:0>
<5:3>
The Gyroscope can be configures in the advanced power mode to optimize the power
consumption. This can be only done if the selected operation mode in sensor mode. The auto
sleep duration is the wake up duration of gyroscope during the duty cycling between normal
and fast-power up mode. Possible configuration for auto sleep duration are:
Auto sleep duration
Time (ms)
000b
Not allowed
001b
4 ms
010b
5 ms
011b
8 ms
100b
10 ms
101b
15 ms
110b
20 ms
111b
40 ms
SLP_DURATION
<2:0>
<2:0>
The Gyroscope can be configures in the advanced power mode to optimize the power
consumption. This can be only done if the selected operation mode in sensor mode. The sleep
duration is the sleep time of gyroscope during the duty cycling between normal and fast-power
up mode. Possible configuration for sleep duration are:
Sleep duration
Time (ms)
000b
2 ms
001b
4 ms
010b
5 ms
011b
8 ms
100b
10 ms
101b
15 ms
110b
18 ms
111b
20 ms
Gyroscope bandwidth (Hz)
Mini Autosleep duration (ms)
32 Hz
20 ms
64 Hz
10 ms
12 Hz
20 ms
23 Hz
10 ms
47 Hz
5 ms
116 Hz
4 ms
230 Hz
4 ms
Unfiltered (523 Hz)
4 ms
4.4.7 GYR_Sleep_Config 0x0D
The only restriction for the use of the power save mode comes from the configuration of the
digital filter bandwidth of gyroscope. For each bandwidth configuration, minimum auto sleep
duration must be ensured. For example, for bandwidth = 47Hz, the minimum auto sleep
duration is 5ms. This is specified in the table below. For sleep duration, there is no
restriction.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 82
BNO055
Data sheet
Page 82
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access
r/w
r/w
r/w
r/w
r/w
r/w
r/w
r/w
Reset 0 0 0 0 0
Content
ACC_NM
ACC_AM
ACC_HIG
H_G
reserved
GYR_HIG
H_RATE
GYRO_AM
reserved
reserved
DATA
bits
Description
ACC_NM
7
Masking of Accelerometer no motion or slow motion interrupt, when enabled the interrupt will
update the INT_STA register and trigger a change on the INT pin, when disabled only the
INT_STA register will be updated.
Read: 1: Enabled / 0: Disabled
Write: 1: Enable / 0: Disable
ACC_AM
6
Masking of Accelerometer any motion interrupt, when enabled the interrupt will update the
INT_STA register and trigger a change on the INT pin, when disabled only the INT_STA
register will be updated.
Read: 1: Enabled / 0: Disabled
Write: 1: Enable / 0: Disable
ACC_HIGH_G
5
Masking of Accelerometer high-g interrupt, when enabled the interrupt will update the
INT_STA register and trigger a change on the INT pin, when disabled only the INT_STA
register will be updated.
Read: 1: Enabled / 0: Disabled
Write: 1: Enable / 0: Disable
GYR_HIGH_RATE
3
Masking of gyroscope high rate interrupt, when enabled the interrupt will update the INT_STA
register and trigger a change on the INT pin, when disabled only the INT_STA register will be
updated.
Read: 1: Enabled / 0: Disabled
Write: 1: Enable / 0: Disable
GYRO_AM
2
Masking of gyroscope any motion interrupt, when enabled the interrupt will update the
INT_STA register and trigger a change on the INT pin, when disabled only the INT_STA
register will be updated.
Read: 1: Enabled / 0: Disabled
Write: 1: Enable / 0: Disable
4.4.8 INT_MSK 0x0F
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 85
BNO055
Data sheet
Page 85
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access
r/w
r/w
r/w
r/w
r/w
r/w
r/w
r/w
Reset
0 0 0 0 1 0 1
0
Content
Accelerometer NO/SLOW motion threshold
DATA
bits
Description
Accelerometer
NO/SLOW motion
threshold
<7:0>
Threshold used for the Slow motion or no motion interrupt. The threshold value is dependent
on the accelerometer range selected in the ACC_Config register.
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.
Page 88
BNO055
Data sheet
Page 88
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access r rrrrrrr
Reset 0 0 0 0 0 0 0 1
Content
reserved
HR_Z_THRES_HYST
<1:0>
HR_Z_Threshold <4:0>
DATA
bits
Description
HR_Z_THRES_HY
ST <1:0>
<6:5>
High rate hysteresis for Z axis = (255 + 256 * HR_Z_THRES_HYST) *4 LSB
The high rate value scales with the range setting
1 LSB = 62.26°/s in 2000°/s-range
1 LSB = 31.13°/s in 1000°/s-range
1 LSB = 15.56°/s in 500°/s -range
…
HR_Z_Threshold
<4:0>
<4:0>
High rate threshold is for the gyroscope Z axis. The threshold value is dependent on the
gyroscope range selected in the GRY_Config_0 register.
1 LSB = 62.5°/s in 2000°/s-range
1 LSB = 31.25°/s in 1000°/s-range
1 LSB = 15.625°/s in 500°/s -range
…
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access
r/w
r/w
r/w
r/w
r/w
r/w
r/w
r/w
Reset 0 0 0 1 1 0 0 1
Content
HR_Z_Duration
DATA
bits
Description
HR_Z_Duration
<7:0>
High rate duration = (1 + HR_Z_Duration)*2.5ms
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Access
r/w
r/w
r/w
r/w
r/w
r/w
r/w
r/w
Reset 0 0 0 0 0 1 0 0
Content
reserved
Gyro Any Motion Threshold <6:0>
DATA
bits
Description
Gyro Any Motion
Threshold <6:0>
<6:0>
Any motion threshold is for the gyroscope any motion interrupt. The threshold value is
dependent on the gyroscope range selected in the GRY_Config_0 register.
1 LSB = 1 °/s in 2000°/s-range
1 LSB = 0.5°/s in 1000°/s-range
1 LSB = 0.25°/s in 500°/s -range
…
4.4.21 GYR_HR_Z_SET 0x1C
4.4.22 GYR_DUR_Z 0x1D
4.4.23 GYR_AM_THRES 0x1E
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 90
BNO055
Data sheet
Page 90
PS1
PS0
Functionality
0 0 Standard/Fast I2C Interface
0 1 HID over I2C
1 0 UART Interface
1 1 Reserved
PIN
I2C Interfaces
(PS1=0b0)
UART Interface
(PS1.PS0=0b10)
COM0
SDA
Tx
COM1
SCL
Rx
COM2
GNDIO
COM3
I2C address select
Parameter
Symbol
Condition
Min
Typ
Max
Units
Pull-up Resistance,
COM3 pin
Rup
Internal Pull-up
Resistance to
VDDIO
20
40
60
k
Input Capacitance
Cin 5 10
pF
I²C Bus Load
Capacitance (max.
drive capability)
C
I2C_Load
400
pF
4.5 Digital Interface
The BNO055 supports two digital interfaces for communication between the salve and host
device: I2C which supports the HID-I2C protocol and I2C Standard and Fast modes; and the
UART interface.
The active interface is selected by the state of the protocol select pins (PS1 and PS0), Table
4-4 shows the mapping between the protocol select pins and the selected interface mode.
Table 4-4: protocol select pin mapping
It is not allowed to keep the protocol select pins floating.
Both digital interfaces share partially the same pins, the pin mapping for each interface is
shown in Table 4-5.
Table 4-5: Mapping of digital interface pins
The following table shows the electrical specifications of the interface pins:
Table 4-6: Electrical specification of the interface pins
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 91
BNO055
Data sheet
Page 91
I2C
configuration
COM3_state
I2C address
Slave
HIGH
0x29
Slave
LOW
0x28
HID-I2C
X
0x40
Parameter
Symbol
Condition
Min
Max
Units
Clock Frequency
f
SCL
400
kHz
SCL Low Period
t
LOW
1.3
s
SCL High Period
t
HIGH
0.6
SDA Setup Time
t
SUDAT
0.1 SDA Hold Time
t
HDDAT
0.0
Setup Time for a
repeated Start Condition
t
SUSTA
0.6
Hold Time for a Start
Condition
t
HDSTA
0.6
Setup Time for a Stop
Condition
t
SUSTO
0.6
Time before a new
Transmission can start
t
BUF
1.3
Idle time between write
accesses, normal mode,
standby mode, low-
power mode 2
t
IDLE_wacc_nm
2
µs
Idle time between write
accesses, suspend
mode, low-power mode
1
t
IDLE_wacc_su
m
450 µs
4.6 I2C Protocol
The I²C bus uses SCL (= SCx pin, serial clock) and SDA (= SDx pin, serial data input and
output) signal lines. Both lines are connected to V
they are pulled high when the bus is free.
The I²C interface of the BNO055 is compatible with the I²C Specification UM10204 Rev. 03
(19 June 2007), available at http://www.nxp.com. The BNO055 supports I²C standard mode
and fast mode, only 7-bit address mode is supported. The BNO055 I²C interface uses clock
stretching.
The default I²C address of the BNO055 device is 0101001b (0x29). The alternative address
0101000b (0x28), in I2C mode the input pin COM3 can be used to select between the
primary and alternative I2C address as shown in Table 4-7.
Table 4-7: I2C address selection
externally via pull-up resistors so that
DDIO
The timing specification for I²C of the BNO055 is given in Table 4-8: I²C timings:
Table 4-8: I²C timings
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 92
BNO055
Data sheet
Page 92
t
HDDAT
tf
t
BUF
SDA
SCL
SDA
t
LOW
t
HDSTA
tr
t
SUSTA
t
HIGH
t
SUDAT
t
SUSTO
Figure 5: I²C timing diagram shows the definition of the I²C timings given in Table 4-8:
Figure 5: I²C timing diagram
The I²C protocol works as follows:
START: Data transmission on the bus begins with a high to low transition on the SDA line
while SCL is held high (start condition (S) indicated by I²C bus master). Once the START
signal is transferred by the master, the bus is considered busy.
STOP: Each data transfer should be terminated by a Stop signal (P) generated by master.
The STOP condition is a low to HIGH transition on SDA line while SCL is held high.
ACK: Each byte of data transferred must be acknowledged. It is indicated by an
acknowledge bit sent by the receiver. The transmitter must release the SDA line (no pull
down) during the acknowledge pulse while the receiver must then pull the SDA line low so
that it remains stable low during the high period of the acknowledge clock cycle.
In the following diagrams these abbreviations are used:
S Start
P Stop
ACKS Acknowledge by slave
ACKM Acknowledge by master
NACKM Not acknowledge by master
RW Read / Write
A START immediately followed by a STOP (without SCL toggling from ´VDDIO´ to ´GND´) is
not supported. If such a combination occurs, the STOP is not recognized by the device.
I²C write access:
I²C write access can be used to write a data byte in one sequence. The sequence begins
with start condition generated by the master, followed by 7 bits slave address and a write bit
(RW = 0). The slave sends an acknowledge bit (ACK = 0) and releases the bus. Then the
master sends the one byte register address. The slave again acknowledges the transmission
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 93
BNO055
Data sheet
Page 93
StartRW
ACKS
dummy
ACKS
ACKS
Stop
S01010000AxxxxxxxxAxxxxxxxxAP
Slave address
Data
Register address (0x00 .. 0x7F)
StartRW
ACKS
dummy
ACKS
S01010000Ax0001000A
StartRW
ACKS
ACKM
ACKM
Sr01010001AxxxxxxxxAxxxxxxxxA…
ACKS
ACKM
ACKM
… AxxxxxxxxAxxxxxxxxA…
ACKS
ACKM
NACKM
Stop
… AxxxxxxxxAxxxxxxxx NA P
Slave address
Register address (0x08)
Slave address
Read data (0x08)
Read data (0x09)
Read data (0x0A)
Read data (0x0B)
Read data (0x0C)
Read data (0x0D)
and waits for the 8 bits of data which shall be written to the specified register address. After
the slave acknowledges the data byte, the master generates a stop signal and terminates the
writing protocol.
Example of an I²C write access to the BNO055 (i2c address in this case: 0101000b = 0x28):
Figure 6: I²C write
I²C read access:
I²C read access also can be used to read one or multiple data bytes in one sequence. A read
sequence consists of a one-byte I²C write phase followed by the I²C read phase. The two
parts of the transmission must be separated by a repeated start condition (Sr). The I²C write
phase addresses the slave and sends the register address to be read. After slave
acknowledges the transmission, the master generates again a start condition and sends the
slave address together with a read bit (RW = 1). Then the master releases the bus and waits
for the data bytes to be read out from slave. After each data byte the master has to generate
an acknowledge bit (ACK = 0) to enable further data transfer. A NACKM (ACK = 1) from the
master stops the data being transferred from the slave. The slave releases the bus so that
the master can generate a STOP condition and terminate the transmission.
The register address is automatically incremented and, therefore, more than one byte can be
sequentially read out. Once a new data read transmission starts, the start address will be set
to the register address specified in the latest I²C write command. By default the start address
is set at 0x00. In this way repetitive multi-bytes reads from the same starting address are
possible.
Example of an I²C read access to the BNO055:
Figure 7: I²C multiple read
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
The BNO055 supports UART interface with the following settings: 115200 bps, 8N1 (8 data
bits, no parity bit, one stop bit). The maximum length support for read and write is 128 Byte.
The packet structure for register read and write are described below.
Register write
Command:
Acknowledge Response:
Register read
Command:
Read Success Response:
Read Failure or Acknowledge Response:
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec
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.
Page 95
BNO055
Data sheet
Page 95
4.8 HID over I2C
HID over I2C is a standard interface protocol to connect devices with hosts via I2C. The main
advantage of HID is that there exist generic drivers for different input devices (such as
sensors) which can be used with sensors that implement the corresponding well defined HID
profiles. HID over I2C describes how messages (reports and events) are exchanged
between the device and the host. A descriptor of the structure of these reports is provided by
the device and read by the host during initialization of the device at host system start.
For detailed information on HID please refer to the HID over I2C documentation from
Microsoft.
BST-BNO055-DS000-14 | Revision 1.4 | June 2016 Bosch Sensortec