Re: [Discuss OpenCPI] OpenCPI v2.0.1, platform_ad9361 devices, and Legacy FSK Application

From: Aaron Olivarez <aaron_at_olivarez.info>
Date: Fri, 15 Jan 21 21:01:35 -0600

There are two adapter workers in projects/assets/components/misc_comps/ ;
one called iqstream_to_cswm and cswm_to_iqstream. cswm is short for
ComplexShortwithMetaData, these allow you to hook up legacy workers. A good
application to reference is fsk_dig_radio_ctrlr/fsk_modem_app.xml

Aaron

On Fri, Jan 15, 2021 at 4:46 PM Brian Padalino <bpadalino_at_gmail.com> wrote:

> I am utilizing the platform_ad9361 devices from the ocpi.platform project,
> and I am trying to run the FSK application. I am running into an issue
> with the interfaces of the new platform data subs.
>
> When I run the application, I get the following Exception being thrown:
>
> Exception thrown: Protocols in connection are incompatible: port "out" of
> instance "data_src_qadc" has protocol "ComplexShortWithMetadata" vs. port
> "in" of instance "dc_offset_filter" has protocol "iqstream"
>
> While I can understand a mismatch of protocol is definitely an error and
> some adapter needs to be made, I am a bit confused since I have a bit file
> that is loaded and has the devices connected together, so the HDL assembly
> knew how to connect them together but the software doesn't understand how
> they're connected?
>
> Note that I get the same thing with the DAC side of things as well, just
> swapped iqstream and ComplexShortWithMetadata.
>
> Do I need an adapter in here somewhere? How can I go from
> ComplexShortWithMetadata over to iqstream and, subsequently, vice-versa?
>
> Thanks,
> Brian
>


Received on Sat Jan 16 2021 - 03:01:35 CST

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT