<?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>Baremetal + ble module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16656/baremetal-ble-module</link><description>Hi, 
 &amp;gt; Context: 
 I run a baremetal application that I would like to enhance with bluetooth.
I am considering a BLE module from NS. 
 
 I currently have a SoC (nanopi m1) and I don&amp;#39;t want to fiddle with the BLE stack AT ALL. 
 I cannot use a BLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Sep 2016 07:34:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16656/baremetal-ble-module" /><item><title>RE: Baremetal + ble module</title><link>https://devzone.nordicsemi.com/thread/63722?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 07:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:354108e7-b714-47ac-8330-edbd9c892a9d</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;well at least ble serialization isn&amp;#39;t supported, which isn&amp;#39;t perhaps that surprising as the API changed enough to require some code changes and I guess there wasn&amp;#39;t enough time to do it before the SDK came out, so it just got removed entirely.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Baremetal + ble module</title><link>https://devzone.nordicsemi.com/thread/63723?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 07:30:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd1811a6-caa8-4a99-a9ec-485180050745</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;So there are features supported on SDK11 and not SDK12 ? Strange, thanks for the information. Anyway I think I&amp;#39;ve read that SDK13 will arrive in November.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Baremetal + ble module</title><link>https://devzone.nordicsemi.com/thread/63720?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 07:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c9b5ca3-54a2-4cf3-a9b8-581a8825225a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;yes but SDK12 doesn&amp;#39;t support ble serialisation and it&amp;#39;s not expected until SDK13&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Baremetal + ble module</title><link>https://devzone.nordicsemi.com/thread/63721?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 07:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7593966c-ba1b-477d-8dfb-6cd3f97dbc5d</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;I wonder who&amp;#39;s saying such things. In my opinion using Linux implies a higher complexity, price and consumption. That&amp;#39;s totally fine for some applications but it&amp;#39;s not the same scope at all. Note that the SDK V11 is not the last one, it&amp;#39;s currently the V12 (though there are still a few issues documented on this forum, but NS is quite fast at fixing them).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Baremetal + ble module</title><link>https://devzone.nordicsemi.com/thread/63724?ContentTypeID=1</link><pubDate>Sun, 25 Sep 2016 13:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5c2087c-9c16-4bbf-982f-671043f49510</guid><dc:creator>joedamato</dc:creator><description>&lt;p&gt;Thanks RK, you know, often people tell me &amp;quot;Just use Linux and be done with it&amp;quot;. This sentence makes me sick. That is why I prefer to be clear about it immediately. Sorry if it sounded harsh, it was not the purpose :) As for the SDK v11, i am reading it carefully now. It seems to answer the need PER-FEC-TLY :) I read it and be back if I have some questions about it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Baremetal + ble module</title><link>https://devzone.nordicsemi.com/thread/63719?ContentTypeID=1</link><pubDate>Sun, 25 Sep 2016 12:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e5de96e-9558-4d2d-92dc-2e0d21e03fe8</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Don&amp;#39;t know why you mention Linux, because the nRF chips don&amp;#39;t run Linux, or have anything at all much to do with Linux. Nobody is going to suggest Linux.&lt;/p&gt;
&lt;p&gt;Yes you can use the Nordic chips as slaves doing only the BTLE part of the operation. SDKs up to and including SDK11 have a BLE Serialization library which allows you to send BLE commands to the nrf chip over a serial interface and get data back. It&amp;#39;s similar to writing your application on the nRF chip, same sequence of calls, however they run on the other MCU, are serialized and sent over the interface, then unpacked and run on the nRF, then the responses come back. It&amp;#39;s kind of a proprietary HCI interface. The Nordic chip just runs a loop reading the serial port, sending off commands to the bluetooth stack (softdevice), fetching events and sending them back over the serial port.&lt;/p&gt;
&lt;p&gt;Alternatively - if your BLE is fairly standalone, you could write the BLE service entirely on the nordic chip and have your own simple serial protocol between that and the MCU which just transfers application level events backwards and forwards.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not quite the same as some of the connectivity chips which present as registers over SPI or something like that, BLE Serialization is more like packing function calls to be executed on the far side of a serial link.&lt;/p&gt;
&lt;p&gt;Take a look at the BLE serialization stuff in SDK 11 and see if it makes sense. It&amp;#39;s a bit of a waste of the capabilities of the chip (nRF52 I&amp;#39;d use myself) but it will do what you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>