Hi Marcus,

> Gesendet: Montag, 23. März 2020 um 23:35 Uhr
> Von: "Marcus D. Leech" <patchvonbr...@gmail.com>
> An: "Lukas Haase" <lukasha...@gmx.at>
> Cc: "Rob Kossler" <rkoss...@nd.edu>, "USRP-users@lists.ettus.com" 
> <usrp-users@lists.ettus.com>
> Betreff: Re: [USRP-users] USRP X310 ignored DSP retuning on TX when using a 
> timed command
>
> On 03/23/2020 11:08 PM, Lukas Haase wrote:
> > Hi Marcus,
> >
> >> Gesendet: Freitag, 13. März 2020 um 13:29 Uhr
> >> Von: "Marcus D. Leech" <patchvonbr...@gmail.com>
> >> An: "Lukas Haase" <lukasha...@gmx.at>, "Rob Kossler" <rkoss...@nd.edu>
> >> Cc: "USRP-users@lists.ettus.com" <usrp-users@lists.ettus.com>
> >> Betreff: Re: [USRP-users] USRP X310 ignored DSP retuning on TX when using 
> >> a timed command
> >>
> >> On 03/13/2020 10:52 AM, Lukas Haase wrote:
> >>> Hi again Rob,
> >>>
> >>> Yes, I confirm:
> >>>
> >>> 1.) Finally I get the commands to execute at the same time (TX and RX 
> >>> individually and both at the same time)
> >>> 2.) Yes, the phase is random after each retune, even when I retune back 
> >>> to the same frequency
> >>> 3.) (2) is only true if it includes *DSP* retuning. With naalog retuning 
> >>> (+integer-N retuning) I get phase coherence, as expected.
> >>>
> >>> I actually expected the PLL retuning much more challenging than the DSP 
> >>> retuning but for some reason it seems to be the opposite...
> >> It depends on whether the phase-accumulator in the DSP is reset to zero,
> >> or whether just the increment register is updated with the
> >>     new phase increment.   There are good arguments for both approaches.
> > I just wanted to check in again if you know how this is implemented and how 
> > your thoughts are regarding tuning in both cases. My take:
> >
> > Case #1: Phase accumulator and increment register is reset.
> >     - This results in transients when re-tuning frequency because the mixer 
> > LO always (re-)starts at zero phase.
> >     - Since this completely defines the state of the DDC/DUC, I imagine 
> > phase coherence must be preserved assuming the resets in TX and RX happen 
> > exactly at the same time (which is still not certain to me)




I have actually always wondered HOW these magic timed commands actually work.

The FPGA has a clock which to my knowledge is the system clock which is 200 
MHz. Call this clock "clk".
But this is also the sample rate.
So everything that operates on a sample level accuracy must execute within one 
clock cycle which seems hard to me.

If I queue 16 timed commands how can they really be executed at the same clock 
cycle?

> According to my study of the FPGA code, the register sets are serialized 
> within the timed-command FIFO, which is an AXI FIFO, which means
>    that said commands may be spread over several 10s of nanoseconds in 

Is this an alternative way of saying "timed commands actually do NOT execute at 
the same time on the x310" or alternatively "The x310 does actually NOT support 
phase coherent operation"?

That would come pretty much to a shock.

It would explain why phase coherence works with analog-only tuning (assuming 
one single register set is sufficient for analog tuning).

On the other hand, it would not explain why RX-RX phase coherence (or TX-TX) 
works. In that case, only the two DDCs are used. But there are still several 
register sets which would equally break stuff.

Lukas



_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to