Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

CS43199 Datasheet(PDF) 63 Page - Cirrus Logic

Part # CS43199
Description  130-dB, 32-Bit High-Performance DAC
PDF  111 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  CIRRUS [Cirrus Logic]
Direct Link  http://www.cirrus.com
Logo CIRRUS - Cirrus Logic

CS43199 Datasheet(HTML) 63 Page - Cirrus Logic

Back Button CS43199 Datasheet HTML 59Page - Cirrus Logic CS43199 Datasheet HTML 60Page - Cirrus Logic CS43199 Datasheet HTML 61Page - Cirrus Logic CS43199 Datasheet HTML 62Page - Cirrus Logic CS43199 Datasheet HTML 63Page - Cirrus Logic CS43199 Datasheet HTML 64Page - Cirrus Logic CS43199 Datasheet HTML 65Page - Cirrus Logic CS43199 Datasheet HTML 66Page - Cirrus Logic CS43199 Datasheet HTML 67Page - Cirrus Logic Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 111 page
background image
DS1113F1
63
CS4399
5.10 Example Sequences
5.10.4 Switching MCLK Frequency
Ex. 5-10 shows steps necessary to switch the MCLK frequency in order to play audio at a different sample rate that is no
longer an integer divide of current MCLK. It makes the following assumptions:
• The CS4399 is already powered up and out of reset.
• MCLK is sourced directly from external clock input (Direct MCLK). MCLK_INT is 22.5792 MHz, and the sample rate
is an integer divide of MCLK.
• ASP is used for audio delivery and PDN_HP = 0.
5.10.5 Headphone Detection
Ex. 5-11 shows steps necessary to detect the presence of a headphone. It makes the following assumptions:
• The CS4399 is already powered up and out of reset.
• The HP Detect register is not configured.
Example 5-10. Sequence for Switching MCLK Frequency
STEP
TASK
REGISTER/BIT FIELDS
VALUE
DESCRIPTION
1
Power down PCM
Refer to Ex. 5-1 for PCM power-down sequence
2
Switch MCLK Source to RCO
3
Set MCLK Source to RCO
System Clocking Control 1. 0x10006
0x06
Reserved
MCLK_INT
MCLK_SRC_SEL
0000 0
1
10
Frequency of MCLK_INT is don't care
MCLK source set to RCO
4
Wait for 150 µs
5
Switch to a different MCLK Frequency. Assuming new MCLK frequency is 24.576MHz.
6
Change MCLK_INT frequency to
24.576 MHz
System Clocking Control 1. 0x10006
0x02
Reserved
MCLK_INT
MCLK_SRC_SEL
0000 0
0
10
MCLK_INT frequency set to 24.576 MHz
7
Apply PCM power-up initialization in Ex. 5-3
8
Configure ASP for appropriate sample rate, bit size and clock mode. Unmute PCM CHA and CHB outputs. Enable appropriate interrupts
9
Switch MCLK source to direct MCLK mode System Clocking Control 1. 0x10006
0x0
Reserved
MCLK_INT
MCLK_SRC_SEL
0000 0
0
00
MCLK_INT frequency set to 24.576 MHz
MCLK source set to direct MCLK mode
10
Wait at least 150 µs.
11
Power up DAC
Refer to Ex. 5-5 for PCM power-up sequence. Skip Step 1 of Ex. 5-5 (completed in Step 7 above).
Example 5-11. Sequence for Headphone Detection
STEP
TASK
REGISTER/BIT FIELDS
VALUE
DESCRIPTION
1
Read Interrupt Status 1 register (0xF0000) to clear any sticky bits.
2
Read HP Status register (0xD0001) to clear any sticky bits.
3
Enable HPDETECT interrupts
Interrupt Mask 1. 0xF0010
data (0xF0010)
AND 0x9F
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
x
0
0
x
x
x
x
x
Enable HPDETECT interrupts
4
Configure HP Detect parameters
HP Detect. 0xD0000
0x04
HPDETECT_CTRL
HPDETECT_INV
HPDETECT_RISE_DBC_TIME
HPDETECT_FALL_DBC_TIME
Reserved
00
0
0 0
10
0
Rising edge debounce time set to 0 ms
Falling edge debounce time set to 500 ms
5
Enable HP Detect
HP Detect. 0xD0000
data (0xD0000)
OR (0xC0)
HPDETECT_CTRL
HPDETECT_INV
HPDETECT_RISE_DBC_TIME
HPDETECT_FALL_DBC_TIME
Reserved
11
x
x x
xx
0
Enable headphone detection



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com