|
| 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 5V |
| 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/main/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**: Evaluation board for the AD7616 ADC |
| 109 | +- **ZedBoard**: Xilinx Zynq-7000 development board |
| 110 | +- **SDP-I-FMC Interposer**: Interface board for connecting the EVAL-AD7616SDZ to the ZedBoard |
| 111 | + |
| 112 | +Connections |
| 113 | +^^^^^^^^^^^ |
| 114 | + |
| 115 | +1. Connect the EVAL-AD7616SDZ to the SDP-I-FMC interposer using the provided headers or cables. |
| 116 | +2. Insert the SDP-I-FMC interposer into the FMC connector on the ZedBoard. |
| 117 | +3. Set the logic level (VIO) on the ZedBoard to 3.3V. |
| 118 | +4. Power the ZedBoard using its 12V DC barrel jack. |
| 119 | +5. Provide a separate 6V to 12V DC power supply to the EVAL-AD7616SDZ via its power jack. |
| 120 | +6. Ensure both boards share a common ground connection to avoid communication issues. |
| 121 | + |
| 122 | +.. note:: |
| 123 | + |
| 124 | + - The VADJ voltage level on the carrier board must be set to 3.3V when using the SDP-I-FMC interposer. |
| 125 | + - Depending on the desired interface mode, the following hardware modifications are required: |
| 126 | + |
| 127 | + - For **Parallel Interface**: Ensure SL5 is unmounted. |
| 128 | + - For **Serial Interface**: Ensure SL5 is mounted. |
| 129 | + |
| 130 | +Build Command |
| 131 | +^^^^^^^^^^^^^ |
| 132 | + |
| 133 | +.. code-block:: bash |
| 134 | +
|
| 135 | + cp <SOME_PATH>/system_top.xsa . |
| 136 | + # to delete current build |
| 137 | + make reset |
| 138 | + # to build the project |
| 139 | + make |
| 140 | + # to flash the code |
| 141 | + make run |
0 commit comments