CS5463
2
8. AUTO-BOOT MODE USING E PROM
When the CS5463 MODE pin is asserted (logic 1), the
CS5463 auto-boot mode is enabled. In auto-boot mode,
the CS5463 downloads the required commands and
register data from an external serial E PROM, allowing
the CS5463 to begin performing energy measurements.
commands/data will determine the CS5463’s exact op-
eration, when the auto-boot initialization sequence is
running. Any of the valid commands can be used.
2
2
8.2 Auto-boot Data for E PROM
Below is an example code set for an auto-boot se-
quence. This code is written into the E PROM by the us-
2
8.1 Auto-boot Configuration
A typical auto-boot serial connection between the
CS5463 and a E PROM is illustrated in Figure 17. In au-
er. The serial data for such a sequence is shown below
in single-byte hexidecimal notation:
2
to-boot mode, the CS5463’s CS and SCLK are config-
ured as outputs. The CS5463 asserts CS (logic 0),
provides a clock on SCLK, and sends a read command
-64 00 00 60
Write Operation Mode Register, turn high-pass
filters on.
-44 7F C4 A9
Write value of 0x7FC4A9 to Current Gain
Register.
-48 FF B2 53
Write value of 0xFFB253 to Voltage Gain
Register.
2
to the E PROM on SDO. The CS5463 reads the us-
er-specified commands and register data presented on
2
the SDI pin. The E PROM’s programmed data is utilized
by the CS5463 to change the designated registers’ de-
fault values and begin registering energy.
-74 00 00 04
Unmask bit #2 (LSD) in the Mask Register.
-E8
Start continuous conversions
-78 00 01 00
Write STOP bit to Control Register, to terminate
auto-boot initialization sequence.
VD+
Mech. Counter
EOUT1
or
EOUT2
Stepper Motor
5 K
EEPROM
CS5463
SCLK
SCK
SDI
SO
SI
SDO
CS
5 K
MODE
CS
2
8.3 Which E PROMs Can Be Used?
2
Several industry-standard serial E PROMs that will suc-
cessfully run auto-boot with the CS5461A are listed be-
low:
Connector to Calibrator
2
•
•
•
Atmel AT25010, AT25020 or AT25040
National Semiconductor NM25C040M8 or NM25020M8
Xicor X25040SI
2
Figure 17. Typical Interface of E PROM to CS5463
Figure 17 also shows the external connections that
would be made to a calibrator device, such as a PC or
custom calibration board. When the metering system is
installed, the calibrator would be used to control calibra-
tion and/or to program user-specified commands and
These types of serial E PROMs expect a specific 8-bit
command (00000011) in order to perform a memory
read. The CS5461A has been hardware programmed to
transmit this 8-bit command to the E PROM at the be-
ginning of the auto-boot sequence.
2
2
calibration values into the E PROM. The user-specified
DS678PP1
39