New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can not connect TMC2208 to the board BIGTREETECH-SKR-MINI-V1.1 with UART #14
Comments
You have to define RX and TX pins in /src/pins/stm32/pins_BIGTREE_SKR_MINI_V1_1.h add something like according to pins You used. #if HAS_DRIVER(TMC2208) Also you get error abount EEPROM, disable it, I don't thing it is implemented. |
Pc10, pc11, pc12 can be used. |
When you connect the tmc2208 as it is placed on the board, do you have to remove the jumpers underneath or leave them on? In skr 1.3 they are removed but in the manual of the skr mini V1.1 it does not come in the manual as it is installed. I know that pins PC10, PC11 and PC12 correspond to the UART of the mcu. |
Same problem here. |
@dinamitemic if your getting LOW on the terminal its a wiring config issue.. I got it up and running using the information above, plugging into to PC10, PC11, PC12, and PC14 (for E0).. As the rest of my printer isn't complete yet I've only been able to confirm that the signal is there. I have documented from memory what I did with the aim of doing a PR back to Big Tree to have it included in the doco. Its currently available here https://github.com/chris3081/BIGTREETECH-SKR-MINI-V1.1/blob/master/Wiring%20diagram/SKR%20mini%20V1.1-TMC2208-UART-Mode-guide.pdf If there are any errors please let me know. |
@chris3081's solution works for me too, thanks a lot! |
@chris3081 I've found a solution too. My problem was that I wasn't performing a complete power cycle to the board, that way the driver weren't well initialized. |
@dinamitemic can you share how do you make EXP2 configurations, please? |
Is it possible to connect TMC2209 by UART and TFT35 in both modes (touch and 12864) at the same time? |
`Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp.o
Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_flash.cpp.o
Compiling .pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_sdcard.cpp.o
In file included from c:\marlin2\marlin\src\inc\marlinconfig.h:37:0,
from Marlin\src\HAL\HAL_STM32F1\HAL.cpp:31:
c:\marlin2\marlin\src\inc\SanityCheck.h:1954:4: error: #error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL_(RX|TX)_PIN."
#error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL_(RX|TX)PIN."
^~~~~
In file included from c:\marlin2\marlin\src\inc\marlinconfig.h:37:0,
from Marlin\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp:26:
c:\marlin2\marlin\src\inc\SanityCheck.h:1954:4: error: #error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)PIN."
#error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)PIN."
^~~~~
In file included from c:\marlin2\marlin\src\inc\marlinconfig.h:37:0,
from Marlin\src\HAL\HAL_STM32F1\HAL_spi_STM32F1.cpp:35:
c:\marlin2\marlin\src\inc\SanityCheck.h:1954:4: error: #error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)PIN."
#error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)PIN."
^~~~~
In file included from c:\marlin2\marlin\src\inc\marlinconfig.h:37:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp:23:
c:\marlin2\marlin\src\inc\SanityCheck.h:1954:4: error: #error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)PIN."
#error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)_PIN."
^~~~~
In file included from Marlin\src\HAL\HAL_STM32F1\HAL_spi_STM32F1.cpp:36:0:
C:\users\3onap.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\SPI\src/SPI.h:171:15: warning: '_spi3_this' defined but not used [-Wunused-variable]
static void (_spi3_this);
^~~~~~~~~~
C:\users\3onap.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\SPI\src/SPI.h:168:15: warning: '_spi2_this' defined but not used [-Wunused-variable]
static void (_spi2_this);
^~~~~~~~~~
C:\users\3onap.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\SPI\src/SPI.h:165:15: warning: '_spi1_this' defined but not used [-Wunused-variable]
static void (*spi1_this);
^~~~~~~~~~
C:\users\3onap.platformio\packages\framework-arduinoststm32-maple\STM32F1\libraries\SPI\src/SPI.h:163:16: warning: 'ff' defined but not used [-Wunused-variable]
static uint8_t ff = 0XFF;
^~
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\HAL_Servo_STM32F1.cpp.o] Error 1
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\HAL.cpp.o] Error 1
In file included from c:\marlin2\marlin\src\inc\marlinconfig.h:37:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_flash.cpp:32:
c:\marlin2\marlin\src\inc\SanityCheck.h:1954:4: error: #error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)PIN."
#error "TMC2208 or TMC2209 on X requires X_HARDWARE_SERIAL or X_SERIAL(RX|TX)_PIN."
^~~~~
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\HAL_spi_STM32F1.cpp.o] Error 1
*** [.pioenvs\BIGTREE_SKR_MINI\src\src\HAL\HAL_STM32F1\persistent_store_eeprom.cpp.o] Error 1
In file included from c:\marlin2\marlin\src\inc\marlinconfig.h:37:0,
from Marlin\src\HAL\HAL_STM32F1\persistent_store_sdcard.cpp:29:`
The text was updated successfully, but these errors were encountered: