Murata Electronics North America DNT24 Manual Do Utilizador

Página de 83
www.Murata.com
Technical support +1.678.684.2000
Page 56 of 83
© 2015 by Murata Manufacturing Co. Ltd.
E-mail:
tech_sup@murata.com
DNT24 Integration Guide – 03/04/15
FastAdcPrescaler - this parameter is the system clock divisor used to generate the ADC clock when the
system is being clocked at 16 MHz.  Default value is 0x05 (system clock
128). Higher values correspond
to slower ADC clock rates. For example, 0x07 =
512, and 0x00 =
4. Note that larger prescalers will in-
crease the amount of time it takes to collect all readings. DIV4 is not valid when running at 16 MHz be-
cause the maximum ADC clock rate is 2 MHz, so DIV8 is the lowest allowed.
SlowAdcPrescaler - System clock divisor used to generate the ADC clock when the system is being
clocked at 2 MHz, when exiting sleep mode. Default value is 0x02 (system clock
16). Higher values cor-
respond to slower ADC clock rates. For example, 0x07 = DIV512, and 0x00 = DIV4.
MaxQueuedEvents - this parameter sets the maximum number of Event Reports that can be queued at
one time by a DNT24. This parameter is used to prevent a router device from clogging up its outbound
queue with its own pending transmissions if it has having trouble obtaining link or an available slot from its
parent. This parameter defaults to 8, with a maximum value of 20.
AdcSkipCount - this parameter sets the number of measurements to skip (discard) when switching to a
new ADC channel. The skipped measurements allow transients in the ADC sample-and-hold circuit to
settle out. This parameter must be set to at least 0x03 when AdcDiffMode is selected. Note that the
IoPreDelay parameter discussed above provides a delay to allow signals external to the DNT24 to settle
following a wake up event, while AdcSkipCount skips measurements that may be distorted because the
internal voltage on the ADC sample-and-hold has not settled.
7.4.8 Bank 0xFF - Special Functions
Bank
Location
Name
R/W
Size
Range
Default
0xFF
0x00
UcReset
W
0x01
0..2
N/A
0xFF
0x01
MemorySave
W
0x01
0xD0..0xD2
N/A
0xFF
0x04
DiagSerialRate
R/W
0x01
0..10
7 (38400 kbps)
0xFF
0x0C
ForceDiscover
W
0x03
(See Text)
N/A
0xFF
0x0E
DiagPortEn
R/W
0x01
0..1
0 (disabled)
Table 7.4.8.1
UcReset - writing a 0 to this parameter initiates a full reset, writing 1 to initiates a reset to the serial boot-
loader, or writing a 2 to initiates a reset to the OTA bootloader client.
MemorySave - writing 0xD0 to this parameter load default values, writing 0xD1 saves settings to
EEPROM, or writing 0xD2 to save settings to EEPROM and resets the module.
DiagSerialRate - this parameter sets the diagnostic port serial data rate as shown below:
Setting      Serial rate
0x00
1.2 kbps
0x01
2.4 kbps
0x02
4.8 kbps
0x03
9.6 kbps
0x04
14.4 kbps
0x05
19.2 kbps
0x06
28.8 kbps
0x07
38.4 kbps (default)
0x08
57.6 kbps
0x09
115.2 kbps
0x0A
230.4 kbps
0x0B
250.0 kbps