mcb30 / dw1000

DecaWave DW1000 Linux kernel driver
15 stars 8 forks source link

tricks to increase transmission speed #19

Open denevs opened 2 years ago

denevs commented 2 years ago

Hello, i setup to use the DW1000 chip with a direct connection to RPi4. Chip is on EVB1000 board. I have 2 boards. Both configured for channel 7, cfg->rate 2, cfg->pulse 2, get pcode 12. Im using iperf3 test program to test UDP connection between boards and best speed that I can achieve is 1Mbit. I want to have 2.5Mbit. Is there some tricks that will help me to increase communication speed?

mcb30 commented 2 years ago

The dw1000 is designed for very small data volumes with accurate time measurements, rather than for high throughput. The bus-level interface to the dw1000 is very inefficient, and it doesn't hugely surprise me that you can't push much traffic through it.

denevs commented 2 years ago

Question a bit out of this theme. "no calibration sets in device tree" can affect work?

mcb30 commented 2 years ago

The calibration sets are just a convenience feature that can be used to store tuples of channel/PRF/antenna-delay/transmit-power values in the RPi HAT EEPROM's devicetree blob, so that the user doesn't need to manually configure those values on each boot.