dzid26 / StepperServoCAN

Closed loop stepper motor controller with CANbus capabilities. This Project open source hardware and code, support platformio build and upload firmware.
https://shop.retropilot.org/product/stepperservocan
19 stars 5 forks source link

Fix calibration spikes #6

Closed dzid26 closed 1 year ago

dzid26 commented 1 year ago

Sometimes there are spikes in raw calibration (page FLASH_PAGE30_ADDR). Figure_1 Small - less than 0.5deg and not noticeable physically, but visible through memory dump

dzid26 commented 1 year ago

Fixed. image Probably with one of those optimizations: https://github.com/dzid26/StepperServoCAN/commit/ed258251fbe857706b2d0796a9e6383739489c5d https://github.com/dzid26/StepperServoCAN/commit/d297fb10189cb875ceeed2081847547324d4bf81 https://github.com/dzid26/StepperServoCAN/commit/da70790fb29aaaa05677bd1db20b62bcdc4e3ced