aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/b100/b100_iface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/b100/b100_iface.cpp b/host/lib/usrp/b100/b100_iface.cpp
index 402560c33..f0e241541 100644
--- a/host/lib/usrp/b100/b100_iface.cpp
+++ b/host/lib/usrp/b100/b100_iface.cpp
@@ -282,6 +282,7 @@ public:
boost::uint16_t ctrl = SPI_CTRL_ASS | (SPI_CTRL_CHAR_LEN_MASK & num_bits) | edge_flags;
+ spi_wait();
poke16(B100_REG_SPI_DIV, 0x0001); // = fpga_clk / 4
poke32(B100_REG_SPI_SS, which_slave & 0xFFFF);
poke32(B100_REG_SPI_TXRX0, bits);