Hi,

I am going to use CS5460 with AT89S52 . I have successfully able to read/write from/to CS5460 ADC.

Read some default register and shown result on LCD. Means my SPI routine are working fine.

OK .. I have to measure 220V 15A 50HZ .

CS5460 has large number of registers. I am following "AN220 from Microchip "
(www.t-es-t.hu/download/microchip/an220a.pdf) Fig 4 at Page for Voltage and Current measurement


AC Offset Registers (For Voltage and Current)
Store additive
offset correction values that are used to correct for
AC offsets which may be created on the volt-age/current channels within the entire meter sys-tem

DC Offset Registers (For Voltage and Current)

Store additive
correction values that are used to correct for DC
offsets which may be present on the voltage/cur-rent channels within the entire meter system
Gain Register (For Voltage and Current)

Store the multiplicative
correction values determined by the full-scale gain
calibration signals that are applied to the meter’s
voltage/current channels. These registers are up-dated by the CS5460A after either an AC or DC
gain calibration sequence has been executed

How Can I use them for 220V 15A 50HZ Measurement ?

Any other suggestions .. ?

-- Kr