<?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>Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56315/nordic-calendar-example-https-github-com-nordicplayground-nrf5-calendar-example-related-issue</link><description>I wanted to implement a time sync feature on nRF-52840 DK. I took a reference from this example, but there were certain things unclear to me. 
 Can somebody explain to me what is calibrated and uncalibrated time here? and what exactly are we doing here</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jan 2022 18:46:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56315/nordic-calendar-example-https-github-com-nordicplayground-nrf5-calendar-example-related-issue" /><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/348135?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 18:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48aada75-c491-42b1-903b-edf7e117fee5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The time.h library doesn&amp;#39;t support milliseconds (seconds is the finest resolution), so this is a bit tricky to add.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you use the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt; there are libraries for getting time information with milli or microsecond accuracy, if needed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/345448?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 10:32:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd7af7c4-a898-4c5e-9b15-e706182e4f9c</guid><dc:creator>Sami Ul Haq</dc:creator><description>&lt;p&gt;Hey Manikandan can you add milliseconds in timestamp in calendar example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/345440?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 09:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d7f9c15-d7e8-4241-b76d-c707d573d180</guid><dc:creator>Sami Ul Haq</dc:creator><description>&lt;p&gt;Hey sir, how can you get the above format ? i need help on how to get milliseconds from rtc using calendar example? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/285046?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 12:19:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c050a5f6-e2af-4519-8454-507177f4e38d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The ticket in question has been assigned to one of my colleagues, and he should get back to you within a day or less.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/284882?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2020 18:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b89a211d-062e-4a0c-8ac4-a909483957d4</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;hello can you give suggestions for my other ticket&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69481/regarding-scl-sda-pin"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/69481/regarding-scl-sda-pin&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;manikandan v&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/283962?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 08:11:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e162c24-7f15-4c36-ba3a-f76069703e64</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems you already got a response from Karl on this question?&lt;/p&gt;
