Dear Sirs,
I have a question about the AGC measurement. Is there possibile to perform a detect and avoid with DW1000? Is there any api that implement a DAA already?
The user manual of DW1000 shows that it is possible to measure the background noise level in order to choose the less noisy channel. I tried to make this measure recursively for my own purposes but the values I got (using the user manual formula) were very different between them. The pseudocode is the following:
enable agc measurement,
enable rx ,
wait 100 us,
read the value from the sub register: Sub-Register 0x23:1E β AGC_STAT1,
apply the formula (EDV2 β40) Γ10^EDG1Γππβ, where ππβ in my case is 1.3335,
repeat from 1) to 5) each 2 seconds.
Typical values I get for EDV2 when i donβt apply any disturb are from 6 to10. If I apply a disturb in that channel the values I get from EDV2 goes from 4 to10. Why the values are not stable?
Thanks in advance.