Searched +full:micro +full:- +full:step +full:- +full:res (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/tests/drivers/build_all/stepper/ |
D | gpio.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 7 compatible = "zephyr,gpio-stepper"; 9 micro-step-res = <1>; 19 micro-step-res = <1>; 20 msx-gpios = <&test_gpio 0 0>, 22 en-gpios = <&test_gpio 0 0>; 23 step-gpios = <&test_gpio 0 0>; 24 dir-gpios = <&test_gpio 0 0>; 32 dir-gpios = <&test_gpio 0 0>; 33 step-gpios = <&test_gpio 0 0>; [all …]
|
/Zephyr-latest/dts/bindings/stepper/ |
D | stepper-controller.yaml | 1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 2 # SPDX-License-Identifier: Apache-2.0 7 invert-direction: 12 micro-step-res: 16 - 1 17 - 2 18 - 4 19 - 8 20 - 16 21 - 32 [all …]
|
/Zephyr-latest/dts/bindings/stepper/adi/ |
D | adi,tmc2209.yaml | 1 # SPDX-FileCopyrightText: Copyright (c) 2024 Fabian Blatz <fabianblatz@gmail.com> 2 # SPDX-License-Identifier: Apache-2.0 10 enable-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; 11 msx-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>, 13 step-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; 14 dir-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; 15 dual-edge-step; 21 - name: stepper-controller.yaml 22 property-allowlist: 23 - micro-step-res [all …]
|
D | adi,tmc5041.yaml | 1 # 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 …]
|
/Zephyr-latest/tests/drivers/stepper/stepper_api/boards/ |
D | nucleo_g071rb.overlay | 2 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 3 * SPDX-License-Identifier: Apache-2.0 8 compatible = "zephyr,gpio-stepper"; 10 micro-step-res = <1>;
|
D | qemu_x86_64.overlay | 2 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 3 * SPDX-License-Identifier: Apache-2.0 8 #address-cells = <1>; 9 #size-cells = <1>; 13 gpio-controller; 15 #gpio-cells = <0x2>; 23 compatible = "zephyr,gpio-stepper"; 25 micro-step-res = <1>;
|
/Zephyr-latest/dts/bindings/stepper/ti/ |
D | ti,drv8424.yaml | 1 # SPDX-FileCopyrightText: Copyright (c) 2024 Navimatix GmbH 2 # SPDX-License-Identifier: Apache-2.0 10 The step gpio pin needs to be connected directly to the SOC GPIO controller, connecting the 18 dir-gpios = <&arduino_header 18 0>; 19 step-gpios = <&arduino_header 19 0>; 20 sleep-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; 21 en-gpios = <&arduino_header 14 0>; 22 m0-gpios = <&mikroe_stepper_gpios 0 0>; 23 m1-gpios = <&mikroe_stepper_gpios 1 0>; 31 - name: stepper-controller.yaml [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | stepper.h | 9 * SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 10 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 11 * SPDX-License-Identifier: Apache-2.0 32 #define MICRO_STEP_RES_INDEX(res) LOG2(res) argument 35 * @brief Stepper Motor micro step resolution options 38 /** Full step resolution */ 40 /** 2 micro steps per full step */ 42 /** 4 micro steps per full step */ 44 /** 8 micro steps per full step */ 46 /** 16 micro steps per full step */ [all …]
|
/Zephyr-latest/tests/drivers/stepper/stepper_api/src/ |
D | main.c | 2 * SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 4 * SPDX-License-Identifier: Apache-2.0 60 (void)stepper_set_reference_position(fixture->dev, 0); in stepper_before() 68 (void)stepper_set_micro_step_res(fixture->dev, 2); in ZTEST_F() 69 enum stepper_micro_step_resolution res; in ZTEST_F() local 70 (void)stepper_get_micro_step_res(fixture->dev, &res); in ZTEST_F() 71 zassert_equal(res, 2, "Micro step resolution not set correctly"); in ZTEST_F() 77 (void)stepper_set_reference_position(fixture->dev, pos); in ZTEST_F() 78 (void)stepper_get_actual_position(fixture->dev, &pos); in ZTEST_F() 86 (void)stepper_set_max_velocity(fixture->dev, 100u); in ZTEST_F() [all …]
|
/Zephyr-latest/drivers/stepper/adi_tmc/ |
D | adi_tmc5041_stepper_controller.c | 2 * 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 …]
|
/Zephyr-latest/tests/drivers/stepper/drv8424/api/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 62 (void)stepper_set_reference_position(fixture->dev, 0); in drv8424_api_before() 63 (void)stepper_set_micro_step_res(fixture->dev, 1); in drv8424_api_before() 70 (void)stepper_run(fixture->dev, STEPPER_DIRECTION_POSITIVE, 0); in drv8424_api_after() 75 (void)stepper_set_micro_step_res(fixture->dev, 4); in ZTEST_F() 76 enum stepper_micro_step_resolution res; in ZTEST_F() local 77 (void)stepper_get_micro_step_res(fixture->dev, &res); in ZTEST_F() 78 zassert_equal(res, 4, "Micro step resolution not set correctly, should be %d but is %d", 4, in ZTEST_F() 79 res); in ZTEST_F() 86 ret = stepper_set_micro_step_res(fixture->dev, 3); in ZTEST_F() [all …]
|