Post Go back to editing

CN0511 code issue

Category: Software
Product Number: CN0511
Software Version: Git master

I think this page just needs to be removed (it’s not used anywhere, and is duplicated on the next page).

https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0511/libad9166-iio_installations

 

This page:

https://wiki.analog.com/resources/eval/user-guides/circuits-from-the-lab/cn0511

 

includes:

Once the next version of Analog Devices Kuiper Linux gets released (2021_R2), these steps will be removed.

(I think that has happened now?) What’s the update?

 

The Python uses register reads/writes to access temperature?

https://github.com/analogdevicesinc/pyadi-iio/blob/master/adi/ad9166.py#L92-L108

 

I don’t understand that at all – since the driver exposes that as an IIO attribute.

https://wiki.analog.com/resources/tools-software/linux-drivers/iio-pll/ad9162#read_temperature

 

 

and NCO:

               https://github.com/analogdevicesinc/pyadi-iio/blob/master/adi/ad9166.py#L125-L134

               https://github.com/analogdevicesinc/pyadi-iio/blob/master/adi/ad9166.py#L136-L145

 

which is also supported by the driver:

https://wiki.analog.com/resources/tools-software/linux-drivers/iio-pll/ad9162#change_nco_frequency

 

same for the FIR85 – implemented with reg read/write:

https://github.com/analogdevicesinc/pyadi-iio/blob/master/adi/ad9166.py#L146-L166

 

but also in the driver:

https://wiki.analog.com/resources/tools-software/linux-drivers/iio-pll/ad9162#enable_fir85_filter1

 

Is there something wrong with the driver that we shouldn’t be using it?

Parents Reply Children
  • Hi Robin,

    Sorry for the delay in getting back to you. We are also checking in on another issue with libad9166 and will update the doc once they are resolved. As for now, when we had a fresh setup done, the libad9166-iio installations need to be done.

    For the pyadi-IIO class, this is now currently being revised removing the direct register access. As stated by the initial developer of the class, this was done since the AD9166 driver released at the time had not yet exposed the attributes.

    Best Regards,

    Nikko