English
Language : 

CS43130 Datasheet, PDF (86/137 Pages) Cirrus Logic – 130-dB, 32-Bit High-Performance DAC with Integrated Headphone Driver
CS43130
5.11 Headphone Load Measurement
Example 5-21. Sequence for DC Impedance Measurement (Cont.)
STEP
TASK
2 Select Channel A
REGISTER/BIT FIELDS
0x10010
VALUE
0x99
DESCRIPTION
0x10026
0x0A
0x10027
0x93
0x10028
0x0A
0x10010
0x00
HP Load 1. 0xE0000
0x80
HPLOAD_EN
Reserved
HPLOAD_CHN_SEL
Reserved
HPLOAD_AC_START
HPLOAD_DC_START
1
00
0
HPOUTA selected
00
0
0
3 Enable DC impedance measurement HP Load 1. 0xE0000
0x81
HPLOAD_EN
Reserved
HPLOAD_CHN_SEL
Reserved
HPLOAD_AC_START
HPLOAD_DC_START
1
00
0
00
0
1
Start DC impedance measurement
4 Wait for interrupt. Read Interrupt Status 4 register (0xF0003). If HPLOAD_UNPLUG_INT = 1, go to the last step as an error has occurred. If
HPLOAD_OOR_INT = 1, go to the last step as an error has occurred. Otherwise, if HPLOAD_DC_DONE_INT = 1, go to the next step.
5 DC impedance values are available in HP DC Load Status 0 (0xE000D) and HP DC Load Status 1 (0xE000E) registers.
6 Disable DC impedance measurement HP Load 1. 0xE0000
0x80
HPLOAD_EN
Reserved
HPLOAD_CHN_SEL
Reserved
HPLOAD_AC_START
HPLOAD_DC_START
1
00
0
00
0
0
Stop DC impedance measurement
7 Select Channel B
0x10010
0x99
0x10026
0x8A
0x10027
0x15
0x10028
0x06
0x10010
0x00
HP Load 1. 0xE0000
0x90
HPLOAD_EN
Reserved
HPLOAD_CHN_SEL
Reserved
HPLOAD_AC_START
HPLOAD_DC_START
1
00
1
HPOUTB selected
00
0
0
8 Enable DC impedance measurement HP Load 1. 0xE0000
0x91
HPLOAD_EN
Reserved
HPLOAD_CHN_SEL
Reserved
HPLOAD_AC_START
HPLOAD_DC_START
1
00
1
HPOUTB selected
00
0
1
Start DC impedance measurement
9 Wait for interrupt. Read Interrupt Status 4 register (0xF0003). If HPLOAD_UNPLUG_INT = 1, go to the last step as an error has occurred. If
HPLOAD_OOR_INT = 1, go to the last step as an error has occurred. Otherwise, if HPLOAD_DC_DONE_INT = 1, go to the next step.
10 DC impedance values are available in HP DC Load Status 0 (0xE000D) and HP DC Load Status 1 (0xE000E) registers.
11 To measure AC impedance, go to Step 3 of Ex. 5-22.
12 Disable impedance measurement subsystem. Refer to Ex. 5-23.
86
DS1073F1