cancel
Showing results for 
Search instead for 
Did you mean: 

TLV320AIC23B compatibility with STM32H7B3LIH6Q

vijayajangam
Associate II

Hello,

I am planning to use the TLV320AIC23B audio codec with the STM32H7B3LIH6Q controller.

Kindly confirm:

  1. Is TLV320AIC23B compatible with STM32H7 (using SAI/I2S for audio and I2C for control)?
  2. Any specific requirements for clock (MCLK) or configuration to ensure proper operation?

Thanks.

4 REPLIES 4
LCE
Principal II

The only limitation of the typical STM32 SAI that comes to my mind is the fixed oversampling ratio (only 256 or 512), but check the H7B datasheet to be sure.

Anyway, the TLV320AIC23B is obsolete / end of life - are you sure you want to use that one?

Andrew Neil
Super User

@vijayajangam wrote:

2. Any specific requirements for clock (MCLK) or configuration to ensure proper operation?


That would be governed by the TLV320AIC23B, which is a TI product - nothing to do with ST.

So you'd need to ask TI that question:

https://www.ti.com/product/TLV320AIC23B

 

And, as @LCE said, the TLV320AIC23B is obsolete - and no longer in production:

AndrewNeil_0-1777544812315.png

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
vijayajangam
Associate II

Duplicate post - merged.


Hello,

I am planning to use the TLV320AIC3204 audio codec with the STM32H7B3LIH6Q controller.

Kindly confirm:

  1. Is TLV320AIC3204 compatible with STM32H7 (using SAI/I2S for audio and I2C for control)?
  2. Any specific requirements for clock (MCLK) or configuration to ensure proper operation?

Thanks.

Hi,

1. yes, using I2C and SAI in I2S mode will work fine.

2. yes, read ds TLV320AIC3204 ; depends on what you want use as Mclk ; typical is fs x 256 , 

so just use CubeMX , set clock tree and SAI to desired fs , check if its possible to get the fs x256 as Mclk .

ed

with clock at 98.33 M , you will be close:

AScha3_0-1777558862625.png

AScha3_1-1777558904070.png

cpu HSE can be 8 or 16 M , for example.

If you feel a post has answered your question, please click "Accept as Solution".