-
CONFIG_WS2812_STRIP_ONE_FRAME
¶
SPI frame to shift out to signal a one 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 T1H, 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¶
- 0x7c if
SOC_SERIES_STM32F4X
&&WS2812_STRIP
&&LED_STRIP
- 0x70 if
SOC_FAMILY_NRF
&&WS2812_STRIP
&&LED_STRIP
Kconfig definition¶
At drivers/led_strip/Kconfig.ws2812:34
Included via Kconfig:10
→ Kconfig.zephyr:35
→ drivers/Kconfig:74
→ drivers/led_strip/Kconfig:35
Menu path: (top menu) → Device Drivers → LED strip drivers → Enable WS2812 (and compatible) LED strip driver
config WS2812_STRIP_ONE_FRAME hex prompt "SPI frame to shift out to signal a one bit" ifWS2812_STRIP
&&LED_STRIP
default 0x7c ifSOC_SERIES_STM32F4X
&&WS2812_STRIP
&&LED_STRIP
default 0x70 ifSOC_FAMILY_NRF
&&WS2812_STRIP
&&LED_STRIP
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 T1H, 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.
(Definitions include propagated dependencies, including from if’s and menus.)