<?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>Problem in using both clock source (High frequency and low frequency).</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65831/problem-in-using-both-clock-source-high-frequency-and-low-frequency</link><description>Hello , 
 I am having nrf52832 custom board. 
 In my project i need to use both CLOCK source ( Low frequency clock and High frequency clock source ). 
 Timer running on high frequency but when i call below function then it&amp;#39;s reflect fatal error. 
 so</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 12 Sep 2020 13:31:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65831/problem-in-using-both-clock-source-high-frequency-and-low-frequency" /><item><title>RE: Problem in using both clock source (High frequency and low frequency).</title><link>https://devzone.nordicsemi.com/thread/269244?ContentTypeID=1</link><pubDate>Sat, 12 Sep 2020 13:31:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e541d900-061e-4010-ba8a-0f8d06d7e992</guid><dc:creator>vivek machchhar</dc:creator><description>&lt;p&gt;Hello karl,&lt;/p&gt;
&lt;p&gt;Yes, by mistake i was again&amp;nbsp;&lt;span&gt;initialized clock.&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f605.svg" title="Sweat smile"&gt;&amp;#x1f605;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you for your reply now problem solved.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f600.svg" title="Grinning"&gt;&amp;#x1f600;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;vivek machchhar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem in using both clock source (High frequency and low frequency).</title><link>https://devzone.nordicsemi.com/thread/269207?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 14:37:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c33aea1-22b5-41ab-ae12-8c10ebd39023</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Vivek Machchhar,&lt;/p&gt;
[quote user="vivek machchhar"]In debugging&amp;nbsp; i find ERROR code 133 that is&amp;nbsp;&amp;nbsp;NRF_ERROR_MODULE_ALREADY_INITIALIZED from function &lt;strong&gt;&lt;em&gt;nrf_drv_clock_init();&lt;/em&gt;&lt;/strong&gt;.[/quote]
&lt;p&gt;This tells us that the clock module is already initialized.&amp;nbsp;&lt;br /&gt;Alternatively you can use the &lt;em&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v13.0.0%2Fgroup__nrf__drv__clock.html&amp;amp;anchor=ga90b8984f787061fe3d9cbc67374f7548"&gt;nrf_drv_clock_init_check&lt;/a&gt;&lt;/em&gt; function to check whether the module is already initialized.&amp;nbsp;&lt;/p&gt;
[quote user="vivek machchhar"]but in previews don&amp;#39;t use low frequency clock. so, why i facing this error.[/quote]
&lt;p&gt;What do you mean by &amp;quot;in previews dont use low frequency clock&amp;quot;?&lt;br /&gt;This error comes from the clock module already being initialized. I am guessing that you are already doing this elsewhere in your project.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem in using both clock source (High frequency and low frequency).</title><link>https://devzone.nordicsemi.com/thread/269180?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c00d20d2-c7c7-43ba-b136-2f687b4bd6fa</guid><dc:creator>vivek machchhar</dc:creator><description>&lt;p&gt;Hello karl,&lt;/p&gt;
&lt;p&gt;In debugging&amp;nbsp; i find ERROR code 133 that is&amp;nbsp;&amp;nbsp;NRF_ERROR_MODULE_ALREADY_INITIALIZED from function &lt;strong&gt;&lt;em&gt;nrf_drv_clock_init();&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;but in previews don&amp;#39;t use low frequency clock. so, why i facing this error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;vivek machchhar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem in using both clock source (High frequency and low frequency).</title><link>https://devzone.nordicsemi.com/thread/269160?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 12:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:797a580f-5152-4c11-ab73-21a2aa86ad1b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Vivek Machchhar,&lt;/p&gt;
[quote user=""]Timer running on high frequency but when i call below function then it&amp;#39;s reflect fatal error.&amp;nbsp;[/quote]
&lt;p&gt;Could you verify that you have DEBUG defined in your preprocessor defines?&lt;br /&gt;It should look like the included image:&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-7fe3077e0f8a4c4da91f3cc3d83c4a25/enabling_5F00_debug_5F00_SES.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Having DEBUG defined will provide a more complete error message, and which function that caused it.&lt;br /&gt;Please run the program again with this defined, and let me know which error was generated and from what function it was returned.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>