-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buggy shift register input on Field using arm-gcc 12.2 #631
Comments
I recently experienced this without updating the compiler, but by updating an entire project to the latest libDaisy (it was a fairly old version of libDaisy that it started on, but the HAL drivers/GPIO refactor felt like the most likely to have caused slight timing issues. I have since added the ability to externally set the amount of delay in ticks on the SR 4021 shift register, and increased the default. It seems like timing was barely on the edge of what was acceptable for the 4021 running at 3.3V (the datasheet only documents behavior down to 5V). |
Oh interesting! I hope to get back to testing newer libDaisy+bootloader soon-ish and will try different compiler versions with that as well. Should've saved an example patch/program for this ticket so I could reproduce. |
Yesterday I was experimenting with the latest 7.0.1 release and when using my system arm-gcc (
12.2.1
) the pad inputs with the shift register (CD4021
) behave very erratic.Pressing a single button results in many additional button presses and other buttons being triggered.
Reverting back to
10.2.1
the behavior is stable again.More close inspection to what causes this glitching (and if other parts of the stack are affected) would be in order.
It would be great if we could move to newer GCC as having to rely on such an old version will get more annoying down the line.
The text was updated successfully, but these errors were encountered: