-
Couldn't load subscription status.
- Fork 8.1k
Description
Describe the bug
A clear and concise description of what the bug is.
WS2812 driver not work on nRF52833DK
Please also mention any information which could help others to understand
the problem you're facing:
- What target platform are you using?
nRF52833DK
- What have you tried to diagnose or workaround this issue?
Try build 52832 sample code to drive ws2812, and it work.
west build -b nrf52dk_nrf52832 zephyr/samples/drivers/led_ws2812/ --pristine
west flash
Add following line to drivers/spi/spi_nrfx_spim.c
#define CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58 1
To Reproduce
Steps to reproduce the behavior:
1.Cd samples/drivers/led_ws2812/boards
2. Copy nrf52dk_nrf52832.conf and nrf52dk_nrf52832.overlay
3. Paste to same path samples/drivers/led_ws2812/boards , and rename to nrf52833dk_nrf52833.conf and nrf52833dk_nrf52833.overlay
4. $ west build -b nrf52833dk_nrf52833 zephyr/samples/drivers/led_ws2812/ --pristine
5. $ west flash, then ws2812 show wrong color.
Expected behavior
WS2812 keep R G B color cycle.
Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Logs and console output
Environment (please complete the following information):
- OS: 5.14.0-1011-oem Bluetooth: controller: PHY Update Procedure #11-Ubuntu
- Toolchain Zephyr SDK zephyr-sdk-0.14.1
- Commit SHA or Version used
Additional context
Add any other context that could be relevant to your issue, such as pin setting,
target configuration, ...