Are you Measuring voltage at Spin or SpinPWM?
SpinPWM is pulse with modulated, can’t measure with a voltmeter.
Spin should be logic high and stable when you execute M03, logic low when executing M05.
No good explanation for variations in readings.
What sort of voltmeter do you have.