Skip to content

I2S: full duplex, auto rx sample rate#24469

Merged
Jason2866 merged 1 commit intoarendst:developmentfrom
Staars:i2s_fullduplex
Feb 20, 2026
Merged

I2S: full duplex, auto rx sample rate#24469
Jason2866 merged 1 commit intoarendst:developmentfrom
Staars:i2s_fullduplex

Conversation

@Staars
Copy link
Copy Markdown
Contributor

@Staars Staars commented Feb 20, 2026

Description:

Key changes:

  • Properly enables full-duplex I2S (simultaneous TX+RX on one I2S channel) which is used on most ESP32-P4 boards with a codec like the ES8311.

  • For microphone recordings: automatic fallback to a compatible sampling rate

Smaller fixes and cosmetic changes:

  • Rename sys.duplex → sys.full_duplex; makes intent clearer
  • Fix I2SPrepareRx() returning wrong error code
  • mic_stop marked volatile
  • Remove duplicate break in Xdrv42() FUNC_LOOP

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.8
  • The code change is tested and works with Tasmota core ESP32 V.3.1.10
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

@Jason2866 Jason2866 merged commit d3c274b into arendst:development Feb 20, 2026
64 checks passed
@Staars Staars deleted the i2s_fullduplex branch February 24, 2026 17:43
josef109 pushed a commit to josef109/Tasmota that referenced this pull request Feb 27, 2026
Co-authored-by: Christian Baars <christianbaars@MacStudio-von-Christian.local>
josef109 pushed a commit to josef109/Tasmota that referenced this pull request Mar 15, 2026
Co-authored-by: Christian Baars <christianbaars@MacStudio-von-Christian.local>
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