MCP3909RD-3PH1 Microchip Technology, MCP3909RD-3PH1 Datasheet - Page 41

REF DESIGN MCP3909 3PH ENGY MTR

MCP3909RD-3PH1

Manufacturer Part Number
MCP3909RD-3PH1
Description
REF DESIGN MCP3909 3PH ENGY MTR
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP3909RD-3PH1

Main Purpose
Power Management, Energy/Power Meter
Embedded
No
Utilized Ic / Part
MCP3909, PIC18F2520, PIC18F4550
Primary Attributes
3-Ph, 220 VAC, In Case, LCD, USB, GUI
Secondary Attributes
Opto-Isolated Interface for Safety
Operating Voltage
220 V
Operating Current
5 A
Description/function
Energy Meter
For Use With/related Products
MCP3909
Lead Free Status / RoHS Status
Not applicable / Not applicable
4.1
© 2008 Microchip Technology Inc.
PIC18F2520 PROTOCOL
Chapter 4. Meter Protocol and Timings
The RS-232 port of the PIC18F2520 is used to access the register map of the meter.
In addition to reading and writing of registers, there are also dedicated commands for
clearing calibration registers, loading calibration registers, and storing calibration
registers to flash. The first byte RS-232 data is an ASCII character that represents the
command, and each command has a specific protocol. Each command ends with the
ASCII character “X”.
4.1.1
The first byte of the data (byte 0) is an ASCII character E, L, S, W and R.
The last data byte is always an 'X' character. All commands will result in the same com-
mand being returned. The exception is the 'R' (read) command which will return addi-
tional data in lieu of the number of bytes.
4.1.1.1
4.1.1.2
This command is used to verify that the calibration values were actually written into
flash (or eeprom). Once the software executes a 'SX' command, it should verify that
the values were stored by issuing an 'LX' command and then reading the calibration
values with a 'R' command.
4.1.1.3
Note that the store command will write all calibration values to internal EEPROM and
this function takes some time. During that time, the meter is not functional. The store
command should only be used after calibrating the meter and not while it is in actual
use.
• E - Echo All Data Received (ECHO)
• L - Load Calibration Registers from Flash (LOAD)
• S - Store Calibration Registers (STORE)
• W - Write Bytes (WRITE)
• R - Read Bytes (READ)
Example: 'EABCDEFGHIJKLMNOPQRSTUVWYZ1234567890X'.
Returns: 'EABCDEFGHIJKLMNOPQRSTUVWYZ1234567890X'.
Example: 'LX'.
Returns: 'LX'.
Example: 'SX'.
Returns: 'SX'.
Command Description
“E” ECHO: - ECHO ALL DATA RECEIVED
“L” LOAD: LOAD CALIBRATION REGISTERS FROM FLASH.
“S” STORE: STORE CALIBRATION REGISTERS INTO FLASH
METER REFERENCE DESIGN
MCP3909 3-PHASE ENERGY
DS51643B-page 37

Related parts for MCP3909RD-3PH1