English
Language : 

CS43130 Datasheet, PDF (64/137 Pages) Cirrus Logic – 130-dB, 32-Bit High-Performance DAC with Integrated Headphone Driver
CS43130
5.10 Example Sequences
5.10 Example Sequences
This section provides recommended instruction sequences for standard CS43130 operations.
5.10.1 Power-up Sequence to I2S Playback
In Ex. 5-11, a 22.5792-MHz crystal is used, ASP is set to I2S master at 44.1 kHz, and full-scale output is 1.732 Vrms.
Example 5-11. Startup to I2S Playback
STEP
TASK
REGISTER/BIT FIELDS
1 Apply all relevant power supplies, then assert RESET.
2 Wait for 1.5 ms
3 Configure XTAL driver
4 Configure XTAL bias
Crystal Setting. 0x20052
current strength (assuming
River Crystal at
22.5792 MHz)
Reserved
XTAL_IBIAS
5 Read Interrupt Status 1 register (0xF0000) to clear any pending interrupts.
6 Enable XTAL interrupts Interrupt Mask 1. 0xF0010
DAC_OVFL_INT_MASK
HPDETECT_PLUG_INT_MASK
HPDETECT_UNPLUG_INT_MASK
XTAL_READY_INT_MASK
XTAL_ERROR_INT_MASK
PLL_READY_INT_MASK
PLL_ERROR_INT_MASK
PDN_DONE_INT_MASK
7 Start XTAL
Power Down Control. 0x20000
PDN_XSP
PDN_ASP
PDN_DSDIF
PDN_HP
PDN_XTAL
PDN_PLL
PDN_CLKOUT
Reserved
8 Apply PCM power-up initialization in Ex. 5-7
9 Configure ASP interface. Sample rate set to 44.1 kHz. ASP is clock master.
10 Set ASP sample rate
Serial Port Sample Rate. 0x1000B
Reserved
ASP_SPRATE
11 Set ASP sample bit size. Serial Port Sample Bit Size. 0x1000C
XSP is don't care
Reserved
XSP_SPSIZE
ASP_SPSIZE
12 Set ASP numerator
ASP Numerator 1. 0x40010
ASP_N_LSB
ASP Numerator 2. 0x40011
ASP_N_MSB
13 Set ASP denominator
ASP Denominator 1. 0x40012
ASP_M_LSB
ASP Denominator 2. 0x40013
ASP_M_MSB
14 Set ASP LRCK high time ASP LRCK High Time 1. 0x40014
ASP_LCHI_LSB
ASP LRCK High Time 2. 0x40015
ASP_LCHI_MSB
15 Set ASP LRCK period ASP LRCK Period 1. 0x40016
ASP_LCPR_LSB
ASP LRCK Period 2. 0x40017
ASP_LCPR_MSB
VALUE
DESCRIPTION
0x04
0000 0
100 Bias current set to 12.5 µA
0xE7
1
1
1
0
0
1
1
1
0xF6
1
1
1
1
0
1
1
0
Enable XTAL_READY interrupt
Enable XTAL_ERROR interrupt
Power up XTAL driver
0x01
0000
0001
0x04
0000
01
00
0x01
0x01
0x00
0x00
0x08
0x08
0x00
0x00
0x1F
0x1F
0x00
0x00
0x3F
0x3F
0x00
0x00
Set sample rate to 44.1 kHz
XSP sample bit size set to 24 bits
ASP sample bit size set to 32 bits
LSB of ASP sample rate fractional divide numerator
MSB of ASP sample rate fractional divide numerator
LSB of ASP sample rate fractional divide denominator
MSB of ASP sample rate fractional divide denominator
LSB of ASP LRCK high time duration
MSB of ASP LRCK high time duration
LSB of ASP LRCK period
MSB of ASP LRCK period
64
DS1073F1