Tobi's ubw test branch

Dependencies:   mavlink_bridge mbed

Fork of AIT_UWB_Range by Benjamin Hepp

Revision:
15:e1fea7e2aff1
Parent:
13:b4d27bf7062a
Child:
17:8afa5f9122da
--- a/DW1000/DW1000.cpp	Sun Nov 23 15:37:45 2014 +0000
+++ b/DW1000/DW1000.cpp	Sun Nov 23 20:45:14 2014 +0000
@@ -8,6 +8,7 @@
     //resetAll();                       // we can do a soft reset if we want to (only needed for debugging)
     loadLDE();                          // important everytime DW1000 initialises/awakes otherwise the LDE algorithm must be turned of or there's receiving malfunction see User Manual LDELOAD on p22 & p158
     writeRegister8(DW1000_SYS_CFG, 3, 0x20); // enable auto reenabling receiver after error
+    writeRegister8(DW1000_SYS_CFG, 2, 0x03); // enable 1024 byte frames TODO: doesn't work!!
     
     irq.rise(this, &DW1000::ISR);       // attach Interrupt handler to rising edge
 }