<?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>What is the meaning of &amp;quot;application processing&amp;quot; ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27385/what-is-the-meaning-of-application-processing</link><description>Hello,
I use sdk 8.0.0 and s110. I read this blog 
 And I did not understand some terms; 
 
 Application processing(for example 2ms each adv interval) 
 Number of packets to send in each connection interval(for example 1 packet) 
 
 Where and how</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Nov 2017 21:02:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27385/what-is-the-meaning-of-application-processing" /><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108148?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 21:02:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0acb5c8c-1864-4b84-a142-df1d334f8b00</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Download and open &amp;quot;s132_nrf52_5.0.0.zip&amp;quot; with S130 V5.0.0 Soft Device delivery pack. Open &amp;quot;s132_nrf52_5.0.0_migration-document.pdf&amp;quot;. Search for &amp;quot;BLE bandwidth configuration&amp;quot; or simply go to page 8. Read.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108152?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 20:09:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65be4f5d-d36f-4d99-906e-51372303b8b1</guid><dc:creator>purgoufr</dc:creator><description>&lt;p&gt;Ok. I understand the part about app processing. Thanks for this topic. But I still do not know how to change the number of packets to be received in each connection interval and how to determine it.Could you elaborate on this, please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108151?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 19:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d1312dc-33d8-4ebe-a776-4f589caa0417</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;If you have questions to a blog post then post it under it in the discussion. If it is just dummy experiment like this you can easily place loops full of some dummy instructions (like NOP) and simulate MCU processing by the app. Because nRF5x chps have fixed frequency of ARM Cortex-M core it&amp;#39;s quite easy to simulate certain occupation time. Indeed it&amp;#39;s more difficult to solve opposite problem: measure processing time of real application code. But that&amp;#39;s what I discussed above. If the simulation is the only problem then it&amp;#39;s easy and solved I guess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108150?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 19:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0215719-6f12-4766-a591-91ff20548aa4</guid><dc:creator>purgoufr</dc:creator><description>&lt;p&gt;Also, he shared in the other experiment ;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;S110 peripheral connection (example 3):&lt;/strong&gt;
Connection interval: 1 second
Slave latency: 0
RX payload bytes in each packet: 0 bytes
TX payload bytes in each packet: 20 bytes
&lt;strong&gt;&lt;em&gt;Number of packets to send in each connection interval: 1 packet
Number of packets to receive in each connection interval: 1 packet&lt;/em&gt;&lt;/strong&gt;
Master clock 32kHz accuracy: 50ppm
Slave clock 32kHz accuracy: 20ppm
TX power: 0dBm
application processing: 0%
DCDC operation excluded
Current consumption nRF51: 17.5uA&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;S110 peripheral connection (example 4):&lt;/strong&gt;
.
.
&lt;strong&gt;&lt;em&gt;Number of packets to send in each connection interval: 4 packet
Number of packets to receive in each connection interval: 1 packet&lt;/em&gt;&lt;/strong&gt;
.
.
Current consumption nRF51: 42.2uA
I&amp;#39;m trying to figure out how he did it.
(2/2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108149?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 19:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edead718-d4e5-4f44-be2c-3f1889562771</guid><dc:creator>purgoufr</dc:creator><description>&lt;p&gt;The purpose is quite simple. I want to implement experimental work done on  &lt;a href="https://devzone.nordicsemi.com/blogs/679/nrf51-current-consumption-for-common-scenarios/"&gt;this blog&lt;/a&gt;
I can change tx power, advertise interval and payload data bytes. But I&amp;#39;m trying to figure out how the guy who shared the experiment changed &amp;quot;application processing&amp;quot;. I&amp;#39;ll show you a piece of experiment;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Advertising 2:&lt;/strong&gt;
TX power: +4dBm
adv interval: 1200ms
payload: 10 bytes
&lt;strong&gt;&lt;em&gt;application processing: 2ms each adv interval.&lt;/em&gt;&lt;/strong&gt;
Average current consumption: 33,4 uA&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Advertising 3:&lt;/strong&gt;
TX power: +4dBm
adv interval: 1200ms
payload: 10 bytes
&lt;strong&gt;&lt;em&gt;application processing: 0ms each adv interval.&lt;/em&gt;&lt;/strong&gt;
Average current consumption: 25,7 uA&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to figure out how he did it.&lt;/p&gt;
&lt;p&gt;(1/2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108147?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 18:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3c1b5a4-2117-4e34-a262-515539b92251</guid><dc:creator>endnode</dc:creator><description>&lt;ol start="3"&gt;
&lt;li&gt;There are dozens of examples, it&amp;#39;s just question what exactly you want to test. So far you are pretty vague. Power consumption measurements are not discipline which you would get from 200-letter answer on internet forum. You wither are trained in that or not. You can get some introduction when you read Nordic blog posts about how to use Power Profiler Kit (PPK) which might be the easiest way how to measure power profile of some FW on nRF5x chip (with nRF5x DK board).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;(2/2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108146?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 18:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:516cd97d-d3c7-445c-a3ad-626347cc39a5</guid><dc:creator>endnode</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;How to measure application processing time for your particular FW? That&amp;#39;s not obvious, you can try to measure it indirectly by things like power consumption curve or you can try to use some profiler like &lt;a href="https://devzone.nordicsemi.com/blogs/952/instrumenting-with-segger-systemview/"&gt;SEGGER SystemView&lt;/a&gt;. In every case it&amp;#39;s not so obvious, straight forward and easy as you would probably like.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Your second question isn&amp;#39;t very clear, how you can change capabilities of your BLE app on top of Nordic BLE stack aka Soft Device on some of their chips is explained in throughput configuration of each connection link during SD initialization/enabling. Read migration guide attached to your Soft Device, Soft Device specification on Infocenter and various Q&amp;amp;S on this forum. But it&amp;#39;s basically in every BLE example in nRF5 SDK.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;(1/2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108145?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 18:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c5fecd-c42c-4d2c-a3d1-bcd0ba824cd6</guid><dc:creator>purgoufr</dc:creator><description>&lt;p&gt;First of all thanks for your informations&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;How can I get &amp;quot;&lt;strong&gt;application processing&lt;/strong&gt;&amp;quot;  values in the &lt;a href="https://devzone.nordicsemi.com/blogs/679/nrf51-current-consumption-for-common-scenarios/"&gt;blog&lt;/a&gt;. More specifically, how to measure &amp;quot;&lt;strong&gt;application processing&lt;/strong&gt;&amp;quot;?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;How can I change &lt;strong&gt;number of packets&lt;/strong&gt; ?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Is there any example I can test as code? How does a friend who shares in the blog measure power consumption by changing these values?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the meaning of "application processing" ?</title><link>https://devzone.nordicsemi.com/thread/108144?ContentTypeID=1</link><pubDate>Sun, 19 Nov 2017 19:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:161c12d9-5239-43f6-8724-dfa24494a35e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Application processing is the when ARM Coretx-M MCU executes code of your application FW. In other words what you compile into binary and is processed at given interrupt or other trigger.&lt;/p&gt;
&lt;p&gt;Number of packets is linked to mechanism how BLE Link Layer works. If you understand what Connection interval is and that normally (unless packet is lost or one of the sides uses Slave/Master Latency) two PDUs are exchanged (one Master -&amp;gt; Slave and one Slave -&amp;gt; Master) then it should be easy to understand that if both sides are able to execute more than one of such PDU-pair. If any of sides have more then one packet ready before connection event is scheduled and the opposite side reflects on MD bit in PDU header (More Data) then another PDU pair is exchanged until there are no more data o one of the sides have limit within the interval (these are stack and configuration specific).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>