-
CONFIG_WS2812_STRIP_ZERO_FRAME
¶
SPI frame to shift out to signal a zero bit
Type: hex
Help¶
When shifted out at the configured clock frequency, this must generate a pulse whose width fits within the chipset specifications for T0H, and whose interpulse timing meets low times. It is recommended that the first and last bits in the frame be zero; this “encourages” SPI IPs to leave MOSI low between frames.
Defaults¶
0x60 if
SOC_SERIES_STM32F4X
0x40 if
SOC_FAMILY_NRF
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:43
Included via Kconfig:8
→ Kconfig.zephyr:40
→ drivers/Kconfig:68
→ drivers/led_strip/Kconfig:32
Menu path: (Top) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver
config WS2812_STRIP_ZERO_FRAME hex "SPI frame to shift out to signal a zero bit" default 0x60 ifSOC_SERIES_STM32F4X
default 0x40 ifSOC_FAMILY_NRF
depends onWS2812_STRIP
&&LED_STRIP
help When shifted out at the configured clock frequency, this must generate a pulse whose width fits within the chipset specifications for T0H, and whose interpulse timing meets low times. It is recommended that the first and last bits in the frame be zero; this "encourages" SPI IPs to leave MOSI low between frames.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)