Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1579

Python • Interfacing with CN0554 using PyADI-IIO

$
0
0
Hello,

I'm very new to using raspberrypi's so apologies in advance if my wording or use of terminology is not the best.

I'm attempting to use a raspberrypi 3 with a CN0554 Hat from ADI to convert digital signals into analog outputs. I've imaged the SD card that I am using with ADI-Kuiper-Linux, added the CN0554 to the device tree , and am able to create cn0554 objects in python using the PyADI-IIO module.

Currently I am trying to test to see if I can write to the channels on the onboard DAC to have them output a voltage of my choosing but I cannot figure out how to do this. Checking the documentation (see below) there doesn't seem to be a built in write function for the cn0554 or for the ltc2688 which is the digital to analog converter on the hat. I'm unsure how to precede and was wondering if anyone here had experience with PyADI or could point me in the right direction. Thanks for your time.

https://analogdevicesinc.github.io/pyad ... n0554.html
https://analogdevicesinc.github.io/pyad ... c2688.html

Statistics: Posted by Nemtage — Wed Aug 27, 2025 9:22 pm



Viewing all articles
Browse latest Browse all 1579

Trending Articles