-
Notifications
You must be signed in to change notification settings - Fork 131
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
Reset I2S peripheral for analog microphone. #257
base: dev
Are you sure you want to change the base?
Conversation
Remove additional delay to avoid an indeterminate state.
Better option solving the problem as we reset entire I2S peripheral, may which it may be in an indeterminate state after a soft reset, in which the analog microphone does not work.
Add an required includes
Please squash three commits |
Thanks for your contribution, and for the research + testing. I will come back to this PR in the next few days. Would it be OK if I make a few "maintainer edits" in your repo branch before merging? Basically I think the reset code should be moved into a separate method, so we can later make this optional and add settings to enable your hard reset code. |
Great, it will be even better, I agree to a separate method and including it in the config. Please do it. |
is this still alive/required? |
Solving the analog microphone problem as we reset entire I2S peripheral, may which it may be in an indeterminate state after a soft reset, in which the microphone does not work.
This variant of peripheral reset, using the register write sequence as in the bootloader_random_disable function of the esp-idf bootloader_support component, gave excellent results after many hours of testing with a cyclic soft reset.