Skip to content

Only one of four TMC2209s is "setup", but all communicating #99

@nhansendev

Description

@nhansendev

Following the example setup for multiple drivers on one UART line with bidirectional communication, I attached four drivers to a Raspberry Pi Pico on UART2 (Pins 8 and 9).

Like so, but with four drivers and unique addresses set for each (VCCIO = 3V3):
Image

However, I've found that at best I get just one driver to be "setup and communicating" (always address 0), while the rest only appear as "communicating, not setup". I can individually enable/disable them via software and run them with step/dir, but only the first responds to more advanced UART config, velocity control, etc.

I've attached my test script which sets-up the drivers, checks the connections, and iterates through each driver, enabling it and running it forwards/backwards, then disabling it again (triggered via pushbutton).
TMC2209_PiPico.zip

I've tried adjusting the reply delay, adding pauses between setup calls, different baud rates, and power cycling the MCU and driver boards, but there were no improvements.

What can I look at next to determine why only one is fully setup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions