Change AD9631 TX hardware gain when using 1rx-1tx mode

(Question 1) what are the valid numbers for the debug attribute, adi,1rx-1tx-mode-use-tx-num?

It seems that we can echo 0 or 1 or 2 or 3 into this attribute without error. Is that 2 for TX channel 2 and all other numbers will be default to TX/RX channel 1? Or is it odd number for channel 1 and even number for channel 2?

(Question 2) Is it true that, during the 1rx-1tx mode, only out_voltage0_hardwaregain is valid, regardless of which TX channel is selected?

Regardless of what values we echoed into adi,1rx-1tx-mode-use-tx-num, we tried 0, 1 or 2, after intialization, we could only modify the out_voltage0_hardwaregain attribute and cannot change out_voltage1_hardwaregain directly. Furthermore, whatever the value we assigned to out_voltage0_hardwaregain, out_voltage1_hardwaregain will be updated to the same value automatically.



same
[edited by: c3commsystems at 6:29 PM (GMT -4) on 24 Oct 2020]

Top Replies

    •  Analog Employees 
    Oct 26, 2020 +2 verified

    Hi,

    (Question 1) what are the valid numbers for the debug attribute, adi,1rx-1tx-mode-use-tx-num?

    The values are limited to 1 minimum and 2 maximum. So if you input 0 it will be treated…

  • +1
    •  Analog Employees 
    on Oct 26, 2020 9:01 AM 1 month ago

    Hi,

    (Question 1) what are the valid numbers for the debug attribute, adi,1rx-1tx-mode-use-tx-num?

    The values are limited to 1 minimum and 2 maximum. So if you input 0 it will be treated as 1, if you input 3 it will be 2.

    (Question 2) Is it true that, during the 1rx-1tx mode, only out_voltage0_hardwaregain is valid, regardless of which TX channel is selected?

    You are correct when you use 1rx-1tx mode you only have one channel and you modify one attribute. The mapping will select what channel you want but in regards to the value you set for hardwaregain it will be just one setting.