no-OS
Loading...
Searching...
No Matches
imu_single_core_example.h File Reference

Single-core dual-IMU example header. More...

Functions

int imu_single_core_example_main (void)
 Single-core IMU example main function. Initializes both the ADXL345 (accel, P0.19 CS) and ADIS16577-2 (6-axis IMU, P0.11 CS) on SPI0, integrates gyro rate into roll/pitch/yaw angles on the ARM, and logs both sensors at ~10 Hz over UART.
 

Detailed Description

Single-core dual-IMU example header.

Author
Victor Pascu (victo.nosp@m.r.pa.nosp@m.scu@a.nosp@m.nalo.nosp@m.g.com)

Copyright 2026(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ imu_single_core_example_main()

int imu_single_core_example_main ( void )

Single-core IMU example main function. Initializes both the ADXL345 (accel, P0.19 CS) and ADIS16577-2 (6-axis IMU, P0.11 CS) on SPI0, integrates gyro rate into roll/pitch/yaw angles on the ARM, and logs both sensors at ~10 Hz over UART.

Returns
0 on success, negative error code on failure.