Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of DecaWave by
Diff: DW1000/DW1000.cpp
- 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 }