Skip to content

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Sep 30, 2025

No description provided.

@NickeZ NickeZ force-pushed the maint/sd-card-clk branch 2 times, most recently from 02454ed to cb355e8 Compare September 30, 2025 09:50
Activate an unused clock generator with source DFLL (48Mhz) and divisor
6 to generate 8Mhz. This is useful for running ADCs (max frequency for
ADC) and for running the sd-card clock that otherwise introduces a lot
of noise to the ADC. The ADC is what measures touch.
The previous used clock (48Mhz) introduces a lot of noise on the ADC.
@NickeZ NickeZ force-pushed the maint/sd-card-clk branch 2 times, most recently from 943ba82 to 0d765dc Compare September 30, 2025 11:05
These delays has been determined empirically that they are needed. They
were also added by us to the previous version of the drivers.
During testing it was shown that sd_mmc_check often returns NO_CARD on
the first call.
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