SDAA293 February   2026 TAC5111-Q1 , TAC5112-Q1 , TAC5311-Q1 , TAC5312-Q1 , TAC5412-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Detailed Description
    1. 2.1 Analog Input Hardware Design
      1. 2.1.1 Selection of External Bias Resistor
      2. 2.1.2 Selection of Coupling Capacitor
    2. 2.2 Analog Output Hardware Design
      1. 2.2.1 Selection of Output Coupling Capacitor
      2. 2.2.2 Output Capacitor Summary
      3. 2.2.3 How to Select ESD for Audio Ports
    3. 2.3 AC-Coupled and DC-Coupled
      1. 2.3.1 AC-Coupled Systems
      2. 2.3.2 DC-Coupled Systems
    4. 2.4 TAC5212 and TAC5112-Q1 Headset Detection Design
      1. 2.4.1 How to Implement Headset Detection
        1. 2.4.1.1 Headset Detection in AC-Coupled Output Mode
        2. 2.4.1.2 Headset Detection in DC-Coupled Output Mode
      2. 2.4.2 Debounce and Detection Real-Time Performance of Headset Detection
      3. 2.4.3 TAC5X1X-Q1 Family Other Advanced Features
  6. 3Summary
    1. 3.1 Configuration Example
  7. 4References

TAC5X1X-Q1 Family Other Advanced Features

  1. Support the LOOPBACK function

TAC5X1X-Q1 supports the LOOPBACK function, which refers to the operation of feeding electronic signals or data streams back to the sender unchanged. Loopback is the self-diagnostic tool of a codec, enabling users to quickly locate faults and easily verify the overall performance of the codec.

Common Loopback Types:

Digital Loopback

  • Path: Digital input signal → Internal digital link of the codec → Directly looped back to digital output (bypassing ADC/DAC analog conversion)
  • Applicable Scenarios: Verifying digital interfaces (for example., I2S, TDM), digital codec algorithms, and internal digital filtering circuits
  • Automotive Application Example: Verifying the I2S communication link between the on-board SoC and codec (SoC transmits digital audio → codec performs digital loopback → SoC receives it, ensuring communication without frame loss or bit error)

Digital Loopback Configuration can be set by INTF_CFG1 Register (P0 R16):

 Digital Loopback Configuration
                    Register Figure 2-22 Digital Loopback Configuration Register

Analog Loopback

  • Path: Analog input (microphone analog signal) → ADC converts to digital signal → DAC converts back to analog signal → Looped back to analog output (complete analog + digital link)
  • Applicable Scenarios: Verifying ADC/DAC conversion performance (Total THD+N of ADC + DAC), analog amplification circuits (PGA), and anti-interference capability (analog signal fidelity in the on-board high electromagnetic environment)
  • Automotive Application Example: Testing the on-board microphone input link (analog audio → codec → analog loopback output, verifying no noise and compliant gain)

##### Analog Loopback AC-Couple Single-ended IN1 to HP path Configuration Example ######

w a0 00 00 # Set page 0

w a0 01 01 # Software Reset

w a0 02 09 # Wake up with AVDD > 2v and all VDDIO level

w a0 50 50 # ADC Ch1 s-e input, 10KOhm, 1Vrms ac-coupled, audio band

w a0 64 4c # Configure OUT1M as mono single-ended in Analog Bypass path (Analog Loopback setting)

w a0 66 60 # Configure OUT1M as Headphone Driver

w a0 76 cc # Enable Input and Output Ch1 and Ch2 channels

w a0 78 e0 # Power up ADC, DAC and MICBIAS

# Note: For single-ended loopback, IN1P is routed to OUT1M.

2. Flexible Slot Adjustment Function

TAC5X1X-Q1 supports up to two analog input channels and four analog output channels, which can be configured on the main ASI bus to map their audio data to Slots 0 to 31 of the bus.