Skip to content

ws2812: support Xtensa chips running at 240MHz - #943

Merged
deadprogram merged 1 commit into
tinygo-org:devfrom
davecheney:ws2812-xtensa-240mhz
Nov 13, 2026
Merged

deadprogram merged 1 commit into
tinygo-org:devfrom
davecheney:ws2812-xtensa-240mhz

Conversation

@davecheney

Copy link
Copy Markdown
Contributor

The ESP32-S3 runtime starts the CPU at 240MHz, so WriteByte returned errUnknownClockSpeed and the LED stayed dark.

Measured on an ESP32-S3-N16R8 devkit at 400 MS/s: T0H 412-428ns, T1H 815-828ns, bit period 1262-1276ns.

The ESP32-S3 runtime starts the CPU at 240MHz, so WriteByte returned errUnknownClockSpeed and the LED stayed dark.

Measured on an ESP32-S3-N16R8 devkit at 400 MS/s: T0H 412-428ns, T1H 815-828ns, bit period 1262-1276ns.
@davecheney

davecheney commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Onboard RGB led may be GP38 or GP48 depending on the board vendor and revision, also some boards can strap the RGB to GP38 or 48. On mine, I found it was strapped to GP48 by default.

@deadprogram deadprogram left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @davecheney

@deadprogram
deadprogram merged commit 9f9a784 into tinygo-org:dev Nov 13, 2026
1 check passed
@davecheney
davecheney deleted the ws2812-xtensa-240mhz branch November 13, 2026 07:42
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