Adjust SETOSC to 0x66 from 0x68 (60/60Hz Normal/Idle mode) #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This addresses spurious multiple touches experienced with the batch of 3.5" touchscreens with the silkscreen misspelling of Capacitive as "Capaciptive".
There's a forum post showing a possible fix along with others experiencing the issue: https://forums.adafruit.com/memberlist.php?mode=viewprofile&u=220642
This datasheet page shows the calculation for internal touch oscillator frequency during Normal Mode and Idle Mode:
The original code uses some values that don't match the code comment either:
I've set both to 60Hz (only really adjusting normal mode)
There's an interest from the wider world to understand why 70Hz was chosen, if someone knows then stick it in the forum and help grow the understanding.