Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to support i2s chips like INMP441 and MAX98357 (AUD-3949) #848

Closed
hyansuper opened this issue Jul 17, 2022 · 4 comments
Closed

how to support i2s chips like INMP441 and MAX98357 (AUD-3949) #848

hyansuper opened this issue Jul 17, 2022 · 4 comments
Labels
Type: Question Questions from developer

Comments

@hyansuper
Copy link

如题,默认的ESP-ADF支持这些板子https://github.com/espressif/esp-adf/tree/master/components/audio_board
但如果我想用ESP32-S3-DevKitC-1接市面上较常见的I2S语音芯片比如INMP441MAX98357,请问因该怎么做呢?

@hyansuper hyansuper added the Type: New Feature New feature or request label Jul 17, 2022
@github-actions github-actions bot changed the title how to support i2s chips like INMP441 and MAX98357 how to support i2s chips like INMP441 and MAX98357 (AUD-3949) Jul 17, 2022
@HengYongChao HengYongChao self-assigned this Jul 19, 2022
@HengYongChao
Copy link
Contributor

Hi @hyansuper

你提到的这个数字功放和麦克都是有 i2s 接口的,可按照 i2s 的接口初始化后使用, 一个 i2s 做 mic 输入, 一个 i2s 做 PA 输出。

@hyansuper
Copy link
Author

谢谢
我知道esp-idf的i2s接口就可以控制这两个模块。
但要怎么使用esp-adf的i2s_stream控制从而能够方便的使用adf的各功能呢

@jason-mao
Copy link
Collaborator

@hyansuper
INMP441 是I2S的mic,可以直接接,不用适配ADF的接口。
MAX98357 和ES7148一样都是不需要I2C控制的,只输出I2S就行,参考https://github.com/espressif/esp-adf/tree/master/components/audio_hal/driver/es7148

这两个片子比较简单,基本只要I2S的格式对了,就可以跑ADF的demo。

@hyansuper
Copy link
Author

谢谢!

@jason-mao jason-mao added Type: Question Questions from developer and removed Type: New Feature New feature or request labels Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Questions from developer
Projects
None yet
Development

No branches or pull requests

3 participants