EasyManua.ls Logo

decaWave DW1000 - Page 185

decaWave DW1000
242 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DW1000 User Manual
© Decawave Ltd 2017
Version 2.12
Page 185 of 242
(octets)
2F:00
4
SRW
EVC_CTRL
Event Counter Control
Register file: 0x2F – Digital Diagnostics Interface, sub-register 0x00 is the event counter control register.
REG:2F:00 – EVC_CTRL – Event Counter Control
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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
EVC_CLR
EVC_EN
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
0
0
Fields in the EVC_CTRL register are intended to be self-clearing. So, the event counters can be enabled or
cleared, but cannot be disabled. The register expects a two-byte minimum length write to the lowest two
bytes of the register. If a one-byte write is made to this register, the bits will not clear as expected.
The bits of the EVC_CTRL register identified above are individually described below:
Field
Description of fields within Sub-Register 0x2F:00 – Event Counter Control
EVC_EN
reg:2F:00
bit:0
Event Counters Enable. The EVC_EN bit acts to enable the event counters. When EVC_EN bit
is zero none of the event counters will update. When EVC_EN bit is set to 1 it enables event
counting. A number of sub-registers of Register file: 0x2F – Digital Diagnostics Interface,
contain counters of various system events – see below for the detailed description of the
parameters counted. If the host system has no interest in these event counters then a small
amount of power is saved by not enabling event counting.
EVC_CLR
reg:2F:00
bit:1
Event Counters Clear. The EVC_CLR bit acts to clear event counters to zero. This cannot be
done while EVC_EN bit is set. The correct procedure to clear the event counters is to write
0x02 to Sub-Register 0x2F:00 – Event Counter Control to disable counting and clear the counter
values to zero, and then to write 0x01 to Sub-Register 0x2F:00 – Event Counter Control to re-
enable counting if required.
-
reg:2F:00
bits:31–2
The remaining bits of Sub-Register 0x2F:00 – Event Counter Control are reserved and should
always be set to zero to avoid any malfunction of the device.
7.2.48.2 Sub-Register 0x2F:04 – PHR Error Counter
ID
Length
(octets)
Type
Mnemonic
Description
2F:04
2
RO
EVC_PHE
PHR Error Event Counter
Register file: 0x2F – Digital Diagnostics Interface, sub-register 0x04is the PHY Header Error event counter.

Table of Contents