<?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>NRF 52832 Free-rtos timer causing hardfault</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68919/nrf-52832-free-rtos-timer-causing-hardfault</link><description>Hello , 
 I am using NRF 52 DK board and SDK15.3.0 . 
 I have tested \examples\peripheral\blinky_freertos code and its working fine . 
 but the same code ( in that code , one task ans one timer is created ), if I port to examples\ble_peripheral\ble_app_hrs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Dec 2020 06:32:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68919/nrf-52832-free-rtos-timer-causing-hardfault" /><item><title>RE: NRF 52832 Free-rtos timer causing hardfault</title><link>https://devzone.nordicsemi.com/thread/282980?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 06:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c634ae0c-d155-404f-a294-e4adf6c00864</guid><dc:creator>man</dc:creator><description>&lt;p&gt;Hi , It worked by increasing heap size from the segger embedded as well as from the free rots config file .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52832 Free-rtos timer causing hardfault</title><link>https://devzone.nordicsemi.com/thread/282851?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 10:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6054d802-f7c5-440f-aa15-e0949a8446b2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Looks like a stack corruption and an attempt to restore registers with wrong stack frame. Try increasing the heap size in freertosconfig.h file and a bit more stack when you create&amp;nbsp;&lt;span&gt;Pixart_sensor&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If that doesn&amp;#39;t work, please give me the implementation for the&amp;nbsp;&lt;span&gt;Pixart_sensor and timertest tasks so that i can test them here.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52832 Free-rtos timer causing hardfault</title><link>https://devzone.nordicsemi.com/thread/282422?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2020 11:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea29c14f-ac01-4a32-82ec-f7add2393543</guid><dc:creator>man</dc:creator><description>&lt;p&gt;below is the callback function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;static void led_toggle_timer_callback (void * pvr)&lt;br /&gt;{ // UNUSED_PARAMETER(xTimer);&lt;br /&gt; // a++;&lt;br /&gt; NRF_LOG_INFO(&amp;quot;\r\n timer callback 1 &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;);&lt;br /&gt; NRF_LOG_FLUSH();&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>