Skip to content

TMC2209 setup not possible after power cycling TMC2209 #85

Open
@koombot

Description

@koombot

I've been running some tests with the library using the examples but have encountered an issue and I'm not sure how to resolve it.

When following the examples it encourages you to turn the power off to the motor to see what happens (assuming you have comms and driver is setup). On doing this the example reports that driver is not communicating. On resuming power the MC reports that the stepper driver is communicating but not setup.

There are two options I have found that fix this: either resetting the MC (If monitoring the serial port in Arduino IDE) or if programming with VS Code if you stop monitoring the serial port and then resume monitoring the serial port.

I have tested this with an ESP32 and an Arduino mega with the same behaviour observed.

Does anyone have any insight as to the issue? The examples seem to suggest that a power cycle will be okay, but I'm not seeing it.

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