DS1113F1
55
CS4399
5.10 Example Sequences
16 Configure ASP clock
ASP Clock Configuration. 0x40018
0x1C
Reserved
ASP_M/SB
ASP_SCPOL_OUT
ASP_SCPOL_IN
ASP_LCPOL_OUT
ASP_LCPOL_IN
000
1
1
1
0
0
Set ASP port to be master
Configure clock polarity for I
2
S input
17 Configure ASP frame
ASP Frame Configuration. 0x40019
0x0A
Reserved
ASP_STP
ASP_5050
ASP_FSD
000
0
1
010
Configure ASP port to accept I
2
S input
18 Set ASP channel location ASP Channel 1 Location. 0x50000
0x00
ASP_RX_CH1
0x00
ASP Channel 1 starts on SCLK0
ASP Channel 2 Location. 0x50001
0x00
ASP_RX_CH2
0x00
ASP Channel 2 starts on SCLK0
19 Set ASP channel size and
enable
ASP Channel 1 Size and Enable. 0x5000A
0x07
Reserved
ASP_RX_CH1_AP
ASP_RX_CH1_EN
ASP_RX_CH1_RES
0000
0
1
11
ASP Channel 1 Active Phase
ASP Channel 1 Enable
ASP Channel 1 Size is 32 bits
ASP Channel 2 Size and Enable. 0x5000B
0x0F
Reserved
ASP_RX_CH2_AP
ASP_RX_CH2_EN
ASP_RX_CH2_RES
0000
1
1
11
ASP Channel 2 Active Phase
ASP Channel 2 Enable
ASP Channel 2 Size is 32 bits
20 Configure PCM interface. HPF filter is used. Deemphasis off.
21 Configure PCM filter
PCM Filter Option. 0x90000
0x02
FILTER_SLOW_FASTB
PHCOMP_LOWLATB
NOS
Reserved
HIGH_PASS
DEEMP_ON
0
0
0
0 00
1
0
High pass filter is selected
22 Set volume for channel B PCM Volume B. 0x90001
0x00
PCM_VOLUME_B
0x00
Set volume to 0 dB
23 Set volume for channel A PCM Volume A. 0x90002
0x00
PCM_VOLUME_A
0x00
Set volume to 0 dB
24 Configure PCM path signal
control
PCM Path Signal Control 1. 0x90003
0xEC
PCM_RAMP_DOWN
PCM_VOL_BEQA
PCM_SZC
PCM_AMUTE
PCM_AMUTEBEQA
PCM_MUTE_A
PCM_MUTE_B
1
1
10
1
1
0
0
Soft ramp down of volume on filter change
Volume setting on both channels controlled by PCM_
VOLUME_A
Enable soft ramp
Mute after reception of 8192 samples of 0 or –1.
Mute only when AMUTE condition is detected on both
channels
Function is disabled
Function is disabled
PCM Path Signal Control 2. 0x90004
0x00
Reserved
PCM_INV_A
PCM_INV_B
PCM_SWAP_CHAN
PCM_COPY_CHAN
0000
0
0
0
0
Disable all functions in this register
25 Configure DAC output
26 Configure Class H
amplifier
Class H Control. 0xB0000
0x1E
Reserved
ADPT_PWR
HV_EN
EXT_VCPFILT
000
1 11
1
0
Output signal determines voltage level
High voltage mode enabled
Using internal VCPFILT source.
27 Set DAC output to full
scale
Analog Output Control 1. 0x80000
0x30
Reserved
Reserved
OUT_FS
Reserved
Reserved
0
0
11
0
000
Set DAC output to full scale (1.732 V rms)
Example 5-7. Startup to I
2
S Playback
(Cont.)
STEP
TASK
R
EGISTER
/B
IT
F
IELDS
V
ALUE
D
ESCRIPTION