I am currently trying different parameters of configuring the DWM1000 chip to test ToF. How do i change channel, data rate, pulse frequency, preamble length, preamble code?
For example, setting DW1000.setChannel(DW1000.CHANNEL_7) does not seem to work.
Irrespective of what the configurations i set, the DWM1000 initializes with these settings:
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
Taking a quick look at DW1000.cpp, i see that setDefault method always sets the DWM to MODE_LONGDATA_RANGE_LOWPOWER
I am currently trying different parameters of configuring the DWM1000 chip to test ToF. How do i change channel, data rate, pulse frequency, preamble length, preamble code?
For example, setting
DW1000.setChannel(DW1000.CHANNEL_7)
does not seem to work.Irrespective of what the configurations i set, the DWM1000 initializes with these settings:
Device mode: Data rate: 6800 kb/s, PRF: 16 MHz, Preamble: 128 symbols (code #4), Channel: #5
Taking a quick look at DW1000.cpp, i see that setDefault method always sets the DWM to
MODE_LONGDATA_RANGE_LOWPOWER
and enableMode method sets the channel to 5.
I am using Arduino 1.8.5, DW1000 Library 0.6, Pro Mini 5V and Wayne DWM1000 Adapter. Any pointers?