remora-docs.readthedocs.io/en/latest/sof...indle-control-simple
Im not seeing a config example in the nvem repo, but here is how we are doing it otherwise.
Change remora.SP.x to what ever is in your config, and adjust the gain to spindle rpm. I think it works out to 100/24000 . another user did this the other day, here is a snippet from his config
Code:
# spindle setup
loadrt scale count=1
addf scale.0 servo-thread
setp scale.0.gain 0.00416 #this will make m3 s24000 give 100% output and m3 s2400 10%
net spindle-speed-scale spindle.0.speed-out => scale.0.in
net spindle-speed-DAC scale.0.out => remora.SP.0
net spindle-on <= spindle.0.on => remora.output.9
edit, honestly ive been thinking the same as tux,
im surprised remora can keep up with that many steps. I need some kind of step/freq calculator