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/adis16550modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/zh_TW/iio/adis16550modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/it_IT/iio/adis16550modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ja_JP/iio/adis16550modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/ko_KR/iio/adis16550modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget!/translations/sp_SP/iio/adis16550modnameN 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/adis16550.rsthKubhsection)}(hhh](htitle)}(hADIS16550 driverh]hADIS16550 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)}(h0`ADIS16550 `_ h]h)}(h/`ADIS16550 `_h](h reference)}(hhh]h ADIS16550}(hhhhhNhNubah}(h]h ]h"]h$]h&]name ADIS16550refuri https://www.analog.com/ADIS16550uh1hhhubhtarget)}(h# h]h}(h] adis16550ah ]h"] adis16550ah$]h&]refurij uh1j  referencedKhhubeh}(h]h ]h"]h$]h&]uh1hhhhK hhubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubah}(h]h ]h"]h$]h&]bullet*uh1hhhhK hhhhubh)}(hX0The ADIS16550 is a complete inertial system that includes a triaxis gyroscope and a triaxis accelerometer. The factory calibration characterizes each sensor for sensitivity, bias, and alignment. As a result, each sensor has its own dynamic compensation formulas that provide accurate sensor measurements.h]hX0The ADIS16550 is a complete inertial system that includes a triaxis gyroscope and a triaxis accelerometer. The factory calibration characterizes each sensor for sensitivity, bias, and alignment. As a result, each sensor has its own dynamic compensation formulas that provide accurate sensor measurements.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubeh}(h]supported-devicesah ]h"]1. supported devicesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h2. Device attributesh]h2. Device attributes}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhhhhhKubh)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjFhhubh)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjFhhubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjFhhubh)}(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&]uh1hhhhK"hjFhhubh)}(hThe following tables show the adis16550 related device files, found in the specific device folder path ``/sys/bus/iio/devices/iio:deviceX``.h](hgThe following tables show the adis16550 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK(hjFhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthK+uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK:uh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h)3-Axis Accelerometer related device filesh]h)3-Axis Accelerometer related device files}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h Descriptionh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_scaleh]hin_accel_scale}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hj&ubah}(h]h ]h"]h$]h&]uh1jhj#ubj)}(hhh]h)}(h%Scale for the accelerometer channels.h]h%Scale for the accelerometer channels.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hj=ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h&in_accel_filter_low_pass_3db_frequencyh]h&in_accel_filter_low_pass_3db_frequency}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK0hj]ubah}(h]h ]h"]h$]h&]uh1jhjZubj)}(hhh]h)}(h)Bandwidth for the accelerometer channels.h]h)Bandwidth for the accelerometer channels.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK0hjtubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_x_calibbiash]hin_accel_x_calibbias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(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&]uh1hhhhK2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_x_calibscaleh]hin_accel_x_calibscale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK4hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h7Calibration scale for the X-axis accelerometer channel.h]h7Calibration scale for the X-axis accelerometer channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK4hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_x_rawh]hin_accel_x_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h'Raw X-axis accelerometer channel value.h]h'Raw X-axis accelerometer channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_y_calibbiash]hin_accel_y_calibbias}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hj9ubah}(h]h ]h"]h$]h&]uh1jhj6ubj)}(hhh]h)}(h8Calibration offset for the Y-axis accelerometer channel.h]h8Calibration offset for the Y-axis accelerometer channel.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjPubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_y_calibscaleh]hin_accel_y_calibscale}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjpubah}(h]h ]h"]h$]h&]uh1jhjmubj)}(hhh]h)}(h7Calibration scale for the Y-axis accelerometer channel.h]h7Calibration scale for the Y-axis accelerometer channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_y_rawh]hin_accel_y_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(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&]uh1hhhhK>hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_z_calibscaleh]hin_accel_z_calibscale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h7Calibration scale for the Z-axis accelerometer channel.h]h7Calibration scale for the Z-axis accelerometer channel.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_accel_z_rawh]hin_accel_z_raw}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjLubah}(h]h ]h"]h$]h&]uh1jhjIubj)}(hhh]h)}(h'Raw Z-axis accelerometer channel value.h]h'Raw Z-axis accelerometer channel value.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjcubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltavelocity_scaleh]hin_deltavelocity_scale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h"Scale for delta velocity channels.h]h"Scale for delta velocity channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltavelocity_x_rawh]hin_deltavelocity_x_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h(Raw X-axis delta velocity channel value.h]h(Raw X-axis delta velocity channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltavelocity_y_rawh]hin_deltavelocity_y_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h(Raw Y-axis delta velocity channel value.h]h(Raw Y-axis delta velocity channel value.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltavelocity_z_rawh]hin_deltavelocity_z_raw}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKJhj(ubah}(h]h ]h"]h$]h&]uh1jhj%ubj)}(hhh]h)}(h(Raw Z-axis delta velocity channel value.h]h(Raw Z-axis delta velocity channel value.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKJhj?ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjFhhhhhNubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK,uh1jhjrubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK6uh1jhjrubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h%3-Axis Gyroscope related device filesh]h%3-Axis Gyroscope related device files}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_scaleh]hin_anglvel_scale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h!Scale for the gyroscope channels.h]h!Scale for the gyroscope channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h(in_anglvel_filter_low_pass_3db_frequencyh]h(in_anglvel_filter_low_pass_3db_frequency}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKRhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h!Scale for the gyroscope channels.h]h!Scale for the gyroscope channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_x_calibbiash]hin_anglvel_x_calibbias}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThj4ubah}(h]h ]h"]h$]h&]uh1jhj1ubj)}(hhh]h)}(h4Calibration offset for the X-axis gyroscope channel.h]h4Calibration offset for the X-axis gyroscope channel.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThjKubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_x_calibscaleh]hin_anglvel_x_calibscale}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjkubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]h)}(h3Calibration scale for the X-axis gyroscope channel.h]h3Calibration scale for the X-axis gyroscope channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_x_rawh]hin_anglvel_x_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKXhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h#Raw X-axis gyroscope channel value.h]h#Raw X-axis gyroscope channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_y_calibbiash]hin_anglvel_y_calibbias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKZhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(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&]uh1hhhhKZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_y_calibscaleh]hin_anglvel_y_calibscale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h3Calibration scale for the Y-axis gyroscope channel.h]h3Calibration scale for the Y-axis gyroscope channel.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_y_rawh]hin_anglvel_y_raw}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK^hjGubah}(h]h ]h"]h$]h&]uh1jhjDubj)}(hhh]h)}(h#Raw Y-axis gyroscope channel value.h]h#Raw Y-axis gyroscope channel value.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK^hj^ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_z_calibbiash]hin_anglvel_z_calibbias}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK`hj~ubah}(h]h ]h"]h$]h&]uh1jhj{ubj)}(hhh]h)}(h4Calibration offset for the Z-axis gyroscope channel.h]h4Calibration offset for the Z-axis gyroscope channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK`hjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_z_calibscaleh]hin_anglvel_z_calibscale}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h3Calibration scale for the Z-axis gyroscope channel.h]h3Calibration scale for the Z-axis gyroscope channel.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_anglvel_z_rawh]hin_anglvel_z_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h#Raw Z-axis gyroscope channel value.h]h#Raw Z-axis gyroscope channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltaangl_scaleh]hin_deltaangl_scale}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhj#ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hScale for delta angle channels.h]hScale for delta angle channels.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhj:ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltaangl_x_rawh]hin_deltaangl_x_raw}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhjZubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh]h)}(h%Raw X-axis delta angle channel value.h]h%Raw X-axis delta angle channel value.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhjqubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltaangl_y_rawh]hin_deltaangl_y_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h%Raw Y-axis delta angle channel value.h]h%Raw Y-axis delta angle channel value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hin_deltaangl_z_rawh]hin_deltaangl_z_raw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKlhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(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&]uh1hhhhKlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]colsKuh1jhjoubah}(h]h ]h"]h$]h&]uh1jhjFhhhhhNubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK"uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK+uh1jhj ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h Temperature sensor related filesh]h Temperature sensor related files}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphj/ ubah}(h]h ]h"]h$]h&]uh1jhj, ubj)}(hhh]h)}(h Descriptionh]h Description}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjF ubah}(h]h ]h"]h$]h&]uh1jhj, ubeh}(h]h ]h"]h$]h&]uh1jhj) ubj)}(hhh](j)}(hhh]h)}(h in_temp0_rawh]h in_temp0_raw}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhjf ubah}(h]h ]h"]h$]h&]uh1jhjc ubj)}(hhh]h)}(hRaw temperature channel value.h]hRaw temperature channel value.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhj} ubah}(h]h ]h"]h$]h&]uh1jhjc ubeh}(h]h ]h"]h$]h&]uh1jhj) ubj)}(hhh](j)}(hhh]h)}(hin_temp0_offseth]hin_temp0_offset}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h*Offset for the temperature sensor channel.h]h*Offset for the temperature sensor channel.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj) ubj)}(hhh](j)}(hhh]h)}(hin_temp0_scaleh]hin_temp0_scale}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h)Scale for the temperature sensor channel.h]h)Scale for the temperature sensor channel.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj) ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjFhhhhhNubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKPuh1jhj ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(hMiscellaneous device filesh]hMiscellaneous device files}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhj; ubah}(h]h ]h"]h$]h&]uh1jhj8 ubj)}(hhh]h)}(h Descriptionh]h Description}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjR ubah}(h]h ]h"]h$]h&]uh1jhj8 ubeh}(h]h ]h"]h$]h&]uh1jhj5 ubj)}(hhh](j)}(hhh]h)}(hnameh]hname}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK|hjr ubah}(h]h ]h"]h$]h&]uh1jhjo ubj)}(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&]uh1jhjo ubeh}(h]h ]h"]h$]h&]uh1jhj5 ubj)}(hhh](j)}(hhh]h)}(hsampling_frequencyh]hsampling_frequency}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hCurrently selected sample rate.h]hCurrently selected sample rate.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjFhhhhhNubh)}(hThe following table shows the adis16550 related device debug files, found in the specific device debug folder path ``/sys/kernel/debug/iio/iio:deviceX``.h](hsThe following table shows the adis16550 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&]uh1hhhhKhjFhhubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKIuh1jhj ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(hDebugfs device filesh]hDebugfs device files}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj0 ubah}(h]h ]h"]h$]h&]uh1jhj- ubj)}(hhh]h)}(h Descriptionh]h Description}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjG ubah}(h]h ]h"]h$]h&]uh1jhj- ubeh}(h]h ]h"]h$]h&]uh1jhj* ubj)}(hhh](j)}(hhh]h)}(h serial_numberh]h serial_number}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjg ubah}(h]h ]h"]h$]h&]uh1jhjd ubj)}(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&]uh1jhjd ubeh}(h]h ]h"]h$]h&]uh1jhj* ubj)}(hhh](j)}(hhh]h)}(h product_idh]h product_id}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h!Chip specific product id (16550).h]h!Chip specific product id (16550).}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj* ubj)}(hhh](j)}(hhh]h)}(h flash_counth]h flash_count}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj* ubj)}(hhh](j)}(hhh]h)}(hfirmware_revisionh]hfirmware_revision}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj* ubj)}(hhh](j)}(hhh]h)}(h firmware_dateh]h firmware_date}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjC ubah}(h]h ]h"]h$]h&]uh1jhj@ ubj)}(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&]uh1hhhhKhjZ ubah}(h]h ]h"]h$]h&]uh1jhj@ ubeh}(h]h ]h"]h$]h&]uh1jhj* ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhjFhhhhhNubh)}(hhh](h)}(hChannels processed valuesh]hChannels processed values}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 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:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubh literal_block)}(h+processed value = (_raw + _offset) * _scaleh]h+processed value = (_raw + _offset) * _scale}hj sbah}(h]h ]h"]h$]h&]hhforcelanguagebashhighlight_args}uh1j hhhKhj 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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubh)}(hThe adis16550 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 adis16550 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:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK&uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h Channel typeh]h Channel type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hMeasurement unith]hMeasurement unit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h Acceleration on X, Y, and Z axish]h Acceleration on X, Y, and Z axis}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj1 ubah}(h]h ]h"]h$]h&]uh1jhj. ubj)}(hhh]h)}(hMeters per Second squaredh]hMeters per Second squared}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjH ubah}(h]h ]h"]h$]h&]uh1jhj. ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h#Angular velocity on X, Y and Z axish]h#Angular velocity on X, Y and Z axis}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjh ubah}(h]h ]h"]h$]h&]uh1jhje ubj)}(hhh]h)}(hRadians per secondh]hRadians per second}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhje ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h"Delta velocity on X. Y, and Z axish]h"Delta velocity on X. Y, and Z axis}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hMeters per Secondh]hMeters per Second}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(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&]uh1jhj ubj)}(hhh]h)}(hRadiansh]hRadians}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h Temperatureh]h Temperature}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hMillidegrees Celsiush]hMillidegrees Celsius}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhj hhhhhNubeh}(h]channels-processed-valuesah ]h"]channels processed valuesah$]h&]uh1hhjFhhhhhKubh)}(hhh](h)}(hUsage examplesh]hUsage examples}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hhhhhKubh)}(hShow device name:h]hShow device name:}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\hhubj )}(h9root:/sys/bus/iio/devices/iio:device0> cat name adis16550h]h9root:/sys/bus/iio/devices/iio:device0> cat name adis16550}hj{sbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhKhj\hhubh)}(h"Show accelerometer channels value:h]h"Show accelerometer channels value:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\hhubj )}(hX root:/sys/bus/iio/devices/iio:device0> cat in_accel_x_raw 6903851 root:/sys/bus/iio/devices/iio:device0> cat in_accel_y_raw 5650550 root:/sys/bus/iio/devices/iio:device0> cat in_accel_z_raw 104873530 root:/sys/bus/iio/devices/iio:device0> cat in_accel_scale 0.000000095h]hX root:/sys/bus/iio/devices/iio:device0> cat in_accel_x_raw 6903851 root:/sys/bus/iio/devices/iio:device0> cat in_accel_y_raw 5650550 root:/sys/bus/iio/devices/iio:device0> cat in_accel_z_raw 104873530 root:/sys/bus/iio/devices/iio:device0> cat in_accel_scale 0.000000095}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhKhj\hhubh)}(hhh](h)}(hIX-axis acceleration = in_accel_x_raw * in_accel_scale = 0.655865845 m/s^2h]h)}(hjh]hIX-axis acceleration = in_accel_x_raw * in_accel_scale = 0.655865845 m/s^2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hHY-axis acceleration = in_accel_y_raw * in_accel_scale = 0.53680225 m/s^2h]h)}(hjh]hHY-axis acceleration = in_accel_y_raw * in_accel_scale = 0.53680225 m/s^2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hIZ-axis acceleration = in_accel_z_raw * in_accel_scale = 9.96298535 m/s^2 h]h)}(hHZ-axis acceleration = in_accel_z_raw * in_accel_scale = 9.96298535 m/s^2h]hHZ-axis acceleration = in_accel_z_raw * in_accel_scale = 9.96298535 m/s^2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubeh}(h]h ]h"]h$]h&]j.-uh1hhhhKhj\hhubh)}(hShow gyroscope channels value:h]hShow gyroscope channels value:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\hhubj )}(hXroot:/sys/bus/iio/devices/iio:device0> cat in_anglvel_x_raw 193309 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_raw -763676 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_z_raw -358108 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_scale 0.000000003h]hXroot:/sys/bus/iio/devices/iio:device0> cat in_anglvel_x_raw 193309 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_y_raw -763676 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_z_raw -358108 root:/sys/bus/iio/devices/iio:device0> cat in_anglvel_scale 0.000000003}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhKhj\hhubh)}(hhh](h)}(hQX-axis angular velocity = in_anglvel_x_raw * in_anglvel_scale = 0.000579927 rad/sh]h)}(hjh]hQX-axis angular velocity = in_anglvel_x_raw * in_anglvel_scale = 0.000579927 rad/s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hTY-axis angular velocity = in_anglvel_y_raw * in_anglvel_scale = −0.002291028 rad/sh]h)}(hj3h]hTY-axis angular velocity = in_anglvel_y_raw * in_anglvel_scale = −0.002291028 rad/s}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj1ubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubh)}(hUZ-axis angular velocity = in_anglvel_z_raw * in_anglvel_scale = −0.001074324 rad/s h]h)}(hTZ-axis angular velocity = in_anglvel_z_raw * in_anglvel_scale = −0.001074324 rad/sh]hTZ-axis angular velocity = in_anglvel_z_raw * in_anglvel_scale = −0.001074324 rad/s}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjHubah}(h]h ]h"]h$]h&]uh1hhjhhhhhNubeh}(h]h ]h"]h$]h&]j.juh1hhhhKhj\hhubh)}(h2Set calibration offset for accelerometer channels:h]h2Set calibration offset for accelerometer channels:}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\hhubj )}(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}hjtsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhKhj\hhubh)}(h.Set calibration offset for gyroscope channels:h]h.Set calibration offset for gyroscope channels:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\hhubj )}(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}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhKhj\hhubh)}(hSet sampling frequency:h]hSet sampling frequency:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\hhubj )}(hroot:/sys/bus/iio/devices/iio:device0> cat sampling_frequency 4000.000000 root:/sys/bus/iio/devices/iio:device0> echo 1000 > sampling_frequency 1000.000000h]hroot:/sys/bus/iio/devices/iio:device0> cat sampling_frequency 4000.000000 root:/sys/bus/iio/devices/iio:device0> echo 1000 > sampling_frequency 1000.000000}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhKhj\hhubh)}(h)Set bandwidth for accelerometer channels:h]h)Set bandwidth for accelerometer channels:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\hhubj )}(hXroot:/sys/bus/iio/devices/iio:device0> cat in_accel_filter_low_pass_3db_frequency 0 root:/sys/bus/iio/devices/iio:device0> echo 100 > in_accel_filter_low_pass_3db_frequency root:/sys/bus/iio/devices/iio:device0> cat in_accel_filter_low_pass_3db_frequency 100h]hXroot:/sys/bus/iio/devices/iio:device0> cat in_accel_filter_low_pass_3db_frequency 0 root:/sys/bus/iio/devices/iio:device0> echo 100 > in_accel_filter_low_pass_3db_frequency root:/sys/bus/iio/devices/iio:device0> cat in_accel_filter_low_pass_3db_frequency 100}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhMhj\hhubh)}(hShow serial number:h]hShow serial number:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj\hhubj )}(hDroot:/sys/kernel/debug/iio/iio:device0> cat serial_number 0x000000b6h]hDroot:/sys/kernel/debug/iio/iio:device0> cat serial_number 0x000000b6}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhM hj\hhubh)}(hShow product id:h]hShow product id:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj\hhubj )}(h cat product_id 16550h]h cat product_id 16550}hj sbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhMhj\hhubh)}(hShow flash count:h]hShow flash count:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj\hhubj )}(h:root:/sys/kernel/debug/iio/iio:device0> cat flash_count 13h]h:root:/sys/kernel/debug/iio/iio:device0> cat flash_count 13}hj(sbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhMhj\hhubh)}(hShow firmware revision:h]hShow firmware revision:}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj\hhubj )}(hAroot:/sys/kernel/debug/iio/iio:device0> cat firmware_revision 1.5h]hAroot:/sys/kernel/debug/iio/iio:device0> cat firmware_revision 1.5}hjFsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhM hj\hhubh)}(hShow firmware date:h]hShow firmware date:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM%hj\hhubj )}(hDroot:/sys/kernel/debug/iio/iio:device0> cat firmware_date 28-04-2021h]hDroot:/sys/kernel/debug/iio/iio:device0> cat firmware_date 28-04-2021}hjdsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhM'hj\hhubeh}(h]usage-examplesah ]h"]h$]usage examplesah&]uh1hhjFhhhhhKjKubeh}(h]device-attributesah ]h"]2. device attributesah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h3. Device buffersh]h3. Device buffers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM-ubh)}(h!This driver supports IIO buffers.h]h!This driver supports IIO buffers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hjhhubh)}(hThe device supports retrieving the raw acceleration, gyroscope, delta velocity, delta angle and temperature measurements using buffers.h]hThe device supports retrieving the raw acceleration, gyroscope, delta velocity, delta angle and temperature measurements using buffers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM1hjhhubh)}(hXPHowever, when retrieving acceleration or gyroscope data using buffers, delta readings will not be available and vice versa. This is because the device only allows to read either acceleration and gyroscope data or delta velocity and delta angle data at a time and switching between these two burst data selection modes is time consuming.h]hXPHowever, when retrieving acceleration or gyroscope data using buffers, delta readings will not be available and vice versa. This is because the device only allows to read either acceleration and gyroscope data or delta velocity and delta angle data at a time and switching between these two burst data selection modes is time consuming.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM4hjhhubh)}(hhh](h)}(hUsage examplesh]hUsage examples}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM;ubh)}(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&]uh1hhhhM=hjhhubj )}(hroot:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> echo adis16550-dev0 > trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger adis16550-dev0h]hroot:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> echo adis16550-dev0 > trigger/current_trigger root:/sys/bus/iio/devices/iio:device0> cat trigger/current_trigger adis16550-dev0}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhM?hjhhubh)}(h Select channels for buffer read:h]h Select channels for buffer read:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMGhjhhubj )}(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 bashj }uh1j hhhMIhjhhubh)}(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&]uh1hhhhMPhjhhubj )}(h>root:/sys/bus/iio/devices/iio:device0> echo 10 > buffer/lengthh]h>root:/sys/bus/iio/devices/iio:device0> echo 10 > buffer/length}hjsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhMRhjhhubh)}(hEnable buffer readings:h]hEnable buffer readings:}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMVhjhhubj )}(h=root:/sys/bus/iio/devices/iio:device0> echo 1 > buffer/enableh]h=root:/sys/bus/iio/devices/iio:device0> echo 1 > buffer/enable}hj8sbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhMXhjhhubh)}(hObtain buffered data:h]hObtain buffered data:}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM\hjhhubj )}(hXNroot:/sys/bus/iio/devices/iio:device0> hexdump -C /dev/iio\:device0 ... 0000cdf0 00 00 0d 2f 00 00 08 43 00 00 09 09 00 00 a4 5f |.../...C......._| 0000ce00 00 00 0d 2f 00 00 07 de 00 00 08 db 00 00 a4 4b |.../...........K| 0000ce10 00 00 0d 2f 00 00 07 58 00 00 08 a3 00 00 a4 55 |.../...X.......U| 0000ce20 00 00 0d 2f 00 00 06 d6 00 00 08 5c 00 00 a4 62 |.../.......\...b| 0000ce30 00 00 0d 2f 00 00 06 45 00 00 08 37 00 00 a4 47 |.../...E...7...G| 0000ce40 00 00 0d 2f 00 00 05 d4 00 00 08 30 00 00 a3 fa |.../.......0....| 0000ce50 00 00 0d 2f 00 00 05 d0 00 00 08 12 00 00 a3 d3 |.../............| 0000ce60 00 00 0d 2f 00 00 05 dd 00 00 08 2e 00 00 a3 e9 |.../............| 0000ce70 00 00 0d 2f 00 00 05 cc 00 00 08 51 00 00 a3 d5 |.../.......Q....| 0000ce80 00 00 0d 2f 00 00 05 ba 00 00 08 22 00 00 a3 9a |.../......."....| 0000ce90 00 00 0d 2f 00 00 05 9c 00 00 07 d9 00 00 a3 40 |.../...........@| 0000cea0 00 00 0d 2f 00 00 05 68 00 00 07 94 00 00 a2 e4 |.../...h........| 0000ceb0 00 00 0d 2f 00 00 05 25 00 00 07 8d 00 00 a2 ce |.../...%........| ...h]hXNroot:/sys/bus/iio/devices/iio:device0> hexdump -C /dev/iio\:device0 ... 0000cdf0 00 00 0d 2f 00 00 08 43 00 00 09 09 00 00 a4 5f |.../...C......._| 0000ce00 00 00 0d 2f 00 00 07 de 00 00 08 db 00 00 a4 4b |.../...........K| 0000ce10 00 00 0d 2f 00 00 07 58 00 00 08 a3 00 00 a4 55 |.../...X.......U| 0000ce20 00 00 0d 2f 00 00 06 d6 00 00 08 5c 00 00 a4 62 |.../.......\...b| 0000ce30 00 00 0d 2f 00 00 06 45 00 00 08 37 00 00 a4 47 |.../...E...7...G| 0000ce40 00 00 0d 2f 00 00 05 d4 00 00 08 30 00 00 a3 fa |.../.......0....| 0000ce50 00 00 0d 2f 00 00 05 d0 00 00 08 12 00 00 a3 d3 |.../............| 0000ce60 00 00 0d 2f 00 00 05 dd 00 00 08 2e 00 00 a3 e9 |.../............| 0000ce70 00 00 0d 2f 00 00 05 cc 00 00 08 51 00 00 a3 d5 |.../.......Q....| 0000ce80 00 00 0d 2f 00 00 05 ba 00 00 08 22 00 00 a3 9a |.../......."....| 0000ce90 00 00 0d 2f 00 00 05 9c 00 00 07 d9 00 00 a3 40 |.../...........@| 0000cea0 00 00 0d 2f 00 00 05 68 00 00 07 94 00 00 a2 e4 |.../...h........| 0000ceb0 00 00 0d 2f 00 00 05 25 00 00 07 8d 00 00 a2 ce |.../...%........| ...}hjVsbah}(h]h ]h"]h$]h&]hhj j bashj }uh1j hhhM^hjhhubh)}(hdSee ``Documentation/iio/iio_devbuf.rst`` for more information about how buffered data is structured.h](hSee }(hjfhhhNhNubj)}(h$``Documentation/iio/iio_devbuf.rst``h]h Documentation/iio/iio_devbuf.rst}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh< for more information about how buffered data is structured.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMqhjhhubeh}(h]id1ah ]h"]h$]jzah&]uh1hhjhhhhhM;jKubeh}(h]device-buffersah ]h"]3. device buffersah$]h&]uh1hhhhhhhhM-ubh)}(hhh](h)}(h4. IIO Interfacing Toolsh]h4. IIO Interfacing Tools}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhMuubh)}(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&]uh1hhhhMwhjhhubeh}(h]iio-interfacing-toolsah ]h"]4. iio interfacing toolsah$]h&]uh1hhhhhhhhMuubeh}(h]adis16550-driverah ]h"]adis16550 driverah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_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}(jjjCj@jjjj~jYjVusage examplesNjjjju nametypes}(jjCjjjYj<jjuh}(jhj@hjjj~jFjVj jvj\jjjjjju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jKsRparse_messages]hsystem_message)}(hhh]h)}(h1Duplicate implicit target name: "usage examples".h]h5Duplicate implicit target name: “usage examples”.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]ubah}(h]h ]h"]h$]h&]jalevelKtypeINFOsourcehlineM;uh1j[hjhhhhhM;ubatransform_messages] transformerN include_log] decorationNhhub.