-
Notifications
You must be signed in to change notification settings - Fork 64
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
[FR] 74HC595 support for RP2040 #544
Comments
RP2040 already support 74HC595 via bitbang or SPI. |
Hi. I could configure 74hc595 after the web builder update. Even after chaining 4 shift registers, the firmware is able to run 6 steppers and other outputs at high enough speed. I feel bit banging fulfills my requirement and no need for i2s. You can close the FR.. thanks |
Ok thanks for the feedback. |
Always keep an eye on this project, and I just wanted to mention that GRBLHAL has support for shift registers on RP2040 using the PIO. This creates the entire waveform for step/dir on 4 axes (direction, step pulse rise, step pulse fall). Because the whole waveform is handled in the PIO, it cuts the IRQ overhead in half and is just as fast as hardware SPI. I just thought I'd post here because it might give someone ideas for uCNC and it is the only place I have really seen where a project has leveraged the PIO for motion control. |
Thanks for the info. Very interesting stuff indeed. I'll will dive deeper into this for sure. |
I've just implemented a custom 74HC595 control IO via PIO in this branch. Thanks for the tip. |
Although I would like o implement I2S support for RP2040, it's currently not a priority and the PIO integration should allow a usable solution (#568). I'm closing this for now. |
Discussed in #543
Originally posted by Hyakutake12 October 20, 2023
Hi!
I see shift register outputs are not supported for rp2040 mcu. Any plans to implement this feature?
The text was updated successfully, but these errors were encountered: