I've decided to release the board I've been working on pretty much as is, just with some open source considerations. It was intended for a specific machine, but I rung out all of the I/O possibillities I could, no DE10 GPIO pin went unused. There is an onboard 5v regulator that will power the nano from GPIO and has a PTC fused connector to power about 3A worth of external whatever. Specs:
9-25v VIN,
5v regulator powers Nano from GPIO
6 differential stepgen interfaces with 5v enable (for external drivers)
6 differential encoder inputs (single ended encoders pull down encoders work fine as well with no extra wiring)
16 sourcing outputs at supplied field voltage Outputs are done at whatever field voltage supplies the board (recommend 24v)
2 high current opto-mosfet outputs
16 inputs arranged with single 3-pin connectors each to simplify NPN or PNP type switch wiring. Inputs upto 30v
1 RS422 connector interface for SmartSerial. (not well tested, may be issues with MK SS)
On PCB terminal blocks for ground and field V+ that simplify wiring in smaller machines
a 3A PTC fused connector for powering external devices from the overkill 5V/5A regulator (Nano+onboard components probably don't use more than 2.5A @ 5v)
2 scaled analog input interfaces (4 channels each). 5v interface for using potentiometers and such at 5v_ref, and one 4 channel interface that is hardware scaled to accept 0-10v external input. (ADC hal component in repo)
The stepgens or outputs could probably be configured in hm2 firmware to support PWM. Stepgens would provide differential PWM @ 5v, outputs would be single ended PWM @ supplied field voltage haven't tested PWM yet but there's not much to it.
There are hal files, a gladevcp GUI, and display python file that will set the DE10-FB image up as a test platform for the board. The hal files are examples of pin masking and pin inversion that is done in hal to make the i/o intuitive. It could use some sort of hm2 overlay type thing but that is beyond me. There is also 2 versions of an ADC hal component that will convert the 12bit data from the onboard ADC into a usable scaled voltage input in hal.
The board isn't super cheap, that wasn't the intention but compared to the BBB hardware it's probably not too bad. It's a fairly large board (200x155), but that's because I prefer Phoenix connectors and overall wiring cleanliness over small form factor stuff. Still working on the git, but it's up.
Testing a stepgen and encoder: