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

24bit I2S mic support #8

Open
xaviergh opened this issue Jan 31, 2018 · 1 comment
Open

24bit I2S mic support #8

xaviergh opened this issue Jan 31, 2018 · 1 comment

Comments

@xaviergh
Copy link

Hello,
I've been using an I2S mic breakout board from Adafruit (SPH0645LM4H) https://www.adafruit.com/product/3421 and using the library successfully, however, while reading the datasheet (http://www.knowles.com/kor/content/download/5988/105771/version/4/file/SPH0645LM4H-BRevB.PDF) (page 3) I found that the actual output of the mic is 24bit rather than 32bit. Is there a possibility to add a 24bit option?

I've been inspecting the library and I could gladly help adding the option so it's available for everyone.

Thank you.

Xavier

@sandeepmistry
Copy link
Contributor

Hi @xaviergh,

The part might work with the existing examples sketches that clock out 32-bits for the 24-bit ICS43432 I2S mic. Could you please try them with your mic?

24-bit is a bit tricky because DMA transfers only support 1, 2, or 4 byte samples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants