First, off, I'm new here, so I'll give a quick intro.
I'm T.T. most of my experience in cnc is with simple 3d printer stuff, so most of this will be pretty new to me. My strong suit is definitely electronics hardware design though, which brings me into my question.
I found out just yesterday that the Raspberry Pi can run LinuxCNC, and furthermore, it looks like it's capable of running a CNC directly with its GPIO pins.
My thought is this. I'd love to design a board that is can accept a Compute Module 4 (and release it as open hardware of course). My thinking is since the Pi already has a sufficient number of GPIO pins, that I'd design this board to leverage those. Before I dive into designing hardware, I wanted to make sure what I had in mind is reasonable.
My thinking is to use the GPIO to control the stepper drivers directly, and I was thinking of making the board be 5 axis capable. So, 5 sets of Step and Direction pins being controlled directly by the Pi. I know that these signals would be timing sensitive, so would the Pi even be capable of directly driving 5 axes with its GPIO?
If the Pi happens to be capable of doing the above, is it possible to use the GPIO pins in conjunction with the Pi's SPI interface? My reasoning here is to let the Pi handle all digital signals, and then for things like analog inputs or outputs, the SPI interface could simply be used. Plus, that would allow a great deal of flexibility in the design as well.
My goal is to design a sort of "all in one" solution control board. One would simply get the board, slap a CM4 in it, configure it, and it would be ready to go.
I'd love to hear the thoughts of the people who know more than me regarding this (which would probably be all of you

)