<?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>Tips on ULP, BLE and SoftDevice S110 with PCA10001 [nRF51822]</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4265/tips-on-ulp-ble-and-softdevice-s110-with-pca10001-nrf51822</link><description>Hello Nordic people! 
 I&amp;#39;m developing my first firmware on nRF51822 and I need help with BLE, profiles and SoftDevice S110 stack. 
 Application it&amp;#39;s a speed sensor for bicycles. I wish minimum energy consumption.
Today, FW is capable to measure cadence</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Nov 2014 14:20:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4265/tips-on-ulp-ble-and-softdevice-s110-with-pca10001-nrf51822" /><item><title>RE: Tips on ULP, BLE and SoftDevice S110 with PCA10001 [nRF51822]</title><link>https://devzone.nordicsemi.com/thread/15236?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2014 14:20:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deac75e7-6dd9-4d98-972b-cb0d818b430a</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;I think the ble_app_lbs is basically the template application with addition of a single service with 2x custom characteristics. Perhaps you just need to evaluate if you feel more comfortable with modifying the service in the ble_app_lbs example for your own purpose or to start from scratch from the ble_app_template , using the principles described in the nAN-36 and ble_app_lbs. In any case, you would need to add your LPCOMP and other functionality on top of that. Do you have PC10028 already, it requires SDK 7.0.1, see SDK release notes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tips on ULP, BLE and SoftDevice S110 with PCA10001 [nRF51822]</title><link>https://devzone.nordicsemi.com/thread/15234?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2014 17:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a598788c-8664-4d11-905a-810b83696a09</guid><dc:creator>Lucast85</dc:creator><description>&lt;p&gt;The code was updated recently and now it work also with SD 7.1 and SDK 6.0.0.43681.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tips on ULP, BLE and SoftDevice S110 with PCA10001 [nRF51822]</title><link>https://devzone.nordicsemi.com/thread/15235?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2014 17:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffe8fa17-c961-462d-9f19-a2c954271346</guid><dc:creator>Lucast85</dc:creator><description>&lt;p&gt;I think to modify the code described in nAN-36 as follow:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;delete the LED characteristic;&lt;/li&gt;
&lt;li&gt;add LPCOMP functionality and measure speed with help of RTC and LFCLK;&lt;/li&gt;
&lt;li&gt;modify the BUTTON characteristic replacing button status data with speed data computed at point &amp;quot;2&amp;quot;;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/question/12545/update-connection-parameter-programmatically/?answer=12551#post-id-12551"&gt;update connection parameters programmatically&lt;/a&gt; (related with bicycle&amp;#39;s speed);&lt;/li&gt;
&lt;li&gt;Delete all extra functionality &lt;a href="https://devzone.nordicsemi.com/question/5186/how-to-minimize-current-consumption-for-ble-application-on-nrf51822/"&gt;minimizing current consumption&lt;/a&gt;.
It could work? Or it&amp;#39;s better to start from the &amp;quot;&lt;a href="http://developer.nordicsemi.com/nRF51_SDK/doc/7.0.0/s110/html/a00060.html"&gt;template application&lt;/a&gt;&amp;quot; (example project for PCA10028)?
Thank you!&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tips on ULP, BLE and SoftDevice S110 with PCA10001 [nRF51822]</title><link>https://devzone.nordicsemi.com/thread/15233?ContentTypeID=1</link><pubDate>Tue, 04 Nov 2014 07:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:962e2fac-fba6-4d5b-b419-fde1dd4628e1</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;The ble_app_lbs current version uses an older SDK and softdevice, as stated in the readme for the &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs"&gt;example on Github&lt;/a&gt;. So if you flash softdevice 6.0.0, and put the Github ble_app_lbs example into SDK 5.2.0, compile it and then flash it, it should work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tips on ULP, BLE and SoftDevice S110 with PCA10001 [nRF51822]</title><link>https://devzone.nordicsemi.com/thread/15232?ContentTypeID=1</link><pubDate>Mon, 03 Nov 2014 18:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6af0c825-5223-4033-90f2-169b4c72ee14</guid><dc:creator>Lucast85</dc:creator><description>&lt;p&gt;Thank you for fast response!
I try to download last GitHub version of nrf51-ble-app-lbs into PCA10001 board but, with USB dongle and Master Control Panel, I cannot see any BLE device (see &lt;a href="https://devzone.nordicsemi.com/question/18017/insufficient-ram-for-flash-algorithms/?comment=18901#comment-18901"&gt;here&lt;/a&gt;). I think it&amp;#39;s a &amp;quot;nrf51-ble-app-lbs&amp;quot; problem because the dongle and MCP works well with other BLE examples applications (e.g. ble_app_hrs). I use SoftDevice 7.1 and SDK v.6.0.0.43681.
Are there any solution to nAN36 application or are there others app notes to quick jump to BLE world?
Thank you again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Tips on ULP, BLE and SoftDevice S110 with PCA10001 [nRF51822]</title><link>https://devzone.nordicsemi.com/thread/15231?ContentTypeID=1</link><pubDate>Fri, 31 Oct 2014 14:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6499f3ef-ce85-4e2c-b096-40488b921a04</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;With your frame rate of 2Hz, you should be able to obtain very low current consumption.&lt;/p&gt;
&lt;p&gt;Perhaps you will benefit of looking at &lt;a href="https://devzone.nordicsemi.com/blogs/39/nrf51-getting-started-and-documentation-overview/"&gt;this blog&lt;/a&gt;. There is also a current &lt;a href="https://devzone.nordicsemi.com/question/5186/how-to-minimize-current-consumption-for-ble-application-on-nrf51822/"&gt;consumption guide here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To create a proprietary profile, &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nAN-36/24020"&gt;nAN-36&lt;/a&gt; is a good starting point. It is perhaps a little outdated but the principles should be still valid. A more updated accompanied ble_app_lbs code is available on &lt;a href="https://github.com/NordicSemiconductor/nrf51-ble-app-lbs"&gt;Nordic&amp;#39;s Github page&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Connection interval tips. Choose 500ms connection interval, and a slave latency of 7, to allow the device to respond to the central device in every 8th connection event if there is no data to send for 8*500ms. Supervision timeout of perhaps 5-10 seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>