DW1000 User Manual
© Decawave Ltd 2017
Version 2.12
Page 124 of 242
Register file: 0x23 –AGC configuration and control
, sub-register 0x00 is a reserved register. Please take care
not to write to this register as doing so may cause the DW1000 to malfunction.
7.2.36.2
Sub-Register 0x23:02
– AGC_CTRL1
ID
Length
(octets)
Type
Mnemonic
Description
23:02
2
RW
AGC_CTRL1
AGC Control #1
Register file: 0x23 –AGC configuration and control
, sub-register 0x02 is a 16-bit control register for the
measurement function of the AGC. This register contains the fields identified and described below:
REG:23:02 – AGC_CTRL1 – AGC measurement control Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
- - - - - - - - - - - - - - -
D
IS
_AM
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
The bits of the AGC_CTRL1 register are described below:
Field
Description of fields within Sub-Register 0x23:02 – AGC_CTRL1
DIS_AM
reg:23:02
bit:0
Disable AGC Measurement. The DIS_AM bit is set by default to disable the AGC measurement
function. The AGC measurement function might be used as an energy measurement for an
“Energy Scan” as part of determining what channel to use. When DIS_AM bit is clear and the
receiver is enabled the AGC will settle on an estimate of the background energy level and the
result will be available via the EDG1 and EDV2 values in
Sub-Register 0x23:1E – AGC_STAT1
. To
save power in the receiver, when this facility is not required or is not in use, it is recommended
to set DIS_AM bit to 1 to disable this AGC measurement function.
The recommended procedure to measure background energy level is as follows:
(a) Set up the operating channel and related parameters as required
*
.
(b) Set DIS_AM bit to 0.
(c) Turn on the receiver with the RXENAB bit in
Register file: 0x0D – System Control
(d) Wait 32 µs for the AGC to settle
(e) Set DIS_AM bit to 1 to freeze the result.
(f) Read EDG1 and EDV2 values and calculate noise energy, (as per Figure 27 below).
(g) Turn off the DW1000 with the TRXOFF bit in
Register file: 0x0D – System Control
* The important settings are the channel frequency related settings.
–
reg:22:02
bits:15–1
These bits are reserved.