<?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>Clarification - TIMER[N] CAPTURE Event Time Delay on NRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82387/clarification---timer-n-capture-event-time-delay-on-nrf52840</link><description>Hello, 
 Referencing the specification , the time it takes to complete the COMPARE task upon triggering is not directly outlined. 
 I would like to have the following function in the code below. Will this return the expected value, or should I add a delay</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Dec 2021 08:21:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82387/clarification---timer-n-capture-event-time-delay-on-nrf52840" /><item><title>RE: Clarification - TIMER[N] CAPTURE Event Time Delay on NRF52840</title><link>https://devzone.nordicsemi.com/thread/342476?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 08:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c1e3a87-7d97-4fa0-8149-ed56960706fc</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Basile,&lt;/p&gt;
&lt;p&gt;After TASKS_CAPTURE is striggered the value of the timer is is captured in the CC register at most within 1 cycle of 32MHz peripheral clock that is within 31ns, Reading the value from NRF_TIMER3-&amp;gt;CC[0] might break into couple of more CPU instructions which is still far below the 1us resolution you set to the timer. So you do not need any delays when you get the value from NRF_TIMER3-&amp;gt;CC[0], it should be precise enough up to&amp;nbsp; one-third or a microsecond.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>