<?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>Program stalled while bluetooth connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87355/program-stalled-while-bluetooth-connected</link><description>Hi, 
 
 I am testing the ble_uart_send function. I found the advertising was OK, but when my phone connected to the board, it stalled but no error was shown. I enabled DEBUG and Logs, the program just stopped without any information. Could you help me</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Apr 2022 07:29:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87355/program-stalled-while-bluetooth-connected" /><item><title>RE: Program stalled while bluetooth connected</title><link>https://devzone.nordicsemi.com/thread/365100?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 07:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33d46b1d-741f-4651-aecf-731295e1716f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You are getting a hardfault exception and if you continue execution (i.e. press the play button) you should see the program reach the hardfault handler in your application. But it&amp;#39;s difficult to say exactly what triggered the exception based on the screenshot alone. Maybe you have selected a wrong interrupt priority level for the GPIOTE_IRQn? I notice you are calling the notification send function from this ISR, which means the selected priority must be either 5, 6, or 7.&lt;/p&gt;
&lt;p&gt;From the Softdevice specification document (&lt;span&gt;&lt;a title="Application programming interface" href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/overview/api_overview.html?cp=4_7_3_0_3"&gt;Application programming interface&lt;/a&gt;&lt;/span&gt;):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1651044304947v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program stalled while bluetooth connected</title><link>https://devzone.nordicsemi.com/thread/365090?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 07:06:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed34173-0cdf-4233-bd8f-c9d28e2c6088</guid><dc:creator>dfbdfb</dc:creator><description>&lt;p&gt;&lt;span&gt;Check this if the above&amp;nbsp;image&amp;nbsp;is not showing:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/26880.Capture.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>