W5100S-EVB-PICO stepgenerator and encoder driver

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
15 May 2025 19:25 #328528 by atrex77
Dear linuxcnc users,
i want to introduce my new open source project based on the W5100S-EVB-PICO . ~10 USD (raspberry pico clone)

features:
1 to 8 step generator with 255KHz maximum output in this version, (possible higher freq) enough for 15m/min with 0.001mm
1 to 8 quadrature encoder counter with 12.5MHz theoretical maximum counting frequency.

current version in the github page is support 4 stepgen and 4 encoders
linuxcnc driver supports multiple instances
planned direct SPI communication with raspberry-pi4 (with normal pico)

github: stepgen-encoder
The following user(s) said Thank You: tommylight, meister, Arpad, kzali, 3404gerber

Please Log in or Create an account to join the conversation.

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
20 May 2025 22:37 #328836 by atrex77
The following user(s) said Thank You: COFHAL

Please Log in or Create an account to join the conversation.

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
22 May 2025 18:42 - 22 May 2025 18:43 #328930 by atrex77
Update
1.variable pulse width for the step generator (1000nS - 6000nS) set from hal pin.
2.work with pico + w5500 module (connections like in the w5100s-evb-pico)
 
Last edit: 22 May 2025 18:43 by atrex77.

Please Log in or Create an account to join the conversation.

More
23 May 2025 21:15 - 23 May 2025 21:18 #329018 by COFHAL
You say the PI pico connection (connections like in the w5100s-evb-pico), but the Pico pins are different for the SPI0, or am I wrong?
I have another question: if I'm going to use your io-samurai, would I need another network card?
 
Last edit: 23 May 2025 21:18 by COFHAL.

Please Log in or Create an account to join the conversation.

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
23 May 2025 22:07 - 23 May 2025 22:10 #329020 by atrex77
 
if you use normal pico and a w5500 board, you need to wire like the dark blue pins in the w5100s-evb-pico, pinout here w5100s-evb-pico pinout new video here Embeddedtronics testing stepper ninja
Attachments:
Last edit: 23 May 2025 22:10 by atrex77.

Please Log in or Create an account to join the conversation.

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
23 May 2025 22:15 #329022 by atrex77
you need a network switch to connect
The following user(s) said Thank You: COFHAL

Please Log in or Create an account to join the conversation.

More
24 May 2025 16:01 #329055 by COFHAL
When I open this link: developer.arm.com/downloads/-/gnu-rm, it says: This page is deprecated. See Arm GNU Toolchain for updated content and latest releases. Arm GNU Toolchain.
If I follow Arm GNU Toolchain, many download options appear. Which one should I download?
The truth is, I have little experience doing this type of installation from scratch, and it seems like what you've written on your Github is for experts. I don't know if there's a way to do all these processes automatically with bash.

Please Log in or Create an account to join the conversation.

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
24 May 2025 20:09 #329071 by atrex77
Precompiled .uf2 in the repository binary directory, you not need to rebuild the project if you want to use
The following user(s) said Thank You: COFHAL

Please Log in or Create an account to join the conversation.

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
24 May 2025 20:13 - 24 May 2025 20:14 #329072 by atrex77
The hal driver installation is easy, you need to open terminal navigate to the hal-driver directory and run ./install.sh

Sample hal configuration in the hal-driver/test_config directory
Last edit: 24 May 2025 20:14 by atrex77.

Please Log in or Create an account to join the conversation.

  • atrex77
  • atrex77's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
25 May 2025 16:56 #329125 by atrex77
!UPDATE!
the default settings in the code makes the:
4 stepgenerator (up to 512 Khz in 1ms servo thread)
2 quadrature encoder counter (example: 1 for spindle encoder 1 for MPG)
3 digital outputs
1 pwm output (from 1.9Khz - 1Mhz varies from 7bit to 16bit resolution, depends of the frequency)
4 digital inputs

docs how to change this is in progress
The following user(s) said Thank You: meister, COFHAL

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.171 seconds
Powered by Kunena Forum