beautypg.com

Cs5529 – Cirrus Logic CS5529 User Manual

Page 12

background image

CS5529

12

DS246F5

Command Register Descriptions

Perform Single Conversion

This command instructs the ADC to perform a single conversion.

Perform Continuous Conversions

This command instructs the ADC to perform continuous conversions.

Power Save/Run

If PS/R = 0, normal run mode is entered. If PS/R = 1, power save mode is entered.

Null

This command is used to clear the port flag in the continuous conversion mode when the port flag bit in the configuration register

is set to logic 1.

7

6

5

4

3

2

1

0

1

1

0

0

0

0

0

0

7

6

5

4

3

2

1

0

1

0

1

0

0

0

0

0

7

6

5

4

3

2

1

0

1

0

0

0

0

0

0

PS/R

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

0

Table 1. Command Set

D7(MSB)

D6

D5

D4

D3

D2

D1

D0

CB

SC

CC

R/W

RSB2

RSB1

RSB0

PS/R

BIT

NAME

VALUE

FUNCTION

D7

Command Bit, CB

0

1

Null command (no operation). All command bits,
including CB must be 0.
Logic 1 for executable commands.

D6

Single Conversion, SC

0
1

Single Conversion not active.
Perform a conversion.

D5

Continuous Conversions,
CC

0
1

Continuous Conversions not active.
Perform conversions continuously.

D4

Read/Write, R/W

0
1

Write to selected register.
Read from selected register.

D3-D1

Register Select Bit, RSB2-
RSB0

000
001
010

011

100
101

110

111

Offset Register
Gain Register
Configuration Register
Conversion Data Register (read only)
Set-up Registers (Offset, Gain, Configuration)
Reserved
Reserved
Reserved

D0

Power Save/Run, PS/R

0
1

Run
Power Save