sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget!/translations/zh_CN/iio/adis16475modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/zh_TW/iio/adis16475modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/it_IT/iio/adis16475modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ja_JP/iio/adis16475modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ko_KR/iio/adis16475modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/sp_SP/iio/adis16475modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh;/var/lib/git/docbuild/linux/Documentation/iio/adis16475.rsthKubhsection)}(hhh](htitle)}(hADIS16475 driverh]hADIS16475 driver}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(h5This driver supports Analog Device's IMUs on SPI bus.h]h7This driver supports Analog Device’s IMUs on SPI bus.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(h1. Supported devicesh]h1. Supported devices}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh bullet_list)}(hhh](h list_item)}(h/`ADIS16465 `_h]h)}(hhh](h reference)}(hhh]h ADIS16465}(hhhhhNhNubah}(h]h ]h"]h$]h&]name ADIS16465refuri https://www.analog.com/ADIS16465uh1hhhubhtarget)}(h# h]h}(h] adis16465ah ]h"] adis16465ah$]h&]refurij uh1j  referencedKhhubeh}(h]h ]h"]h$]h&]uh1hhhhK hhubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(h/`ADIS16467 `_h]h)}(hj)h](h)}(hj)h]h ADIS16467}(hj.hhhNhNubah}(h]h ]h"]h$]h&]name ADIS16467j  https://www.analog.com/ADIS16467uh1hhj+ubj )}(h# h]h}(h] adis16467ah ]h"] adis16467ah$]h&]refurij=uh1j jKhj+ubeh}(h]h ]h"]h$]h&]uh1hhhhK hj'ubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(h/`ADIS16470 `_h]h)}(hjYh](h)}(hjYh]h ADIS16470}(hj^hhhNhNubah}(h]h ]h"]h$]h&]name ADIS16470j  https://www.analog.com/ADIS16470uh1hhj[ubj )}(h# h]h}(h] adis16470ah ]h"] adis16470ah$]h&]refurijmuh1j jKhj[ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjWubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(h/`ADIS16475 `_h]h)}(hjh](h)}(hjh]h ADIS16475}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ADIS16475j  https://www.analog.com/ADIS16475uh1hhjubj )}(h# h]h}(h] adis16475ah ]h"] adis16475ah$]h&]refurijuh1j jKhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(h/`ADIS16477 `_h]h)}(hjh](h)}(hjh]h ADIS16477}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ADIS16477j  https://www.analog.com/ADIS16477uh1hhjubj )}(h# h]h}(h] adis16477ah ]h"] adis16477ah$]h&]refurijuh1j jKhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(h/`ADIS16500 `_h]h)}(hjh](h)}(hjh]h ADIS16500}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ADIS16500j  https://www.analog.com/ADIS16500uh1hhjubj )}(h# h]h}(h] adis16500ah ]h"] adis16500ah$]h&]refurijuh1j jKhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(h/`ADIS16505 `_h]h)}(hjh](h)}(hjh]h ADIS16505}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ADIS16505j  https://www.analog.com/ADIS16505uh1hhjubj )}(h# h]h}(h] adis16505ah ]h"] adis16505ah$]h&]refurij-uh1j jKhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh)}(h0`ADIS16507 `_ h]h)}(h/`ADIS16507 `_h](h)}(hjMh]h ADIS16507}(hjOhhhNhNubah}(h]h ]h"]h$]h&]name ADIS16507j  https://www.analog.com/ADIS16507uh1hhjKubj )}(h# h]h}(h] adis16507ah ]h"] adis16507ah$]h&]refurij^uh1j jKhjKubeh}(h]h ]h"]h$]h&]uh1hhhhKhjGubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubeh}(h]h ]h"]h$]h&]bullet*uh1hhhhK hhhhubh)}(hXSEach supported device is a precision, miniature microelectromechanical system (MEMS) inertial measurement unit (IMU) that includes a triaxial gyroscope and a triaxial accelerometer. Each inertial sensor in the IMU device combines with signal conditioning that optimizes dynamic performance. The factory calibration characterizes each sensor for sensitivity, bias, alignment, linear acceleration (gyroscope bias), and point of percussion (accelerometer location). As a result, each sensor has dynamic compensation formulas that provide accurate sensor measurements over a broad set of conditions.h]hXSEach supported device is a precision, miniature microelectromechanical system (MEMS) inertial measurement unit (IMU) that includes a triaxial gyroscope and a triaxial accelerometer. Each inertial sensor in the IMU device combines with signal conditioning that optimizes dynamic performance. The factory calibration characterizes each sensor for sensitivity, bias, alignment, linear acceleration (gyroscope bias), and point of percussion (accelerometer location). As a result, each sensor has dynamic compensation formulas that provide accurate sensor measurements over a broad set of conditions.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h]supported-devicesah ]h"]1. supported devicesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h2. Device attributesh]h2. Device attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hAccelerometer, gyroscope measurements are always provided. Furthermore, the driver offers the capability to retrieve the delta angle and the delta velocity measurements computed by the device.h]hAccelerometer, gyroscope measurements are always provided. Furthermore, the driver offers the capability to retrieve the delta angle and the delta velocity measurements computed by the device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjhhubh)}(hThe delta angle measurements represent a calculation of angular displacement between each sample update, while the delta velocity measurements represent a calculation of linear velocity change between each sample update.h]hThe delta angle measurements represent a calculation of angular displacement between each sample update, while the delta velocity measurements represent a calculation of linear velocity change between each sample update.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hjhhubh)}(hFinally, temperature data are provided which show a coarse measurement of the temperature inside of the IMU device. This data is most useful for monitoring relative changes in the thermal environment.h]hFinally, temperature data are provided which show a coarse measurement of the temperature inside of the IMU device. This data is most useful for monitoring relative changes in the thermal environment.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hjhhubh)}(hXThe signal chain of each inertial sensor (accelerometers and gyroscopes) includes the application of unique correction formulas, which are derived from extensive characterization of bias, sensitivity, alignment, response to linear acceleration (gyroscopes), and point of percussion (accelerometer location) over a temperature range of −40°C to +85°C, for each ADIS device. These correction formulas are not accessible, but users do have the opportunity to adjust the bias for each sensor individually through the calibbias attribute.h]hXThe signal chain of each inertial sensor (accelerometers and gyroscopes) includes the application of unique correction formulas, which are derived from extensive characterization of bias, sensitivity, alignment, response to linear acceleration (gyroscopes), and point of percussion (accelerometer location) over a temperature range of −40°C to +85°C, for each ADIS device. These correction formulas are not accessible, but users do have the opportunity to adjust the bias for each sensor individually through the calibbias attribute.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hjhhubh)}(hXSEach IIO device, has a device folder under ``/sys/bus/iio/devices/iio:deviceX``, where X is the IIO index of the device. Under these folders reside a set of device files, depending on the characteristics and features of the hardware device in questions. These files are consistently generalized and documented in the IIO ABI documentation.h](h+Each IIO device, has a device folder under }(hjhhhNhNubhliteral)}(h$``/sys/bus/iio/devices/iio:deviceX``h]h /sys/bus/iio/devices/iio:deviceX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX, where X is the IIO index of the device. Under these folders reside a set of device files, depending on the characteristics and features of the hardware device in questions. These files are consistently generalized and documented in the IIO ABI documentation.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK5hjhhubh)}(hThe following tables show the adis16475 related device files, found in the specific device folder path ``/sys/bus/iio/devices/iio:deviceX``.h](hgThe following tables show the adis16475 related device files, found in the specific device folder path }(hjhhhNhNubj)}(h$``/sys/bus/iio/devices/iio:deviceX``h]h /sys/bus/iio/devices/iio:deviceX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK;hjhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthK+uh1j+hj(ubj,)}(hhh]h}(h]h ]h"]h$]h&]colwidthK:uh1j+hj(ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h)3-Axis Accelerometer related device filesh]h)3-Axis Accelerometer related device files}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hjMubah}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh]h)}(h Descriptionh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hjdubah}(h]h ]h"]h$]h&]uh1jKhjHubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_accel_scaleh]hin_accel_scale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h%Scale for the accelerometer channels.h]h%Scale for the accelerometer channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_accel_x_calibbiash]hin_accel_x_calibbias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h8Calibration offset for the X-axis accelerometer channel.h]h8Calibration offset for the X-axis accelerometer channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_accel_x_rawh]hin_accel_x_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h'Raw X-axis accelerometer channel value.h]h'Raw X-axis accelerometer channel value.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhj ubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_accel_y_calibbiash]hin_accel_y_calibbias}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj)ubah}(h]h ]h"]h$]h&]uh1jKhj&ubjL)}(hhh]h)}(h8Calibration offset for the Y-axis accelerometer channel.h]h8Calibration offset for the Y-axis accelerometer channel.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj@ubah}(h]h ]h"]h$]h&]uh1jKhj&ubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_accel_y_rawh]hin_accel_y_raw}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhj`ubah}(h]h ]h"]h$]h&]uh1jKhj]ubjL)}(hhh]h)}(h'Raw Y-axis accelerometer channel value.h]h'Raw Y-axis accelerometer channel value.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhjwubah}(h]h ]h"]h$]h&]uh1jKhj]ubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_accel_z_calibbiash]hin_accel_z_calibbias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h8Calibration offset for the Z-axis accelerometer channel.h]h8Calibration offset for the Z-axis accelerometer channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_accel_z_rawh]hin_accel_z_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKMhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h'Raw Z-axis accelerometer channel value.h]h'Raw Z-axis accelerometer channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKMhjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_deltavelocity_scaleh]hin_deltavelocity_scale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h"Scale for delta velocity channels.h]h"Scale for delta velocity channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_deltavelocity_x_rawh]hin_deltavelocity_x_raw}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKQhj<ubah}(h]h ]h"]h$]h&]uh1jKhj9ubjL)}(hhh]h)}(h(Raw X-axis delta velocity channel value.h]h(Raw X-axis delta velocity channel value.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKQhjSubah}(h]h ]h"]h$]h&]uh1jKhj9ubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_deltavelocity_y_rawh]hin_deltavelocity_y_raw}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKShjsubah}(h]h ]h"]h$]h&]uh1jKhjpubjL)}(hhh]h)}(h(Raw Y-axis delta velocity channel value.h]h(Raw Y-axis delta velocity channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKShjubah}(h]h ]h"]h$]h&]uh1jKhjpubeh}(h]h ]h"]h$]h&]uh1jFhjCubjG)}(hhh](jL)}(hhh]h)}(hin_deltavelocity_z_rawh]hin_deltavelocity_z_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h(Raw Z-axis delta velocity channel value.h]h(Raw Z-axis delta velocity channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjCubeh}(h]h ]h"]h$]h&]uh1jAhj(ubeh}(h]h ]h"]h$]h&]colsKuh1j&hj#ubah}(h]h ]h"]h$]h&]uh1j!hjhhhhhNubj")}(hhh]j')}(hhh](j,)}(hhh]h}(h]h ]h"]h$]h&]colwidthK'uh1j+hjubj,)}(hhh]h}(h]h ]h"]h$]h&]colwidthK6uh1j+hjubjB)}(hhh](jG)}(hhh](jL)}(hhh]h)}(h%3-Axis Gyroscope related device filesh]h%3-Axis Gyroscope related device files}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h Descriptionh]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhj(ubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_anglvel_scaleh]hin_anglvel_scale}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK[hjHubah}(h]h ]h"]h$]h&]uh1jKhjEubjL)}(hhh]h)}(h!Scale for the gyroscope channels.h]h!Scale for the gyroscope channels.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK[hj_ubah}(h]h ]h"]h$]h&]uh1jKhjEubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_anglvel_x_calibbiash]hin_anglvel_x_calibbias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hjubah}(h]h ]h"]h$]h&]uh1jKhj|ubjL)}(hhh]h)}(h4Calibration offset for the X-axis gyroscope channel.h]h4Calibration offset for the X-axis gyroscope channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hjubah}(h]h ]h"]h$]h&]uh1jKhj|ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_anglvel_x_rawh]hin_anglvel_x_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK_hjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h#Raw X-axis gyroscope channel value.h]h#Raw X-axis gyroscope channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK_hjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_anglvel_y_calibbiash]hin_anglvel_y_calibbias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKahjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h4Calibration offset for the Y-axis gyroscope channel.h]h4Calibration offset for the Y-axis gyroscope channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKahjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_anglvel_y_rawh]hin_anglvel_y_raw}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchj$ubah}(h]h ]h"]h$]h&]uh1jKhj!ubjL)}(hhh]h)}(h#Raw Y-axis gyroscope channel value.h]h#Raw Y-axis gyroscope channel value.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchj;ubah}(h]h ]h"]h$]h&]uh1jKhj!ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_anglvel_z_calibbiash]hin_anglvel_z_calibbias}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKehj[ubah}(h]h ]h"]h$]h&]uh1jKhjXubjL)}(hhh]h)}(h4Calibration offset for the Z-axis gyroscope channel.h]h4Calibration offset for the Z-axis gyroscope channel.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKehjrubah}(h]h ]h"]h$]h&]uh1jKhjXubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_anglvel_z_rawh]hin_anglvel_z_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h#Raw Z-axis gyroscope channel value.h]h#Raw Z-axis gyroscope channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_deltaangl_scaleh]hin_deltaangl_scale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKihjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(hScale for delta angle channels.h]hScale for delta angle channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKihjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_deltaangl_x_rawh]hin_deltaangl_x_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h%Raw X-axis delta angle channel value.h]h%Raw X-axis delta angle channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_deltaangl_y_rawh]hin_deltaangl_y_raw}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhj7ubah}(h]h ]h"]h$]h&]uh1jKhj4ubjL)}(hhh]h)}(h%Raw Y-axis delta angle channel value.h]h%Raw Y-axis delta angle channel value.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhjNubah}(h]h ]h"]h$]h&]uh1jKhj4ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hin_deltaangl_z_rawh]hin_deltaangl_z_raw}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKohjnubah}(h]h ]h"]h$]h&]uh1jKhjkubjL)}(hhh]h)}(h%Raw Z-axis delta angle channel value.h]h%Raw Z-axis delta angle channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKohjubah}(h]h ]h"]h$]h&]uh1jKhjkubeh}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1jAhjubeh}(h]h ]h"]h$]h&]colsKuh1j&hjubah}(h]h ]h"]h$]h&]uh1j!hjhhhhhNubj")}(hhh]j')}(hhh](j,)}(hhh]h}(h]h ]h"]h$]h&]colwidthK"uh1j+hjubj,)}(hhh]h}(h]h ]h"]h$]h&]colwidthK+uh1j+hjubjB)}(hhh](jG)}(hhh](jL)}(hhh]h)}(h Temperature sensor related filesh]h Temperature sensor related files}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubah}(h]h ]h"]h$]h&]uh1jKhjubjL)}(hhh]h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubah}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]uh1jFhjubjG)}(hhh](jL)}(hhh]h)}(h in_temp0_rawh]h in_temp0_raw}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKuhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hRaw temperature channel value.h]hRaw temperature channel value.}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKuhj# ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhjubjG)}(hhh](jL)}(hhh]h)}(hin_temp0_scaleh]hin_temp0_scale}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjC ubah}(h]h ]h"]h$]h&]uh1jKhj@ ubjL)}(hhh]h)}(h)Scale for the temperature sensor channel.h]h)Scale for the temperature sensor channel.}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjZ ubah}(h]h ]h"]h$]h&]uh1jKhj@ ubeh}(h]h ]h"]h$]h&]uh1jFhjubeh}(h]h ]h"]h$]h&]uh1jAhjubeh}(h]h ]h"]h$]h&]colsKuh1j&hjubah}(h]h ]h"]h$]h&]uh1j!hjhhhhhNubj")}(hhh]j')}(hhh](j,)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j+hj ubj,)}(hhh]h}(h]h ]h"]h$]h&]colwidthK9uh1j+hj ubjB)}(hhh](jG)}(hhh](jL)}(hhh]h)}(hMiscellaneous device filesh]hMiscellaneous device files}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(h Descriptionh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hnameh]hname}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hName of the IIO device.h]hName of the IIO device.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hsampling_frequencyh]hsampling_frequency}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hCurrently selected sample rate.h]hCurrently selected sample rate.}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj/ ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hfilter_low_pass_3db_frequencyh]hfilter_low_pass_3db_frequency}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjO ubah}(h]h ]h"]h$]h&]uh1jKhjL ubjL)}(hhh]h)}(h7Bandwidth for the accelerometer and gyroscope channels.h]h7Bandwidth for the accelerometer and gyroscope channels.}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjf ubah}(h]h ]h"]h$]h&]uh1jKhjL ubeh}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1jAhj ubeh}(h]h ]h"]h$]h&]colsKuh1j&hj ubah}(h]h ]h"]h$]h&]uh1j!hjhhhhhNubh)}(hThe following table shows the adis16475 related device debug files, found in the specific device debug folder path ``/sys/kernel/debug/iio/iio:deviceX``.h](hsThe following table shows the adis16475 related device debug files, found in the specific device debug folder path }(hj hhhNhNubj)}(h%``/sys/kernel/debug/iio/iio:deviceX``h]h!/sys/kernel/debug/iio/iio:deviceX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj")}(hhh]j')}(hhh](j,)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j+hj ubj,)}(hhh]h}(h]h ]h"]h$]h&]colwidthKIuh1j+hj ubjB)}(hhh](jG)}(hhh](jL)}(hhh]h)}(hDebugfs device filesh]hDebugfs device files}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(h Descriptionh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h serial_numberh]h serial_number}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(h4The serial number of the chip in hexadecimal format.h]h4The serial number of the chip in hexadecimal format.}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h product_idh]h product_id}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjD ubah}(h]h ]h"]h$]h&]uh1jKhjA ubjL)}(hhh]h)}(h:Chip specific product id (e.g. 16475, 16500, 16505, etc.).h]h:Chip specific product id (e.g. 16475, 16500, 16505, etc.).}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj[ ubah}(h]h ]h"]h$]h&]uh1jKhjA ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h flash_counth]h flash_count}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj{ ubah}(h]h ]h"]h$]h&]uh1jKhjx ubjL)}(hhh]h)}(h3The number of flash writes performed on the device.h]h3The number of flash writes performed on the device.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhjx ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hfirmware_revisionh]hfirmware_revision}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hFString containing the firmware revision in the following format ##.##.h]hFString containing the firmware revision in the following format ##.##.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h firmware_dateh]h firmware_date}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hGString containing the firmware date in the following format mm-dd-yyyy.h]hGString containing the firmware date in the following format mm-dd-yyyy.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1jAhj ubeh}(h]h ]h"]h$]h&]colsKuh1j&hj ubah}(h]h ]h"]h$]h&]uh1j!hjhhhhhNubh)}(hhh](h)}(hChannels processed valuesh]hChannels processed values}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0 hhhhhKubh)}(hA channel value can be read from its _raw attribute. The value returned is the raw value as reported by the devices. To get the processed value of the channel, apply the following formula:h]hA channel value can be read from its _raw attribute. The value returned is the raw value as reported by the devices. To get the processed value of the channel, apply the following formula:}(hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0 hhubh literal_block)}(h+processed value = (_raw + _offset) * _scaleh]h+processed value = (_raw + _offset) * _scale}hjQ sbah}(h]h ]h"]h$]h&]hhforcelanguagebashhighlight_args}uh1jO hhhKhj0 hhubh)}(hqWhere _offset and _scale are device attributes. If no _offset attribute is present, simply assume its value is 0.h]hqWhere _offset and _scale are device attributes. If no _offset attribute is present, simply assume its value is 0.}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0 hhubh)}(hThe adis16475 driver offers data for 5 types of channels, the table below shows the measurement units for the processed value, which are defined by the IIO framework:h]hThe adis16475 driver offers data for 5 types of channels, the table below shows the measurement units for the processed value, which are defined by the IIO framework:}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0 hhubj")}(hhh]j')}(hhh](j,)}(hhh]h}(h]h ]h"]h$]h&]colwidthK%uh1j+hj ubj,)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j+hj ubjB)}(hhh](jG)}(hhh](jL)}(hhh]h)}(h Channel typeh]h Channel type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hMeasurement unith]hMeasurement unit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h Acceleration on X, Y, and Z axish]h Acceleration on X, Y, and Z axis}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hMeters per Second squaredh]hMeters per Second squared}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h#Angular velocity on X, Y and Z axish]h#Angular velocity on X, Y and Z axis}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hRadians per secondh]hRadians per second}(hj( hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj% ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h"Delta velocity on X. Y, and Z axish]h"Delta velocity on X. Y, and Z axis}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjE ubah}(h]h ]h"]h$]h&]uh1jKhjB ubjL)}(hhh]h)}(hMeters per Secondh]hMeters per Second}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\ ubah}(h]h ]h"]h$]h&]uh1jKhjB ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(hDelta angle on X, Y, and Z axish]hDelta angle on X, Y, and Z axis}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj| ubah}(h]h ]h"]h$]h&]uh1jKhjy ubjL)}(hhh]h)}(hRadiansh]hRadians}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhjy ubeh}(h]h ]h"]h$]h&]uh1jFhj ubjG)}(hhh](jL)}(hhh]h)}(h Temperatureh]h Temperature}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubjL)}(hhh]h)}(hMillidegrees Celsiush]hMillidegrees Celsius}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]uh1jFhj ubeh}(h]h ]h"]h$]h&]uh1jAhj ubeh}(h]h ]h"]h$]h&]colsKuh1j&hj ubah}(h]h ]h"]h$]h&]uh1j!hj0 hhhhhNubeh}(h]channels-processed-valuesah ]h"]channels processed valuesah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(hUsage examplesh]hUsage examples}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hShow device name:h]hShow device name:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubjP )}(h;root:/sys/bus/iio/devices/iio:device0> cat name adis16505-2h]h;root:/sys/bus/iio/devices/iio:device0> cat name adis16505-2}hj!sbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhKhjhhubh)}(h"Show accelerometer channels value:h]h"Show accelerometer channels value:}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubjP )}(hXroot:/sys/bus/iio/devices/iio:device0> cat in_accel_x_raw -275924 root:/sys/bus/iio/devices/iio:device0> cat in_accel_y_raw -30142222 root:/sys/bus/iio/devices/iio:device0> cat in_accel_z_raw 261265769 root:/sys/bus/iio/devices/iio:device0> cat in_accel_scale 0.000000037h]hXroot:/sys/bus/iio/devices/iio:device0> cat in_accel_x_raw -275924 root:/sys/bus/iio/devices/iio:device0> cat in_accel_y_raw -30142222 root:/sys/bus/iio/devices/iio:device0> cat in_accel_z_raw 261265769 root:/sys/bus/iio/devices/iio:device0> cat in_accel_scale 0.000000037}hj?sbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhKhjhhubh)}(hhh](h)}(hLX-axis acceleration = in_accel_x_raw * in_accel_scale = −0.010209188 m/s^2h]h)}(hjTh]hLX-axis acceleration = in_accel_x_raw * in_accel_scale = −0.010209188 m/s^2}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjRubah}(h]h ]h"]h$]h&]uh1hhjOhhhhhNubh)}(hLY-axis acceleration = in_accel_y_raw * in_accel_scale = −1.115262214 m/s^2h]h)}(hjkh]hLY-axis acceleration = in_accel_y_raw * in_accel_scale = −1.115262214 m/s^2}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjiubah}(h]h ]h"]h$]h&]uh1hhjOhhhhhNubh)}(hJZ-axis acceleration = in_accel_z_raw * in_accel_scale = 9.666833453 m/s^2 h]h)}(hIZ-axis acceleration = in_accel_z_raw * in_accel_scale = 9.666833453 m/s^2h]hIZ-axis acceleration = in_accel_z_raw * in_accel_scale = 9.666833453 m/s^2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjOhhhhhNubeh}(h]h ]h"]h$]h&]j~-uh1hhhhKhjhhubh)}(hShow gyroscope channels value:h]hShow gyroscope channels value:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubjP )}(hXroot:/sys/bus/iio/devices/iio:device0> cat in_anglvel_x_raw -3324626 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_raw 1336980 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_z_raw -602983 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_scale 0.000000006h]hXroot:/sys/bus/iio/devices/iio:device0> cat in_anglvel_x_raw -3324626 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_raw 1336980 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_z_raw -602983 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_scale 0.000000006}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhKhjhhubh)}(hhh](h)}(hTX-axis angular velocity = in_anglvel_x_raw * in_anglvel_scale = −0.019947756 rad/sh]h)}(hjh]hTX-axis angular velocity = in_anglvel_x_raw * in_anglvel_scale = −0.019947756 rad/s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hPY-axis angular velocity = in_anglvel_y_raw * in_anglvel_scale = 0.00802188 rad/sh]h)}(hjh]hPY-axis angular velocity = in_anglvel_y_raw * in_anglvel_scale = 0.00802188 rad/s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hUZ-axis angular velocity = in_anglvel_z_raw * in_anglvel_scale = −0.003617898 rad/s h]h)}(hTZ-axis angular velocity = in_anglvel_z_raw * in_anglvel_scale = −0.003617898 rad/sh]hTZ-axis angular velocity = in_anglvel_z_raw * in_anglvel_scale = −0.003617898 rad/s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubeh}(h]h ]h"]h$]h&]j~juh1hhhhKhjhhubh)}(h2Set calibration offset for accelerometer channels:h]h2Set calibration offset for accelerometer channels:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubjP )}(hroot:/sys/bus/iio/devices/iio:device0> cat in_accel_x_calibbias 0 root:/sys/bus/iio/devices/iio:device0> echo 5000 > in_accel_x_calibbias root:/sys/bus/iio/devices/iio:device0> cat in_accel_x_calibbias 5000h]hroot:/sys/bus/iio/devices/iio:device0> cat in_accel_x_calibbias 0 root:/sys/bus/iio/devices/iio:device0> echo 5000 > in_accel_x_calibbias root:/sys/bus/iio/devices/iio:device0> cat in_accel_x_calibbias 5000}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhKhjhhubh)}(h.Set calibration offset for gyroscope channels:h]h.Set calibration offset for gyroscope channels:}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubjP )}(hroot:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_calibbias 0 root:/sys/bus/iio/devices/iio:device0> echo -5000 > in_anglvel_y_calibbias root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_calibbias -5000h]hroot:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_calibbias 0 root:/sys/bus/iio/devices/iio:device0> echo -5000 > in_anglvel_y_calibbias root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_calibbias -5000}hj8sbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhKhjhhubh)}(hSet sampling frequency:h]hSet sampling frequency:}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubjP )}(hroot:/sys/bus/iio/devices/iio:device0> cat sampling_frequency 2000.000000 root:/sys/bus/iio/devices/iio:device0> echo 1000 > sampling_frequency 1000.000000h]hroot:/sys/bus/iio/devices/iio:device0> cat sampling_frequency 2000.000000 root:/sys/bus/iio/devices/iio:device0> echo 1000 > sampling_frequency 1000.000000}hjVsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhKhjhhubh)}(h.Set bandwidth for accelerometer and gyroscope:h]h.Set bandwidth for accelerometer and gyroscope:}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubjP )}(hroot:/sys/bus/iio/devices/iio:device0> cat filter_low_pass_3db_frequency 720 root:/sys/bus/iio/devices/iio:device0> echo 360 > filter_low_pass_3db_frequency root:/sys/bus/iio/devices/iio:device0> cat filter_low_pass_3db_frequency 360h]hroot:/sys/bus/iio/devices/iio:device0> cat filter_low_pass_3db_frequency 720 root:/sys/bus/iio/devices/iio:device0> echo 360 > filter_low_pass_3db_frequency root:/sys/bus/iio/devices/iio:device0> cat filter_low_pass_3db_frequency 360}hjtsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMhjhhubh)}(hShow serial number:h]hShow serial number:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjhhubjP )}(h@root:/sys/kernel/debug/iio/iio:device0> cat serial_number 0x04f9h]h@root:/sys/kernel/debug/iio/iio:device0> cat serial_number 0x04f9}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMhjhhubh)}(hShow product id:h]hShow product id:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubjP )}(h cat product_id 16505h]h cat product_id 16505}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMhjhhubh)}(hShow flash count:h]hShow flash count:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjhhubjP )}(h;root:/sys/kernel/debug/iio/iio:device0> cat flash_count 150h]h;root:/sys/kernel/debug/iio/iio:device0> cat flash_count 150}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMhjhhubh)}(hShow firmware revision:h]hShow firmware revision:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM!hjhhubjP )}(hAroot:/sys/kernel/debug/iio/iio:device0> cat firmware_revision 1.6h]hAroot:/sys/kernel/debug/iio/iio:device0> cat firmware_revision 1.6}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhM#hjhhubh)}(hShow firmware date:h]hShow firmware date:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM(hjhhubjP )}(hDroot:/sys/kernel/debug/iio/iio:device0> cat firmware_date 06-27-2019h]hDroot:/sys/kernel/debug/iio/iio:device0> cat firmware_date 06-27-2019}hj sbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhM*hjhhubeh}(h]usage-examplesah ]h"]h$]usage examplesah&]uh1hhjhhhhhKjKubeh}(h]device-attributesah ]h"]2. device attributesah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h3. Device buffersh]h3. Device buffers}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hhhhhM0ubh)}(h!This driver supports IIO buffers.h]h!This driver supports IIO buffers.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM2hj*hhubh)}(hjAll devices support retrieving the raw acceleration, gyroscope and temperature measurements using buffers.h]hjAll devices support retrieving the raw acceleration, gyroscope and temperature measurements using buffers.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM4hj*hhubh)}(hThe following device families also support retrieving the delta velocity, delta angle and temperature measurements using buffers:h]hThe following device families also support retrieving the delta velocity, delta angle and temperature measurements using buffers:}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM7hj*hhubh)}(hhh](h)}(h ADIS16477h]h)}(hjjh]h ADIS16477}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM:hjhubah}(h]h ]h"]h$]h&]uh1hhjehhhhhNubh)}(h ADIS16500h]h)}(hjh]h ADIS16500}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM;hjubah}(h]h ]h"]h$]h&]uh1hhjehhhhhNubh)}(h ADIS16505h]h)}(hjh]h ADIS16505}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM<hjubah}(h]h ]h"]h$]h&]uh1hhjehhhhhNubh)}(h ADIS16507 h]h)}(h ADIS16507h]h ADIS16507}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM=hjubah}(h]h ]h"]h$]h&]uh1hhjehhhhhNubeh}(h]h ]h"]h$]h&]j~juh1hhhhM:hj*hhubh)}(h{However, when retrieving acceleration or gyroscope data using buffers, delta readings will not be available and vice versa.h]h{However, when retrieving acceleration or gyroscope data using buffers, delta readings will not be available and vice versa.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM?hj*hhubh)}(hhh](h)}(hUsage examplesh]hUsage examples}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMCubh)}(h:Set device trigger in current_trigger, if not already set:h]h:Set device trigger in current_trigger, if not already set:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMEhjhhubjP )}(hroot:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> echo adis16505-2-dev0 > trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger adis16505-2-dev0h]hroot:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> echo adis16505-2-dev0 > trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger adis16505-2-dev0}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMGhjhhubh)}(h Select channels for buffer read:h]h Select channels for buffer read:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMOhjhhubjP )}(hXEroot:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_deltavelocity_x_en root:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_deltavelocity_y_en root:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_deltavelocity_z_en root:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_temp0_enh]hXEroot:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_deltavelocity_x_en root:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_deltavelocity_y_en root:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_deltavelocity_z_en root:/sys/bus/iio/devices/iio:device0> echo 1 > scan_elements/in_temp0_en}hjsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMQhjhhubh)}(h5Set the number of samples to be stored in the buffer:h]h5Set the number of samples to be stored in the buffer:}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMXhjhhubjP )}(h>root:/sys/bus/iio/devices/iio:device0> echo 10 > buffer/lengthh]h>root:/sys/bus/iio/devices/iio:device0> echo 10 > buffer/length}hj4sbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMZhjhhubh)}(hEnable buffer readings:h]hEnable buffer readings:}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM^hjhhubjP )}(h=root:/sys/bus/iio/devices/iio:device0> echo 1 > buffer/enableh]h=root:/sys/bus/iio/devices/iio:device0> echo 1 > buffer/enable}hjRsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhM`hjhhubh)}(hObtain buffered data:h]hObtain buffered data:}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMdhjhhubjP )}(hXNroot:/sys/bus/iio/devices/iio:device0> hexdump -C /dev/iio\:device0 ... 00001680 01 1f 00 00 ff ff fe ef 00 00 47 bf 00 03 35 55 |..........G...5U| 00001690 01 1f 00 00 ff ff ff d9 00 00 46 f1 00 03 35 35 |..........F...55| 000016a0 01 1f 00 00 ff ff fe fc 00 00 46 cb 00 03 35 7b |..........F...5{| 000016b0 01 1f 00 00 ff ff fe 41 00 00 47 0d 00 03 35 8b |.......A..G...5.| 000016c0 01 1f 00 00 ff ff fe 37 00 00 46 b4 00 03 35 90 |.......7..F...5.| 000016d0 01 1d 00 00 ff ff fe 5a 00 00 45 d7 00 03 36 08 |.......Z..E...6.| 000016e0 01 1b 00 00 ff ff fe fb 00 00 45 e7 00 03 36 60 |..........E...6`| 000016f0 01 1a 00 00 ff ff ff 17 00 00 46 bc 00 03 36 de |..........F...6.| 00001700 01 1a 00 00 ff ff fe 59 00 00 46 d7 00 03 37 b8 |.......Y..F...7.| 00001710 01 1a 00 00 ff ff fe ae 00 00 46 95 00 03 37 ba |..........F...7.| 00001720 01 1a 00 00 ff ff fe c5 00 00 46 63 00 03 37 9f |..........Fc..7.| 00001730 01 1a 00 00 ff ff fe 55 00 00 46 89 00 03 37 c1 |.......U..F...7.| 00001740 01 1a 00 00 ff ff fe 31 00 00 46 aa 00 03 37 f7 |.......1..F...7.| ...h]hXNroot:/sys/bus/iio/devices/iio:device0> hexdump -C /dev/iio\:device0 ... 00001680 01 1f 00 00 ff ff fe ef 00 00 47 bf 00 03 35 55 |..........G...5U| 00001690 01 1f 00 00 ff ff ff d9 00 00 46 f1 00 03 35 35 |..........F...55| 000016a0 01 1f 00 00 ff ff fe fc 00 00 46 cb 00 03 35 7b |..........F...5{| 000016b0 01 1f 00 00 ff ff fe 41 00 00 47 0d 00 03 35 8b |.......A..G...5.| 000016c0 01 1f 00 00 ff ff fe 37 00 00 46 b4 00 03 35 90 |.......7..F...5.| 000016d0 01 1d 00 00 ff ff fe 5a 00 00 45 d7 00 03 36 08 |.......Z..E...6.| 000016e0 01 1b 00 00 ff ff fe fb 00 00 45 e7 00 03 36 60 |..........E...6`| 000016f0 01 1a 00 00 ff ff ff 17 00 00 46 bc 00 03 36 de |..........F...6.| 00001700 01 1a 00 00 ff ff fe 59 00 00 46 d7 00 03 37 b8 |.......Y..F...7.| 00001710 01 1a 00 00 ff ff fe ae 00 00 46 95 00 03 37 ba |..........F...7.| 00001720 01 1a 00 00 ff ff fe c5 00 00 46 63 00 03 37 9f |..........Fc..7.| 00001730 01 1a 00 00 ff ff fe 55 00 00 46 89 00 03 37 c1 |.......U..F...7.| 00001740 01 1a 00 00 ff ff fe 31 00 00 46 aa 00 03 37 f7 |.......1..F...7.| ...}hjpsbah}(h]h ]h"]h$]h&]hhj_ j` bashjb }uh1jO hhhMfhjhhubh)}(hdSee ``Documentation/iio/iio_devbuf.rst`` for more information about how buffered data is structured.h](hSee }(hjhhhNhNubj)}(h$``Documentation/iio/iio_devbuf.rst``h]h Documentation/iio/iio_devbuf.rst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< for more information about how buffered data is structured.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMyhjhhubeh}(h]id1ah ]h"]h$]j ah&]uh1hhj*hhhhhMCjKubeh}(h]device-buffersah ]h"]3. device buffersah$]h&]uh1hhhhhhhhM0ubh)}(hhh](h)}(h4. IIO Interfacing Toolsh]h4. IIO Interfacing Tools}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM}ubh)}(hcSee ``Documentation/iio/iio_tools.rst`` for the description of the available IIO interfacing tools.h](hSee }(hjhhhNhNubj)}(h#``Documentation/iio/iio_tools.rst``h]hDocumentation/iio/iio_tools.rst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< for the description of the available IIO interfacing tools.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjhhubeh}(h]iio-interfacing-toolsah ]h"]4. iio interfacing toolsah$]h&]uh1hhhhhhhhM}ubeh}(h]adis16475-driverah ]h"]adis16475 driverah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjKfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jjjjjjjGjDjwjtjjjjjjj7j4jhjej'j$j j usage examplesNjjjju nametypes}(jjjjGjwjjjj7jhj'j jVjjuh}(jhjhjj jDj>jtjnjjjjjjj4j.jej_j$jj j0 jjjj*jjjju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j KsRparse_messages]hsystem_message)}(hhh]h)}(h1Duplicate implicit target name: "usage examples".h]h5Duplicate implicit target name: “usage examples”.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwubah}(h]h ]h"]h$]h&]jalevelKtypeINFOsourcehlineMCuh1juhjhhhhhMCubatransform_messages] transformerN include_log] decorationNhhub.