Wiki

This version (02 Nov 2023 09:24) was approved by George Mois.The Previously approved version (14 Apr 2022 14:07) is available.Diff

AXI ADC No-OS Driver

Description

The AXI ADC HDL driver is the driver for Generic AXI ADC IP core which is used on various FPGA designs. The driver is implemented as an Linux IIO driver. It's register map can be found here: Base register map (common to all cores)

Initialization example

struct axi_adc_init rx_adc_init = {
	.name = "rx_adc",
	.base = RX_CORE_BASEADDR,
	.num_channels = 2,
};
struct axi_adc *rx_adc;
 
/* Initialize the ADC core */
status = axi_adc_init(&rx_adc, &rx_adc_init);
if (status != 0) {
	printf("axi_adc_init() error: %"PRIi32"\n", status);
	return status;
}

Code Documentation

Source code documentation for the driver is automatically generated using the Doxygen tool and it is available at:

Source Code

resources/tools-software/uc-drivers/jesd204/axi_adc_core.txt · Last modified: 02 Nov 2023 09:16 by George Mois