~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/iio/bno055.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/iio/bno055.rst (Version linux-6.12-rc7) and /Documentation/iio/bno055.rst (Version linux-6.1.116)


  1 .. SPDX-License-Identifier: GPL-2.0                 1 .. SPDX-License-Identifier: GPL-2.0
  2                                                     2 
  3 ==============================                      3 ==============================
  4 BNO055 driver                                       4 BNO055 driver
  5 ==============================                      5 ==============================
  6                                                     6 
  7 1. Overview                                         7 1. Overview
  8 ===========                                         8 ===========
  9                                                     9 
 10 This driver supports Bosch BNO055 IMUs (on bot     10 This driver supports Bosch BNO055 IMUs (on both serial and I2C busses).
 11                                                    11 
 12 Accelerometer, magnetometer and gyroscope meas     12 Accelerometer, magnetometer and gyroscope measures are always provided.
 13 When "fusion_enable" sysfs attribute is set to     13 When "fusion_enable" sysfs attribute is set to 1, orientation (both Euler
 14 angles and quaternion), linear velocity and gr     14 angles and quaternion), linear velocity and gravity vector are also
 15 provided, but some sensor settings (e.g. low p     15 provided, but some sensor settings (e.g. low pass filtering and range)
 16 became locked (the IMU firmware controls them)     16 became locked (the IMU firmware controls them).
 17                                                    17 
 18 This driver supports also IIO buffers.             18 This driver supports also IIO buffers.
 19                                                    19 
 20 2. Calibration                                     20 2. Calibration
 21 ==============                                     21 ==============
 22                                                    22 
 23 The IMU continuously performs an autocalibrati     23 The IMU continuously performs an autocalibration procedure if (and only if)
 24 operating in fusion mode. The magnetometer aut     24 operating in fusion mode. The magnetometer autocalibration can however be
 25 disabled writing 0 in the sysfs in_magn_calibr     25 disabled writing 0 in the sysfs in_magn_calibration_fast_enable attribute.
 26                                                    26 
 27 The driver provides access to autocalibration      27 The driver provides access to autocalibration flags (i.e. you can known if
 28 the IMU has successfully autocalibrated) and t     28 the IMU has successfully autocalibrated) and to the calibration data blob.
 29                                                    29 
 30 The user can save this blob in a firmware file     30 The user can save this blob in a firmware file (i.e. in /lib/firmware) that
 31 the driver looks for at probe time. If found,      31 the driver looks for at probe time. If found, then the IMU is initialized
 32 with this calibration data. This saves the use     32 with this calibration data. This saves the user from performing the
 33 calibration procedure every time (which consis     33 calibration procedure every time (which consist of moving the IMU in
 34 various way).                                      34 various way).
 35                                                    35 
 36 The driver looks for calibration data file usi     36 The driver looks for calibration data file using two different names: first
 37 a file whose name is suffixed with the IMU uni     37 a file whose name is suffixed with the IMU unique ID (exposed in sysfs as
 38 serial_number) is searched for; this is useful     38 serial_number) is searched for; this is useful when there is more than one
 39 IMU instance. If this file is not found, then      39 IMU instance. If this file is not found, then a "generic" calibration file
 40 is searched for (which can be used when only o     40 is searched for (which can be used when only one IMU is present, without
 41 struggling with fancy names, that change on ea     41 struggling with fancy names, that change on each device).
 42                                                    42 
 43 Valid calibration file names would be e.g.         43 Valid calibration file names would be e.g.
 44  bno055-caldata-0e7c26a33541515120204a35342b04     44  bno055-caldata-0e7c26a33541515120204a35342b04ff.dat
 45  bno055-caldata.dat                                45  bno055-caldata.dat
 46                                                    46 
 47 In non-fusion mode the IIO 'offset' attributes     47 In non-fusion mode the IIO 'offset' attributes provide access to the
 48 offsets from calibration data (if any), so tha     48 offsets from calibration data (if any), so that the user can apply them to
 49 the accel, angvel and magn IIO attributes. In      49 the accel, angvel and magn IIO attributes. In fusion mode they are not
 50 needed (the IMU firmware internally applies th     50 needed (the IMU firmware internally applies those corrections) and they
 51 read as zero.                                      51 read as zero.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php