You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am using the 'simple' example and I've tried the 'softwareSPI' example and it seems it is only partially working on the Teensy 4.0. Wiring is definitely good becuase the board I'm using I built for a dual axis telescope using OnStep and it works flawlessly there.
functions like: rms_current, stealthChop, shaft_dir, microsteps all do nothing at all.
For example to change direction I have to set the direction pin by digitalWrite because shaft_dir makes no change.
I'm running this on a teensy4.0 so I would guess that might be the problem? could you suggest what I would nee to change to get this to work?
The text was updated successfully, but these errors were encountered:
I haven't tested the Teensy 4.0 even though I have one, but my first guess is that because the software SPI is allowed to run as fast as it can, it is too fast and the clock frequency is out of spec. You'd have to artificially slow down the SW SPI implementation with delays.
Hi I am using the 'simple' example and I've tried the 'softwareSPI' example and it seems it is only partially working on the Teensy 4.0. Wiring is definitely good becuase the board I'm using I built for a dual axis telescope using OnStep and it works flawlessly there.
functions like: rms_current, stealthChop, shaft_dir, microsteps all do nothing at all.
For example to change direction I have to set the direction pin by digitalWrite because shaft_dir makes no change.
I'm running this on a teensy4.0 so I would guess that might be the problem? could you suggest what I would nee to change to get this to work?
The text was updated successfully, but these errors were encountered: