analogdevicesinc / pyadi-iio

Python interfaces for ADI hardware with IIO drivers (aka peyote)
https://analogdevicesinc.github.io/pyadi-iio
Other
134 stars 99 forks source link

Fsylvestre/ad7944 #562

Open fsylvestre opened 1 month ago

fsylvestre commented 1 month ago

Description

Type of change

Please delete options that are not relevant.

How has this been tested?

install pyadi-iio and dependencies in venv Start Python interpreter import adi Instantiate adc object, e.g. adc = adi.ad7944(uri="ip:10.2.5.203") Check that adc.rx() succeeds with no warnings or errors Check sampling frequency with adc.sampling_frequency Set sampling frequency with adc.sampling_frequency = Check sampling frequency again with adc.sampling_frequency and confirm change successful

Test Configuration:

Hardware: Zedboard + EVAL-AD7944FMCZ/EVAL_AD7944_85_86FMCZ

OS:

PRETTY_NAME="Kuiper GNU/Linux 11.2 (bullseye)" NAME="Kuiper GNU/Linux" VERSION_ID="11.2" VERSION="11.2 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="https://github.com/analogdevicesinc/adi-kuiper-gen" SUPPORT_URL="https://ez.analog.com/linux-software-drivers/"

root@zed-2:~# uname -r
6.1.0-adi-22811-gd73dba4315e6

Documentation

Added:

Updated:

Checklist: