espressif / esp-adf

Espressif Audio Development Framework
Other
1.52k stars 669 forks source link

Add Support for TI Codec in esp_codec_dev (AUD-4799) #1051

Open DylanRobertBennett opened 1 year ago

DylanRobertBennett commented 1 year ago

If I created support in your esp_codec_dev component for a TI codec would you accept it?

The codec we would like to add is the TVL320AIC3120, https://www.ti.com/product/TLV320AIC3120/part-details/TLV320AIC3120IRHBT.

Thank you

TempoTian commented 1 year ago

I see that TVL320AIC3120 also support for record. If we got the codec sample, I think we need test and add function for both of the playback and record functions. Refer to: https://elixir.bootlin.com/linux/latest/source/sound/soc/codecs/tlv320aic31xx.c There are also more works need to do, such as: 1: Config register according current samplerate if work on slave mode 2: Dynamic set data bits 3: Dynamic control codec enable functions