Skip to content

Inquiry about TMC5160 Full SPI Support for STM32F4 Boards (e.g., SKR PRO V1.2) #87

@scalaire00

Description

@scalaire00

Hello all,
I am currently setting up a CNC ornamental lathe using LinuxCNC on a Raspberry Pi and a BIGTREETECH SKR PRO V1.2 board with TMC5160-HV stepper drivers. I am using the Remora-OS6 firmware (specifically the firmware.bin from Firmware/FirmwareBin/STM32F407/BTT_407/).

My observation is that while the firmware supports TMC2208/TMC2209 drivers via UART (as seen in main.cpp and modules/tmc/tmc.h), there doesn't appear to be explicit, full software control via SPI for TMC5160 drivers integrated into this version. This currently limits the TMC5160s to STEP/DIR autonomous mode, preventing access to their advanced features (dynamic current control, CoolStep, StallGuard, comprehensive diagnostics) through LinuxCNC.

Would like to inquire about the roadmap and potential plans for integrating full SPI support for TMC5160 stepper drivers within the Remora-OS6 firmware, specifically for STM32F4 microcontrollers (like the STM32F407ZGT6 on the SKR PRO V1.2).

Is this integration currently being considered or actively worked on for the STM32F4 platform?

Are there any existing development branches or experimental builds that include this functionality?

What would be the recommended approach for users who wish to utilize the full capabilities of their TMC5160 drivers with Remora on STM32F4 boards?

Context:
-Board: BIGTREETECH SKR PRO V1.2 (MCU: STM32F407ZGT6)

  • Drivers: TMC5160-HV
  • Current Firmware: scottalford75/Remora (main branch, Remora-OS6 version, specifically the firmware.binfrom Firmware/FirmwareBin/STM32F407/BTT_407/).

Observation: The TMCStepper.h in Remora/Firmware/FirmwareSource/Remora-OS6/TMCStepper/does not includeTMC5160_bitfields.hor define aTMC5160Stepper` class, suggesting a lack of direct integration for SPI control in this specific branch.

Thank you for your time and for your excellent work on Remora. Any insights into this would be greatly appreciated!

J-C

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions