<?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>UART + Timer Issue NRF51</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55104/uart-timer-issue-nrf51</link><description>Hi, 
 I am using the following code to implement a millisecond timer read function. In main, while loop, I do nothing but run a 1ms delay and measure the time in mill second before and after and print the difference with uart over serial terminal. The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Dec 2019 14:21:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55104/uart-timer-issue-nrf51" /><item><title>RE: UART + Timer Issue NRF51</title><link>https://devzone.nordicsemi.com/thread/223090?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 14:21:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19cdffde-2797-4195-8da2-439ce03f2a99</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I don&amp;#39;t have any specific recommendations here other than look at how others have implemented time in an embedded / C application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART + Timer Issue NRF51</title><link>https://devzone.nordicsemi.com/thread/223077?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 13:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55a2ba7d-65a4-45da-a909-a67d3e033c1a</guid><dc:creator>KellyJust</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;br /&gt;&lt;br /&gt;I tried increasing the value which causes the 984 ms to appear after longer time. Is there an implementation of the timer to get milliseconds without this extraneous value. Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART + Timer Issue NRF51</title><link>https://devzone.nordicsemi.com/thread/223033?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 12:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:219f0673-520e-49ef-b319-3eb12e553183</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I assume it is related to the auto clear (when MY_TIMER-&amp;gt;CC[0] = 1000000), this will affect the my_timer_get_ms() return value.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>