This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linux-drivers:iio-dds:axi-dac-dds-hdl [12 Apr 2019 11:38] – [Description] Michael Hennerich | resources:tools-software:linux-drivers:iio-dds:axi-dac-dds-hdl [22 Nov 2023 10:08] (current) – Add support for AD9783 iulia Moldovan | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Supported Devices ===== | ===== Supported Devices ===== | ||
* [[adi> | * [[adi> | ||
+ | * [[adi> | ||
* [[adi> | * [[adi> | ||
* [[adi> | * [[adi> | ||
+ | * [[adi> | ||
* [[adi> | * [[adi> | ||
* [[adi> | * [[adi> | ||
Line 16: | Line 18: | ||
* [[adi> | * [[adi> | ||
* [[adi> | * [[adi> | ||
- | + | * [[adi> | |
- | ===== Supported Boards ===== | + | ===== Supported Boards ===== |
This driver supports the\\ | This driver supports the\\ | ||
* [[resources/ | * [[resources/ | ||
Line 30: | Line 33: | ||
* [[resources/ | * [[resources/ | ||
* [[resources/ | * [[resources/ | ||
+ | * [[: | ||
+ | * [[: | ||
* [[resources/ | * [[resources/ | ||
* [[resources: | * [[resources: | ||
* [[resources: | * [[resources: | ||
+ | ===== Supported HDL Cores ===== | ||
+ | |||
+ | * [[resources: | ||
+ | * [[resources: | ||
+ | * [[resources: | ||
+ | * [[resources: | ||
+ | * [[resources: | ||
+ | * [[: | ||
+ | |||
+ | ===== Sub device Documentation (linked mode) ===== | ||
+ | |||
+ | * [[resources: | ||
===== Description ===== | ===== Description ===== | ||
Line 44: | Line 61: | ||
Alternatively this driver can also be used in a '' | Alternatively this driver can also be used in a '' | ||
Finally both the HDL core platform device together with the converter SPI device will register a common IIO device, which will then exhibit a common set of attributes and channels. | Finally both the HDL core platform device together with the converter SPI device will register a common IIO device, which will then exhibit a common set of attributes and channels. | ||
- | The converter SPI device driver is handled in a separate source file, which can be found in the same directory this driver exists. | + | The converter SPI device driver is handled in a separate source file, which can be found in the same directory this driver exists. The device tree phandle “spibus-connected” is used to connect the AXI-DAC driver with the SPI control driver. |
Sometimes there is a common HDL/FPGA transport layer core, which handles both RX/TX or ADC/DMA. | Sometimes there is a common HDL/FPGA transport layer core, which handles both RX/TX or ADC/DMA. | ||
Line 82: | Line 99: | ||
* **compatible**: | * **compatible**: | ||
* adi, | * adi, | ||
+ | * adi, | ||
* adi, | * adi, | ||
* adi, | * adi, | ||
Line 91: | Line 109: | ||
* adi, | * adi, | ||
* adi, | * adi, | ||
+ | * adi, | ||
* **reg**: Base address and register area size. This parameter expects a register range. | * **reg**: Base address and register area size. This parameter expects a register range. | ||
Line 373: | Line 392: | ||
</ | </ | ||
+ | |||
+ | === External synchronization === | ||
+ | |||
+ | The [[resources: | ||
+ | This feature can also synchronize between the [[resources: | ||
+ | |||
+ | There are two device attributes which allows controlling this feature: | ||
+ | '' | ||
+ | later returns the available modes which depend on HDL core synthesis | ||
+ | parameters. The options are explained below. Reading ' | ||
+ | returns either ' | ||
+ | signal or ' | ||
+ | |||
+ | * '' | ||
+ | |||
+ | * '' | ||
+ | |||
+ | * '' | ||
+ | | ||
+ | == Example: == | ||
+ | |||
+ | <WRAP box bggreen>< | ||
+ | < | ||
+ | root@analog:/ | ||
+ | **arm disarm trigger_manual** | ||
+ | root@analog:/ | ||
+ | **disarm** | ||
+ | root@analog:/ | ||
+ | root@analog:/ | ||
+ | **arm** | ||
+ | root@analog:/ | ||
+ | root@analog:/ | ||
+ | **disarm** | ||
+ | </ | ||
+ | |||
+ | |||
===== Buffer management ===== | ===== Buffer management ===== | ||