&lt;p&gt;I suggest you follow it up with him.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/283761?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 10:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fec2db7f-77df-48c3-806b-b80366a11fcd</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/69123/how-to-send-100-plus-packets-in-a-single-structure-or-string"&gt;devzone.nordicsemi.com/.../how-to-send-100-plus-packets-in-a-single-structure-or-string&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/283739?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 09:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12d83380-30d2-4ac1-bfa2-04462a00d22a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the case number?&lt;/p&gt;
&lt;p&gt;T.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/283657?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 18:14:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d5dc805-17f5-45c2-b4da-ef39378d83d1</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;sir kindly check my new thread about sending 100 packets per send and give me suggestions&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;manikandan v&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/281722?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2020 08:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:684bee72-911b-4636-9e0a-964dced24f48</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My initial thought is that you seem to be over complicating things a little.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can&amp;#39;t you just code year/month/day/hour/minute/second each into a separate byte without converting to and from ascii representation?&lt;/p&gt;
&lt;p&gt;Then you only need 6 bytes in total to represent a date and time update, and you can easily copy each byte from the rx_data.p_data buffer into the 6 variables (just remember to subtract 1970 from the year before sending it, and add it back here, since a single byte can&amp;#39;t store numbers &amp;gt; 255).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/281430?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 06:08:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72e931e7-55d3-4f87-8b33-3f60b00bab96</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;hello&amp;nbsp; i am using android and developed an customised app and doing something like this is&lt;/p&gt;
&lt;p&gt;for (uint32_t i = 0; i &amp;lt; p_evt-&amp;gt;params.rx_data.length; i++)&lt;br /&gt; {&lt;br /&gt; str[i]=p_evt-&amp;gt;params.rx_data.p_data[i];&lt;/p&gt;
&lt;p&gt;strcpy(buf,str);&lt;/p&gt;
&lt;p&gt;uint8_t j=0;&lt;br /&gt;char *pch = strtok (buf,&amp;quot;- :&amp;quot;);&lt;br /&gt;while (pch != NULL)&lt;br /&gt; {&lt;/p&gt;
&lt;p&gt;array[j]=pch;&lt;br /&gt; j=j+1;&lt;br /&gt; pch = strtok (NULL, &amp;quot;- :&amp;quot;); &lt;br /&gt; }&lt;br /&gt;year=atoi(array[0]);&lt;br /&gt;month=atoi(array[1]);&lt;br /&gt;day=atoi(array[2]);&lt;br /&gt;hour=atoi(array[3]);&lt;br /&gt;minute=atoi(array[4]);&lt;br /&gt;second=atoi(array[5]);&lt;br /&gt;....&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;note: i am sending the current time from app everytime i connect with bluetooth and getting the exact values in year,hour,...,seconds variable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but if&amp;nbsp; i call&amp;nbsp;nrf_cal_set_time(..) in main to starts from 1970&amp;nbsp; but not with the time i sent&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;my main looks like this&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;int main();&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;//all init&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf_cal_set_time(year, month, day, hour, minute, second);&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;while(1)&lt;br /&gt; {&lt;/p&gt;
&lt;p&gt;length=sprintf(cal_string,&amp;quot;%s&amp;quot;, nrf_cal_get_time_string(true));&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ble_nus_data_send(&amp;amp;m_nus,cal_string,&amp;amp;length,m_conn_handle); &lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;where should i call&amp;nbsp;&lt;span&gt;nrf_cal_set_time(..) in my program to make it run one time and start sending date and time from the time i sent.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Manikandan V&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/281345?ContentTypeID=1</link><pubDate>Mon, 23 Nov 2020 14:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e76a760e-dd62-4d6a-b12c-761627bd2cda</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Manikandan&lt;/p&gt;
&lt;p&gt;1) Not sure which mobile platform you are targeting, but on Android there is a &lt;a href="https://developer.android.com/reference/java/time/LocalTime"&gt;LocalTime library&lt;/a&gt; for getting time and date information, and I am sure something similar exists for iOS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The important thing is that you get an integer timestamp that can be passed over the BLE link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) That is correct. By default the ble_app_uart example uses the nus_data_handler(..) function to process incoming data from the app.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/281209?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2020 04:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f76825a1-af1f-46b6-abd5-83c594beb6ae</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;&lt;span&gt;hello, thanks for your help&amp;nbsp; i can be able to get milliseconds and run a 24 hours clock successfully now i want to do time sync up that day you told if we are developing our own app it is possible to get a timestamp in the app and send it over a proprietary service to the nRF52 device every time i connect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1)indeed we are developing our own app can you elaborate on how can i get that timestamp in program and set that time in nrf_cal_set_time(..) ??&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2)where do i get my timestamp in ble_app_uart program?? in&amp;nbsp;nus_data_handler(..) function uh??&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks and regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Manikandan V&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/279565?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2020 16:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eaa0a37-b0dd-4b5f-89e7-c45bdbf14bf5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Manikandan&lt;/p&gt;
&lt;p&gt;I am happy I could be of help&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The purpose of this function is to&amp;nbsp;provide a callback function to the library that will be called at a regular interval, which is useful if for instance you want to log the time regularly in your code, or if you want to display the time somewhere&amp;nbsp;at regular intervals.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to schedule some activity at a certain time in the future you can also use this callback to check the current time once in a while, and perform some activity once you reach&amp;nbsp;a certain point in time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As an example, if you create a void(void) function in your code and forward it to this function with the interval set to 60, your function will be called once every minute:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void do_something(void)
{
    // This code will run once every minute
}

.
.

