<?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>NRF52 hard fault when calling xQueueSend for another task while the BLE connection is active</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104565/nrf52-hard-fault-when-calling-xqueuesend-for-another-task-while-the-ble-connection-is-active</link><description>Hi, 
 
 I&amp;#39;m developing an application which uses BLE softdevices and 2 other created tasks. The problem is that when I call xQueueSend to send an event to one task, I get a hard fault error: 
 &amp;lt;error&amp;gt; hardfault: HARD FAULT at 0x000482BC &amp;lt;error&amp;gt; hardfault</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Oct 2023 00:56:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104565/nrf52-hard-fault-when-calling-xqueuesend-for-another-task-while-the-ble-connection-is-active" /><item><title>RE: NRF52 hard fault when calling xQueueSend for another task while the BLE connection is active</title><link>https://devzone.nordicsemi.com/thread/449938?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 00:56:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:176c5085-537a-4189-aaf4-f17f6a23e206</guid><dc:creator>EAkeila</dc:creator><description>&lt;p&gt;Thanks a lot Vidar. This fixed the issue!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 hard fault when calling xQueueSend for another task while the BLE connection is active</title><link>https://devzone.nordicsemi.com/thread/449793?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 11:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdf1eb12-76b2-463b-938b-fe547f8cfcf4</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please increase the stack size for the Softdevice task as well, if you haven&amp;#39;t done so already. The stack size is harcoded through the&amp;nbsp;NRF_BLE_FREERTOS_SDH_TASK_STACK define in /components/softdevice/common/nrf_sdh_freertos.c&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>