<?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>BLE UART/SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39029/ble-uart-spi</link><description>Hello all, 
 I&amp;#39;m working on updating bluetooth communication. Currently using a module that receives AT style commands. 
 The first step will be replacing with nordic device, then change HW and include the code into the SoC. 
 I have a nRF52 DK, but all</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Oct 2018 15:42:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39029/ble-uart-spi" /><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151873?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 15:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:416802f1-67e8-445c-902c-1426503c0d44</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;thank you!!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll probably be back asking about bonding and security, and certification, but on a new post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151872?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 15:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86211a9c-a843-4e53-b313-20d638cf9d92</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;It&amp;#39;s the post of 1 Oct at 17:05 -&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/39029/ble-uart-spi/151049"]The SoftDevice is the BLE Stack - the code you write can do the comms with the rest of your system.[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151871?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 15:27:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:878275af-7bdb-427f-a2e5-5bb1c36f912f</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;I get the idea, to add a layer between the MCU and nRF exposing what I need. I&amp;#39;ll work on it.&lt;/p&gt;
&lt;p&gt;The link&amp;nbsp;takes me&amp;nbsp;to this same post...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151869?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 15:13:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3aed9a-cec5-4e57-9ad6-bac9ae822d45</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Yes - you write yourself some sort of UART-based API.&lt;/p&gt;
&lt;p&gt;AT Commands is a common example (as initially mentioned) - but you can make up your own protocol to suit your specific needs ...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;See:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39029/ble-uart-spi/151049#151049"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/39029/ble-uart-spi/151049#151049&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(the way this forum shuffles posts makes it hard to find specific replies - took me a while to find that!)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151868?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 15:08:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:111f6201-3442-4c7f-8dd5-b9a29fb6d262</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;OK,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m starting from the UART, I&amp;#39;ll just change how to connect (security, power)&lt;/p&gt;
&lt;p&gt;Is there a way to have some control of the BLE from the application MCU? Because if I understand correctly I have only the UART that goes through.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151385?ContentTypeID=1</link><pubDate>Wed, 03 Oct 2018 11:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08cb1964-e8cc-40e5-a31d-608922f7909d</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The &lt;a title="UART/Serial Port Emulation over BLE" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/ble_sdk_app_nus_eval.html?cp=4_0_0_4_1_2_24"&gt;UART/Serial Port Emulation over BLE&lt;/a&gt;&amp;nbsp;example is definitely the way to go in your case. I would forget the serialization library as it is not suited for your use-case.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Once you have the UART over BLE communication up and running you can offload other tasks from the main MCU if you want to.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151283?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 15:45:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a06aba6d-59e8-467f-a00d-50600c9cac8b</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;My BLE needs are&amp;nbsp;very low power and security. It will not advertise unless instructed and ideally it will be completely silent except during communication.&lt;/p&gt;
&lt;p&gt;The device needs to receive configuration and answer to commands from a PC/Tablet or phone, this just a few times a day. Data is just plain data, so the&amp;nbsp;Nordic UART over BLE is a good fit to start with.&lt;/p&gt;
&lt;p&gt;A version of the application is already running with a BT 2&amp;nbsp;module, using serial cable emulation, with no&amp;nbsp;security and high power, with AT style control.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d like to substitute the module with a nRF. Initially I want to use it as is, if possible&amp;nbsp;not writing code for it (using an existing FW from nordic) and controlling BLE through SPI or UART.&amp;nbsp;I don&amp;#39;t mind porting some libraries to do this, but it would certainly help if they are already made.&lt;/p&gt;
&lt;p&gt;After this solution is working the next step will be shifting the comms processing entirely to the nRF, but that will be a separate effort. I don&amp;#39;t think I&amp;#39;ll be able to move all my application to the nRF due to timing, I/O and peripheral&amp;nbsp;requirements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151276?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 14:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7153f2a-802c-4493-99c5-7c4be9569be5</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;I think I agree. (though still not entirely clear)&lt;br /&gt;&lt;br /&gt;Rather that try to do this hybrid half-way-house mash-up, I think it may be easier to just treat this as a new development.&lt;/p&gt;
&lt;p&gt;ie, start on nRF with some basic BLE functionality, and bring in stuff from your &amp;quot;main&amp;quot; app ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151275?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 14:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b5ca9c9-7614-4606-8eaf-4063d7e073d7</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Well, since your end goal is to keep the BLE application on the nRF52 I think you should consider not to use serialization as you will save a lot of development time in the long run. To use the serialization library you need to port a lot of our drivers and libraries to your host MCU.&lt;br /&gt;&lt;br /&gt;What exactly are your BLE needs?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151262?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 13:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a5a747b-6f44-4db0-9075-558b4f8965a1</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m first trying to have a solution with an application MCU with&amp;nbsp;all my code,&amp;nbsp;and a nRF for BLE connectivity with a FW I don&amp;#39;t have to change (ideally just flash a code from nordic). After that is working I can advance other parts of the design both HW and application FW.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll eventually start moving code to the nRF but not now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151208?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 11:24:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd237847-0c23-4599-ac9d-9e6ac1e97be4</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;But it remains unclear to me what the OP is actually trying to achieve.&amp;quot;&lt;br /&gt;&lt;br /&gt;Yeah we need some more information :)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151188?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 10:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2107a2a3-4278-4f3d-8c17-739dc0d1dbe8</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Indeed.&lt;/p&gt;
&lt;p&gt;But the OP talks about moving stuff &lt;em&gt;&lt;strong&gt;to&lt;/strong&gt;&lt;/em&gt; the nRF &lt;em&gt;&lt;strong&gt;from&lt;/strong&gt;&lt;/em&gt; the host - and Serialisation seems to me to be the &lt;em&gt;opposite&lt;/em&gt; of that?!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But it remains unclear to me what the OP is actually trying to achieve.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151171?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 08:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f14171de-5199-4640-8bd7-996e8faed49f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Well it depends how much of the BLE application you want to run on the host processor. &lt;/p&gt;
&lt;p&gt;You can offload all of your BLE application on the nRF52, but you will have less control from the host processor.&lt;br /&gt;&lt;br /&gt;With the serialization library you will not have to flash the nRF52 whenever you want to change your BLE application as in runs solely on the host processor.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151158?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 07:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:153c9fc3-6c79-4b22-b294-4a0194ae8076</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;No, I don&amp;#39;t think &amp;quot;Serialisation&amp;quot; is what you&amp;#39;re looking for:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;Serialisation&amp;quot;&amp;nbsp;is about having the Nordic code running on your host processor - which sounds like the opposite of what you&amp;#39;re saying?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151155?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 07:46:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2de6c3c-2e6e-4bad-a664-bf90e832fca7</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;We&amp;#39;ve got an example in&amp;nbsp;nRF5_SDK_15.2\examples\connectivity\ble_connectivity :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151050?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 17:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb75ab96-a9e1-47cf-89ba-50ef7c25b0e4</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;What I&amp;#39;m looking for is an example that does that.&lt;/p&gt;
&lt;p&gt;Serialization seems to be a solution. Do you know if there&amp;#39;s an example I can start with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151049?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 17:05:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:227f988a-c1ae-4898-9945-a355407b56c9</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Yes, you can certainly do that.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The SoftDevice is the BLE Stack - the code you write can do the comms with the rest of your system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151048?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 16:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45532c04-646e-44f0-a562-c6b793fa084c</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;Basically, yes. Not necessarily AT commands, but yes.&lt;/p&gt;
&lt;p&gt;After having a working hardware I&amp;#39;ll start moving code to the nRF52&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151038?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 16:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:105dc7cd-ff6c-4b47-ae27-190e28c0edf9</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;You mean, you want the nRF52 to act like a BLE &amp;quot;modem&amp;quot; - controlled by AT commands?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/151027?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 15:03:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff9442f5-6756-47d2-a437-671a5774ae30</guid><dc:creator>agus.uy</dc:creator><description>&lt;p&gt;It&amp;#39;s a complex device with many I/O and strict timing (to micro seconds). We use&amp;nbsp;several concurrent timers, DMA, ADCs and DACs.&lt;/p&gt;
&lt;p&gt;We use BT with an older module controlled with AT commands,&amp;nbsp;and we&amp;nbsp;want to upgrade to BLE with a nordic chip (or module).&lt;/p&gt;
&lt;p&gt;The first step will be substituting the module, then we&amp;#39;ll evaluate migrating the code to the nordic (or some or it).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The serialization looks good, is there an example for both the application and connectivity micros?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE UART/SPI</title><link>https://devzone.nordicsemi.com/thread/150997?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 13:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2186ce2b-9ab7-4ba3-bff2-84d3cf182500</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;Does anyone know if&amp;nbsp;there is&amp;nbsp;a FW I can use that will allow using the nRF52 as a similar module through SPI or UART? Or is the nRF52 a bad choice here?&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Well we&amp;#39;ve got the&amp;nbsp;&lt;a title="Serialization" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_serialization.html?cp=4_0_0_3_42"&gt;Serialization&lt;/a&gt;&amp;nbsp;library, but the nRF52 is quite capable as a SoC on its own. Do you really need another MCU? What exactly are your needs?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>