DW1000 & RPI App
Please download DW1000 API from http://www.decawave.com/support/software. Copy api files (decadriver) to src. Make and enjoy!
sudo rpi_config-> 5 Interfacing Options -> P4 SPI -> Enable- add a line
dtoverlay=spi1-2csto/boot/config.txt cd dw1000_rpi/srcmake cleanmake <app_name>
make <application_name>
The following applications are currently implemented:
-
dw1000_tx: simple periodic transmitter. Takes no parameters. -
dw1000_rx: simple receiver that continuously listens for packets. Takes no parameters. -
dw1000_rx_cir: like simple receiver but also outputs the CIR (channel impulse respone) for each reception to the console. Takes no parameters. -
dw1000_twr_resp: adapted ranging application using one polling and one response message. Also outputs the entire CIR in a file. Takes 2 parameters: -
INITorRESP: Choose which device is the INITIATOR or RESPONDER<exp_number>: An unsigned integer used for naming the output.
Output files have the naming scheme
exp<exp_number>_msg<msg_number>_I/R.csv. The<msg_number>is modulo 256.
The Decawave Software API is provided by Decawave Ltd. Please refer to Decawave_Disclaimer.txt for further details