<?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>Xiao BLE - WS2812 with Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104306/xiao-ble---ws2812-with-zephyr</link><description>!!!Update!!! 
 The overlay file is working now. SPI2 needs to be used, with the MISO and SCK pin defined (even though they are unused). 
 
 
 Hi, 
 
 After successfully setting up zephyr and running the blinky example on the Seeed XIAO BLE nRF52840 Sense</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Oct 2023 14:40:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104306/xiao-ble---ws2812-with-zephyr" /><item><title>RE: Xiao BLE - WS2812 with Zephyr</title><link>https://devzone.nordicsemi.com/thread/448861?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 14:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aeda080-641d-423b-ba5b-7d8689e8be08</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m happy that it helped!&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE - WS2812 with Zephyr</title><link>https://devzone.nordicsemi.com/thread/448810?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 11:39:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a2703f3-7161-4428-9b04-a0a96114107a</guid><dc:creator>wm2</dc:creator><description>&lt;p&gt;Until now I only worked with zephyr and the cli, thanks so much for the tip with VSCode and the Devicetree GUI, there P0.20 is mapped to QSPI IO0 and only SPI2 is listed. Using SPI2, the overlay is now working as intended.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE - WS2812 with Zephyr</title><link>https://devzone.nordicsemi.com/thread/448678?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 14:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:290e5560-8386-4b5a-a06a-c27b2d974845</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you open up the project and build in the vs code and open up the Devicetree GUI, is the SPI pins mapped as you expected?&lt;/p&gt;
[quote user="wm2"]If I am not mistaken, this seeed xiao nrf52840 has a 32 kHz crystal and a 32 MHz crystal.[/quote]
&lt;p&gt;Could you do a quick test and try to flash a BLE sample such as the&lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/beacon/README.html"&gt; beacon example&lt;/a&gt; and see if you can see the device advertising? That would at least indicate whether the board has the onboard crystal or not,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE - WS2812 with Zephyr</title><link>https://devzone.nordicsemi.com/thread/448586?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 02:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef52169d-b400-486f-8a25-eef6f3c6ae99</guid><dc:creator>wm2</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;In the zephyr/boards subfolder I found the right SPI3 configuration, I just updated this in the above code. There is nothing on SCK, only on MOSI. If the board is attached to the power source and the ws2812 disconnected and reconnected to the MOSI pin, one of 12 LEDs is turned on and stays on. The colour depends on the timing of the reconnect, for example white or green, once turned on the colour does not change. If the power source is disconnected and reconnected, the LED remains off.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I am not mistaken, this seeed xiao nrf52840 has a 32 kHz crystal and a 32 MHz crystal.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards, Scott&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Xiao BLE - WS2812 with Zephyr</title><link>https://devzone.nordicsemi.com/thread/448468?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 09:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d5ce542-4f71-47db-bba4-232afb51808b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Unfortunately nothing seems to be happening[/quote]
&lt;p&gt;If you measure on the SPI lines, do you see any clock signal on SCLK? Does the board have an external low frequency crystal?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>