I’m trying to read the accumulator data. I’m using 2 EVB1000 boards and Decawave’s source code (version 3.11).
I tried it by inserting the following lines at the beginning of function “instance_rxgoodcallback(const dwt_cb_data_t *rxd)” in instance_common.c:
[code]static uint16 len_x = 180 + 1;
dwt_readaccdata(accum_b, len_x, 0);[/code]
If I make len_x 181 or smaller, everything works as expected (i.e. I can retrieve that portion of the accumulator data and two-way ranges are reported by the tag and anchor).
For some odd reason, if I make len_x larger than 181, the tag displays “RANGING WITH 102689205E69191E” and the anchor displays “AWAITING POLL” and both cease to report two-way ranges.
Does anyone have any idea what could be causing this? Thanks!