Ranging and data transfer simultaneously using DWM1000

I have two DWM1000 which I am using for ranging and data transmission . I have simply increased the array size and using the extra bits to transfer data . There are 9 other sensors connected to one mcu which has DWM as a anchor . I find the ranging data to be always wrong .

I guess that this might be due to delay caused by other connected devices . How can I compensate for this and get accurate data from this.

If your data packet is larger then make sure your timeouts have been suitably increased to allow for the longer transmit times.

If you have other sensors running then ensure your decawave device is running in an interrupt based mode rather than polled and make sure that the decawave interrupt is higher priority than any from the other sensors.