@Kittifix you are maybe able to use it, but RRF is able to create a spindle with an PWM output for the speed control.

https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m950-create-heater-fan-spindle-led-strip-or-gpioservo-pin

If you use a PWM to Freqency Converter PCB you will maybe able to use the pulse input.