Part Number: TAC5112
Hello
I have the ADC path working on TAC5112 while configuring over SPI from our MCU (so not relying on the EV kit) as this previous query: TAC5112: Configure for wclk/bclk generation from non standard Mclk - Audio forum - Audio - TI E2E support forums .
I now need to configure and test the DAC path. There is no easy way to write data onto the i2s (yet) so am curious what the loopback setting on INTF_CFG1 Register (Address = 0x10) did.
I was wonderring if this would route the data from ADC1 back into the DAC1 and hence feed some data into DAC1 and re-create the 'same' signal which I input into IN1P. This would be an easy way to test the DAC path for me. Is my understanding correct? Is it okay to assume ADC1 and DAC1 can operate at the same time and in this way for testing?
On trying the above (write 0xE0 to reg 0x10) I notice the DOut signal goes and stays Hi.
What should DOUT_DRV[2:0] values for reg 0x10 be set to? (Its value is 0x50 before I set the loopback)
Assuming the DAC1 is otherwise configured correctly to show signal to OUT1P/M I would expect a waveform similar to IN1P but there is none.
(I'm also considering hard-wiring Dout to DIn to get the same effect?)
Dac1 and Dac2 are configured as below (clocks already set up as per ADC operation):
Reg Value
0x11, 0x80 Enable PASI DIn
0x28, 0x20 set PASI DIn slot 0 to ch1
0x29, 0x21 set PASI DIn slot 1 to ch2
0x64, 0x20 Route DAC1 to OUT1P and OUT1M as differential
0x65, 0x21 DAC channel 1 wide-width 96KHz mode
0x66, 0x20 Channel OUT1M 0dB
0x6b, 0x20 Route DAC2 to OUT2P and OUT2M as differential
0x6c, 0x21 DAC channel 2 wide-width 96KHz mode
0x6d, 0x20 Channel OUT2M 0dB
0x76, 0x0c Enable ch1 ch2
0x78, 0x40 Power up DACs
Thank you.