[USRP-users] ATR registers
ianb at ionconcepts.com
Thu Oct 9 13:50:51 EDT 2014
A couple of quick observations.
1) The example you present below writes both the IDLE state and RX state with the same values (atr_rx) so you would not see a transition of GPIO pins between those states.
2) You haven't shown a configuration write ti the DDR register which is defined as:
The CTRL reg determines whether the GPIO is driven by internal state changes in the radio streaming control logic or if it just works like traditional bit-banged GPIO. 0=Manual mode 1=ATR
The DDR reg (data direction register) sets port direction…where a 1 is an output, 0 is an input
The OUT reg controls the bit values driven on output configured GPIOs.
Hope this helps
On Oct 9, 2014, at 4:31 AM, Per Zetterberg via USRP-users <usrp-users at lists.ettus.com> wrote:
> Dear List,
> I am trying to use the ATR registers with a basic daughterboard. I do:
> Upon writing these values the settings of ATR_REG_IDLE should immediately take effect until we ask the USRP to send or receive samples. But this does not seem to be the case. Am I making a mistake?
> USRP-users mailing list
> USRP-users at lists.ettus.com
More information about the USRP-users