Just 2 cents which may help or may just tell you what you already know - a
git grep in the core framework for tx_rf_port may be helpful. The following
two lines are one example of a place mapping is done. Running OpenCPI w/
gbd and breaking on lines such as those below might help tracing things.
https://gitlab.com/opencpi/opencpi/-/blob/develop/runtime/drc/ad9361/src/RadioCtrlrNoOSTuneResamp.cc#L698
https://gitlab.com/opencpi/opencpi/-/blob/develop/runtime/drc/ad9361/src/RadioCtrlrNoOSTuneResamp.cc#L710
On Thu, Mar 11, 2021 at 6:17 PM Aaron Olivarez <aaron_at_olivarez.info> wrote:
> 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
>>
> _______________________________________________
> 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:51:27 CST