Open Quas7 opened 3 years ago
The display issue seems to have two root-causes.
Regarding 1. increasing the F_OSC or internal clock of the OLED display seems to help. Regarding 2. the added NOPs to the SPI function clears the jitter issues.
Testing with a bigger sample size is now required.
testing by other contributers still showed issues with display glitches. A brute force re-init every 20sec is now my proposed measure of last resort.
changed re-init of OLED to ~60 seconds.
changed frequency from 0d80 (80) to 0x00 (0) to reduce speed for OLED communication in order to avoid motor PWM harmonics (EMI).
Also disccused here: https://github.com/bigtreetech/BIGTREETECH-S42B-V1.0/issues/16