AD4134
Recommended for New Designs
The AD4134 is a quad channel, low noise, simultaneous sampling, precision analog-to-digital converter (ADC) that delivers on functionality, performance...
Datasheet
AD4134 on Analog.com
Hello,
I am working on a project that uses the AD4134 ADC, and we are utilizing the SPI-engine controller Linux driver. Unfortunately, there aren't many references available online for SoM-based configurations.so, i used this as my reference https://github.com/analogdevicesinc/linux/blob/main/arch/arm/boot/dts/zynq-zed-adv7511-ad4134.dts
However, the main issue I'm facing is that the SPI-engine controller driver is not being probed and results in the following error:
[ 2.607598] spi-engine 30820000.spi: Unsupported peripheral version 0.0.
Here is how i changed my dts:
&ecspi1 {
compatible = "adi,axi-spi-engine-1.00.a";
pinctrl-names = "default";
clock-names = "s_axi_aclk", "spi_clk";
pinctrl-0 = <&pinctrl_ecspi1>;
cs-gpios = <&gpio5 17 GPIO_ACTIVE_LOW>,<&gpio1 8 GPIO_ACTIVE_LOW>;
status = "okay";
/* SPI Engine AD4134 */
ad4134_spi_engine: spi_engine@1 {
compatible = "adi,ad4134-spi-engine";
reg = <1>;
spi-max-frequency = <48000000>;
spi-cpha;
};
adc@1 {
compatible = "adi,ad4134";
reg = <1>;
spi-max-frequency = <1000000>;
clocks = <&sys_clk>;
clock-names = "sys_clk";
dmas = <&sdma3 0>;
dma-names = "rx";
pwms = <&pwm2 0 50000 0>;
pwm-names = "odr_pwm";
avdd5-supply = <&avdd5>;
avdd1v8-supply = <&avdd1v8>;
iovdd-supply = <&iovdd>;
refin-supply = <&refin>;
adi,spi-engine = <&ad4134_spi_engine>;
};
};
Can you guys please provide any workaround or solution to this problem.
Any guidance or suggestions on how to resolve this issue would be greatly appreciated.
Thank you!
Hi,
I'm not sure what you mean by SOM based configuration but ecspi reminds me of some NXP based platform.
Please take care that spi-engine is an FPGA IP. You can not instantiate/use it on a standard uP with a standard SPI peripheral.
So, In order to use AD4134 ADC driver which has hard dependency on SPI engine. What should i do? Are there any alternative available?
Hi,
Unfortunately we have no solution for AD4134 ADC with a non FPGA platform.
Hi,
So, It is not possible to use AD4134 with any uP based platforms? it's only for FPGAs?