07-24-2015 06:00 AM
I am making changes in Full-Duplex Streaming Host and Tx-Streaming files to implement a TDD system using single antenna.
I plan to toggle ATR register values by changing RF 0/RX Enable and RF 0/TX Enable in between True and False as shown below.
I expect that the values of RF 0/RX Enable being read from FPGA properties should also toggle in same fashion as implemntented in seperate while loop outside the transmitting while loop.
But the value being read from FPGA properties sticks to one value and never toggles!
Should not USRP stop transmitting when RF 0/TX Enable is made false? But I see it's continously transmitting data.
Whats right way to toggle values of ATR register from host side?
Once confimred for TDD system using toggling at Host side I shall implement toggling at FPGA side for fast switching of antenna.
Solved! Go to Solution.
07-24-2015 08:41 AM
Hi Wired,
First, you need to put your writes to the FPGA Controls in a loop.
Right now it looks like you are toggling it in a loop and reading from them in a loop but never writing in a loop.
Give that a shot and let me know how it goes! Then, based off of what you have configured in your Rx and Tx states, it should swap between those configurations.
07-24-2015 11:34 AM
Hi!
What do you mean by writing FPGA Control in a loop?
The parameters that I am toggling is actually duplicate version of the ATR Rgegisters (RF 0/TX Enable and RF 0/RX Enable).
I am not clear about this reference.
I had another question, suppose I get Tx Enable to be false and even then am writing in transmitter loop where does this data go? Is the stream thrown away since TX chain has been terminated or it's an error?
07-27-2015 09:34 AM
Hi!
I did this and I guess now it's writing in the loop
But I am encountering an Errro as :
This happens only after I run the application for a time. Every attempts after first run gives this error.
07-27-2015 11:14 PM
Thanks!
I recompiled and now toggling works fine now , when you write to FPGA paramteres inside the loop directly.
But the chain color indicators(Red/Green) are not showing the changes/switching.
But still there is part of the self data coming in which I think can be sorted by digital frequency shifting.