discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] set_auto_tr() and set_enable()


From: shanki
Subject: Re: [Discuss-gnuradio] set_auto_tr() and set_enable()
Date: Tue, 3 Aug 2010 10:00:06 +0800 (CST)

   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/7/30 蒲盟 <address@hidden>:
>>   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



您想拥有和网易免费邮箱一样强大的软件吗?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]