SLAS510G March 2007 – February 2021 TLV320AIC3104
The TLV320AIC3104 includes extensive capability to monitor a headphone, microphone, or headset jack, determine if a plug has been inserted into the jack, and then determine what type of headset or headphone is wired to the plug. Figure 10-18 illustrates one configuration of the device that enables detection and determination of headset type when a pseudo-differential (capacitor free) stereo headphone output configuration is used. The registers used for this function are page 0, registers 14, 96, 97, and 13. The type of headset detected can be read back from page 0, register 13. Note that for best results, it is recommended to select a MICBIAS value as high as possible, and to program the output driver common-mode level at a 1.35-V or 1.5-V level.
A modified output configuration used when the output drivers are ac-coupled is shown in Figure 10-19. In this mode, the device cannot accurately determine if the inserted headphone is a mono or stereo headphone.
An output configuration for the case of the outputs driving fully differential stereo headphones is shown in Figure 10-20. In this mode, there is a requirement on the jack side that either HPLCOM or HPLOUT get shorted to ground if the plug is removed, which can be implemented using a spring terminal in a jack. For this mode to function properly, short-circuit detection should be enabled and configured to power down the drivers if a short-circuit is detected. The registers that control this functionality are in page 0, register 38, bits D2–D1.