<?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 always run the CPU at full speed?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62462/how-to-always-run-the-cpu-at-full-speed</link><description>Hi, 
 
 I am developing a product using nRF52833 . (S113, SDK 16, IAR8) 
 I am developing based on the usbd_ble_uart sample. 
 I use ble, spi, twi, ppi, saadc. 
 and, I use external 32Mhz crystal and external 32.758kHz crystal 
 
 I don&amp;#39;t care about power</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 21 Jun 2020 23:30:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62462/how-to-always-run-the-cpu-at-full-speed" /><item><title>RE: How to always run the CPU at full speed?</title><link>https://devzone.nordicsemi.com/thread/256070?ContentTypeID=1</link><pubDate>Sun, 21 Jun 2020 23:30:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be526ec8-1125-4566-ac3c-b5ae910e3963</guid><dc:creator>jaeheung</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to always run the CPU at full speed?</title><link>https://devzone.nordicsemi.com/thread/255102?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 20:11:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35d4e151-9fd9-4f53-a799-c4624dc64c70</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It may very well be correct. It depends on what assembly-instructions that code is compiled into. The cycle count for each assembly instruction is given in the ARM Cortex-M4 documentation.&lt;/p&gt;
&lt;p&gt;Also, note that the HW peripherals run off a 16 MHz peripheral clock. See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/60241/gpio-config-propagation-delay/244876#244876"&gt;this post&lt;/a&gt; for more details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to always run the CPU at full speed?</title><link>https://devzone.nordicsemi.com/thread/255086?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 17:18:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5189168e-8752-44c8-bc5f-484b764725bc</guid><dc:creator>jaeheung</dc:creator><description>&lt;p&gt;Thanks..&lt;/p&gt;
&lt;p&gt;I did another test with respect to cpu speed.&lt;br /&gt;I tried running the code below using the saadc sample code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;---------------------------------------------&lt;/p&gt;
&lt;p&gt;while (1)&lt;br /&gt; {&lt;br /&gt;&amp;nbsp; &amp;nbsp;nrf_gpio_pin_clear(25);&lt;br /&gt;&amp;nbsp; &amp;nbsp;nrf_gpio_pin_set(25);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looking at the gpio output with an oscilloscope, a signal of about 1.3Mhz comes out.&lt;br /&gt;Is this correct?&lt;br /&gt;If the CPU is running at 64Mhz, isn&amp;#39;t it supposed to output gpio faster?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to always run the CPU at full speed?</title><link>https://devzone.nordicsemi.com/thread/254680?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 10:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00b5a309-f380-4942-be5a-dabd4dfdc205</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The CPU will always run at full speed (64 MHz) when it is active. Just avoid putting the CPU in sleep (__WFE(), sd_app_evt_wait(), etc) if you do not want wakeup times. It is not a lot to gain, &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/power.html#unique_466950704"&gt;device startup in constant latency mode is 3 us&lt;/a&gt;, but if current consumption is not an issue, there should be no problems leaving the CPU running.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>