Re: [Discuss OpenCPI] Automatic Termination for Unused ADC/DAC Ports for platform_ad9361
On Mon, Jan 11, 2021 at 10:41 AM James Kulp <jek_at_parera.com> wrote:
> On 1/11/21 10:13 AM, Brian Padalino wrote:
> > I am moving some code over to use the platform_ad9361 devices and there
> > seems to be no automatic termination for unused ADC/DAC ports. For
> > example, if I have a tx-only or rx-only assembly, I still need to pipe
> > something into the ADC/DAC.
> >
> > Is there a recommended way to terminate those in the assembly or
> container
> > such that it isn't necessary?
>
> The adc/dac subdevices should be optional as designed.
>
> E.g. the data_sink_qdac_ad9361 "supports" the data_sink_qdac, so if the
> latter is not present, it should also not be present.
>
> I guess to answer your question we would need to know which of these are
> explicitly instanced in your assembly.
>
When the DAC isn't connected, I get this error:
For file gen/fsk_modem_platform_base_cnt.xml: in HdlContainerAssembly for
fsk_modem_platform_cnt: Port in of instance afe1_dac0 of worker
data_sink_qdac is not connected and not optional
It doesn't seem to think it's optional. Am I doing something wrong?
This is OpenCPI v2.0.1.
Brian
Received on Mon Jan 11 2021 - 15:48:12 CST
This archive was generated by hypermail 2.3.0
: Fri Jun 05 2026 - 08:45:25 CDT