ADIS1650X Family no-OS Example Project#

Supported Evaluation Boards#

Overview#

The ADIS1650X device series 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 ADIS1650X device series 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.

Applications#

  • Navigation, stabilization, and instrumentation

  • Unmanned and autonomous vehicles

  • Smart agriculture and construction machinery

  • Factory/industrial automation, robotics

  • Virtual/augmented reality

  • Internet of Moving Things

Hardware Specifications#

Power Supply Requirements#

The ADIS1650X eval devices have to be supplied with 3.3V voltage on VDD pin.

Pin Description

Please see the following table for the pin assignments for the interface connector (J1).

Pin

Name

Description

1

~RST

Reset, active low

2

SCLK

Serial Clock (Serial Peripheral Interface)

3

~CS

Chip Select (Serial Peripheral Interface), Active Low

4

DOUT

Data Output (Serial Peripheral Interface)

5

DNC

Do not connect

6

DIN

Data Input (Serial Peripheral Interface)

7

GND

Ground

8

GND

Ground

9

GND

Ground

10

VDD

Power Supply, +3.3V

11

VDD

Power Supply, +3.3V

12

VDD

Power Supply, +3.3V

13

DR

Data Ready

14

SYNC

Sync Input

15

DNC

Do not connect

16

DNC

Do not connect

Cabling

J1 supports connection with the following style of cables: 2.00 mm IDC Ribbon Cable Assembly.

TIP: Use “2.00 mm IDC Ribbon Cable Assembly” as search criteria to find the latest options on the market.

At the time of initial release for these breakout boards, we were most familiar with the TCSD Series from Samtec.

No-OS Build Setup#

Please see: https://wiki.analog.com/resources/no-os/build

No-OS Supported Examples#

The initialization data used in the examples is taken out from: Project Common Data Path

The macros used in Common Data are defined in platform specific files found in: Project Platform Configuration Path

Basic example#

This is a simple example which initializes the adis1650x selected device and performs angular velocity, acceleration and temperature readings in a while loop with a period of 1s. The data is printed on the serial interface.

In order to build the IIO project make sure you have the following configuration in the Makefile

# Select the example you want to enable by choosing y for enabling and n for disabling
BASIC_EXAMPLE = y
IIO_TRIGGER_EXAMPLE = n

IIO example#

This project is actually a IIOD demo for EVAL-ADIS1650X device series. The project launches a IIOD server on the board so that the user may connect to it via an IIO client. Using IIO-Oscilloscope, the user can configure the IMU and view the measured data on a plot.

If you are not familiar with ADI IIO Application, please take a look at: IIO No-OS

If you are not familiar with ADI IIO-Oscilloscope Client, please take a look at: IIO Oscilloscope

The No-OS IIO Application together with the No-OS IIO ADIS driver take care of all the back-end logic needed to setup the IIO server.

This example initializes the IIO device and calls the IIO app as shown in: IIO Trigger Example

The read buffer is used for storing the burst data which shall be retrieved periodically by any LibIIO client. The measured data is sampled using a hardware trigger (e.g. interrupts). ADIS1650X offers the capability to use DATA_READY pin as a flag which shows when new measurements are available. Thus, DATA_READY pin is used as a hardware trigger. The example code maps the DATA_READY pin as GPIO input with interrupt capabilities. When DATA_READY pin transitions from low to high, new data is available and will be read based on is_synchronous flag setting used in adis_iio_trigger_desc. If the flag is set to true, the data will be read immediately, in the interrupt context. If the flag is set to false, the data will be read from application context. In this case some samples might be missed.

In order to build the IIO project make sure you have the following configuration in the Makefile

# Select the example you want to enable by choosing y for enabling and n for disabling
BASIC_EXAMPLE = n
IIO_TRIGGER_EXAMPLE = y

No-OS Supported Platforms#

STM32 Platform#

Used hardware:

Connections:

EVAL-ADIS1650X Pin Number

Mnemonic

Function

SDP-K1 Pin Number

1

~RST

Reset, active low

ANALOG IN A1

2

SCLK

Serial Clock

DIGITAL 13

3

~CS

Chip Select (Serial Peripheral Interface), Active Low

DIGITAL 10

4

DOUT

Data Output (Serial Peripheral Interface)

DIGITAL 12

6

DIN

Data Input (Serial Peripheral Interface)

DIGITAL 11

7

GND

Ground

DIGITAL GND

10

VDD

Power Supply, +3.3V

POWER 3.3V

13

DR

Data Ready

ANALOG IN A0

Build Command

# to delete current build
make reset
# to build the project
make PLATFORM=stm32
# to flash the code
make run
# to debug the code
make debug

Maxim Platform#

Used hardware:

Connections:

EVAL-ADIS1650X Pin Number

Mnemonic

Function

MAX78000 Pin Number

1

~RST

Reset, active low

P0_19

2

SCLK

Serial Clock

P0_7

3

~CS

Chip Select (Serial Peripheral Interface), Active Low

P0_11

4

DOUT

Data Output (Serial Peripheral Interface)

P0_6

6

DIN

Data Input (Serial Peripheral Interface)

P0_5

7

GND

Ground

GND

10

VDD

Power Supply, +3.3V

3V3

13

DR

Data Ready

P1_6

Build Command

# to delete current build
make reset
# to build the project
make PLATFORM=maxim TARGET=max78000
# to flash the code
make run
# to debug the code
make debug

Pico Platform#

Used hardware:

Connections:

EVAL-ADIS1650X Pin Number

Mnemonic

Function

MAX78000 Pin Number

1

~RST

Reset, active low

GP20

2

SCLK

Serial Clock

GP18

3

~CS

Chip Select (Serial Peripheral Interface), Active Low

GP17

4

DOUT

Data Output (Serial Peripheral Interface)

GP16

6

DIN

Data Input (Serial Peripheral Interface)

GP19

7

GND

Ground

GND

10

VDD

Power Supply, +3.3V

3V3

13

DR

Data Ready

GP21

The following table shows how the connection between ADALM-UARTJTAG and Raspberry Pi Pico is realized in this project example.

ADALM-UARTJTAG Pin Number

Raspberry Pi Pico Pin Number

Function

VIO

VBUS

Bus voltage

GND

GND

Ground

TX

GP1 (Pico RX)

Pico UART RX

RX

GP0 (Pico Tx)

Pico UART TX

Build Command

# to delete current build
make reset
# to build the project
make PLATFORM=pico
# to flash the code
make run
# to debug the code
make debug