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

Can't get microphone example on M5Stack ATOM echo to work #19

Open
dov opened this issue Nov 21, 2020 · 1 comment
Open

Can't get microphone example on M5Stack ATOM echo to work #19

dov opened this issue Nov 21, 2020 · 1 comment

Comments

@dov
Copy link

dov commented Nov 21, 2020

I installed your prebuild firmware with the I2S module on a M5Stack ATOM Echo and I then tried running the examples from:

https://github.com/lemariva/uPyM5Echo

The play back example worked, though there was some annoying background noise.

But the microphone example failed on the following missing symbol to I2S(..., mode=I2S.MASTER_PDW, ...). I tried changing this to I2S.MASTER_RX, and the example now runs but the recording doesn't work.

Is this perhaps a mode that isn't supported by your I2s module?

Thanks!

@miketeachman
Copy link
Owner

miketeachman commented Nov 22, 2020

Hi,
The M5Stack ATOM Echo module has a MEMS microphone that creates a PDM data stream. A PDM output is not compatible with this PR. This I2S implementation supports the Philips I2S protocol for Rx and Tx, but not a PDM data stream, so the microphone in the M5Stack module will not work with the pre-built binaries I provided. I might add PDM support after I've finished porting I2S to the PyBoards, but that will be a couple of months away.

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