This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAC5112EVM-K: How to setting TAC5112EVM-K?

Part Number: TAC5112EVM-K

Hi,

I purchased a TAC5112EVM-K and am currently applying for the relevant software. Until I receive the software, I'm using PPC3's I2CMaster to send commands to the development board. Here are my configuration commands:

##### Record AC-Couple Differential IN1-IN2 path ######

# Target Mode, TDM, 32-bit

# Primary ASI only, multiple of 48KHz Sampling

#
wa0 00 00 #; Set page 0

wa0 01 01 #; Software reset

wa0 02 09 #; Wake up

#; Primary ASI

wa0 10 50 #; DOUT = PASI DOUT

wa0 11 80 #; Enable PASI DIN

wa0 19 00 #; 1 DIN / 1 DOUT

wa0 1a 70 #; PASI I2S, 32-bit

#; ADC TDM slot
w a0 1e 20 #; ADC Ch1 -> slot0
w a0 1f 30 #; ADC Ch2 -> slot1

#; DAC TDM slot
w a0 28 20 #; DIN Ch1 <- slot0
w a0 29 30 #; DIN Ch2 <- slot1

#; Differential AC-coupled input
w a0 50 00 #; ADC Ch1 diff, AC-coupled
w a0 55 00 #; ADC Ch2 diff, AC-coupled

#; Differential lineout
w a0 64 20 #; OUT1 differential from DAC1
w a0 65 20
w a0 66 20
w a0 6b 20 #; OUT2 differential from DAC2
w a0 6c 20
w a0 6d 20

#; Enable ADC + DAC

wa0 76 cc

wa0 78 e0

I'm using optical and analog mode.

Both BCK and FSYNC detect signals, but DOUT doesn't. Do I need to adjust my commands?

Then I can't read the signal. Is there a correct command for reading the signal?

  • wa0 10 50 #; DOUT = PASI DOUT

    This command sets DOUT to output Hi-Z. Set to default value 0x52.

    Also, for TDM slot 1, register 0x1f should be 0x21, not 0x30.

    I would also recommend adding a space between "w" and "a0" ("w a0" not "wa0") on all of your commands to make sure the codec is receiving them correctly.

    Best,

    Garret