Intellistep
Intellistep copied to clipboard
A rework of the terribly coded firmware from the BTT S42B v2 boards
this is a branch created for : use a real flash structure so that flash content can be 1- versioned (different from firmware version, as the flash structure can evolve...
the call stack : ``` HAL_SPI_TransmitReceive@0x080023fc (/home/jlm/.platformio/packages/framework-arduinoststm32/system/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c:1304) Encoder::readRegister@0x080050c6 (/home/jlm/crypt/Devel/3Dprinter/Intellistep-clean/src/hardware/encoder.cpp:241) Encoder::getRawRev@0x080051b2 (/home/jlm/crypt/Devel/3Dprinter/Intellistep-clean/src/hardware/encoder.cpp:849) Encoder::Encoder@0x08005714 (/home/jlm/crypt/Devel/3Dprinter/Intellistep-clean/src/hardware/encoder.cpp:174) StepperMotor::StepperMotor@0x080066be (/home/jlm/crypt/Devel/3Dprinter/Intellistep-clean/src/hardware/motor.cpp:12) __static_initialization_and_destruction_0@0x080080da (/home/jlm/crypt/Devel/3Dprinter/Intellistep-clean/src/main/main.cpp:337) _GLOBAL__sub_I_motor@0x08008128 (/home/jlm/crypt/Devel/3Dprinter/Intellistep-clean/src/main/main.cpp:337) __libc_init_array@0x0800bb08 (/__libc_init_array.dbgasm:24) Reset_Handler@0x08001262 (/home/jlm/.platformio/packages/framework-arduinoststm32/variants/STM32F1xx/F103C8T_F103CB(T-U)/startup_M200_f103xb.S:125) ``` from what I see, when HAL_GetTick()...
Are there electrical schematic diagram of S42B, S57B? Has anyone spent reverse engineering?
Had to switch default direction when I swapped from X to Y axis on printer. After switching direction via the set up menus, I commanded a short jog motion via...
When setting up the motor some programming questions arise. 1. If you set the mA (it doesn't matter if the high current warning is displayed or not) when you use...
Just as the title says, there is minor drift with the hardware step counter. Ever so often, not frequently, it will lose a step or gain one (typically lose one)....
It seems like a good candidate https://github.com/xerootg/btt-s42b-simplefoc/blob/master/src/TLE5012b.h https://github.com/xerootg/btt-s42b-simplefoc/blob/master/src/TLE5012b.cpp also https://github.com/xerootg/btt-s42b-simplefoc/blob/master/reference_driver/encoder.h https://github.com/xerootg/btt-s42b-simplefoc/blob/master/reference_driver/encoder.cpp I think @xerootg may add some comments
This PR not for merge. Bad news. I've been doing a series of experiments on the dev branch. The motor speed was constant from the 60-300 rpm range (not as...
Recently, I have been printing on my 3D printer using the stock BTT firmware, as this firmware isn't ready for full deployment yet. I noticed that the so called "salmon...