<?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>Can i use sd_ble_gatts_hvx function in freertos custom thread?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13412/can-i-use-sd_ble_gatts_hvx-function-in-freertos-custom-thread</link><description>the priority of my custom thread is lowest priority. but it&amp;#39;s not possible to call hvx function. 
 in ble_app_hrs_freertos example, 
 a sd_ble_gatts_hvx function is called in timer service routine context. 
 that&amp;#39;s ok. because interrupt service routine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 May 2016 14:05:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13412/can-i-use-sd_ble_gatts_hvx-function-in-freertos-custom-thread" /><item><title>RE: Can i use sd_ble_gatts_hvx function in freertos custom thread?</title><link>https://devzone.nordicsemi.com/thread/51195?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 14:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30fa31e0-8c74-4e10-8daa-33fcd59fa281</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;We have seen problems with FPU and FreeRTOS with SDK 0.9.2 and SoftDevice S132 v1, but not with SDK 11.0.0-2.alpha and S132 v2.0.0-7.alpha. I am not able to reproduce the error here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i use sd_ble_gatts_hvx function in freertos custom thread?</title><link>https://devzone.nordicsemi.com/thread/51194?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 05:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fb38c03-f136-4f2d-ad95-e8c60abdd2be</guid><dc:creator>bigzero</dc:creator><description>&lt;p&gt;Thanks for reply.  I tested your example code.  and it&amp;#39;s good.&lt;/p&gt;
&lt;p&gt;but in my project, the hardfault is occured.&lt;/p&gt;
&lt;p&gt;So, i checked again my code.  before calling hvx function, my code use &lt;strong&gt;a floating point operation.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;my project base is  nRF5_SDK_11.0.0-2.alpha_bc3f6a0.&lt;/p&gt;
&lt;p&gt;I chaned a base sdk to nRF5_SDK_11.0.0_89a8197.&lt;/p&gt;
&lt;p&gt;then  hardfault disappeared.&lt;/p&gt;
&lt;p&gt;i don&amp;#39;t know the cause.&lt;/p&gt;
&lt;p&gt;in nRF5_SDK_11.0.0-2.alpha_bc3f6a0 ,  do you have a FPU problem in freertos?&lt;/p&gt;
&lt;p&gt;i would like to know the cause.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can i use sd_ble_gatts_hvx function in freertos custom thread?</title><link>https://devzone.nordicsemi.com/thread/51193?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 11:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:540173cd-18c7-4644-9bff-c98e71ed57ea</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;I just tested it and it seems to work:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6786.main.c"&gt;main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is there something different with your setup?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>