<?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>Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92687/programming-a-nrf52810-bl651-module-using-nrf-connect-for-vscode-and-nrf52-dk</link><description>Hi, I&amp;#39;m using the nRF52-DK to program a BL651 Module (nRF52810). To confirm things work as intended I&amp;#39;m starting with the blinky sample. I&amp;#39;ve set up an emulated project by selecting &amp;quot;nrf52dk_nrf52810&amp;quot; as a board. The blinky sample works exactly as expected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Oct 2022 18:16:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92687/programming-a-nrf52810-bl651-module-using-nrf-connect-for-vscode-and-nrf52-dk" /><item><title>RE: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/391957?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 18:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9eb3a9f8-1624-41f7-ab19-e4dba58e9e38</guid><dc:creator>mmdunc</dc:creator><description>&lt;p&gt;I found the issue! It turns out it&amp;#39;s simply because the BL651 doesn&amp;#39;t have the built in 32kHz clock that the nRF52-DK has. The LED blinks at the expected rate if I simply include&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/pre&gt;&amp;nbsp;In the .conf file of my project. &lt;br /&gt;&lt;br /&gt;In hindsight this should&amp;#39;ve been obvious!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/390815?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2022 13:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27a029e5-71b4-49f9-a838-6d3e16b55715</guid><dc:creator>mmdunc</dc:creator><description>[quote userid="73165" url="~/f/nordic-q-a/92687/programming-a-nrf52810-bl651-module-using-nrf-connect-for-vscode-and-nrf52-dk/390012"] If you&amp;#39;re using nRF Connect SDK then you need to make a DTS file for your custom board. You can use the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/boards/arm/nrf52dk_nrf52810"&gt;nrf52dk_nrf52810 &lt;/a&gt;board as a starting point.&amp;nbsp;[/quote]
&lt;p&gt;Another update on this front, I confirmed with BL651 manufacturer that the module is functionally identical to the bare nRF52810 in terms of programming, and that the nrf52dk_nrf52810 board should be fine to use as is to program the chip. I think it&amp;#39;s therefore unlikely the cause of the slower blinking LED is related to an incorrect .dts file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/390689?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 14:24:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b4dab6-77ec-412f-879a-2447c965cd26</guid><dc:creator>mmdunc</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="c-mrkdwn__br" data-stringify-type="paragraph-break"&gt;&lt;/span&gt;&lt;span&gt;I changed the pin to #17 and could observe the exact same behavior: with 1000ms setting between toggles, the LED actually toggles every 32ish seconds. I was able to verify with an oscilloscope that this is just the pin turning toggling once every 32 seconds (no PWM going on here). By extension, if I lower the time between toggles to 32ms, the LED now turns on/off about every second. Either way, there seems to be this factor of ~30 introduced in the blinking time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="c-mrkdwn__br" data-stringify-type="paragraph-break"&gt;&lt;/span&gt;&lt;span&gt;Something that intrigues me is that the &amp;quot;DEVELOP_IN_NRF52832&amp;quot; flag comes up as an intellisense suggestion in nRF connect Vscode, but unfortunately the &amp;quot;right click -&amp;gt; go to definition&amp;quot; doesn&amp;#39;t bring me anywhere.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Similarly, &amp;quot;NRFX_COREDEP_DELAY_US_LOOP_CYCLES&amp;quot; also comes up as an intellisense suggestion, and using &amp;quot;right click -&amp;gt; go to definition&amp;quot; brings me to &amp;quot;v2.1.0\modules\hal\nordic\nrfx\soc\nrfx_coredep.h&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="c-mrkdwn__br" data-stringify-type="paragraph-break"&gt;&lt;/span&gt;&lt;span&gt;I guess I&amp;#39;m wondering what exactly did these flags do in the nRF52 SDK, and is there not an equivalent that needs to be done in nRF connect SDK to get the emulated project to run on native nRF52810?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/390585?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 09:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:014e0d49-e901-4862-a204-f44e30588b9c</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see how that would result in a lower blinking frequency. Have you tried measuring directly on the pin? Do you have a logical analyzer or a oscilloscope that you can use to verify that the LED is actually blinking slower? Do you see the same if you change the pin to for example pin 10?&amp;nbsp;&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: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/390303?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 14:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6917cb92-c354-461a-9e9f-1cac8a63b028</guid><dc:creator>mmdunc</dc:creator><description>&lt;p&gt;The firmware is nearly identical, I just change led0 GPIO pin from the default (17) on nRF52832 (nRF-dk) to pin #14 on nRF52810 using a board overlay file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;led0{
    gpios = &amp;lt; &amp;amp;gpio0 14 GPIO_ACTIVE_HIGH &amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/390279?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 13:30:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b8f022a-a01d-420a-bcc2-b45e50126da4</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="mmdunc"]I&amp;#39;ll look into making / getting a proper DTS file for my board and report back if that solves the slower LED blinking issue.[/quote]
&lt;p&gt;Ok, but to be honest I find it a bit surprising that the same fw would result in slower LED blinking on the nRF52810. Have you double checked that the fw is the same?&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: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/390261?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 12:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6153ffa0-434e-40de-b6b2-c13ae39c532f</guid><dc:creator>mmdunc</dc:creator><description>&lt;p&gt;Hi Jared,&lt;br /&gt;&lt;br /&gt;I think you&amp;#39;re absolutely right, this link was&amp;nbsp;for the nRF5SDK, not nRF Connect SDK:&lt;br /&gt;&lt;a class="c-link" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf52810_user_guide.html" rel="noopener noreferrer" target="_blank" data-stringify-link="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf52810_user_guide.html" data-sk="tooltip_parent" data-remove-tab-index="true"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf52810_user_guide.html&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;I&amp;#39;ll look into making / getting a proper DTS file for my board and report back if that solves the slower LED blinking issue.&lt;br /&gt;&lt;br /&gt;Thanks for your help!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk</title><link>https://devzone.nordicsemi.com/thread/390012?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 12:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb077958-5db9-4223-b947-d205364b8b1a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
[quote user=""]After some more digging, I found on the info center under &amp;quot;&lt;span&gt;Developing for nRF52810&amp;quot;&lt;/span&gt; that I need to do a few things to transfer this emulated project to run on an nRF52810. The page states:&amp;nbsp;&lt;br /&gt;[/quote]
&lt;p&gt;Where exactly did you read this, can you provide a link? It looks like you&amp;#39;re mixing between nRF5SDK and nRF Connect SDK. The compile flags you&amp;#39;re referring too is most likely only relevant if you use nRF5SDK. If you&amp;#39;re using nRF Connect SDK then you need to make a DTS file for your custom board. You can use the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/boards/arm/nrf52dk_nrf52810"&gt;nrf52dk_nrf52810 &lt;/a&gt;board as a starting point.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>