<?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>create timer hardfault</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10699/create-timer-hardfault</link><description>Hi, I&amp;#39;m porting my project from SDK8.1 to SDK10 and got a problem in app_timer.c 
 Main chip :nRF51822 QFACA1 
 Crystal:32Mhz, no 32.768 
 
 
 Initial is fine.
APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, NULL); 
 APP_TIMER_PRESCALER</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Dec 2015 01:58:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10699/create-timer-hardfault" /><item><title>RE: create timer hardfault</title><link>https://devzone.nordicsemi.com/thread/39938?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2015 01:58:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:940e9260-743b-4aa8-9aff-ed15cb59a59b</guid><dc:creator>frogofmagic</dc:creator><description>&lt;p&gt;Thank you :) I will try it ~&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create timer hardfault</title><link>https://devzone.nordicsemi.com/thread/39937?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2015 16:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43158b4e-2379-4434-ad57-57c21c57398d</guid><dc:creator>Krzysztof Chruscinski</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you need to replace&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;app_timer_id_t a4wp_sm_ptu_start_timer_id; 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;APP_TIMER_DEF(a4wp_sm_ptu_start_timer_id);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Macro additionally allocates memory for timer instance. For details check out app_timer documentation:
&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/lib_timer.html?cp=4_1_0_3_25"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/lib_timer.html?cp=4_1_0_3_25&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>