Skip to content

Fix left justified implementation on I2SIn with external clock - #11170

Open
relic-se wants to merge 1 commit into
adafruit:mainfrom
relic-se:patch-1
Open

Fix left justified implementation on I2SIn with external clock#11170
relic-se wants to merge 1 commit into
adafruit:mainfrom
relic-se:patch-1

Conversation

@relic-se

@relic-se relic-se commented Aug 3, 2026

Copy link
Copy Markdown

The newly merged I2SIn bidirectional support implements left justified operation incorrectly when it is acting as a secondary device (external_clock=True). This update fixes that by inverting the logic in the PIO generation method so that normal operation occurs one clock cycle offset from the word clock and left justified occurs immediately when the word clock changes.

@relic-se
relic-se marked this pull request as ready for review August 3, 2026 18:14
@dhalbert
dhalbert requested a review from FoamyGuy August 3, 2026 19:25
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.

1 participant