can who will help.
I have custom H-Bot,power 12v, ramps 1.4 + Mega 2560. On the axes is conventional nema 17 + a4988 drivers
Ordered by FYSETC 5 PCs. TMC2209 v.3.0
Special for them, I install latest Marlin 18.104.22.168, because if I understand correctly, support for 2209 is more or less officially available only from version 2 (before it was 22.214.171.124)
Got drivers, pulled out 4998 while only for XY axes for testing, removed MS3 jumper (MS1, MS2 left), stuck 2209 (with a potentiometer in direction RAMPS power connector). Measured Vref - 1.25v
Connected with two wires, driver RX with ramps pin 63 and TX with pin 40, as is default in Marlin. Configured Marlin while for one X axis:
#define X_DRIVER_TYPE TMC2209
// #define X_HARDWARE_SERIAL Serial1
#define X_SERIAL_TX_PIN 40
#define X_SERIAL_RX_PIN 63
Enabled the TMCStepper library (V. 0. 6. 2)
It seems that this is enough to check UART connection. Compile, upload, and… nothing 🙁
Marlin don’t’ see driver firmware: “TMC connection error” and that's it.
As standalone works normally, it responds to movement commands, and carriage rides on the X-axis as it should.
But I bought it specifically with UART for possibility control from the firmware.
Experimented with settings for everything: tried the #define x_hardware_serial serial1 mode (connected to pins 18 and 19 - hardware serial port 1 on Arduino). I even tried setting the #define SERIAL_PORT_2 parameter (although I didn't understand if it was related to UART configuration or not). All this in different combinations.
I found on forums that in UART mode, jumpers under the driver set not steps, but the port address,
I tried setting the #define x_slave_address parameter
It's useless ☹
I searched a lot of forums, including Marlin and Fysetc, and reviewed a lot of videos
This problem is common, but all the discussions and guides relate mainly to different versions of the MKS and SKR boards. Or, for 2208 drivers. They seem to be similar to 2209, but, apparently they don't completely match. Description of the installation and configuration of the mega+ramps+marlin+2209 combination is not found anywhere, either on the forums or in the videos: (
In general, now I’m suck. May be who installed a similar combination, or can help with advice. I will be grateful for any hints, where else to dig?