adi,tmc522x-stepper-ctrl

Description

Ramp Generator Motion Control Register-Set for Trinamic stepper controller.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

idx

int

Motor index (0-based). For TMC522x with single motor, use 0.

This property is required.

vstart

int

Motor start velocity in [µsteps/t](unsigned)

Normally, set VSTOP ≥ VSTART! VSTART may be
set to a higher value, when motion distance is
sufficient to allow deceleration to VSTOP.

Default value: 1

Value range: 0 to 0x3ffff

a1

int

First acceleration between VSTART and V1 in [µsteps/ta²](unsigned)

Default value: 0

Value range: 0 to 0xffff

v1

int

First acceleration / deceleration phase threshold velocity in [µsteps/t] (unsigned)

0: Disables A1 and D1 phase, use AMAX, DMAX only

Default value: 0

Value range: 0 to 0xfffff

amax

int

Second acceleration between V1 and VMAX in [µsteps/ta²](unsigned)
This is the acceleration and deceleration value
for velocity mode.

Default value: 0

Value range: 0 to 0xffff

vmax

int

Motion ramp target velocity in [µsteps/t] (for positioning ensure VMAX ≥ VSTART) (unsigned)
This is the target velocity in velocity mode. It can be changed any time during a motion.

Default value: 0

Value range: 0 to 0x7ffdff

dmax

int

Deceleration between VMAX and V1 in [µsteps/ta²](unsigned)

Default value: 0

Value range: 0 to 0xffff

d1

int

Deceleration between V1 and VSTOP in [µsteps/ta²](unsigned)

Attention: Do not set 0 in positioning mode,
even if V1=0!

Default value: 1

Value range: 1 to 0xffff

vstop

int

Motor stop velocity in [µsteps/t] (unsigned)

Attention: Set VSTOP ≥ VSTART!

Attention: Do not set 0 in positioning mode,
minimum 10 recommended!

Default value: 10

Value range: 1 to 0x3ffff

a2

int

Second phase acceleration for controllers with a six-point ramp
(e.g. TMC522x) in [µsteps/ta²] (unsigned)

Default value: 0

Value range: 0 to 0xffff

v2

int

Second phase threshold velocity for controllers with a six-point ramp
(e.g. TMC522x) in [µsteps/t] (unsigned)

Default value: 0

Value range: 0 to 0xfffff

d2

int

Second phase deceleration for controllers with a six-point ramp
(e.g. TMC522x) in [µsteps/ta²] (unsigned)

Default value: 0

Value range: 0 to 0xffff