Skip to main content
op3 op3
Associate II
March 20, 2018
Question

STM32F427ZIT and TLV320AIC23B

  • March 20, 2018
  • 1 reply
  • 647 views
Posted on March 20, 2018 at 06:47

Hello!

I use the TLV320AIC23B for audio output

TLV320AIC23B is connected by a slave to I2S

I write the configuration registers in this sequence

RESET = 0x0F

delay 100ms

ANALOG_PATH_CTRL = 0x12 /// (1 << DAC_ON) | (1 << MIC_MUTE)

DIGITAL_PATH_CTRL = 0x00

DIGITAL_AUDIO_INTERFASE = 0x02 /// I2S format, 16 bit (2 << DATA_FORMAT)

SAMPLE_RATE_CTRL = 0x00 /// 48kHz, 256fs

DIGITAL_INTERFACE_ACTIVE = 0x01 /// (1 << ACTIVE_INTERFACE)

POWER_DOWN_CTRL = 0x26 /// (1 << OSC_OFF) | (1 << ADC_OFF) | (1 << MIC_OFF)

When the I2S data transfer starts, directly on the first frame, regardless of the data being sent, a pulse occurs at the LINOUT outputs, and more data does not affect the voltage at the LINOUT outputs

Tell me how to output the sound

Thank you.

    This topic has been closed for replies.

    1 reply

    op3 op3
    op3 op3Author
    Associate II
    March 22, 2018
    Posted on March 22, 2018 at 05:13

    I found my mistake

    Data in the RESET register should be 0. and I sent 0x0F

    Probably, this register has other, undeclared functions