IIO example for the ad9088 project.
More...
#include "iio_example.h"
#include "common_data.h"
#include "no_os_delay.h"
#include "no_os_print_log.h"
#include "no_os_util.h"
#include "ad9088.h"
#include "adi_apollo_clk_mcs.h"
#include "jesd204.h"
#include "axi_adxcvr.h"
#include "axi_dmac.h"
#include "no_os_axi_io.h"
#include "jesd204_clk.h"
#include "iio_axi_adc.h"
#include "iio_axi_dac.h"
#include "iio_app.h"
#include "parameters.h"
IIO example for the ad9088 project.
- Author
- CHegbeli (cipri.nosp@m.an.h.nosp@m.egbel.nosp@m.i@an.nosp@m.alog..nosp@m.com)
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ AXI_DO_REG_MEMORY_SIZE_LSB
| #define AXI_DO_REG_MEMORY_SIZE_LSB 0x0014 |
◆ AXI_DO_REG_RESETN_OFFLOAD
| #define AXI_DO_REG_RESETN_OFFLOAD 0x0084 |
◆ CAPTURE_CONVERTERS
◆ DEFAULT_CNCO_RATE_DIV
| #define DEFAULT_CNCO_RATE_DIV 8 |
◆ DEFAULT_FNCO_HZ
| #define DEFAULT_FNCO_HZ 0 |
◆ DMA_BUFFER_ALIGN
| #define DMA_BUFFER_ALIGN 1024 |
◆ DMA_BUFFER_SLACK
◆ IIO_CONVERTERS
◆ IIO_SIDES
◆ JESD204_RX_LINK_STATUS_DATA
| #define JESD204_RX_LINK_STATUS_DATA 3 |
◆ JESD204_RX_LINK_STATUS_MASK
| #define JESD204_RX_LINK_STATUS_MASK 0x3 |
◆ JESD204_RX_REG_LINK_STATUS
| #define JESD204_RX_REG_LINK_STATUS 0x280 |
◆ RX_LINK_ATTEMPTS
| #define RX_LINK_ATTEMPTS 3 |
◆ RX_LINK_RECOVER
| #define RX_LINK_RECOVER 1 |
◆ TX_OFFLOAD_MAX_BYTES
| #define TX_OFFLOAD_MAX_BYTES (512 * 1024) |
◆ iio_example_main()
| int iio_example_main |
( |
void | | ) |
|
IIO example main execution.
- Returns
- ret - Result of the example execution. If working correctly, will execute continuously the while(1) loop and will not return.
-
ret - Result of the example execution. If working correctly, will execute continuously function iio_app_run and will not return.