beautypg.com

8 i/o ram (configuration ram) command, I/o ram (configuration ram) command – Maxim Integrated 6612_OMU_S2+2_URT_V1_14 User Manual

Page 19

background image

UG_6612_ 017

6612_OMU_S2+2_URT_V1_14 Firmware Description Document

Rev. 1.0

19

4.8 I/O RAM (Configuration RAM) Command

The RI command is used for altering the I/O RAM contents. This is usually not necessary as the FW
defaults these settings appropriately.

One case where the RI command could be used would be to change the accumulation interval for energy
measurements. The default accumulation interval is 1 second (999.75 ms). The accumulation interval is
set by the following:

0.01666 * SUM_CYCLES[5:0] (in seconds) where SUM_CYCLE[5:0] are register bits in the I/O
RAM that can be between 15d and 63d (default is 60d). SUM_CYCLES must never be set below
15 (0.250 seconds).


To reduce the accumulation interval to 0.5 seconds, enter the following via the UART:

RI1=+30

Entering a U command will preserve the new accumulation value across power resets, by writing them to
flash.

R

I/O RAM Control

Description:

Allows the user to read from and write to I/O RAM.

Usage:

RI {option} {register} … {option}

Command
Combinations:

RIx…

Select I/O RAM location x (0x2000 offset is
automatically added).

Example:

RI60$$$$

Read all four RTM probe registers.

Configuration RAM space is the address range 0x2000 to 0x20FF. This RAM contains
registers used for configuring basic hardware and functional properties of the 78M6612
and is organized in bytes (8 bits). The 0x2000 offset is automatically added when the
command RI is typed.