Skip to content

Commit 5a27016

Browse files
committed
projects: ad7124-4sdz: Added readme document
Signed-off-by: Joyce Velasco <[email protected]>
1 parent 8fd6bb7 commit 5a27016

File tree

2 files changed

+167
-0
lines changed

2 files changed

+167
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. include:: ../../../../../projects/ad7124-4sdz/README.rst

projects/ad7124-4sdz/README.rst

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
AD7124-4SDZ no-OS Example Project
2+
=================================
3+
4+
.. contents::
5+
:depth: 3
6+
7+
Supported Evaluation Boards
8+
---------------------------
9+
10+
- :adi:`EVAL-AD7124-4SDZ`
11+
12+
Overview
13+
--------
14+
15+
The EVAL-AD7124-4SDZ evaluation board is a platform for testing the
16+
AD7124-4, a 4-channel, 24-bit sigma-delta ADC. It features low noise,
17+
low power consumption, and includes an internal instrumentation
18+
amplifier and reference. The board supports diverse input
19+
configurations, suitable for high-precision measurements, and connects
20+
to PCs via the Analog Devices System Demonstration Platform
21+
(EVAL-SDP-CB1Z) for standalone data analysis. It requires a 7V to 9V
22+
power supply and offers connectors for power and signals, allowing users
23+
to connect sensors and conduct ADC diagnostics.
24+
25+
Applications
26+
------------
27+
28+
- Temperature Measurement
29+
- Pressure Measurement
30+
- Industrial Process Control
31+
- Instrumentation
32+
- Smart Transmitters
33+
34+
Hardware Specifications
35+
-----------------------
36+
37+
Power Supply Requirements
38+
~~~~~~~~~~~~~~~~~~~~~~~~~~
39+
40+
The EVAL-AD7124-4SDZ evaluation board requires an external power supply
41+
ranging from 7V to 9V. Power can be supplied via the J3 connector
42+
using a bench top supply or the J5 connector with a DC plug adapter.
43+
44+
On-board Connectors
45+
~~~~~~~~~~~~~~~~~~~
46+
47+
+-----------------------+-----------------------+-----------------------+
48+
| **Connector** | **Type / Location** | **Function** |
49+
+-----------------------+-----------------------+-----------------------+
50+
| 120-pin Header | Main board connector | Mates with |
51+
| | | EVAL-SDP-CB1Z for SPI |
52+
| | | communication and |
53+
| | | power |
54+
+-----------------------+-----------------------+-----------------------+
55+
| J3 | Barrel jack (bench | 7V–9V input; selected |
56+
| | top supply) | via LK2 jumper |
57+
| | | (Position A) |
58+
+-----------------------+-----------------------+-----------------------+
59+
| J5 | Barrel jack (wall | 7V–9V input; selected |
60+
| | wart supply) | via LK2 jumper |
61+
| | | (Position B) |
62+
+-----------------------+-----------------------+-----------------------+
63+
| J6 | Analog input header | Connect analog |
64+
| | | sensors/signals |
65+
+-----------------------+-----------------------+-----------------------+
66+
| J11 | Analog input header | Additional analog |
67+
| | | input options |
68+
+-----------------------+-----------------------+-----------------------+
69+
| A0 / A1 | SMA/SMB footprints | Differential analog |
70+
| | | input channels |
71+
+-----------------------+-----------------------+-----------------------+
72+
| CLK IN | SMB/SMA jack (not | Optional external |
73+
| | inserted by default) | master clock input |
74+
+-----------------------+-----------------------+-----------------------+
75+
| Test Points | SPI signal access | CS, SCLK, DIN, |
76+
| | | DOUT/RDY — accessible |
77+
| | | by removing R9–R13 0Ω |
78+
| | | links |
79+
+-----------------------+-----------------------+-----------------------+
80+
81+
No-OS Build Setup
82+
-----------------
83+
84+
Please see: `https://wiki.analog.com/resources/no-os/build`
85+
86+
No-OS Supported Examples
87+
------------------------
88+
89+
The initialization data used in the examples is taken out from the
90+
`Project Source Path <https://github.com/analogdevicesinc/no-OS/tree/main/projects/ad7124-4sdz/src>`__.
91+
92+
Application example
93+
~~~~~~~~~~~~~~~~~~~
94+
95+
In the example code for the AD7124-4SDZ no-OS project, the
96+
operation begins with initializing the SPI interface specific to the
97+
Xilinx platform. The AD7124 ADC device is then configured using the
98+
``ad7124_setup()`` function, which prepares the ADC by writing the
99+
necessary settings to its registers. The program proceeds by reading
100+
each register to confirm these settings. Entering an operational loop,
101+
the code waits for ADC conversions to become available with
102+
``ad7124_wait_for_conv_ready()`` and reads the conversion result via
103+
``ad7124_read_data()``. The obtained raw ADC data is continuously
104+
printed to the console, demonstrating the integration process of the
105+
AD7124 ADC within a no-OS environment.
106+
107+
No-OS Supported Platforms
108+
-------------------------
109+
110+
Xilinx
111+
~~~~~~~
112+
113+
Hardware Used
114+
^^^^^^^^^^^^^
115+
116+
- :adi:`EVAL-AD7124-4SDZ`
117+
- ZedBoard
118+
119+
Connections
120+
^^^^^^^^^^^
121+
122+
+-----------------------+-----------------------+-----------------------+
123+
| **EVAL-AD7124-4SDZ | **ZedBoard Pin** | **Function / Notes** |
124+
| Pin** | | |
125+
+-----------------------+-----------------------+-----------------------+
126+
| CS | SPI_CS | Chip Select |
127+
+-----------------------+-----------------------+-----------------------+
128+
| SCLK | SPI_CLK | Serial Clock |
129+
+-----------------------+-----------------------+-----------------------+
130+
| DIN | SPI_MOSI | Data In (Master Out |
131+
| | | Slave In) |
132+
+-----------------------+-----------------------+-----------------------+
133+
| DOUT/RDY | SPI_MISO | Data Out / Data Ready |
134+
| | | (Master In Slave Out) |
135+
+-----------------------+-----------------------+-----------------------+
136+
| R9 to R13 || Remove 0Ω links to |
137+
| | | access SPI test |
138+
| | | points directly |
139+
+-----------------------+-----------------------+-----------------------+
140+
| Test Points | ZedBoard Expansion | Wire SPI signals to |
141+
| | | Pmod or FMC header |
142+
| | | pins |
143+
+-----------------------+-----------------------+-----------------------+
144+
145+
Consult the ZedBoard User Guide for Pmod or FMC header pinouts. The
146+
ZedBoard provides several Pmod (2x6) headers and an FMC-LPC connector
147+
suitable for digital I/O.
148+
149+
Double-check that all grounds are connected and consistent between the
150+
two boards.
151+
152+
Verify the logic voltage levels are compatible. The AD7124-4 supports
153+
digital I/O supply (IOVDD) between 1.65V and 3.6V.
154+
155+
Build Command
156+
^^^^^^^^^^^^^
157+
158+
.. code-block:: bash
159+
160+
cp <SOME_PATH>/system_top.xsa .
161+
# to delete current build
162+
make reset
163+
# to build the project
164+
make
165+
# to flash the code
166+
make run

0 commit comments

Comments
 (0)