[Discuss OpenCPI] Re: DRC and AD9361 Config

From: Aaron Olivarez <aaron_at_olivarez.info>
Date: Thu, 11 Mar 21 17:16:51 -0600

You have to modify your custom DRC. In the DoSlave structure there are two
functions that can be used to change what you need.

    unsigned getRfInput(unsigned /*device*/, OD::config_value_t
/*tuning_freq_MHz*/) { return 0; }
    unsigned getRfOutput(unsigned /*device*/, OD::config_value_t
/*tuning_freq_MHz*/) { return 0; }

We use the No-OS software to interact with the transceiver. This will
update the general_input_select register appropriately.

Aaron


On Thu, Mar 11, 2021 at 4:25 PM Brian Padalino <bpadalino_at_gmail.com> wrote:

> I am trying to get the FSK DRC example working on my platform but there is
> so much abstraction I can't figure out how to set the output to be from
> TX1A on the AD9361.
>
> I need to set the tx_rf_port_output property to 0 instead of being 1. I
> need the config register general_input_select to be 3 instead of 76. I
> have a custom DRC controller, but I have no idea how to set what I need to
> set in there. Any attempts seem to fail miserably.
>
> I am using ocpirun to run my XML file. Any help or guidance would be
> appreciated.
>
> Thanks,
> Brian
> _______________________________________________
> discuss mailing list -- discuss_at_lists.opencpi.org
> To unsubscribe send an email to discuss-leave_at_lists.opencpi.org
>






Received on Thu Mar 11 2021 - 23:16:51 CST

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