Skip to content

Enable I2S for ESP32-S31 - #6197

Open
bjoernQ wants to merge 3 commits into
esp-rs:mainfrom
bjoernQ:enable-s31-i2s
Open

Enable I2S for ESP32-S31#6197
bjoernQ wants to merge 3 commits into
esp-rs:mainfrom
bjoernQ:enable-s31-i2s

Conversation

@bjoernQ

@bjoernQ bjoernQ commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Changelog

esp-hal

  • Added: Partial I2S support on ESP32-S31.
  • Fixed: I2S: A bug possibly generating wrong MCLK.

@bjoernQ

bjoernQ commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

/hil full --test i2s

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

Triggered full HIL run for #6197.

Run: https://github.com/esp-rs/esp-hal/actions/runs/32838186140

Status update: ❌ HIL (full) run failed (conclusion: failure).

@bjoernQ

bjoernQ commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

/hil full --test i2s

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

Triggered full HIL run for #6197.

Run: https://github.com/esp-rs/esp-hal/actions/runs/32841030208

Status update: ❌ HIL (full) run failed (conclusion: failure).

@bjoernQ
bjoernQ marked this pull request as ready for review August 25, 2026 11:43
Comment thread esp-hal/src/i2s/mod.rs Outdated
pub mod master;

#[cfg(i2s_clock_configured_by_hp_sys_clkrst)]
#[cfg(all(i2s_clock_configured_by_hp_sys_clkrst, esp32p4))]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This doesn't make much sense, does it?

#[cfg(i2s_clock_configured_by_hp_sys_clkrst)]
#[cfg_attr(esp32p4, path = "hp_sys_clkrst_p4.rs")]
#[cfg_attr(esp32s31, path = "hp_sys_clkrst_s31.rs")]
mod hp_sys_clkrst;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure - the chip is more than enough on it's own

Comment thread esp-metadata/devices/esp32s31/soc.toml Outdated
support_status = "not_supported"
support_status = "partial"
version = 3
# 0 = XTAL. Prefer APLL (1) once the clock tree can configure it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

once the clock tree can configure it

Maybe first the clock config should be part of the clock tree :P

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.

2 participants