CONFIG_WS2812_STRIP_SPI_BAUD_RATE

Baud rate to use to drive LED strip

Type: int

Help

SPI clock rate, in Hz, to use while driving the strip. The baud rate must be chosen carefully together with the WS2812_STRIP_SPI_ONE_FRAME and WS2812_STRIP_SPI_ZERO_FRAME values so that the transmitted frames meet the chipset pulse widths for one and zero bits. If unsure, keep the default, but enable SPI debug logging for your device and make sure the configuration is matched exactly at runtime.

Direct dependencies

WS2812_STRIP && LED_STRIP

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/led_strip/Kconfig.ws2812:42

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:76drivers/led_strip/Kconfig:46

Menu path: (top menu) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver

config WS2812_STRIP_SPI_BAUD_RATE
    int
    prompt "Baud rate to use to drive LED strip" if WS2812_STRIP && LED_STRIP
    default 5250000 if WS2812_STRIP && LED_STRIP
    depends on WS2812_STRIP && LED_STRIP
    help
      SPI clock rate, in Hz, to use while driving the strip.
      The baud rate must be chosen carefully together with the
      WS2812_STRIP_SPI_ONE_FRAME and WS2812_STRIP_SPI_ZERO_FRAME
      values so that the transmitted frames meet the chipset
      pulse widths for one and zero bits. If unsure, keep the default,
      but enable SPI debug logging for your device and make sure the
      configuration is matched exactly at runtime.

(Definitions include propagated dependencies, including from if’s and menus.)