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

Enable I2S tests on ESP32 and work around first sample issue #2194

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Sep 19, 2024

Before, note that WS starts from low and corresponds to 18 instead of 16 clock pulses. Also note the order or halfwords (we generate 00, 05, 0A, 0F, 14, ... bytes, or 0500, 0F0A, 1914, ... halfwords)

i2s-esp32-ws-low

After, notice the 2 clock pulses before WS goes high:

image

As a comparison, the following capture is from an S3, demonstrating that we're outputting data a) to the same channel and b) we output channels in the flipped order.

i2s-s3-correct

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this

Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jessebraham jessebraham added this pull request to the merge queue Sep 19, 2024
Merged via the queue into esp-rs:main with commit 25eff6a Sep 19, 2024
26 of 27 checks passed
@bugadani bugadani deleted the i2s-esp32 branch September 19, 2024 15:40
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

Successfully merging this pull request may close these issues.

4 participants