Hello,
i want to use the AD7091R for measuring a 4-20 mA Signal at 300 kSPS - i plugged in an EVAL-CN0336-PMDZ Evaluation Board into a PMod HAT on a Raspberry Pi 4, which is running the 2023-12-13-ADI-Kuiper-full.img Linux image.
Taking a look at the kernel config, i see that the driver, which i presume is the correct one for the ad7091r is built-in: -> Device Drivers -> Industrial I/O support -> Analog to digital converters -> Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI.
For the AD7091r or AD7476 i cant find a pre-compiled device tree overlay for that chip. I think i need to create one, maybe based on an existing one?
The tutorial here https://wiki.analog.com/resources/tools-software/linux-drivers/iio-adc/ad7476a#example_platform_device_initialization gives some infos, but i am a bit lost.
Could you advise what to do to get the ad7091r showing up in /sys/bus/iio/devices/ ?
Thanks!
Edit Notes
Shortened and pointed out that the result should be recognising the device by the OS in /sys/bus/iio/devices.[edited by: CBellmann at 3:36 PM (GMT -5) on 14 Feb 2024]