<?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 use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22914/how-to-use-51822-rtc-on-softdevice</link><description>Hi,I use the SDK 12.2.0, I want to add the peripheral RTC example to the ble_app_uart.I find the softdevice have used the RTC1 ,so I want to use the RTC0,but when I added the RTC0 to the ble_app_uart ,the softdevice can not run.How to use 51822 RTC on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Jun 2017 08:22:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22914/how-to-use-51822-rtc-on-softdevice" /><item><title>RE: How to use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/thread/90137?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 08:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:490b6eb1-06d0-4fdf-bf43-e7e881a12137</guid><dc:creator>Mr.M</dc:creator><description>&lt;p&gt;Ok, thanks for your help !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/thread/90136?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 08:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c8fdb5f-544b-4a94-94c7-4167b3b23f4c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, you can use app timer to create more timers using RTC1 in the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/thread/90135?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 08:17:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f44e9835-d9be-4b93-8b69-fed3ffff7457</guid><dc:creator>Mr.M</dc:creator><description>&lt;p&gt;thanks for your replay,you are right,when I want to use RTC1 ,the complier prompts me that Error: L6200E: Symbol RTC1_IRQHandler multiply defined (by app_timer.o and nrf_drv_rtc.o).
So, if I want to use RTC in ble_app_uart_example, I&amp;#39;ll just use app_timer ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/thread/90134?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 08:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f645e63-1eaf-4972-9255-b58c5155bfc9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.sds/dita/softdevices/s130/sd_resource_reqs/hw_block_interrupt_vector.html?cp=3_7_2_0_6_0"&gt;softdevice specifications&lt;/a&gt;, you can see that RTC0 is blocked by the softdevice, not RTC1. You should be able to use RTC1, but note that the ble_app_uart example use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_bsp.html?cp=4_0_2_3_6"&gt;BSP module&lt;/a&gt;, which again use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_timer.html?cp=4_0_2_3_33"&gt;app_timer library&lt;/a&gt;. The app_timer use RTC1, so you might see some conflicts if using RTC1 for other tasks.&lt;/p&gt;
&lt;p&gt;You should check the error codes returned by the function calls, as RK suggested.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/thread/90133?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 04:12:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb9074aa-9449-4e60-8c10-6037fc38edd2</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;ok that&amp;#39;s good because if it&amp;#39;s in the app_error_fault_handler() it probably got there because a function returned non-zero and was checked by APP_ERROR_CHECK() so you should have a stack trace saying how you got there plus the error code. If you find the function which returned the non-zero code plus the code, it should be fairly simple from there to work out why.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/thread/90132?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 04:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddf9868f-921f-40b7-bf8c-616f8971b391</guid><dc:creator>Mr.M</dc:creator><description>&lt;p&gt;thanks for your replay,Maybe I didn&amp;#39;t describe it clearly.The problem is that when I add the function rtc_config() ,the program will run into app_error_fault_handler();&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use 51822 RTC on softdevice?</title><link>https://devzone.nordicsemi.com/thread/90131?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 03:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a4f4f02-cf42-4bc0-8183-f16a7a795a34</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;how about providing more information about what &amp;#39;can not run&amp;#39; means, what error messages you&amp;#39;ve seen, what debugging you&amp;#39;ve attempted and perhaps a code snippet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>