Closed kAdonis closed 5 years ago
The TMC2160Stepper::PWMCONF() Function is trying to read from a write only register, and overwrites the correct value of PWMCONF_register.sr with zero I changed it to:
PWMCONF_register.sr
uint32_t TMC2160Stepper::PWMCONF() { return PWMCONF_register.sr; }
In marlin M122 V now shows the correct value for PWMCONF (PWMCONF is write only for TMC2160, TMC5160, and TMC5161)
Wow, that was a fast response! :muscle:
The TMC2160Stepper::PWMCONF() Function is trying to read from a write only register, and overwrites the correct value of
PWMCONF_register.sr
with zero I changed it to:In marlin M122 V now shows the correct value for PWMCONF (PWMCONF is write only for TMC2160, TMC5160, and TMC5161)