cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F427ZIT and TLV320AIC23B

op3 op3
Associate II
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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
op3 op3
Associate II
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