Home
last modified time | relevance | path

Searched +full:stallguard +full:- +full:threshold +full:- +full:velocity (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/dts/bindings/stepper/adi/
Dadi,trinamic-stallguard.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2 # SPDX-License-Identifier: Apache-2.0
4 description: Stallguard bindings for Trinamic stepper controller.
7 activate-stallguard2:
12 stallguard2-threshold:
20 -64 to +63: A higher value makes StallGuard2 less sensitive and requires more torque
23 stallguard-threshold-velocity:
27 Threshold velocity for StallGuard2 to detect a stall event.
30 stallguard-velocity-check-interval-ms:
34 Stallguard should not be enabled during motor spin-up.
[all …]
Dadi,tmc5041.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/stepper/adi/tmc5041_reg.h>
14 /* Dual controller/driver for up to two 2-phase bipolar stepper motors */
18 spi-max-frequency = <DT_FREQ_M(24)>; /* Maximum SPI bus frequency */
20 #address-cells = <1>;
21 #size-cells = <0>;
24 clock-frequency = <DT_FREQ_M(16)>; /* Internal/External Clock frequency */
31 invert-direction;
32 micro-step-res = <256>;
[all …]
Dadi,trinamic-ramp-generator.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2 # SPDX-License-Identifier: Apache-2.0
4 description: Ramp Generator Motion Control Register-Set for Trinamic stepper controller.
11 Motor start velocity in [µsteps/t](unsigned)
27 First acceleration / deceleration phase threshold velocity in [µsteps/t] (unsigned)
37 for velocity mode.
43 Motion ramp target velocity in [µsteps/t] (for positioning ensure VMAX ≥ VSTART) (unsigned)
44 This is the target velocity in velocity mode. It can be changed any time during a motion.
65 Motor stop velocity in [µsteps/t] (unsigned)
76 Waiting time after ramping down to zero velocity before next movement or direction
[all …]
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c2 * SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
3 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya
4 * SPDX-License-Identifier: Apache-2.0
59 const struct tmc5041_config *config = dev->config; in tmc5041_write()
60 struct tmc5041_data *data = dev->data; in tmc5041_write()
61 const struct spi_dt_spec bus = config->spi; in tmc5041_write()
64 k_sem_take(&data->sem, K_FOREVER); in tmc5041_write()
68 k_sem_give(&data->sem); in tmc5041_write()
79 const struct tmc5041_config *config = dev->config; in tmc5041_read()
80 struct tmc5041_data *data = dev->data; in tmc5041_read()
[all …]