rp2 I2SOut: support both order for BCLK and LRCLK pins#9097
Merged
dhalbert merged 1 commit intoadafruit:mainfrom Mar 26, 2024
Merged
rp2 I2SOut: support both order for BCLK and LRCLK pins#9097dhalbert merged 1 commit intoadafruit:mainfrom
dhalbert merged 1 commit intoadafruit:mainfrom
Conversation
Collaborator
|
This looks good to me! Could you test it on hardware with both orders on a Pico or other board? If you have done so already, great. I just want to make sure there hasn't been a regression. |
Author
|
I tested it on my hardware only, so the LRCLK before BCLK case. |
dhalbert
approved these changes
Mar 26, 2024
Collaborator
dhalbert
left a comment
There was a problem hiding this comment.
Thanks for the testing on your board. I tested on an Adafruit Feather RP2040 Prop-Maker, and it worked fine.
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.
I am working on CicruitPython support for a board with an I2S DAC. The bit clock (BCLK) and word clock (LRCLK) pins are in a different order than what is currently expected in I2SOut.c.
I followed the suggestion in #8680 by adding two I2S programs with swapped sideset values to be able to support either configurations.