aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2018-02-12 14:06:59 -0800
committerMartin Braun <martin.braun@ettus.com>2018-02-14 01:25:24 +0100
commit8c4894534ecec3f0d51b9fff9e0605b40ba2ab6c (patch)
tree57c9ab4c4c6bcfd02db7642d79523563302e0768 /host/lib/usrp/dboard/magnesium
parentca2c2f4f0bfb0b39194d76e4543829e39fde8ce8 (diff)
downloaduhd-8c4894534ecec3f0d51b9fff9e0605b40ba2ab6c.tar.gz
uhd-8c4894534ecec3f0d51b9fff9e0605b40ba2ab6c.tar.bz2
uhd-8c4894534ecec3f0d51b9fff9e0605b40ba2ab6c.zip
mg: turn on tx power amplifiers when idle
Without turning on tx power amplifer when being idle, the TX settling time is 100ms. Turning these power amplifiers on "all time" results in tx settling time around 140us.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp
index 183b87dcb..2bd2b2341 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_cpld.cpp
@@ -117,12 +117,13 @@ void magnesium_radio_ctrl_impl::_update_atr_switches(
true, /* Myk on */
true /* defer commit */
);
+ // Leaving PA on since we want shorter tx settling time.
_cpld->set_tx_atr_bits(
chan,
magnesium_cpld_ctrl::IDLE,
false, /* LED off */
- false, /* PA off */
- false, /* AMP off */
+ true, /* PA on */
+ true, /* AMP on */
true, /* Myk on */
false /* don't defer commit */
);