4:05 AM
So, to troubleshoot the OP's SPI code, I am making the following test plan: (1) Use standalone mode operation to move the stepping motor to in CCW and CW, at different speeds. The following hardware pins are used Dir, Step, Enbl, Cfg2, Cfg2. For Step the XY LPM WPM sig gen is use to step at 1Kz to 5kHz, thus setting verious speeds. No MPU Pico is used in this first test step.
(2) Use "SPI" mode, with Pico MicroPython SPI functions to config the tmc2130 driver, including microstep resolution, by writing the config parameters in the driver registers.
« first day (9 days earlier) ← previous day next day → last day (31 days later) »
Transcript for
Jan23
Jan '2224
Jan25
Discussion between john and tlfong01
Imported from a comment discussion on electronics.stackexchang...