<?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>Title: LED Blinking on Custom nRF52840 Board but Not at Given Intervals</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118759/title-led-blinking-on-custom-nrf52840-board-but-not-at-given-intervals</link><description>Body: 
 Hello, 
 I have designed a custom board using the nRF52840 and flashed a simple LED blinking code. The LED does blink, but not according to the specified time intervals in the code. Instead, it blinks at an unexpected rate. 
 Here are some details</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Feb 2025 09:06:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118759/title-led-blinking-on-custom-nrf52840-board-but-not-at-given-intervals" /><item><title>RE: Title: LED Blinking on Custom nRF52840 Board but Not at Given Intervals</title><link>https://devzone.nordicsemi.com/thread/522370?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 09:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4c41906-1d2f-45d4-a4b8-c3cb4de5507f</guid><dc:creator>Priyanka</dc:creator><description>[quote user="PriyankaKesav"]&lt;blockquote&gt;&lt;div&gt;Usha said:&lt;/div&gt;&lt;div&gt;we can connect external crystal to custom board ?&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;
&lt;p&gt;Yes of course. You can use an external crystal as the clock source.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4341.pastedimage1739258487713v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As Jakob mentioned in the previous comment, please go through the Clock control documentation. Also, please make sure you schematic is following the Nordic reference designs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Moreover, as mentioned in the previous comment, please try to&amp;nbsp;run your firmware on a nRF52840DK and see if the issue persists. If so, then it should be a firmware issue, else it&amp;#39;s a problem with the clock configuration.&lt;/p&gt;[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Title: LED Blinking on Custom nRF52840 Board but Not at Given Intervals</title><link>https://devzone.nordicsemi.com/thread/522365?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 08:51:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e799100-3fd8-4a5d-ad7a-eaa11253c1ca</guid><dc:creator>Usha</dc:creator><description>&lt;p&gt;SDK version:2.5.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Title: LED Blinking on Custom nRF52840 Board but Not at Given Intervals</title><link>https://devzone.nordicsemi.com/thread/522344?ContentTypeID=1</link><pubDate>Tue, 11 Feb 2025 07:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8efda2a5-0204-4ee2-8317-31bdf4059774</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Usha,&lt;/p&gt;
[quote user=""]&lt;strong&gt;SDK Version:&lt;/strong&gt; [Specify your SDK version][/quote]
&lt;p&gt;Please specify the SDK version that you are using.&lt;/p&gt;
[quote user="Usha"]we can connect external crystal to custom board ?[/quote]
&lt;p&gt;Yes of course. You can use an external crystal as the clock source.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739258487713v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As Jakob mentioned in the previous comment, please go through the Clock control documentation. Also, please make sure you schematic is following the Nordic reference designs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Moreover, as mentioned in the previous comment, please try to&amp;nbsp;run your firmware on a nRF52840DK and see if the issue persists. If so, then it should be a firmware issue, else it&amp;#39;s a problem with the clock configuration.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Title: LED Blinking on Custom nRF52840 Board but Not at Given Intervals</title><link>https://devzone.nordicsemi.com/thread/522121?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 04:41:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a340577-10de-4b4f-aa36-460ac1aa8bed</guid><dc:creator>Usha</dc:creator><description>&lt;p&gt;we can connect external crystal to custom board ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Title: LED Blinking on Custom nRF52840 Board but Not at Given Intervals</title><link>https://devzone.nordicsemi.com/thread/522097?ContentTypeID=1</link><pubDate>Sun, 09 Feb 2025 08:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcb6285e-af31-48fb-8652-769dd8dd736e</guid><dc:creator>Jakob Ruhe</dc:creator><description>[quote userid="138113" url="~/f/nordic-q-a/118759/title-led-blinking-on-custom-nrf52840-board-but-not-at-given-intervals"]The LED does blink, but not according to the specified time intervals in the code. Instead, it blinks at an unexpected rate.[/quote]
&lt;p&gt;It indeed sounds like the code assumes that the MCU has another clock&amp;nbsp;configuration as input than what it actually has on your custom board. It is hard to guess without seeing the code or the schematic. You can read about clocks here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/clock.html"&gt;CLOCK - Clock control&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Perhaps test your&amp;nbsp;blinking LED application also on a nRF52840-DK or similar to ensure that it works there as intended there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>