Skip to content

TMC2130 #145

@anfractuosity

Description

@anfractuosity

Hi, I'm wondering if anyone could possibly point me in the right direction, I couldn't tell if the TMC2130 is supported, I've been trying
to enable doing the following (I'm very new to grblHAL, so possibly I'm doing something very wrong here).

#define SPI_ENABLE 1
#define TRINAMIC_SPI_ENABLE 1
#define TRINAMIC_ENABLE 2130
#define TRINAMIC_MIXED_DRIVERS 0

#define SPI_MISO_PIN       4
#define SPI_MOSI_PIN       3
#define SPI_SCK_PIN         2
#define SPI_CS_PIN           5

I get the following over the USB UART -

[MSG:Warning: Could not communicate with stepper driver!]

Any ideas would be most appreciated!

I actually have 3x TMC2130 modules connected to the RP2040, with 3 different CS pins, I wasn't sure if it's possible to specify 3x CS pins though either.

(I've verified the hardware works by a micropython example I made)

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