TIDUFC9 May   2025

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Key System Specifications
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 Codec Design
      2. 2.2.2 Class-D Amplifier
        1. 2.2.2.1 Audio Filter Design
      3. 2.2.3 Power Design
      4. 2.2.4 EMC, EMI Design Considerations
    3. 2.3 Highlighted Products
      1. 2.3.1 TAC5312-Q1
      2. 2.3.2 TAS5441-Q1
      3. 2.3.3 LMR43620-Q1
      4. 2.3.4 TPS7A52-Q1
      5. 2.3.5 TPD2E007
  9. 3Hardware, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
      1. 3.1.1 Board Connection
      2. 3.1.2 Configuring the Board
    2. 3.2 Software Requirements
      1. 3.2.1 Firmware for Bench Tests
    3. 3.3 Test Setup
    4. 3.4 Test Results
      1. 3.4.1 Audio Performance
      2. 3.4.2 Power Tests
      3. 3.4.3 EMI, EMC Test Results
  10. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 Bill of Materials
      3. 4.1.3 PCB Layout Recommendations
        1. 4.1.3.1 Layout Prints
      4. 4.1.4 Altium Project
      5. 4.1.5 Gerber Files
      6. 4.1.6 Assembly Drawings
    2. 4.2 Documentation Support
    3. 4.3 Support Resources
    4. 4.4 Trademarks
  11. 5About the Author

Firmware for Bench Tests

The following I2C commands show how to configure the TAC5312-Q1 for the signal path shown in Section 2.2.1.

##### Record DC-Couple Differential IN1-IN2 path, Playback LINEOUT ######
# Target Mode, TDM, 32-bit
# Primary ASI only, multiple of 48KHz Sampling
### Initialization and Record Path ###
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 10 50 	# Configure DOUT as Primary ASI (PASI) DOUT
w a0 11 80 	# Enable PASI DIN
w a0 19 00	# 1 data input and 1 data output for PASI
w a0 1a 30	# PASI TDM, 32 bit format
w a0 1e 20	# PASI Ch1 on slot 0
w a0 1f 21	# PASI Ch2 on slot 1
w a0 00 01	# Set page 1
w a0 73 D0	# auto device, set MICBIAS = 9V
w a0 00 00	# Set page 0
w a0 50 04	# Ch1 diff input, fixed 33.3KOhm, 10Vrms, dc-coupled
w a0 55 04	# Ch2 diff input, fixed 33.3KOhm, 10Vrms, dc-coupled
### Playback Path ###
w a0 28 20	# PASI DIN Ch1 on TDM slot 0
w a0 29 21	# PASI DIN Ch2 on TDM slot 1
w a0 64 20	# Configure OUT1P/M as differential from DAC1
w a0 65 20	# Configure OUT1P LINEOUT 0dB audio band
w a0 66 20	# Configure OUT1M LINEOUT 0dB 2Vrms Differential 
w a0 6b 20	# Configure OUT2P/M as differential from DAC2
w a0 6c 20	# Configure OUT2P LINEOUT 0dB audio band
w a0 6d 20	# Configure OUT2M LINEOUT 0dB 2Vrms Differential 
######################

w a0 76 ff	# Enable Input and Output channels
w a0 78 e0	# Power up ADC, DAC and MICBIAS