EVAL-ADG2404 no-OS Example Project

See projects/eval-adg2404 (doxygen) for the Doxygen documentation.

Supported Evaluation Boards

Overview

The ADG2404 is a CMOS analog multiplexer comprising four differential channels. The device operates as a 4:1 multiplexer. This project demonstrates basic control of the ADG2404 using GPIO pins on the MAX32655FTHR platform.

Hardware Specifications

Power Supply Requirements

The ADG2404 requires a single supply voltage (VDD) between 1.8V and 5.5V. For this project, the device is powered from the MAX32655FTHR 3.3V rail.

Board Connector and Jumper Settings

Pin Description

Please see the following table for the pin assignments:

Name

Description

VDD

Connect to 5V supply

VSS

Connect to -5V supply

GND

Connect to Ground

A0

Address bit 0 (GPIO controlled)

A1

Address bit 1 (GPIO controlled)

EN

Enable pin (active high)

Warning

Input signal range is VSS to VDD-2V for safe handling.

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 that:

  • Initializes the ADG2404

  • Enables the multiplexer

  • Cycles through all four channels, enabling the channel for 3 seconds, then moving to the next one

  • Demonstrates channel selection via GPIO control

No-OS Supported Platforms

Maxim Platform

Used Hardware

Connections:

ADG2404 Pin

Function

MAX32655FTHR Pin

VDD

Power Supply (5V)

Use a dual power supply

VSS

Power Supply (-5V)

Use a dual power supply

GND

Ground

GND

A0

Address bit 0

P1_6

A1

Address bit 1

P1_7

EN

Enable (active high)

P1_8

Build Command

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