You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 916d27e
Browse filesBrowse the repository at this point in the historyBrowse files
libiio v1: FMComms5 ported, multichip sync in M-code; emu tests for ADRV9009, AD9371, ADRV9002, FMComms5
adi.FMComms5.Rx/Tx no longer call libiio or libad9361 through calllib.
The device of the second AD9361 is looked up with getDev, both AD9361 get
their sampling rate with setBBRate (ad9361_set_bb_rate), and
ad9361_fmcomms5_multichip_sync of libad9361-iio is re-implemented in
adi.FMComms5.Base with the same attribute and register accesses in the
same order. In adi.FMComms5.Tx the attenuations of the second AD9361 are
written to that AD9361 at setup (the device was passed in the place of the
tolerance), and RFPortSelectChipB sets its own property and the port of
the transmitter.
adi.ADRV9002: the stream file of a custom profile is written to
stream_config as bytes. As text the write is refused by the bindings (the
file has zero bytes). A failed read of ensm_mode is reported with its
status.
Tests on the emu backend, 84 to 121 test points: frames in and out for
every receiver and transmitter class, the attributes that setup writes and
the tunable ones for ADRV9009, AD9371, ADRV9002 and FMComms5, profile
loading, the ADRV9002 with one DMA per channel, and the access sequence of
the multichip sync against the C source of libad9361-iio
(test/emu/ad9361_mcs). Context files from pyadi-iio; adrv9009.xml is put
together from adrv9008-1.xml and adrv9008-2.xml
(test/emu/make_adrv9009_xml.py).
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
0 commit comments