VC4-RatOs 2.1 48V 5160T Pro Unable to write tmc spi '...' register GLOBALSCALER

Hi! I've just finished the wiring on the new V-core-4. As far as it looks everything works, except the 48V Stepper drivers (5160T Pro): Whenever I want to move X or Y, then the mentioned error comes up and it goes into shutdown. What did I do: - I tried the same setup with 24V and 2209 which worked fine, I could use both X and Y; Z are always 24V with 2209 and working fine - Helge mentioned that it needs to be SPI mode > added jumpers > now I get actual values with DUMP_TMC STEPPER=stepper_x - Verified that 48V are correctly attached (multimeter check if its actual 48V and mainboard also lights up the green motor power led) - swapped X+Y randomly with Hybrid Y1 / Y2
No description
No description
No description
No description
14 Replies
Mitsuma
Mitsuma4w ago
swap X and Y stepsticks and see if the error moves with it
Shuni
Shuni4w ago
Actually I just checked the stepper, its V1.0 and not V1.1 as stated in the RatOS?
No description
Mitsuma
Mitsuma4w ago
is that the only one thats different? actually thats normal
Shuni
Shuni4w ago
all v1.0
Mitsuma
Mitsuma4w ago
and it doesnt really matter as RatOS doesnt really tell any specifics it just sets it to 5160 pro and thats it
Mitsuma
Mitsuma4w ago
do this
Shuni
Shuni4w ago
see edit, I swapped them around already as both X and Y are not working (didn't setup Hybrid Y1/Y2, but swapped around as well)
Shuni
Shuni4w ago
ratos and printer cfg; Added only the LED part in printer.cfg, rest is stock from the RatOS generated content (just made them to txt so I could upload it)
Shuni
Shuni4w ago
oh and just in case: all up to date
No description
Shuni
Shuni4w ago
Analysing the TMC Dump, found this: DRV_STATUS: 00000009 sg_result=9 cs_actual=0(Reset?) and according to the docs:
TMC reports error: ... reset=1(Reset) OR CS_ACTUAL=0(Reset?) OR SE=0(Reset?) This indicates that the driver has reset itself mid-print. This may be due to voltage or wiring issues.
But I've no idea what to change now. Are all 4 stepper drivers dead? does the Mainboard is not working correctly with Motorpower? I've no idea :sad_cat:
Alex91
Alex914w ago
Have you set the jumpers for motor power correctly? Couldn't be seen on your photo
No description
Shuni
Shuni4w ago
Yes for sure, that's the first thing I did with the board
No description
Shuni
Shuni4w ago
Update! I've reset everything, redone the ratos setup from beginning (swapped to hybrid, and it somehow resetted everything despite saying keep stuff), did a test with 24V and the 5160, and they started to work. Swapped to 48V again and now steppers all work! :hype: