mixmrt/i2s: Add I2S protocol support.#8322
Closed
miketeachman wants to merge 1 commit into
Closed
Conversation
- I2S API consistent with STM32, ESP32, and RP2 ports
- I2S features:
- controller transmit and controller receive
- 16-bit and 32-bit sample sizes
- mono and stereo formats
- sampling frequencies from 8kHz to 48kHz
- 3 modes of operation:
- blocking
- non-blocking with callback
- uasyncio
- configurable internal buffer
- optional MCK
- tested with the following development boards:
- MIMXRT1010_EVK, MIMXRT1015_EVK, MIMXRT1020_EVK, MIMXRT1050_EVK
- Teensy 4.0, Teensy 4.1
- Olimex RT1010
- Seeed ARCH MIX
- tested with the following I2S hardware peripherals:
- UDA1334
- GY-SPH0645LM4H
- WM8960 codec on board the MIMXRT boards and separate breakout board
- INMP441
- PCM5102
- SGTL5000 on the Teensy audio shield
Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
Member
|
Thanks for this, it looks good! I tested it on a Teensy 4.0 with the new Merged in 1f6cb8f |
dpgeorge
reviewed
Mar 30, 2022
| } | ||
|
|
||
| mp_raise_ValueError(MP_ERROR_TEXT("Pin doesn't exist")); | ||
| mp_raise_ValueError(MP_ERROR_TEXT("Pin does not exist")); |
Member
There was a problem hiding this comment.
I reverted this change, it should use contracted form to match everywhere else.
Contributor
Author
There was a problem hiding this comment.
The intent was to be more easily understood by users who have English as a 2nd language. I see the point about consistency.
Member
There was a problem hiding this comment.
There was a commit/PR from a while ago that went through and contracted everything, with the main aim to reduce code size.
Contributor
Author
tannewt
pushed a commit
to tannewt/circuitpython
that referenced
this pull request
Aug 28, 2023
Unconditionally use sphinx_rtd_theme when building docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.