aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100/e100_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-22 03:59:57 +0000
committerJosh Blum <josh@joshknows.com>2011-08-31 18:44:34 -0700
commit26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c (patch)
tree701770e2acc8941eaabf8aa713edf5d4c711a704 /host/lib/usrp/e100/e100_impl.hpp
parent0fa5508ccca415c82fa005312f42060e5ed3c2bf (diff)
downloaduhd-26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c.tar.gz
uhd-26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c.tar.bz2
uhd-26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c.zip
e100: changed compat numbers, and tweaks
Diffstat (limited to 'host/lib/usrp/e100/e100_impl.hpp')
-rw-r--r--host/lib/usrp/e100/e100_impl.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/host/lib/usrp/e100/e100_impl.hpp b/host/lib/usrp/e100/e100_impl.hpp
index 76af828d0..1800e15b5 100644
--- a/host/lib/usrp/e100/e100_impl.hpp
+++ b/host/lib/usrp/e100/e100_impl.hpp
@@ -42,10 +42,12 @@
uhd::transport::zero_copy_if::sptr e100_make_mmap_zero_copy(e100_ctrl::sptr iface);
-static const double E100_LINK_RATE_BPS = 166e6/4*2; //gpmc_clock_rate/clk_div*bytes_per_transaction
+// = gpmc_clock_rate/clk_div/cycles_per_transaction*bytes_per_transaction
+static const double E100_RX_LINK_RATE_BPS = 166e6/3/2*2;
+static const double E100_TX_LINK_RATE_BPS = 166e6/3/1*2;
static const std::string E100_I2C_DEV_NODE = "/dev/i2c-3";
static const std::string E100_FPGA_FILE_NAME = "usrp_e100_fpga_v2.bin";
-static const boost::uint16_t E100_FPGA_COMPAT_NUM = 0x05;
+static const boost::uint16_t E100_FPGA_COMPAT_NUM = 0x06;
static const boost::uint32_t E100_RX_SID_BASE = 2;
static const boost::uint32_t E100_TX_ASYNC_SID = 1;
static const double E100_DEFAULT_CLOCK_RATE = 64e6;