Hello!
I’ve just bought a RaspberryPi and some dwm1001-dev boards. Using the github code provided by Decawave (https://github.com/Decawave/dwm1001-examples/tree/master/examples/ss_twr_init) I managed to see the distance between two boards.
How ever, when I create a new sort of msg that would look something like this
static uint8 init_tx_msg[] = {0x41, 0x88, 0, 0xCA, 0xDE, 'I', 'N', 'I', 'T', 0x1, 0x2};
Where INIT would be an initialized process instead of ranging. The last two 0x1 and 0x2 would be the ID of the board sending this statement.
The problem is when I check the status_reg
if (status_reg & SYS_STATUS_RXFCG)
When sending these messages status reg is 0x28200f2 and SYS_STATUS if 4000 and when I’m sending ranges it’s 0x2806ff2 4000.
The strange thing is if I’m change INIT to WAVE it works just find and I get a replay, but I got no idea why it won’t replay when having init instead.
Thanks for your help!