Hi Michał, You will need to use timed commands for both the tx and rx. And, you will need to do more than just set them both to start at zero. Instead you need to read the current time (get_time_now), add an offset, and then set the "start_time" for both tx and rx equal to the current time plus offset. The offset must be large enough to account for the time that elapses while sending the commands. This should make it behave consistently from run to run, but it doesn't mean that the frequency will be zero for a zero delay target. You will have to introduce your own calibration in order for this to be the case. Does that make sense? Rob
On Mon, Feb 3, 2025 at 7:15 AM Michał Górny <michalgorn...@gmail.com> wrote: > Hi, > > I am working on making a FMCW radar on USRP E320 where a significant part > of the software is on rfnoc. > > To the replay block it feeds a file which is a signal or more precisely a > single pulse, from the replay block it feeds the same signal to the radio > block to send it. the same signal from the replay block through the second > output feeds to its own conjugate multiplication block. where there is a > multiplication between the transmitted signal conjugated and received. > > I check the operation of the program using matlab where it expects a > constant frequency. The program works, but each subsequent run gives me a > different frequency. I think the problem lies in the synchronization > between sending and receiving. How to make it happen at the same time? > > > > in the attachment I send my code. > > Thank you very much for any help. > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com