English
Language : 

CS43130 Datasheet, PDF (80/137 Pages) Cirrus Logic – 130-dB, 32-Bit High-Performance DAC with Integrated Headphone Driver
CS43130
5.10 Example Sequences
Example 5-19. DoP and PCM Mixing (Cont.)
STEP
TASK
45 Configure ASP Clock
46 Configure ASP Frame
47 Set ASP Channel
Location
48 Set ASP Channel Size and
Enable
49 Setup PCM
50 Configure PCM Filter
51 Set Volume for Channel B
52 Set Volume for Channel A
53 Configure PCM Path Signal
Control
54 Read interrupt status 2
register
55 Enable ASP Interrupts
56 Enable ASP Clocks
REGISTER/BIT FIELDS
ASP Clock Configuration. 0x40018
Reserved
ASP_M/SB
ASP_SCPOL_OUT
ASP_SCPOL_IN
ASP_LCPOL_OUT
ASP_LCPOL_IN
ASP Frame Configuration. 0x40019
Reserved
ASP_STP
ASP_5050
ASP_FSD
ASP Channel 1 Location. 0x50000
ASP_RX_CH1
ASP Channel 2 Location. 0x50001
ASP_RX_CH2
ASP Channel 1 Size and Enable.
0x5000A
Reserved
ASP_RX_CH1_AP
ASP_RX_CH1_EN
ASP_RX_CH1_RES
ASP Channel 2 Size and Enable.
0x5000B
Reserved
ASP_RX_CH2_AP
ASP_RX_CH2_EN
ASP_RX_CH2_RES
VALUE
0x1C
000
1
1
1
0
0
0x0A
000
0
1
010
0x00
0x00
0x00
0x00
0x07
DESCRIPTION
Set ASP port to be Master
Set output SCLK polarity
Input SCLK polarity is don’t care
Set Output LRCLK polarity
Input LRCLK polarity is don’t care
Configure ASP port to accept I2S input
ASP Channel 1 starts on SCLK0
ASP Channel 2 starts on SCLK0
0000
0
1
11
0x0F
ASP Channel 1 Active Phase
ASP Channel 1 Enable
ASP Channel 1 Size is 32 bits
0000
1
1
11
ASP Channel 2 Active Phase
ASP Channel 2 Enable
ASP Channel 2 Size is 32 bits
PCM Filter Option. 0x90000
FILTER_SLOW_FASTB
PHCOMP_LOWLATB
NOS
Reserved
HIGH_PASS
DEEMP_ON
PCM Volume B. 0x90001
PCM_VOLUME_B
PCM Volume A. 0x90002
PCM_VOLUME_A
PCM Path Signal Control 1. 0x90003
PCM_RAMP_DOWN
PCM_VOL_BEQA
PCM_SZC
PCM_AMUTE
PCM_AMUTEBEQA
PCM_MUTE_A
PCM_MUTE_B
PCM Path Signal Control 2. 0x90004
Reserved
PCM_INV_A
PCM_INV_B
PCM_SWAP_CHAN
PCM_COPY_CHAN
Interrupt Status 2. 0xF0001
0x02
0
0
0
0 00
1
0
0x0C
0x0C
0x0C
0x0C
0xEC
1
1
10
1
1
0
0
0x00
0000
0
0
0
0
High Pass Filter is selected
Set volume to –6 dB
Set volume to –6 dB
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
Disable all functions in this register
Clear sticky bits
Interrupt Mask 2. 0xF0011
0x07
ASP_OVFL_INT_MASK
ASP_ERROR_INT_MASK
ASP_LATE_INT_MASK
ASP_EARLY_INT_MASK
ASP_NOLRCK_INT_MASK
Reserved
0 Enable ASP_OVFL interrupt
0 Enable ASP_ERROR interrupt
0 Enable ASP_LATE interrupt
0 Enable ASP_EARLY interrupt
0 Enable ASP_NOLRCK interrupt
111
Pad Interface Configuration. 0x1000D 0x00
Reserved
XSP_3ST
ASP_3ST
0000 00
0 Enable ASP serial clocks
0
80
DS1073F1