From: Jason Abele Date: Mon, 4 Jan 2010 19:30:52 +0000 (-0800) Subject: Added antenna select support for new board rev X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=dab3f51bd02999f0b076fa3a89f1d71f0c04c579;p=debian%2Fgnuradio Added antenna select support for new board rev --- diff --git a/usrp/host/lib/db_wbxng.cc b/usrp/host/lib/db_wbxng.cc index c5d96b51..3dafe458 100644 --- a/usrp/host/lib/db_wbxng.cc +++ b/usrp/host/lib/db_wbxng.cc @@ -31,8 +31,10 @@ // Tx and Rx have shared defs, but different i/o regs #define ENABLE_5 (1 << 7) // enables 5.0V power supply #define ENABLE_33 (1 << 6) // enables 3.3V supply -#define RX_TXN (1 << 5) // Tx only: T/R antenna switch for TX/RX port -#define RX2_RX1N (1 << 5) // Rx only: antenna switch between RX2 and TX/RX port +//#define RX_TXN (1 << 15) // Tx only: T/R antenna switch for TX/RX port +//#define RX2_RX1N (1 << 15) // Rx only: antenna switch between RX2 and TX/RX port +#define RX_TXN ((1 << 5)|(1 << 15)) // Tx only: T/R antenna switch for TX/RX port +#define RX2_RX1N ((1 << 5)|(1 << 15)) // Rx only: antenna switch between RX2 and TX/RX port #define RXBB_EN (1 << 4) #define TXMOD_EN (1 << 4) #define PLL_CE (1 << 3)