<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126831/how-to-control-ws2812b-leds-on-nrf54-via-spi</link><description>Hi, 
 I&amp;#39;m using nrf Connect SDK 3.1.0 and want to control three WS2812B LEDs with the LED strip driver. Therefore, I created the devicetree entry similar to the sample: 
 
 The MOSI pin is defined here: 
 
 When using led_strip_update_rgb(led_strip, pixels</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Feb 2026 10:42:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126831/how-to-control-ws2812b-leds-on-nrf54-via-spi" /><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560420?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 10:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b655b34f-e3b9-4c2e-b7f2-19fcb792f16c</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for the verification. I soldered the LED pin to another GPIO&amp;nbsp;and now the LEDs are working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560410?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 10:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5539d6e-d7ac-47fa-8ed9-44ce3e480d39</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You&amp;#39;re absolutely right Christian. The pins on P2 have some dedicated uses, where only P2.02 and P2.08 can be assigned as SDO lines for SPI00, while P2.04 is an SDI only for the SPI peripheral. I apologize for missing that in my initial replies, but on P2 you are indeed somewhat restricted to what peripherals can use the pins for.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560396?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 06:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adf904d3-115d-4235-b8e2-255c4f9e2c0e</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just checked the&amp;nbsp;&lt;a href="https://pinplanner.app/"&gt;pinplanner&lt;/a&gt;&amp;nbsp;for the NRF54L15 QFN-48 and saw, that I can just assign P2.02 and P2.08 to the SDO line of SPI00.&amp;nbsp;If that is true, then it should be clear, why there is no SPI output on P2.04, right?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560353?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 14:19:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f50f55e-29c2-4835-b0a5-12752c5c8c63</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;it&amp;#39;s configured as you can see in the initial post, except that the clock pin is configured to an unused pin at the moment.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;spi00_default: spi00_default {
        group1 {
                psels = &amp;lt;NRF_PSEL_DISCONNECTED(SPIM_MISO)&amp;gt;,
					&amp;lt;NRF_PSEL(SPIM_MOSI, 2, 4)&amp;gt;,
					&amp;lt;NRF_PSEL(SPIM_SCK, 2, 1)&amp;gt;;
        };
	};

    spi00_sleep: spi00_sleep {
        group1 {
                psels = &amp;lt;NRF_PSEL(SPIM_SCK, 2, 1)&amp;gt;,
					&amp;lt;NRF_PSEL(SPIM_MOSI, 2, 4)&amp;gt;,
					&amp;lt;NRF_PSEL_DISCONNECTED(SPIM_MISO)&amp;gt;;
                        low-power-enable;
        };
	};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The method&amp;nbsp;&lt;span&gt;device_is_ready&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;led_strip&lt;/span&gt;&lt;span&gt;) returns true.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I just testet the spi without the led_strip driver and the result was the same. The output pin doesn&amp;#39;t shows any data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also checked the zephyr.dts file and I couldn&amp;#39;t see a duplicate mapping of the pin.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have any suggestions what to check next?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560333?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 12:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd3fb3f-47c9-4837-82a0-a7723f1568f1</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Triple check that its not mapped elsewhere in the DTS - which you can check in the build/zephyr (sub)folder. It may have pulled something in you were not aware of.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560326?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 11:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fd250ac-6997-44e3-865f-2e2f9f63a48c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you share how the SPI is set up in the devicetree now? Please follow how our&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/boards/nordic/spis_wakeup/README.html#spis-wakeup"&gt; SPI samples&lt;/a&gt; have the SPI set up in the devicetree.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560235?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 13:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56f724fa-e6d0-4d93-a43f-826fb4810c02</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using a custom board, where only P2.04 is connected to the LED DI interface.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560232?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 13:28:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fea5231a-5ba0-4dd9-b876-5b87d4160d57</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Pins P2.00-P2.05 are by default connected to the external memory interface on the nRF54L15 DK, so in order to configure these to output onto the P2 header you need to open the nRF Connect for Desktop &lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-board-configurator/page/index.html"&gt;Board Configurator app&lt;/a&gt;&amp;nbsp;to disable the external memory routing to these pins so that they go to the P2 header instead.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560221?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 11:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a097e8d4-96e7-4c98-bc39-846726175595</guid><dc:creator>ilockit_CFR</dc:creator><description>&lt;p&gt;I tried to connect SCK to pin 12 (2.01) with no other result. There&amp;#39;s also no clock signal at that pin visible. Seems that the SPI is not running properly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control WS2812B LEDs on nrf54 via SPI?</title><link>https://devzone.nordicsemi.com/thread/560214?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 11:05:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7394cf6f-b0c6-48ab-8800-0c6fcedcce8d</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Search this forum: SPIM won&amp;#39;t work with SCK disconnected. We had this problem a little while ago.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>