<?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>PRESCALAR register in nRF52840 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66511/prescalar-register-in-nrf52840-dk</link><description>A newbie here. I am studying the simple_timer application in the nRF5_SDK_17.0.0_9d13099 library. 
 The sample application sets the clock frequency to the timer at 16MHz. This is done by writing to the PRESCALAR register as can be seen in nrf_timer.h</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Sep 2020 08:39:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66511/prescalar-register-in-nrf52840-dk" /><item><title>RE: PRESCALAR register in nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/272201?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 08:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de08de8a-fc08-46fc-ad61-763cbf91c681</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;1)&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/timer.html?cp=4_0_0_5_29"&gt;TIMER — Timer/counter&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;2)Also found in&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/timer.html?cp=4_0_0_5_29"&gt;TIMER — Timer/counter&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PRESCALAR register in nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/272200?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 08:29:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d63fbd1-c48c-4f45-89ad-a2ec24376fd6</guid><dc:creator>Himanshu</dc:creator><description>&lt;p&gt;Dear Haakonsh,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. However it is only the part reply to the information I am looking for.&lt;/p&gt;
&lt;p&gt;1) It seems that PRESCALAR registers also selects the frequency clock to the timer; Am I right in assuming this. If yes then where can I find this information in the product specification document.&lt;/p&gt;
&lt;p&gt;2) If PRESCALAR register only sets the prescalar and not the clock frequency, can you please tell me how is a clock source selected for a given timer.&lt;/p&gt;
&lt;p&gt;I get a feeling that nRF52840_PS_v1.1.pdf document is build upon another document. ( Just get a feeling there is more to it). Can you please dispel my doubts?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PRESCALAR register in nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/272185?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 07:28:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1ca72d7-8087-415c-b9ba-7dc35e84d0f4</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;A prescaler is usually a cascaded division by 2, where the prescaler value is the number of times the original clock frequency has been divided by 2.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Prescaled frequency = Original frequency / 2^PRESCALER&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>