<?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>About nrf52 timer capture and compare question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91208/about-nrf52-timer-capture-and-compare-question</link><description>i want to consult a question： 
 for exzample: 
 1. i use timer[1] ,and start it. 
 2. set timer[1]-&amp;gt;capture[1] = 1,the assumed value of cc[1] is 0x1000; 
 3.enable campare[1] int; 
 4.while timer count = 0x1000,will timer[1] generate a compare[1] int</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Aug 2022 07:59:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91208/about-nrf52-timer-capture-and-compare-question" /><item><title>RE: About nrf52 timer capture and compare question</title><link>https://devzone.nordicsemi.com/thread/382837?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 07:59:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e13fdb2-ea3e-4d2f-a490-d5c71d8968d2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There will be no interrupt generated when you run a capture, even if you have set the INTENSET register for the CC register that you run a capture to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order for the interrupt to be generated the internal timer value has to reach the value stored in the CC register without doing a capture.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In other words you would have to wait for the timer to naturally run to the same value again (after a reset) in order for the interrupt to be generated.&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></channel></rss>