Home
last modified time | relevance | path

Searched +full:ws2812 +full:- +full:gpio (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-latest/dts/bindings/led_strip/
Dworldsemi,ws2812-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Worldsemi WS2812 LED strip, GPIO binding
7 Driver bindings for bit-banging a WS2812 or compatible LED strip.
11 or can be provided by setting the delay-txx properties in the device
17 type of LEDs used, consult the data-sheet for the precise timings.
20 +-------+ +---
24 ---+ +-----------------+
27 +---------------+ +---
31 ---+ +---------+
38 clock-frequency = <64000000>;
[all …]
Dws2812.yaml4 # SPDX-License-Identifier: Apache-2.0
7 Worldsemi WS2812 (and compatible) LED controller
9 Driver bindings for daisy chains of WS2812 (and compatible devices
13 https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/
18 You can connect the device to either a GPIO on your SoC, or a SPI
19 MOSI line. Use the worldsemi,ws2812-spi.yaml or
20 worldsemi,ws2812-gpio.yaml bindings instead of this file after
31 There is a +/- 80 ns tolerance for each timing.
33 The latch/reset delay is 250 us and it must be set using the reset-delay
35 using the color-mapping property.
[all …]
Dworldsemi,ws2812-rpi_pico-pio.yaml2 # SPDX-License-Identifier: Apache-2.0
5 The pio node configured for ws2812.
7 compatible: "worldsemi,ws2812-rpi_pico-pio"
9 include: pinctrl-device.yaml
12 bit-waveform:
15 This property defines the waveform for sending 1-bit data.
19 The T1 is equal to (T1H-T0H) or (T0L-T1L) in the datasheet.
21 Code-0
22 +------+ +---
26 ---+ +-----------------+
[all …]
Dws2812-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: ws2812.yaml
7 Common definition GPIO based WS2812 node
11 type: phandle-array
14 GPIO phandle and specifier for the pin connected to the
15 led-strip. Exactly one pin should be given.
/Zephyr-latest/drivers/led_strip/
DKconfig.ws28124 # SPDX-License-Identifier: Apache-2.0
8 # https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/
11 bool "WS2812 LED strip SPI driver"
16 Enable driver for WS2812 (and compatibles) LED strip using SPI.
21 bool "WS2812 LED strip I2S driver"
26 Enable driver for WS2812 (and compatibles) LED strip using I2S.
32 bool "WS2812 LED strip GPIO driver"
33 # Only an Cortex-M inline assembly implementation for the nRF91, nRF51,
40 Enable driver for WS2812 (and compatibles) LED strip directly
41 controlling with GPIO. The GPIO driver does bit-banging with inline
[all …]
/Zephyr-latest/samples/drivers/led/led_strip/boards/
Dbbc_microbit.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
8 #include <zephyr/dt-bindings/led/led.h>
11 led_strip: ws2812 {
12 compatible = "worldsemi,ws2812-gpio";
14 chain-length = <16>; /* arbitrary; change at will */
15 color-mapping = <LED_COLOR_ID_GREEN
23 led-strip = &led_strip;
Dnrf51dk_nrf51822.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
8 #include <zephyr/dt-bindings/led/led.h>
11 led_strip: ws2812 {
12 compatible = "worldsemi,ws2812-gpio";
14 chain-length = <16>; /* arbitrary */
15 color-mapping = <LED_COLOR_ID_GREEN
26 led-strip = &led_strip;
/Zephyr-latest/boards/adafruit/qt_py_rp2040/
Dadafruit_qt_py_rp2040.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "adafruit_qt_py_rp2040-pinctrl.dtsi"
14 #include <zephyr/dt-bindings/led/led.h>
20 zephyr,flash-controller = &ssi;
22 zephyr,shell-uart = &uart1;
23 zephyr,code-partition = &code_partition;
28 led-strip = &ws2812;
36 compatible = "fixed-partitions";
37 #address-cells = <1>;
[all …]
/Zephyr-latest/boards/seeed/xiao_rp2040/
Dxiao_rp2040.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "xiao_rp2040-pinctrl.dtsi"
14 #include <zephyr/dt-bindings/led/led.h>
15 #include <zephyr/dt-bindings/pwm/pwm.h>
21 zephyr,flash-controller = &ssi;
23 zephyr,shell-uart = &uart0;
24 zephyr,code-partition = &code_partition;
29 led-strip = &ws2812;
30 pwm-led0 = &pwm_led0;
[all …]
/Zephyr-latest/samples/drivers/led/led_strip/
DREADME.rst1 .. zephyr:code-sample:: led-strip
3 :relevant-api: led_strip_interface
17 - WS2812, such as the `NeoPixel(WS2812 compatible) LED Strip from AdaFruit`_.
18 - APA102, such as the `Dotstar(APA102 compatible) LED Strip from AdaFruit`_.
19 - LPD8806, such as the `LPD8806 LED Strip from AdaFruit`_.
21 - Power supply. These LED strips usually require a 5V supply.
23 - If the LED strip connects to the SPI bus, SPI communications usually use 5V
27 .. _NeoPixel(WS2812 compatible) LED Strip from AdaFruit: https://www.adafruit.com/product/3919
30 .. _74AHCT125 datasheet: https://cdn-shop.adafruit.com/datasheets/74AHC125.pdf
46 WS2812 section in Wiring
[all …]
/Zephyr-latest/boards/espressif/esp32c3_rust/
Desp32c3_rust.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "esp32c3_rust-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include <zephyr/dt-bindings/led/led.h>
16 model = "Espressif ESP32C3-RUST";
22 zephyr,shell-uart = &usb_serial;
24 zephyr,code-partition = &slot0_partition;
30 i2c-0 = &i2c0;
32 led-strip = &led_strip;
[all …]
/Zephyr-latest/boards/adafruit/qt_py_esp32s3/
Dadafruit_qt_py_esp32s3_procpu.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include <zephyr/dt-bindings/led/led.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include "adafruit_qt_py_esp32s3-pinctrl.dtsi"
19 compatible = "seeed,xiao-esp32s3";
24 zephyr,shell-uart = &usb_serial;
26 zephyr,code-partition = &slot0_partition;
27 zephyr,bt-hci = &esp32_bt_hci;
31 i2c-0 = &i2c0;
[all …]
/Zephyr-latest/tests/drivers/build_all/led_strip/
Dapp.overlay5 * SPDX-License-Identifier: Apache-2.0
10 * with real-world devicetree nodes, to allow these tests to run on
15 #include <zephyr/dt-bindings/led/led.h>
19 #address-cells = <1>;
20 #size-cells = <1>;
22 test_gpio: gpio@deadbeef {
23 compatible = "vnd,gpio";
24 gpio-controller;
26 #gpio-cells = <0x2>;
31 #address-cells = <1>;
[all …]
/Zephyr-latest/boards/m5stack/m5stack_atom_lite/
Dm5stack_atom_lite_procpu.dts6 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "m5stack_atom_lite-pinctrl.dtsi"
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 #include <zephyr/dt-bindings/led/led.h>
15 #include <zephyr/dt-bindings/led/worldsemi_ws2812c.h>
20 compatible = "m5stack,m5stack-atom-lite";
25 zephyr,shell-uart = &uart0;
27 zephyr,code-partition = &slot0_partition;
28 zephyr,bt-hci = &esp32_bt_hci;
[all …]
/Zephyr-latest/boards/m5stack/m5stack_atoms3_lite/
Dm5stack_atoms3_lite_procpu.dts5 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "m5stack_atoms3_lite-pinctrl.dtsi"
11 #include <dt-bindings/led/led.h>
12 #include <dt-bindings/led/worldsemi_ws2812c.h>
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
23 zephyr,shell-uart = &usb_serial;
25 zephyr,code-partition = &slot0_partition;
26 zephyr,bt-hci = &esp32_bt_hci;
32 i2c-0 = &i2c0;
[all …]
/Zephyr-latest/boards/actinius/icarus_som_dk/
Dactinius_icarus_som_dk_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
6 #include "actinius_icarus_som_dk_common-pinctrl.dtsi"
7 #include <dt-bindings/led/led.h>
8 #include <zephyr/dt-bindings/input/input-event-codes.h>
16 zephyr,shell-uart = &uart0;
17 zephyr,uart-mcumgr = &uart0;
21 compatible = "gpio-leds";
30 compatible = "pwm-leds";
39 compatible = "gpio-keys";
50 pwm-led0 = &blue_pwm_led;
[all …]
/Zephyr-latest/boards/vcc-gnd/yd_esp32/
Dyd_esp32_procpu.dts2 * SPDX-License-Identifier: Apache-2.0
4 /dts-v1/;
7 #include <zephyr/dt-bindings/led/led.h>
8 #include "yd_esp32-pinctrl.dtsi"
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 model = "VCC-GND Studio YD-ESP32 PROCPU";
17 uart-0 = &uart0;
18 i2c-0 = &i2c0;
21 led-strip = &rgb_led;
25 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/waveshare/rp2040_zero/doc/
Dindex.rst6 RP2040-Zero, A Low-Cost, High-Performance Pico-Like MCU Board Based On Raspberry Pi Microcontroller…
10 - RP2040 microcontroller chip designed by Raspberry Pi in the United Kingdom.
11 - Dual-core Arm Cortex M0+ processor, flexible clock running up to 133 MHz.
12 - 264KB of SRAM, and 2MB of on-board Flash memory.
13 - USB-C connector, keeps it up to date, easier to use.
14 - The castellated module allows soldering direct to carrier boards.
15 - USB 1.1 with device and host support.
16 - Low-power sleep and dormant modes.
17 - Drag-and-drop programming using mass storage over USB.
18 - 29 × multi-function GPIO pins (20× via edge pinout, others via solder points).
[all …]
/Zephyr-latest/boards/m5stack/m5stack_stamps3/
Dm5stack_stamps3_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "m5stack_stamps3-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/pwm/pwm.h>
12 #include <dt-bindings/led/led.h>
13 #include <dt-bindings/led/worldsemi_ws2812c.h>
14 #include <zephyr/dt-bindings/input/input-event-codes.h>
24 zephyr,shell-uart = &usb_serial;
26 zephyr,code-partition = &slot0_partition;
27 zephyr,bt-hci = &esp32_bt_hci;
[all …]
/Zephyr-latest/boards/seeed/xiao_rp2040/doc/
Dindex.rst7 It is equipped with an RP2040 SoC, an on-board WS2812 addressable
9 to be flashed without any adapter, in a drag-and-drop manner.
16 The Seeed Studio XIAO RP2040 is a low-power microcontroller that
17 carries the powerful Dual-core RP2040 processor with a flexible
19 on-board Flash memory.
21 There are 14 GPIO PINs on Seeed Studio XIAO RP2040, on which there
31 .. list-table::
32 :header-rows: 1
34 * - Peripheral
35 - Kconfig option
[all …]
/Zephyr-latest/boards/sparkfun/pro_micro_rp2040/doc/
Dindex.rst9 The SparkFun Pro Micro RP2040 is a small, low-cost, versatile board from
10 SparkFun. It is equipped with an RP2040 SoC, an on-board WS2812 addressable
12 to be flashed without any adapter, in a drag-and-drop manner.
16 - Dual core Arm Cortex-M0+ processor running up to 133MHz
17 - 264KB on-chip SRAM
18 - 16MB on-board QSPI flash with XIP capabilities
19 - 18 GPIO pins
20 - 4 Analog inputs
21 - 1 UART peripherals
22 - 1 SPI controllers
[all …]
/Zephyr-latest/boards/seagate/legend/
Dlegend.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/f0/stm32f070cbtx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/led/led.h>
11 #include <zephyr/dt-bindings/led/seagate_legend_b1414.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
17 zephyr,shell-uart = &usart1;
24 led-strip = &led_strip_spi;
27 board_id: brd-id {
28 compatible = "gpio-keys";
[all …]
/Zephyr-latest/tests/drivers/build_all/display/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
13 #include <zephyr/dt-bindings/led/led.h>
14 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
21 test_gpio: gpio@deadbeef {
22 compatible = "vnd,gpio";
23 gpio-controller;
25 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/boards/espressif/esp32c3_rust/doc/
Dindex.rst6 ESP32-C3-DevKit-RUST is based on the ESP32-C3, a single-core Wi-Fi and Bluetooth 5 (LE) microcontro…
7 based on the open-source RISC-V architecture. This special board also includes the ESP32-C3-MINI-1 …
8 a 6DoF IMU, a temperature and humidity sensor, a Li-Ion battery charger, and a Type-C USB. The boar…
10 For more information, check `ESP32-C3-DevKit-RUST`_.
17 - IEEE 802.11 b/g/n-compliant
18 - Bluetooth 5, Bluetooth mesh
19 - 32-bit RISC-V single-core processor, up to 160MHz
20 - 384 KB ROM
21 - 400 KB SRAM (16 KB for cache)
22 - 8 KB SRAM in RTC
[all …]
/Zephyr-latest/boards/seagate/legend/doc/
Dindex.rst12 devices. A 2.5" drive and two chips are embedded: an ASMedia ASM1153 USB-to-SATA
22 Hub and Gaming Drive Hub for Xbox devices. A Genesys Logic GL3523-S USB hub is
23 connected to an ASMedia ASM1153 USB-to-SATA bridge controller and a STM32F070
39 - STM32F070cb MCU:
41 - ARM Cortex-M0+
42 - 16KB SRAM
43 - 128KB on-chip flash
45 - External devices connected to the STM32F070cb MCU:
47 - ASMedia ASM1153 USB-to-SATA bridge (I2C master on port 1) (HDD only)
48 - 6 (hdd) or 4 (ssd) Everlight B1414 LEDs connected on SPI1 MOSI
[all …]

12