beautypg.com

Max9867 ultra-low power stereo audio codec, Table 9. digital gain registers (continued), Table 10. line input registers – Rainbow Electronics MAX9867 User Manual

Page 36

background image

MAX9867

Ultra-Low Power Stereo Audio Codec

36

______________________________________________________________________________________

BITS

FUNCTION

DACG

DAC Gain
00 = 0dB
01 = +6dB
10 = +12dB
11 = +18dB
Note: DACG is only used when MODE = 0. If MODE = 1, the DAC level is only set by DACA.
DAC Level Control

DACA works in all modes.

SETTING

GAIN (dB)

SETTING

GAIN (dB)

0x0

0

0x8

-8

0x1

-1

0x9

-9

0x2

-2

0xA

-10

0x3

-3

0xB

-11

0x4

-4

0xC

-12

0x5

-5

0xD

-13

0x6

-6

0xE

-14

DACA

0x7

-7

0xF

-15

ADC Left/Right Level Control

SETTING

GAIN (dB)

SETTING

GAIN (dB)

0x0

+3

0x8

-5

0x1

+2

0x9

-6

0x2

+1

0xA

-7

0x3

0

0xB

-8

0x4

-1

0xC

-9

0x5

-2

0xD

-10

0x6

-3

0xE

-11

AVL/AVR

0x7

-4

0xF

-12

Table 9. Digital Gain Registers (continued)

Line Inputs

The MAX9867 includes one pair of single-ended line
inputs. When enabled, the line inputs connect directly

to the headphone amplifier and can be optionally con-
nected to the ADC for recording. Table 10 lists the line
input registers.

Table 10. Line Input Registers

REGISTER

B7

B6

B5

B4

B3

B2

B1

B0

REGISTER

ADDRESS

Left-Line Input Level

0

LILM

0

0

LIGL

0x0E

Right-Line Input Level

0

LIRM

0

0

LIGR

0x0F