Set_auto_tr() and set_enable()

Hi ,
I am confued by set_auto_tr() and set_enable(). In my opinion
set_auto_tr(True) means that if there is something to transmit(
something sent to the FPGA), the Rx path will be disabled, but if there
is nothing sent to the FPGA, then the Rx path will be always enabled. On
the other hand, if set_enable(True) is set, no matter whether there is
something or not sent to FPGA, the TX path will always be enabled, and
Rx path will always be disabled. But could set_auto_tr() and
set_enable() be both set to True? if the answer is YES, what will
happen?
Am i correct? Any correction will be appreciated!
sincerely,
shanki

2010/7/30 蒲盟 [email protected]:

 Hi ,
 I am confued by set_auto_tr() and set_enable(). In my opinion
set_auto_tr(True) means that if there is something to transmit( something
sent to the FPGA), the Rx path will be disabled, but if there is nothing
sent to the FPGA, then the Rx path will be always enabled. On the other
hand, if set_enable(True) is set, no matter whether there is something or
not sent to FPGA, the TX path will always be enabled, and Rx path will
always be disabled. But could set_auto_tr() and set_enable() be both set to
True? if the answer is YES, what will happen?

If you look at the daughterboard code, you’ll find similarities
between the set_auto_tr() and set_enable() calls. Regarding pin
output, the difference is the use of ATR registers versus the normal
IO register; for ATR masked pins, the ATR registers have precedence.
In other words, if set_auto_tr() is set to true, then set_enable()
will have no effect.

Thomas

thanks Thomas,
in order to test these two calls, i write some test codes: i put a
rxpath and a txpath in one topblock, my daughterboard is RFX2400, and i
want to perform receiving while transmiting.
Firstly, i used set_auto_tr(True), but i did’t receive anything.
Secondly, i used set_auto_tr(False), and set_enable(True), then i
could receive one packet after every transmitted packet.
does that make any sense?
in my opinion, the results should be on the contrary, but …
could you give me some explanations?
thanks,

Shanki

2010/8/2 shanki [email protected]:

thanks,
How are your antennas setup and how are you calling set_auto_tr() and
set_enable()? Note that tx and rx paths each have their own set of ATR
registers that can be configured independently. For the first case,
assuming that both ATR masks are enabled for the RFX, the receive
mixer will be disabled while transmitting. For the second case, both
paths are enabled, which should explain the observed behaviour.

Thomas