Post Go back to editing

ADALM-PLUTO: GPO Control of the AD9363 Chip using libiio C library

I would like to control the GPO pins of the AD9363 using the libiio C library.

The manual local control of the GPO pins is described here:

wiki.analog.com/.../ad9361

The "gpo_set" debug attribute has two required parameters (identifier and value).

Which libiio function can write the values to gpo_set? Most of the "iio_device_debug_attr_write" functions have only one input parameter.

I already tried to use iio_device_debug_attr_write_raw and committing an int array of size 2, but a negative error code is returned:

analogdevicesinc.github.io/.../group__Debug.html

Top Replies