<?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>Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20547/change-tick-value-of-timer-compare-event</link><description>Hello, 
 I&amp;#39;m using TIMER1 to generate a timer compare event. I connect the event with the sample task of the saadc like in the saadc example from the SDK. Everything works fine. 
 But now I want to change the tick value of the timer compare event after</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Mar 2017 14:12:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20547/change-tick-value-of-timer-compare-event" /><item><title>RE: Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/thread/80108?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 14:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:723744f2-f189-42c0-9e84-c4fd853aa45a</guid><dc:creator>Lea</dc:creator><description>&lt;p&gt;I found my mistake. It was somewhere completly different and did had nothing to do with the code I posted. The code above works fine, the last three lines where the nwe adresses are set and the ppi channel is assigned again aren&amp;#39;t even necessary.&lt;/p&gt;
&lt;p&gt;Sorry for the wrong thought question. Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/thread/80110?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 12:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ee804d-50f2-4161-a50f-96b62eea6641</guid><dc:creator>Lea</dc:creator><description>&lt;p&gt;I have already tried that. Nothing changes. The Interrupt-Function also doesn&amp;#39;t get called after the &amp;quot;reinitialization&amp;quot; of the timer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/thread/80109?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2017 12:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e56abe34-a2aa-4c0c-a764-f5230591c9d7</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;In nrf_drv_timer_extended_compare(..) you have disabled interrupt (set it to &amp;#39;false&amp;#39;),try to enable interrupt and see if it changes anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/thread/80113?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 16:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdae08dc-ac26-4d36-864f-e69624ace558</guid><dc:creator>Lea</dc:creator><description>&lt;p&gt;Yes I have connected the saadc end event and the start task over ppi. Just checked the newTickValue while debugging, seems to be correct. Frequency of the timer is 16MHz.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/thread/80112?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 16:08:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01ad51dd-0d37-4082-a78b-d5521b9853ea</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;ah right. I have never used that driver. nrf_drv_timer_enable triggers start task for the timer. do you start saadc after each sampling? (probably by ppi). You sure you provide correct newTickValue? What is the timer frequency?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/thread/80114?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 16:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5d4dcce-da16-4f7d-bbe1-15174022f268</guid><dc:creator>Lea</dc:creator><description>&lt;p&gt;But I don&amp;#39;t need to start the timer the first time either. However I tried using the nrf_drv_timer_resume() function know but that changes nothing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change tick value of timer compare event</title><link>https://devzone.nordicsemi.com/thread/80111?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 15:55:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36c20336-95ef-4d0c-84f9-a36f70311280</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;I think you forgot to start timer after re-enabling it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>