Added antenna select support for new board rev
authorJason Abele <jason@jasonabeleconsulting.com>
Mon, 4 Jan 2010 19:30:52 +0000 (11:30 -0800)
committerJason Abele <jason@jasonabeleconsulting.com>
Mon, 4 Jan 2010 19:30:52 +0000 (11:30 -0800)
usrp/host/lib/db_wbxng.cc

index c5d96b51ea66d67dd377f3a25ee1848479737701..3dafe458bcd3c03b5d35a13cbb9860a041a8f8a2 100644 (file)
 // 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)