|
| 1 | +AD7616-SDZ no-OS Example Project |
| 2 | +================================ |
| 3 | + |
| 4 | +.. contents:: |
| 5 | + :depth: 3 |
| 6 | + |
| 7 | +Supported Evaluation Boards |
| 8 | +--------------------------- |
| 9 | + |
| 10 | +- :adi:`EVAL-AD7616SDZ` |
| 11 | + |
| 12 | +Overview |
| 13 | +-------- |
| 14 | + |
| 15 | +The EVAL-AD7616SDZ evaluation board is designed to assess the |
| 16 | +performance of the AD7616 and AD7616-P dual, 16-bit, simultaneous |
| 17 | +sampling ADCs. These devices support up to 16 bipolar input channels |
| 18 | +with independently selectable ranges and operate from a single 5 V |
| 19 | +analog supply. Key features include high input impedance, analog input |
| 20 | +clamp protection, a first-order antialiasing filter, and an accurate |
| 21 | +on-chip reference. They offer up to 1 MSPS throughput per channel pair |
| 22 | +with 90.5 dB SNR, and up to 92 dB SNR with digital oversampling. The |
| 23 | +AD7616 supports both serial and parallel interfaces, while the AD7616-P |
| 24 | +supports only parallel. Additional capabilities include a flexible |
| 25 | +channel sequencer, burst mode, CRC, and compatibility with various |
| 26 | +digital communication protocols. The board is ideal for evaluating the |
| 27 | +ADCs in applications such as power-line monitoring, motor control, |
| 28 | +instrumentation, and data acquisition systems. |
| 29 | + |
| 30 | +Applications |
| 31 | +------------- |
| 32 | + |
| 33 | +- Power line monitoring |
| 34 | +- Protective relays |
| 35 | +- Multiphase motor control |
| 36 | +- Instrumentation and control systems |
| 37 | +- Data acquisition systems |
| 38 | + |
| 39 | +Hardware Specifications |
| 40 | +------------------------ |
| 41 | + |
| 42 | +Power Supply Requirements |
| 43 | +~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 44 | + |
| 45 | +The EVAL-AD7616SDZ evaluation board requires an external power supply |
| 46 | +via a DC barrel connector (J7) supporting 7V to 9V input to generate |
| 47 | +VCC and VDRIVE voltages. Optional external supplies can be connected |
| 48 | +through the VSUPPLY (5V to 10V) and VLOGIC (2.3V to 3.6V) connectors |
| 49 | +for analog and digital supply rails, respectively. Correct link |
| 50 | +configuration (as per Table 3 in the user guide) is necessary before |
| 51 | +powering the board in any mode, whether standalone or controlled |
| 52 | +by a controller board. |
| 53 | + |
| 54 | +On-board Connector |
| 55 | +~~~~~~~~~~~~~~~~~~ |
| 56 | + |
| 57 | +========= =================================================== |
| 58 | +Connector Function |
| 59 | +J1 Analog inputs (V0A to V3A) |
| 60 | +J2 Analog inputs (V4A to V7A) |
| 61 | +J3 Analog inputs (V0A to V3B) |
| 62 | +J4 Analog inputs (V4B to V7B) |
| 63 | +J5 Digital input/output pins for debug/standalone mode |
| 64 | +J6 External reference SMA input |
| 65 | +J7 External power connector, 7V to 9V DC input |
| 66 | +J8 External VDRIVE power connector |
| 67 | +J9 External VCC power connector |
| 68 | +J10 120-way connector for the EVAL-SDP-CB1Z |
| 69 | +========= =================================================== |
| 70 | + |
| 71 | +No-OS Build Setup |
| 72 | +----------------- |
| 73 | + |
| 74 | +Please see: `https://wiki.analog.com/resources/no-os/build` |
| 75 | + |
| 76 | +No-OS Supported Examples |
| 77 | +------------------------ |
| 78 | + |
| 79 | +The initialization data used in the examples is taken out from the |
| 80 | +`Project Data Source Path <https://github.com/analogdevicesinc/no-OS/tree/a818345f34123bc16ab847d10ad23bd5f472e683/projects/ad7616-sdz/src>`__ |
| 81 | + |
| 82 | +Basic example |
| 83 | +~~~~~~~~~~~~~ |
| 84 | + |
| 85 | +The basic example code in the AD7616 no-OS project showcases the setup |
| 86 | +and data acquisition capabilities of the AD7616 ADC. Execution begins |
| 87 | +with enabling instruction and data caches. The hardware components are |
| 88 | +initialized using structures like ``spi_engine_init_param``, |
| 89 | +``axi_clkgen_init``, and ``no_os_pwm_init_param`` to configure SPI |
| 90 | +communication, clock generation, and PWM for data conversions. The |
| 91 | +``ad7616_setup()`` function initializes the AD7616 with these |
| 92 | +parameters. Data sampling varies based on the mode: |
| 93 | +``ad7616_read_data_parallel()`` or ``ad7616_read_data_serial()`` is used |
| 94 | +for parallel or serial mode, respectively. Data from channels A and B |
| 95 | +are printed, and caches are disabled post-capture. This example |
| 96 | +demonstrates the foundational operations of initializing and running the |
| 97 | +AD7616 in a no-OS environment. |
| 98 | + |
| 99 | +No-OS Supported Platforms |
| 100 | +------------------------- |
| 101 | + |
| 102 | +Xilinx |
| 103 | +~~~~~~~ |
| 104 | + |
| 105 | +Hardware Used |
| 106 | +^^^^^^^^^^^^^^ |
| 107 | + |
| 108 | +- EVAL-AD7616SDZ |
| 109 | +- ZedBoard |
| 110 | + |
| 111 | +Connections |
| 112 | +^^^^^^^^^^^ |
| 113 | + |
| 114 | +Use short wires or, preferably, an **SDP‑I‑FMC interposer board** to |
| 115 | +connect the EVAL board to the ZedBoard’s FMC. Refer to this table for |
| 116 | +manual wiring: |
| 117 | + |
| 118 | +======================= ================ ===================== |
| 119 | +EVAL‑AD7616SDZ (via J5) Function ZedBoard (FMC LAxx) |
| 120 | +SCLK SPI Clock FMC LA0 (example) |
| 121 | +SDI / MOSI Serial In FMC LA1 |
| 122 | +DOUT0 / DOUT1 (MISO) Serial Out FMC LA2 |
| 123 | +CNVST Start Conversion FMC LA3 |
| 124 | +BUSY Conversion Busy FMC LA4 |
| 125 | +RESET Reset ADC FMC LA5 |
| 126 | +GND Ground FMC GND |
| 127 | +VDRIVE I/O Voltage FMC VIO (e.g., 2.5V) |
| 128 | +======================= ================ ===================== |
| 129 | + |
| 130 | +Match logic levels (VIO) — either 3.3V or 2.5V — depending on ZedBoard |
| 131 | +I/O bank configuration. |
| 132 | + |
| 133 | +The ZedBoard is powered via its 12V barrel jack, while the |
| 134 | +EVAL-AD7616SDZ requires a separate 6V to 12V DC supply to its power jack, |
| 135 | +with both boards sharing a common ground for proper operation. |
| 136 | + |
| 137 | +Build Command |
| 138 | +^^^^^^^^^^^^^ |
| 139 | + |
| 140 | +.. code-block:: bash |
| 141 | +
|
| 142 | + cp <SOME_PATH>/system_top.xsa . |
| 143 | + # to delete current build |
| 144 | + make reset |
| 145 | + # to build the project |
| 146 | + make |
| 147 | + # to flash the code |
| 148 | + make run |
0 commit comments