Rust DW3000 Driver

Introduction
A modernized driver for the Decawave DW3000 UWB transceiver, written in the Rust programming language. We used the crate dw1000 developped for the DW1000 module and changed the registers access and spi functions, added fast command and implemented some high level functions.
Status
Both RTT methods (single and double sided) are working and giving good positioning values. PDoA and TDoA can be enabled optionally (Please read the docs as they require certain configurations!).
Compared to the old dw3000 crate we fixed the GPIOs and LEDs, also got rid of the old unmaintained ieee802154 crate and replaced it with smoltcp.
We mainly test on the ESP32 platform with embassy async framework.
Usage
Include this crate in your Cargo project by adding the following to Cargo.toml:
[]
= "0.8"
Documentation
Please refer to the API Reference.
Please also refer to the DW3000 User Manual
Citation
If you are using this in your academic work, please cite it as follows:
CHANGELOG
0.8.2
- Add parameter
recv_timeto allow delayed receiving by @trembel - Fix
pll_ccregister by @JohannesProgrammiert
0.8.1
- Fixed the
STSregister setup when callingconfig()with STS enabled
0.8.0
- Renamed the
num-traitsfeature torssito better indicate what it does - Added PDoA and TDoA support
0.7.0
- Add field rx_quality to struct Message holding first path signal power by (@elrafoon)
- Fixed STS config values by (@elrafoon)
0.6.1
- Fixed read of the
RX_RAWSTregister
0.6.0
- Added the carrier recovery integrator register
0.5.1
- Fix
DTUNEregister value
0.5.0
- Migrated to
embedded-hal1.0 - Removed explicit manipulations of the SPI CS pin
License
BSD-3-Clause