Searched +full:ws2812 +full:- +full:spi (Results 1 – 25 of 39) sorted by relevance
12
/Zephyr-latest/dts/bindings/led_strip/ |
D | worldsemi,ws2812-spi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Worldsemi WS2812 LED strip, SPI binding 7 Driver bindings for controlling a WS2812 or compatible LED 8 strip with a SPI master. 10 The SPI driver should be usable as long as a zephyr SPI API driver 14 - spi-max-frequency 15 - spi-zero-frame 16 - spi-one-frame. 21 compatible: "worldsemi,ws2812-spi" 23 include: [spi-device.yaml, ws2812.yaml] [all …]
|
D | ws2812.yaml | 4 # 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 …]
|
/Zephyr-latest/samples/drivers/led/led_strip/boards/ |
D | esp32c3_devkitm.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 /* Workaround to support WS2812 driver */ 11 line-idle-low; 13 led_strip: ws2812@0 { 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <6400000>; 20 /* WS2812 */ [all …]
|
D | esp32s2_saola.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 /* Workaround to support WS2812 driver */ 11 line-idle-low; 13 led_strip: ws2812@0 { 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <6400000>; 20 /* WS2812 */ [all …]
|
D | esp32s3_devkitm_procpu.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 /* Workaround to support WS2812 driver */ 11 line-idle-low; 13 led_strip: ws2812@0 { 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <6400000>; 20 /* WS2812 */ [all …]
|
D | nucleo_g071rb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 led_strip: ws2812@0 { 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <4000000>; 16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 18 /* WS2812 */ 19 chain-length = <16>; /* arbitrary; change at will */ [all …]
|
D | nucleo_h743zi.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 led_strip: ws2812@0 { 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <DT_FREQ_M(4)>; 16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 18 /* WS2812 */ 19 chain-length = <16>; /* arbitrary; change at will */ [all …]
|
D | nucleo_l476rg.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 led_strip: ws2812@0 { 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <4000000>; 16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 18 /* WS2812 */ 19 chain-length = <16>; /* arbitrary; change at will */ [all …]
|
D | mimxrt1050_evk_mimxrt1052_hyperflash.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 led_strip: ws2812@0 { 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <6400000>; 17 /* WS2812 */ 18 chain-length = <2>; /* arbitrary; change at will */ 19 spi-cpha; [all …]
|
D | mimxrt1050_evk_qspi.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 10 led_strip: ws2812@0 { 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <6400000>; 17 /* WS2812 */ 18 chain-length = <2>; /* arbitrary; change at will */ 19 spi-cpha; [all …]
|
D | nrf52dk_nrf52832.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 9 #include "../nrf52-bindings.h" 12 compatible = "nordic,nrf-spim"; 13 led_strip: ws2812@0 { 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <SPI_FREQ>; 20 /* WS2812 */ [all …]
|
D | nucleo_f070rb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 9 #include "../f070rb-bindings.h" 14 dma-names = "tx", "rx"; 17 compatible = "everlight,b1414", "worldsemi,ws2812-spi"; 19 /* SPI */ 20 reg = <0>; /* ignored, but necessary for SPI bindings */ 21 spi-max-frequency = <B1414_SPI_FREQ>; 22 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 25 chain-length = <18>; /* arbitrary; change at will */ [all …]
|
/Zephyr-latest/samples/drivers/led/led_strip/ |
D | README.rst | 1 .. 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 40 #. Connect the MOSI pin of your board's SPI master to the data input [all …]
|
/Zephyr-latest/drivers/led_strip/ |
D | Kconfig.ws2812 | 4 # 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" 14 select SPI if $(dt_compat_on_bus,$(DT_COMPAT_WORLDSEMI_WS2812_SPI),spi) 16 Enable driver for WS2812 (and compatibles) LED strip using SPI. 17 The SPI driver is portable, but requires significantly more 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, [all …]
|
/Zephyr-latest/boards/espressif/esp32c3_rust/ |
D | esp32c3_rust.dts | 4 * 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/ |
D | adafruit_qt_py_esp32s3_procpu.dts | 5 * 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/ |
D | app.overlay | 5 * 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>; 24 gpio-controller; 26 #gpio-cells = <0x2>; 30 test_spi: spi@33334444 { 31 #address-cells = <1>; 32 #size-cells = <0>; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_atoms3_lite/ |
D | m5stack_atoms3_lite_procpu.dts | 5 * 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/vcc-gnd/yd_esp32/ |
D | yd_esp32_procpu.dts | 2 * 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/m5stack/m5stack_atom_lite/ |
D | m5stack_atom_lite_procpu.dts | 6 * 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/actinius/icarus_som_dk/ |
D | actinius_icarus_som_dk_common.dtsi | 4 * 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/m5stack/m5stack_stamps3/ |
D | m5stack_stamps3_procpu.dts | 4 * 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/waveshare/rp2040_zero/doc/ |
D | index.rst | 6 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/seeed/xiao_rp2040/doc/ |
D | index.rst | 7 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. 23 1 UART interface, 1 SPI interface, 1 SWD Bonding pad interface. 31 .. list-table:: 32 :header-rows: 1 34 * - Peripheral 35 - Kconfig option [all …]
|
/Zephyr-latest/boards/seagate/legend/ |
D | legend.dts | 4 * 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 …]
|
12