beautypg.com

3 dc offset calibration flow diagram, An366, Figure 42. conversion window – Cirrus Logic AN366 User Manual

Page 46

background image

AN366

46

6.2.3 DC Offset Calibration Flow Diagram
The implemented of DC offset calibration follows the same structure as AC offset except that the voltage
and current source are both zero. The high pass filters must not be enabled and instead of sending AC Cal-
ibration command (F6), the DC Calibration command is sent (E6). Refer to the main flow for reading the DC
offset registers.

READ POWER REGISTERS
Reading IRMS is shown in main flow (see Figure 42).
SDI = 0x90

0x25 0xFFFFFF

Read I1ACOFF (page 16, register 37)

SDO = 0xFF

0xFF 0x050704

(0.0392766)

SDI = 0x90

0x2C 0xFFFFFF

Read I2ACOFF (page 16, register 44)

SDO = 0xFF

0xFF 0x049959

(0.0359298)

Figure 42. Conversion Window

PC/Controller tests for change in IACOFF register to check for success.

CHECK

INPUT

OR

FAIL

RETURN

IACOFF

to

MAIN FLOW

IACOFF = 0?

AC OFFSET

CALIBRATION

COMPLETE

NO

YES

READ IRMS,

IACOFF

2