nrf_cal_set_callback(do_something, 60);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="manikandanvalaguru"]&lt;p&gt;and also how can i print something like this int count =CAL_RTC-&amp;gt;COUNTER / 32.768;&lt;/p&gt;
&lt;p&gt;printf(&amp;quot;%d&amp;quot;,count);;is this correct.I want to see the values myselfs before sending it over ble&lt;/p&gt;[/quote]
&lt;p&gt;In order to divide the value by 32.768 you would have to convert the COUNTER value to float first, like this for instance:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;int count_ms = (int)((float)CAL_RTC-&amp;gt;COUNTER / 32.768f);&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It is also possible to rewrite the formula and perform it all in integers:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;int count_ms = (CAL_RTC-&amp;gt;COUNTER * 250 + 125) / 8192;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Please note I haven&amp;#39;t tested any of these code snippets, so take them with a grain of salt ;)&amp;nbsp;&lt;/p&gt;
[quote user="manikandanvalaguru"]and also what happens when overflow occurs and how can i rectify that[/quote]
&lt;p&gt;When an overflow occurs the RTC COUNTER value will be reset back to 0, and since the code is not set up to handle this it will lead to incorrect time updates.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To avoid this simply call the nrf_cal_set_callback(..) function with an interval lower than 512 seconds.&lt;/p&gt;
&lt;p&gt;Then the&amp;nbsp; RTC IRQ handler will be called&amp;nbsp;before the overflow happens, and you should not have any issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/279357?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 18:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13fac7b8-2fde-44af-a18b-194ffa6fe41f</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;omg i learned so much about rtc from you guys thanks and sorry for keep bugging you i grasped everything about that nrf calender except one thing why are&amp;nbsp; you using this function and what is the purpose of this function&lt;/p&gt;
&lt;p&gt;void nrf_cal_set_callback(void (*callback)(void), uint32_t interval)&lt;br /&gt;{&lt;br /&gt; // Set the calendar callback, and set the callback interval in seconds&lt;br /&gt; cal_event_callback = callback;&lt;br /&gt; m_rtc_increment = interval;&lt;br /&gt; m_time += CAL_RTC-&amp;gt;COUNTER / 8;&lt;br /&gt; CAL_RTC-&amp;gt;TASKS_CLEAR = 1;&lt;br /&gt; CAL_RTC-&amp;gt;CC[0] = interval * 8; &lt;br /&gt;},&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and also how can i print something like this int count =CAL_RTC-&amp;gt;COUNTER / 32.768;&lt;/p&gt;
&lt;p&gt;printf(&amp;quot;%d&amp;quot;,count);;is this correct.I want to see the values myselfs before sending it over ble&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and also what happens when overflow occurs and how can i rectify that&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;REGARDS&lt;/p&gt;
&lt;p&gt;MANIKANDAN V&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/279139?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 08:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24ca00e5-4806-4fcb-b286-2066839ea3bd</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;On second thought&amp;nbsp;you should get decent millisecond accuracy using the RTC. For some reason I thought about microseconds, not milliseconds, when I replied to you earlier...&lt;/p&gt;
&lt;p&gt;If you change the prescaler to 0 in the calendar example the RTC will run at the full 32.768kHz clock speed, and&amp;nbsp;if you divide the RTC counter value by 32.768 you should get the current time in milliseconds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The important factor is that you need to update all references to the&amp;nbsp;&lt;span&gt;CAL_RTC-&amp;gt;&lt;/span&gt;&lt;span&gt;COUNTER register, since this value will now be much higher (rather than increase by 8 every second it will increase by 32768 every second).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, the maximum time the RTC can run without being cleared will be much shorter, since the 24-bit RTC counter will overflow in 512 seconds when the prescaler is 0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/278973?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 11:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6451df5-c053-4af6-b6e6-eb776c41147b</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;ya power consumption is important to me. so what is the best solution to get YY:MM:DD hh:mm:ss:ms like this using rtc? any other example should i use&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/278965?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 10:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b1b4a83-27b0-425b-a966-00f2856db96e</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The RTC timer doesn&amp;#39;t have the accuracy to count milliseconds, since it is running off of a 32.768kHz clock.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you modify the calendar example to use a TIMER module instead of the RTC then you can count milliseconds also, but this requires a fair bit of changes to the example.&lt;/p&gt;
&lt;p&gt;This will also increase the sleep current significantly, so if power consumption is important to you it might not be the best solution.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/278884?ContentTypeID=1</link><pubDate>Sat, 07 Nov 2020 16:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d27bd85-a94e-47a5-abd3-6d0bd9b2da0c</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;Can i add milliseconds to the nrf calendar ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/276442?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 12:41:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71cac5ee-1d69-42ef-83d8-2c3d98718a0c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the future please open a new ticket rather than wake up an old one, unless it is directly related to the current one. The devzone is not designed for long running questions covering multiple topics ;)&lt;/p&gt;
&lt;p&gt;You can use the nrf_calendar example for this, but&amp;nbsp;all the BLE integration is something you will have to add on your own.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nrf_calendar example only gives you the &lt;span&gt;nrf_cal_set_time(..) function, and it is up to you to integrate the code for acquiring the timestamp over BLE.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Unfortunately I don&amp;#39;t know of any examples from us that do this, but if you are developing your own app it is possible to get a timestamp in the app and send it over a proprietary service to the nRF52 device every time you connect.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/276257?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 14:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19a17534-afa1-4263-ba47-db5b6c46d442</guid><dc:creator>manikandan</dc:creator><description>&lt;p&gt;i too using this nrf calendar example my problem is i want to set time like this&lt;/p&gt;
&lt;p&gt;1) if i connect the&amp;nbsp; board with mobile using bluetooth time should be set at that particular time.&lt;/p&gt;
&lt;p&gt;2)example if i connect at 7,30 pm the time should start at 7,30 and then keeps on printing time and data&lt;/p&gt;
&lt;p&gt;3)can i achieve this using nrf calendar or should i go with other example&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/229257?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 15:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7b38f10-e229-41da-b806-4ff974277009</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I will take over this case since I wrote the example in question.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The calibrated time function doesn&amp;#39;t really work well unless&amp;nbsp;the call to the set time function happens at exactly the time you indicate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is hard to do when inputting the time manually from the terminal, but should work better if you set the time programatically in the code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The idea is that if you set the time twice from some accurate external source, and there is some constant drift in the timers in the nRF52, the calibrated time will take this into account.&amp;nbsp;&lt;br /&gt;Please be aware that this library is not an official library, and just something I wrote to illustrate how to read date and time. The calibrate function has never been tested properly in a real use case, so I can not guarantee that it works very well in practice ;)&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/228327?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 10:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d111a63a-584d-422e-aa15-9a30dca00757</guid><dc:creator>Yogeshwar</dc:creator><description>&lt;p&gt;okay,&lt;/p&gt;
&lt;p&gt;but please get back to me when he comes back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/228297?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2020 09:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d52d422-2403-4526-9428-70f12f56c153</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Hmm, I&amp;#39;m at a loss.&lt;br /&gt;&lt;br /&gt;A colleague in tech support made that example, but he&amp;#39;s away until Monday, can you wait until then?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Calendar example (https://github.com/NordicPlayground/nrf5-calendar-example) related issue</title><link>https://devzone.nordicsemi.com/thread/228077?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 10:04:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5390c1f7-6dc5-4f80-bc52-f833b4c62ff2</guid><dc:creator>Yogeshwar</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/haakonsh"&gt;haakonsh&lt;/a&gt; I flashed this example on an nRF52840 DK and I got this output on serial&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/mordic1.png" /&gt;when I use the get function(option g) to get the time, I get this as the output where the calibrated and the uncalibrated time&amp;nbsp;is&amp;nbsp;the same.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/nordic02.png" /&gt;next, when I use the run continuous-time updates (option r), I get a time difference of 4 seconds every time and I just don&amp;#39;t get it that why is there such a big difference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Later I set time to current time and then tried to run&lt;span&gt;&amp;nbsp;continuous-time updates (option r) and still there is a time difference of 4 seconds.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;can you please explain this behavior?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>