ADP1050 no-OS Example Project
See projects/adp1050 (doxygen) for the Doxygen documentation.
Supported Evaluation Boards
Overview
The evaluation board allows the ADP1050 and ADP1051 to be exercised without the need for external components. The board is set up to act as an isolated PSU, outputting a rated load of 12 V, 20 A from a 36 V dc to 75 V dc source.
Full performance details are provided in the ADP1050 data sheet, which should be consulted in conjunction with user guide.
Hadrware Specifications
Power Supply Requirments
For this specific project an external power supply is used to provide a 20.1V and 12V voltages for the ADP1050DC1-EVALZ and ADP1051-240-EVALZ daughter board to simulate a parallel circuit to the ADP1050 and ADP1051 as well as a +5V Power Supply for the PMBUS/I2C interface.
Pin Description
Please see the following table for the pin assignments for the interface connectors (J1 and J2).
J1:
Pin
Name
Description
1
10V_VCC
Do Not Connect
2
VS-
Connect to Ground
3
VS+
Power Supply, +12V DC
4
CS2-
Do Not Connect
5
CS2+
Do Not Connect
6
VF
Power Supply, +20.1V DC
7
CS1
Connect to Ground
8
SR1
Connect to Oscilloscope (Scopy)
9
SR2
Connect to Oscilloscope (Scopy)
10
OUTA
Connect to Oscilloscope (Scopy)
11
OUTB
Connect to Oscilloscope (Scopy)
12
OUTC
Do Not Connect
13
OUTD
Do Not Connect
14
SCL
I2C Serial Clock (Connect to J2 instead)
15
SDA
I2C Serial Data (Connect to J2 instead)
16
CTRL
Do Not Connect
17
PG/ALT#
Power-Good Signal (GPIO)
18
FLAGIN
Do Not Connect
19
3.3V
Do Not Connect
20
AGND
Connect to Ground
21
RTD
Do Not Connect
22
OVP
Do Not Connect
J2:
Pin
Name
Description
1
10V_VDD
Power Supply, +5V
2
SCL
I2C Serial Clock
3
SDA
I2C Serial Data
4
GND
Connect to Ground
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 ADP1050 and ADP1051, unlock its CHIP, EEPROM and TRIM registers, sets the device in a closed loop state, and then : sets the VOUT transition rate, VOUT scale and value of the VOUT_COMMAND and VOUT_MAX.
For the PWM it sets the duty cycle on the OUTA channel and then enables the OUTA channel with a 49KHz frequency, then the DUTY_CYCLE data is read as well as all the statuses.
This example is built by selecting the basic variant (see the Build
Command section below).
IIO example
This project is actually a IIOD demo for ADP1050DC1-EVALZ evaluation board. 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 ADP1050 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 Example
This example is built by selecting the iio_example variant (see the Build
Command section below).
No-OS Supported Platforms
Maxim Platform
Used hardware
Connections:
J1:
ADP1050DC1-EVALZ Pin Number |
Mnemonic |
Function |
AD-APARD32690-SL Pin Number |
2 |
VS- |
Ground |
GND |
3 |
VS+ |
External Power Supply, 12VDC (5mA current) |
Do Not Connect |
6 |
VF |
External Power Supply, 20.1VDC (5mA current) |
Do Not Connect |
7 |
CS1 |
Ground |
GND |
8 |
SR1 |
SR1 channel output (May connect to Scopy) |
Do Not Connect |
9 |
SR2 |
SR2 channel output (May connect to Scopy) |
Do Not Connect |
10 |
OUTA |
OUTA channel output (May connect to Scopy) |
Do Not Connect |
11 |
OUTB |
OUTB channel output (May connect to Scopy) |
Do Not Connect |
17 |
PG/ALT# |
Power-Good Signal Logic OUTPUT |
P0_24 |
20 |
AGND |
Ground |
GND |
J2:
ADP1050DC1-EVALZ Pin Number |
Mnemonic |
Function |
AD-APARD32690-SL Pin Number |
1 |
10V_VDD |
Power Supply, +5VDC |
5V0 |
2 |
SCL |
I2C Serial Clock |
I2C0_SCL |
3 |
SDA |
I2C Serial Data |
I2C0_SDA |
4 |
GND |
Ground |
GND |
Build Command
For toolchain setup and prerequisites, see the Maxim CMake build guide.
Available variants: basic, iio_example.
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 adp1050 --variant basic --board ad-apard32690-sl
# build and flash (requires a connected debug probe)
python tools/scripts/no_os_build.py build \
--project adp1050 --variant basic --board ad-apard32690-sl \
--probe openocd --flash