This is the DW1000 driver and our self developed distance measurement application based on it. We do this as a semester thesis at ETH Zürich under the Automatic Control Laboratory in the Department of electrical engineering.

Dependencies:   mbed

Revision:
25:d58b0595b300
Parent:
24:6f25ba679490
Child:
26:a65c6f26c458
--- a/DW1000/DW1000.h	Thu Nov 27 16:26:42 2014 +0000
+++ b/DW1000/DW1000.h	Thu Nov 27 17:51:54 2014 +0000
@@ -66,14 +66,10 @@
         void receiveString(char* message);                                                      // to receive char string (length of the buffer must be 1021 to be safe)
         void sendFrame(uint8_t* message, uint16_t length);                                      // send a raw frame (length in bytes)
         void startRX();                                                                         // start listening for frames
-        void stopRX();                                                                          // stop listening for frames
+        void stopTRX();                                                                         // disable tranceiver go back to idle mode
         
     //private:
-        bool receiving;                                                                         // holds if we need to preserve a receiving state after sending
-        bool sending;                                                                           // holds if we are currently in a sending process so we can't receive at the moment
-
         void loadLDE();                                                                         // load the leading edge detection algorithm to RAM, [IMPORTANT because receiving malfunction may occur] see User Manual LDELOAD on p22 & p158
-        void stopTRX();                                                                         // disable tranceiver go back to idle mode
         void resetRX();                                                                         // soft reset only the tranciever part of DW1000
         void resetAll();                                                                        // soft reset the entire DW1000 (some registers stay as they were see User Manual)