
5.6.11 Register Control or Pin Control for Audio Output-Stage Power-Down Configuration
5.7 SAR ADC Operation (Touch Screen and Auxiliary)
TSC2117
Low-Power Audio Codec With Embedded miniDSP, Stereo Class-D
Speaker Amplifier, and Smart Four-Wire Touch-Screen Controller
SLAS550A – APRIL 2009 – REVISED JUNE 2009
www.ti.com
The TSC2117 has a short-circuit protection feature for the speaker drivers that is always enabled to
provide protection. If the output is shorted, the output stage shuts down on the overcurrent condition.
(Current limiting is not an available option for the higher-current speaker driver output stage.) In case of a
short circuit on either channel, the output is disabled and a status flag is provided as a read-only bit on
page 1/register 32, bit D0.
If shutdown occurs due to an overcurrent condition, then the device requires a reset to re-enable the
output stage. Resetting can be done in two ways. First, the device master reset can be used, which
requires either toggling the RESET pin or using the software reset. If master reset is used, it resets all of
the registers. Second, a dedicated speaker power-stage reset can be used that keeps all of the other
device settings. The speaker power-stage reset is done by setting page 1/register 32, bit D7 for SPLP and
SPLN and by setting page 1/register 32, bit D6 for SPRP and SPRN. If the fault condition has been
removed, then the device returns to normal operation. If the fault is still present, then another shutdown
occurs. Repeated resetting (more than three times) is not recommended, as this could lead to
overheating.
To minimize battery current leakage, the SLVDD and SRVDD voltage levels should not be less than
the AVDD voltage level.
The TSC2117 has a thermal protection (OTP) feature for the speaker drivers which is always enabled to
provide protection. If the device is overheated, then the output stops switching. When the device cools
down, the device resumes switching. An overtemperature status flag is provided as a read-only bit on
page 0/register 3, bit D1. The OTP feature is for self-protection of the device. If die temperature can be
controlled at the system/board level, then overtemperature does not occur.
After the device has been configured (following a RESET) and the circuitry has been powered up, the
audio output stage can be powered up and powered down either by pin control or by register control. If pin
control is used, then the GPI2 pin (configured as HP_SP) is used when page 0/register 57,
bits D2–D1 = 11.
The GPI2 pin (configured as HP_SP) is used to control the selection of power up and power down for the
speaker and headphone driver stages. This pin prevents both the headphone and the speaker amplifier
from being powered up at the same time. The speaker amplifier is powered when HP_SP = 0 and the
headphone driver is powered when HP_SP = 1.
Register control to enable or disable GPI2 pin is found on page 0/register 57. By default, the GPI2 pin is
disabled.
To control the outputs with the pin controls disabled:
1. To turn on HPL, write a 1 to page 1/register 31, bit D7.
2. To turn on HPR, write a 1 to page 1/register 31, bit D6.
3. To turn on SPL, write a 1 to page 1/register 32, bit D7.
4. To turn on SPR, write a 1 to page 1/register 32, bit D6.
These functions soft-start automatically. By using register control, it is possible to turn all four stages on at
the same time without turning two of them off. By pin control, either headphone or speakers can be on at
the same time.
This section describes how to use the SAR ADC for the functions:
Four-wire resistive touch screen
Temperature measurement
Battery measurement
Auxiliary voltage measurement
APPLICATION INFORMATION
66