Production Data
WM8960
REGISTER
ADDRESS
R23 (17h)
Additional
Control (1)
BIT
LABEL
8
TSDEN
R48 (30h)
1
TSENSEN
Additional
Control (4)
Table 31 Thermal Shutdown
DEFAULT
DESCRIPTION
1
Thermal Shutdown Enable
0 = Thermal shutdown disabled
1 = Thermal shutdown enabled
(TSENSEN must be enabled for this
function to work)
1
Temperature Sensor Enable
0 = Temperature sensor disabled
1 = Temperature sensor enabled
GENERAL PURPOSE INPUT/OUTPUT
The WM8960 has three dual purpose input/output pins.
LINPUT3/JD2: Analogue input or headphone detect input.
RINPUT3/JD3: Analogue input or headphone detect input.
ADCLRC/GPIO1: ADC left/right frame clock or GPIO pin.
The ADCLRC/GPIO1 pin can be configured as a left/right frame clock for the ADC, a headphone
detect input, or one of a number of GPIO output functions as shown in Table 32.
The default configuration for the LINPUT3 and RINPUT2 pins is to be analogue inputs. The default
configuration for the ADCLRC/GPIO1 pin is to be the ADC left/right frame clock.
REGISTER
ADDRESS
R9 (09h)
Audio
Interface (2)
R48 (30h)
Additional
Control (4)
BIT
LABEL
6
ALRCGPIO
6:4 GPIOSEL
[2:0]
7
GPIOPOL
R52 (34h)
Clocking (2)
8:6 OPCLKDIV
[2:0]
Table 32 GPIO Control
DEFAULT
DESCRIPTION
0
ADCLRC/GPIO1 Pin Function Select
0 = ADCLRC frame clock for ADC
1 = GPIO pin
000
ADCLRC/GPIO1 GPIO Function Select:
000 = Jack detect input
001 = Reserved
010 = Temperature ok
011 = Debounced jack detect output
100 = SYSCLK output
101 = PLL lock
110 = Logic 0
111 = Logic 1
0
GPIO Polarity Invert
0 = Non inverted
1 = Inverted
000
SYSCLK Output to GPIO Clock Division
ratio
000 = SYSCLK
001 = SYSCLK / 2
010 = SYSCLK / 3
011 = SYSCLK / 4
100 = SYSCLK / 5.5
101 = SYSCLK / 6
Slow clock must be enabled (TOEN = 1) when using the jack detect function. This slow clock is used
to debounce the jack detect input. The debounce period can be selected using TOCLKSEL.
The temperature sensor must be enabled for the "Temperature ok" GPIO output to function properly.
w
PD, August 2013, Rev 4.2
47