You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the other side the default dw1000_dev_cfg power settings sets a gain of 9dB as the default, but if DW1000_BIAS_CORRECTION_ENABLED is enabled the correction is not based on the configuration settings
in the default config but on the macros DW1000_DEVICE_TX_PWR and DW1000_DEVICE_ANT_GAIN.
The DW1000_DEVICE_TX_PWR isn't used. It should be removed. Thanks for pointing this out.
edit: The bias correction does reference this value still as per your comments. However this hasn't been used in a while.
I'd say do not use the bias correction. The receiver do oversteer if you have too much power coming into the antenna creating this bias, but this should only be a problem if you're having the antennas less than say 2m apart and high tx power. You can see if you're oversteering the receiver by checking the rssi.
The DW1000_DEVICE_TX_PWR isn't used. It should be removed. Thanks for pointing this out.
edit: The bias correction does reference this value still as per your comments. However this hasn't been used in a while.
I'd say do not use the bias correction. The receiver do oversteer if you have too much power coming into the antenna creating this bias, but this should only be a problem if you're having the antennas less than say 2m apart and high tx power. You can see if you're oversteering the receiver by checking the rssi.
Hi @ncasaril thanks for the explanation, that clarifies things for me. Cheers!
The
syscfg
for theuwb-dw1000
sets the defaultTX_POWER
for the device to -14.3:uwb-dw1000/hw/drivers/uwb/uwb_dw1000/syscfg.yml
Lines 28 to 33 in 9503f2a
On the other side the default
dw1000_dev_cfg
power settings sets a gain of 9dB as the default, but ifDW1000_BIAS_CORRECTION_ENABLED
is enabled the correction is not based on the configuration settingsin the default config but on the macros
DW1000_DEVICE_TX_PWR
andDW1000_DEVICE_ANT_GAIN
.uwb-dw1000/hw/drivers/uwb/uwb_dw1000/src/dw1000_hal.c
Lines 77 to 84 in 9503f2a
https://github.com/Decawave/uwb-core/blob/c6cf518e39a49f7084b229ee4ed7ab7ee80b2e5d/lib/uwb_rng/src/uwb_rng.c#L1027-L1039
I'm therefore quite unclear on what each of these values mean and what values should be considered for BIAS_CORRECTION
The text was updated successfully, but these errors were encountered: