Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmc_stallguard_settings Struct Reference

Trinamic Stepper StallGuard Settings. More...

#include <zephyr/drivers/stepper/stepper_trinamic.h>

Data Fields

bool is_sg_enabled
 Enable StallGuard2 feature.
uint16_t sg_velocity_check_interval_ms
 Stallguard should not be enabled during motor spin-up.
uint32_t sg_threshold_velocity
 StallGuard2 threshold velocity.

Detailed Description

Trinamic Stepper StallGuard Settings.

Field Documentation

◆ is_sg_enabled

bool tmc_stallguard_settings::is_sg_enabled

Enable StallGuard2 feature.

◆ sg_threshold_velocity

uint32_t tmc_stallguard_settings::sg_threshold_velocity

StallGuard2 threshold velocity.

◆ sg_velocity_check_interval_ms

uint16_t tmc_stallguard_settings::sg_velocity_check_interval_ms

Stallguard should not be enabled during motor spin-up.

This delay is used to check if the actual stepper velocity is greater than stallguard-threshold-velocity before enabling stallguard.


The documentation for this struct was generated from the following file: