beautypg.com

Rc1180-mbus – Rainbow Electronics RC1180-MBUS User Manual

Page 19

background image

RC1180-MBUS

2008 Radiocrafts AS

RC1180-MBUS Data Sheet (rev. 1.0)

Page 19 of 28

To make permanent changes to default values and other parameters, the Memory

Configuration command ‘M’ is used. This command should be followed by pairs of byte being

the memory address and the new value to be stored at that address. In order to exit the

Memory Configuration mode, the ‘address’ 0xFF must be sent, but without any data

argument. Then wait for the ‘>’ prompt while the internal memory is re-programmed (See

Timing Information for typical delay). To completely exit from command mode, the normal exit

command ‘X’ must be sent.

Example:

To change the MAN_ID (at address 0x19 and 0x1A) and set it to (100,200) (0x64,0xC8), send

the following sequence:

Command

Hex

Response

Comment/Note

Enter

0x00

‘>’

Or assert CONFIG pin

De-assert CONFIG after ‘>’ prompt

‘M’

0x4D

‘>’

Module ready to receive address

0x19

0x19

(none)

100

0x64

(none)

0x1A

0x1A

(none)

200

0xC8

(none)

[new address could be sent here]

[new value could be sent here]

0xFF

0xFF

‘>’

Wait for ‘>’ prompt

‘X’

0x58

(none)

Module returns to IDLE state

Test mode 0 (‘0’ command) can be used to list all parameters stored in non-volatile memory.

This command can be used to verify and check the module configuration.