www.RFM.com
Technical s1.678.684.2000
Page 46 of 82
©2009 by RF Monolithics, Inc.
E-mail:
DNT2400 - 08/18/09
4.2.9 Bank FF - Special Functions
This bank contains three user functions, UcReset, SleepModeOverride and MemorySave:
Bank Loc'n Name
R/W bytes Range Description
FF
00
UcReset
W
1
0..90
0x00 = reset, 0x5A = reset with factory defaults,
FF
0C
SleepModeOverride
R/W
1
0..2
0 = inactive, 1 = stay awake, 2 = cancel stay awake
FF
FF
MemorySave
W
1
0..1
0 = load factory defaults, 1 = save settings
to EEPROM
UcReset - writing a value of 0x00 to this location forces a software reset of the microcontroller. This will
enable those changes which require a reset. If this is written to before 0x01 is written to the MemorySave
parameter, the last parameter values saved before the reset will be in effect. A reply packet, either local
or over-the-air, may not be received when writing a value to this register. Writing 0x5A to this location will
reset the radio and load the factory default settings. This is equivalent to writing 0x00 to UcReset followed
by writing 0x00 to MemorySave. Note that 0x01 must be written to MemorySave to save the retrieved
factory defaults.
SleepModeOverride - when remotes are operating in sleep mode, writing 0x01 to the location will cause
the remotes to say awake. Writing 0x00 to this location causes the remotes to resume sleeping in 10 sec-
onds. Writing 0x02 to this location causes the remotes to resume sleeping immediately (subject to their
configuration).
MemorySave - writing a 0x00 to this location clears all registers back to factory defaults. Writing 0x01 to
this location commits the current register settings to EEPROM. When programming registers, all changes
are considered temporary until this command is executed.
4.2.10 Protocol Mode Configuration Example
In this example, the host configures the base to transmit 10 dBm (10 mW) of RF power using the SetReg-
ister command, 0x04. The TxPower parameter is stored in bank 0x00, register 0x18. A one-byte parame-
ter value of 0x01 selects the 10 dBm (10 mW) power level. The protocol formatting for the command is:
0xFB 0x05 0x04 0x18 0x00 0x01 0x01
Note the order of the bytes in the command argument: register, bank, span, parameter value. When the
base receives the command it updates the parameter setting and return a SetRegisterReply message as
follows:
0xFB
0x01
0x14
In order for this new RF power setting to persist through a base power down, MemorySave must be
invoked. This is done by setting a one-byte parameter in register 0xFF of bank 0xFF to 0x01 with another
SetRegister command:
0xFB 0x05 0x04 0xFF 0xFF 0x01 0x01
The base will write the current parameter values to EEPROM and return a
SetRegisterReply message:
0xFB
0x01
0x14