/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/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/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/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 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 */ 48 /** 32 micro steps per full step */ [all …]
|
/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/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/drivers/stepper/ |
D | stepper_shell.c | 5 * SPDX-License-Identifier: Apache-2.0 53 shell_info(sh, "%s: Steps completed.", dev->name); in print_callback() 56 shell_info(sh, "%s: Stall detected.", dev->name); in print_callback() 59 shell_info(sh, "%s: Left limit switch pressed.", dev->name); in print_callback() 62 shell_info(sh, "%s: Right limit switch pressed.", dev->name); in print_callback() 65 shell_info(sh, "%s: Unknown signal received.", dev->name); in print_callback() 95 entry->syntax = stepper_direction_map[idx].name; in cmd_stepper_direction() 97 entry->syntax = NULL; in cmd_stepper_direction() 99 entry->handler = NULL; in cmd_stepper_direction() 100 entry->help = "Stepper direction"; in cmd_stepper_direction() [all …]
|
D | gpio_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 49 struct gpio_stepper_data *data = dev->data; in stepper_motor_set_coil_charge() 50 const struct gpio_stepper_config *config = dev->config; in stepper_motor_set_coil_charge() 53 (void)gpio_pin_set_dt(&config->control_pins[i], in stepper_motor_set_coil_charge() 54 half_step_lookup_table[data->coil_charge][i]); in stepper_motor_set_coil_charge() 61 struct gpio_stepper_data *data = dev->data; in increment_coil_charge() 63 if (data->coil_charge == NUM_CONTROL_PINS * MAX_MICRO_STEP_RES - data->step_gap) { in increment_coil_charge() 64 data->coil_charge = 0; in increment_coil_charge() [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() 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() 89 (void)stepper_set_event_callback(fixture->dev, fixture->callback, &fixture); in ZTEST_F() [all …]
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | apollox_blue.h | 2 * Copyright (c) 2023 Ambiq Micro Inc. 4 * SPDX-License-Identifier: Apache-2.0 45 * The devices mainly include the required gpio (e.g. reset-gpios, 46 * irq-gpios). 77 * This step may do the necessary handshaking with the controller before
|
/Zephyr-latest/drivers/stepper/ti/ |
D | drv8424.c | 2 * SPDX-FileCopyrightText: Copyright (c) 2024 Navimatix GmbH 3 * SPDX-License-Identifier: Apache-2.0 61 LOG_ERR("%s: Failed to reset micro-step pin (error: %d)", dev->name, ret); in drv8424_set_microstep_pin() 74 /* Hi-Z is set by configuring pin as disconnected, not in drv8424_set_microstep_pin() 84 LOG_ERR("%s: Failed to set micro-step pin (error: %d)", dev->name, ret); in drv8424_set_microstep_pin() 95 const struct drv8424_config *config = dev->config; in drv8424_microstep_recovery() 96 struct drv8424_data *data = dev->data; in drv8424_microstep_recovery() 99 uint8_t m0_value = data->pin_states.m0; in drv8424_microstep_recovery() 100 uint8_t m1_value = data->pin_states.m1; in drv8424_microstep_recovery() 102 ret = drv8424_set_microstep_pin(dev, &config->m0_pin, m0_value); in drv8424_microstep_recovery() [all …]
|
/Zephyr-latest/samples/modules/tflite-micro/hello_world/train/ |
D | train_hello_world_model.ipynb | 29 …rld](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro/examples/hello_wor… 31 "<table class=\"tfo-notebook-buttons\" align=\"left\">\n", 33 …earch.google.com/github/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/examples/hello_wor… 36 …ensorflow/lite/micro/examples/hello_world/train/train_hello_world_model.ipynb\"><img src=\"https:/… 53 "id": "5PYwRFppd-WB" 84 "outputId": "510567d6-300e-40e2-f5b8-c3520a3f3a8b", 97 …"Requirement already satisfied: tensorflow==2.4.0rc0 in /usr/local/lib/python3.6/dist-packages (2.… 98 …"Requirement already satisfied: termcolor~=1.1.0 in /usr/local/lib/python3.6/dist-packages (from t… 99 …"Requirement already satisfied: gast==0.3.3 in /usr/local/lib/python3.6/dist-packages (from tensor… 100 …"Requirement already satisfied: astunparse~=1.6.3 in /usr/local/lib/python3.6/dist-packages (from … [all …]
|
/Zephyr-latest/drivers/stepper/step_dir/ |
D | step_dir_stepper_common.c | 2 * SPDX-FileCopyrightText: Copyright (c) 2024 Fabian Blatz <fabianblatz@gmail.com> 3 * SPDX-License-Identifier: Apache-2.0 13 const struct step_dir_stepper_common_config *config = dev->config; in step_dir_stepper_perform_step() 14 struct step_dir_stepper_common_data *data = dev->data; in step_dir_stepper_perform_step() 17 switch (data->direction) { in step_dir_stepper_perform_step() 19 ret = gpio_pin_set_dt(&config->dir_pin, 1); in step_dir_stepper_perform_step() 22 ret = gpio_pin_set_dt(&config->dir_pin, 0); in step_dir_stepper_perform_step() 25 LOG_ERR("Unsupported direction: %d", data->direction); in step_dir_stepper_perform_step() 26 return -ENOTSUP; in step_dir_stepper_perform_step() 33 ret = gpio_pin_toggle_dt(&config->step_pin); in step_dir_stepper_perform_step() [all …]
|
/Zephyr-latest/boards/st/stm32l496g_disco/doc/ |
D | index.rst | 6 The STM32L496G Discovery board features an ARM Cortex-M4 based STM32L496AG MCU 11 - STM32L496AGI6 microcontroller featuring 1 Mbyte of Flash memory and 320 Kbytes of RAM in an UFBGA… 12 - 1.54 inch 240 x 240 pixel-TFT color LCD with parallel interface 13 - SAI Audio CODEC, with a stereo headset jack, including analog microphone input 14 - Stereo digital MEMS microphones 15 - microSD card connector (card included) 16 - Camera 8 bit-connector 17 - 8 Mbit-PSRAM 18 - IDD measurement 19 - 64 Mbit-Quad-SPI Flash [all …]
|
/Zephyr-latest/boards/nxp/rddrone_fmuk66/doc/ |
D | index.rst | 9 - Comes with a J-Link Edu Mini for programming and UART console. 14 - MK66FN2MOVLQ18 MCU (180 MHz, 2 MB flash memory, 256 KB RAM, low-power, 15 crystal-less USB, and 144 Low profile Quad Flat Package (LQFP)) 16 - Dual role USB interface with micro-B USB connector 17 - RGB LED 18 - FXOS8700CQ accelerometer and magnetometer 19 - FXAS21002CQ gyro 20 - BMM150 magnetometer 21 - ML3114A2 barometer 22 - BMP280 barometer [all …]
|
/Zephyr-latest/boards/digilent/zybo/doc/ |
D | index.rst | 9 The `Digilent Zybo`_ (ZYnq BOard) is a feature-rich, ready-to-use embedded software and digital 10 circuit development board. It is built around the Xilinx Zynq-7000 family, which is based on the 11 Xilinx All Programmable System-on-Chip (AP SoC) architecture. This architecture tightly integrates a 12 dual-core ARM Cortex-A9 processor with Xilinx 7-series Field Programmable Gate Array (FPGA) logic. 14 .. figure:: zybo-0.jpg 28 +------------+------------+-------------------------------------+ 31 | GICv1 | on-chip | ARM generic interrupt controller v1 | 32 +------------+------------+-------------------------------------+ 33 | ARCH TIMER | on-chip | ARM architected timer | 34 +------------+------------+-------------------------------------+ [all …]
|
/Zephyr-latest/boards/nxp/lpcxpresso55s28/doc/ |
D | index.rst | 7 of and development with the LPC552x/S2x MCU based on the Arm® Cortex®-M33 8 architecture. The board includes a high-performance onboard debug probe, audio 9 subsystem and accelerometer, with several options for adding off-the-shelf 10 add-on boards for networking, sensors, displays, and other interfaces. 15 - LPC55S28 Arm® Cortex®-M33 microcontroller running at up to 150 MHz 16 - 512 KB flash and 256 KB SRAM on-chip 17 - Onboard, high-speed USB, Link2 debug probe with CMSIS-DAP and SEGGER J-Link 19 - UART and SPI port bridging from LPC55S28 target to USB via the onboard debug 21 - Hardware support for external debug probe 22 - 3 x user LEDs, plus Reset, ISP (3) and user buttons [all …]
|
/Zephyr-latest/boards/nxp/frdm_k22f/doc/ |
D | index.rst | 6 The Freedom-K22F is an ultra-low-cost development platform for Kinetis K22 9 - Form-factor compatible with the Arduino R3 pin layout 10 - Peripherals enable rapid prototyping, including a 6-axis digital 12 tri-colored LED and 2 user push-buttons for direct interaction, a optional 14 add-on modules 15 - OpenSDAv2, the NXP open source hardware embedded serial and debug adapter 17 flash programming, and run-control debugging 22 - MK22FN512VLH12 (120 MHz, 512 KB flash memory, 128 KB RAM, low-power, 23 crystal-less USB, and 64 pin Low profile Quad Flat Package (LQFP)) 24 - Dual role USB interface with micro-B USB connector [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/boards/segger/ip_k66f/doc/ |
D | index.rst | 7 It comes with Micrel/Microchip KSZ8794CNX integrated 4-port 10/100 managed 10 - KSZ8794CNX enables evaluation for switch functions 11 - On-board debug probe J-Link-OB for programming 16 - MK66FN2M0VMD18 MCU (180 MHz, 2 MB flash memory, 256 KB RAM, low-power, 17 crystal-less USB 18 - Dual role USB interface with micro-B USB connector 19 - 2 User LED 20 - On-board debug probe J-Link-OB for programming 21 - Micrel/Microchip Ethernet Switch KSZ8794CNX with 3 RJ45 connectors 23 For more information about the K66F SoC and IP-K66F board: [all …]
|
/Zephyr-latest/boards/nxp/frdm_k82f/doc/ |
D | index.rst | 6 The FRDM-K82F is a low-cost development platform for Kinetis K80, K81, 9 - Form-factor compatible with the Arduino R3 pin layout 10 - Peripherals enable rapid prototyping, including a six-axis digital 12 tri-colored LED and two user push-buttons for direct interaction, 2x32 Mb 14 with Bluetooth and 2.4 GHz radio add-on modules 15 - OpenSDAv2.1, the NXP open source hardware embedded serial and debug adapter 17 flash programming, and run-control debugging 22 - MK82FN256VLL15 MCU (150 MHz, 256 KB flash memory, 256 KB RAM, low-power, 23 crystal-less USB, and 100 Low profile Quad Flat Package (LQFP)) 24 - Dual role USB interface with micro-B USB connector [all …]
|
/Zephyr-latest/boards/st/stm32l476g_disco/doc/ |
D | index.rst | 6 The STM32L476G Discovery board features an ARM Cortex-M4 based STM32L476VG MCU 11 - STM32L476VGT6 microcontroller featuring 1 Mbyte of Flash memory, 128 Kbytes of RAM in LQFP100 pac… 12 - On-board ST-LINK/V2-1 supporting USB re-enumeration capability 13 - Three different interfaces supported on USB: 15 - Virtual com port 16 - Mass storage 17 - Debug port 19 - LCD 24 segments, 4 commons in DIP 28 package 20 - Seven LEDs: 22 - LD1 (red/green) for USB communication [all …]
|
/Zephyr-latest/boards/st/nucleo_wb55rg/doc/ |
D | nucleo_wb55rg.rst | 6 The Nucleo WB55RG board is a multi-protocol wireless and ultra-low-power device 7 embedding a powerful and ultra-low-power radio compliant with the Bluetooth® 8 Low Energy (BLE) SIG specification v5.0 and with IEEE 802.15.4-2011. 11 - STM32 microcontroller in VFQFPN68 package 12 - 2.4 GHz RF transceiver supporting Bluetooth® specification v5.0 and 13 IEEE 802.15.4-2011 PHY and MAC 14 - Dedicated Arm® 32-bit Cortex® M0+ CPU for real-time Radio layer 15 - Three user LEDs 16 - Board connector: USB user with Micro-B 17 - Two types of extension resources: [all …]
|