Skip to content

ESP32-C2 APB clock is 40MHz, not 80MHz#244

Merged
bjoernQ merged 1 commit intoesp-rs:mainfrom
bjoernQ:fix-esp32c2-apbclock
Nov 2, 2022
Merged

ESP32-C2 APB clock is 40MHz, not 80MHz#244
bjoernQ merged 1 commit intoesp-rs:mainfrom
bjoernQ:fix-esp32c2-apbclock

Conversation

@bjoernQ
Copy link
Contributor

@bjoernQ bjoernQ commented Nov 2, 2022

On ESP32-C2 the APBClock is 40MHz, not 80MHz. Because of this e.g. the SPI clk was at 50% of what was configured.
This fixes that

@bjoernQ bjoernQ requested a review from jessebraham November 2, 2022 12:23
Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

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

LGTM

@bjoernQ bjoernQ merged commit fae2f1a into esp-rs:main Nov 2, 2022
@bjoernQ bjoernQ deleted the fix-esp32c2-apbclock branch November 2, 2022 12:59
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