beautypg.com

An366 – Cirrus Logic AN366 User Manual

Page 35

background image

AN366

AN366REV2

35

IS PF=1?
PC/Controller tests if PF returned is 1.

STOP CONVERSIONS
(See Figure 29.)
SDI = 0xD8

Write Halt Conversion

SDO = 0xFF

Figure 29. Conversion Window

CLEAR DRDY in INTERRUPT STATUS
SDI = 0x80

0x57 0xFFFFFF

Write INT STATUS DRDY (page 0, register 23)

SDO = 0xFF

0xFF 0x800000

(Set DRDY INT)

SEND AC GAIN CALIBRATION
(See Figure 30.)
SDI = 0xFE

Write Gain Calibration – All Channels

SDO = 0xFF

Figure 30. Calibration Window

STOP

CONVERSIONS

0xD8

IS PF = 1 ?

CLEAR DRDY

SEND AC GAIN

CALIBRATION

0xFE

9

11

YES

10

NO