MAX14919 no-OS Example Project

See projects/max14919 (doxygen) for the Doxygen documentation.

Supported Evaluation Boards

Overview

The MAX14919 PMB provides a proven design to evaluate the MAX14919 industrial-grade quad low-side switch with 140mΩ (typ) RON and ±1kV/42Ω surge protection.

Applications

  • Industrial Digital Outputs

  • Motor Control

  • PLC and DCS Systems

  • Relay and Solenoid Drivers

Hardware Specifications

Power Supply Requirments

The MAX14919PMB device needs to be supplied with a 3.3V voltage.

Pin Description

Please see te following table for the pin assignments for the following connectors:

T1:

Pin

Name

Description

1

IN1

IN1 Logic Input (GPIO)

2

IN2

IN2 Logic Input (GPIO)

3

IN3

IN3 Logic Input (GPIO)

4

IN4

IN4 Logic Input (GPIO)

5

GND

Connect to Ground.

6

VL

Power Supply, +3.3V

7

INRUSH

IN_RUSH Logic Input (GPIO)

8

FAULT

FAULT Logic Output (GPIO)

9

REV

REV Logic Output (GPIO)

10

DNC

Do Not Connect

11

GND

Connect to GROUND

12

VL

Power Supply, +3.3V

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 max14919 and sets the output channel 2 on, after which is detects faults, reverse polarity and sets 2x current limit for the device.

This is the only example in this project, so it builds by default.

No-OS Supported Platforms

Maxim Platform

Used hardware

MAX14919PMB Pin Name

Mnemonic

Function

AD-APARD32690-SL Pin Number

IN1(1)

IN1

IN1 LOGIC INPUT(GPIO)

P1_0

IN1(2)

IN2

IN2 LOGIC INPUT(GPIO)

P1_1

IN1(3)

IN3

IN3 LOGIC INPUT(GPIO)

P1_2

IN1(4)

IN4

IN4 LOGIC INPUT(GPIO)

P1_3

FAULT

FAULT

FAULT LOGIC OUTPUT(GPIO)

P1_6

REV

REV

REV LOGIC OUTPUT(GPIO)

P1_4

INRUSH

IN_RUSH

INRUSH LOGIC INPUT(GPIO)

P2_21

GND

GND

Ground

GND

GNDB

GND

Ground

GND

VL

VL

Power Supply, +3.3V

3V3

Build Command

For toolchain setup and prerequisites, see the Maxim CMake build guide.

Available variants: basic. Available boards: ad-apard32690-sl. Replace --variant / --board accordingly.

export MAXIM_LIBRARIES=</path/to/MaximSDK/Libraries>
# Windows (PowerShell): $env:MAXIM_LIBRARIES = "C:\MaximSDK\Libraries"

cd no-OS

# build the project (basic example on the ad-apard32690-sl board)
python tools/scripts/no_os_build.py build \
   --project max14919 --variant basic --board ad-apard32690-sl

# build and flash (requires a connected debug probe)
python tools/scripts/no_os_build.py build \
   --project max14919 --variant basic --board ad-apard32690-sl \
   --probe openocd --flash