Wiki

This version is outdated by a newer approved version.DiffThis version (31 Oct 2023 15:49) was approved by Antoniu Miclaus.

This is an old revision of the document!


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.1649938071.txt.gz · Last modified: 14 Apr 2022 14:07 by Antoniu Miclaus