<?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>S140 initialisation errors on nRF52840 if RTC2 interrupt enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23592/s140-initialisation-errors-on-nrf52840-if-rtc2-interrupt-enabled</link><description>I&amp;#39;m testing a custom application with the following configuration: 
 
 Custom app based on the ble_app_pwr_profiling SDK example. 
 Using SDK 13.1 
 S140 SoftDevice s140_nrf52840_5.0.0-2.alpha_softdevice.hex 
 PCA10056 development board, nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jul 2017 23:20:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23592/s140-initialisation-errors-on-nrf52840-if-rtc2-interrupt-enabled" /><item><title>RE: S140 initialisation errors on nRF52840 if RTC2 interrupt enabled</title><link>https://devzone.nordicsemi.com/thread/92703?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 23:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22c4ee7f-9343-4e5f-a3a3-7bd0d328761a</guid><dc:creator>Austin</dc:creator><description>&lt;p&gt;This behaviour is a result of not correctly initialising the RTC2 interrupt priority.  The S140 SoftDevice does not have a dependency on RTC2.&lt;/p&gt;
&lt;p&gt;For the nRF52 S140 SoftDevice, interrupt priorities 0, 1, 4 and 5 are reserved for use by the SoftDevice.  The SoftDevice expects that no other peripheral uses these reserved interrupt priorities and validates this on startup, even for peripherals which it doesn&amp;#39;t use such as RTC2.  If there are any enabled interrupts with a reserved priority configured, the NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATION error will be returned.&lt;/p&gt;
&lt;p&gt;Assuming the correct values have been set in &lt;code&gt;sdk_config.h&lt;/code&gt;, the following snippet will correctly initialise an RTC component.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf_drv_rtc_config_t rtc_config = NRF_DRV_RTC_DEFAULT_CONFIG;
err_code = nrf_drv_rtc_init(&amp;amp;rtc, &amp;amp;rtc_config, rtc_handler);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S140 initialisation errors on nRF52840 if RTC2 interrupt enabled</title><link>https://devzone.nordicsemi.com/thread/92702?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2017 11:04:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f494ea2e-a7ef-4d2c-9464-35ef3174e07d</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Check this one for External RTC : &lt;a href="https://www.youtube.com/watch?v=imxGjb4xsKQ"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>