<?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>nrf nus service cpu bandwidth usage as peripheral</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29862/nrf-nus-service-cpu-bandwidth-usage-as-peripheral</link><description>pca10040 S132 5.1.0 
 if i run only a single nrf nus service (rx and tx) at 4 k bytes / sec both directions, how much load would this put on the 52832 
 the test is assuming simple pass through from bluetooth to serial 
 i need to evaluate how much</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jan 2018 13:30:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29862/nrf-nus-service-cpu-bandwidth-usage-as-peripheral" /><item><title>RE: nrf nus service cpu bandwidth usage as peripheral</title><link>https://devzone.nordicsemi.com/thread/118705?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 13:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e50d9445-ccfd-4fe0-9859-fc759d5b8870</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Maybe this blog is of interest: &lt;a href="https://devzone.nordicsemi.com/blogs/952/instrumenting-with-segger-systemview/"&gt;Instrumenting with Segger SystemView&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can find some information about the Softdevice&amp;#39;s CPU usage here: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.sds/dita/softdevices/s130/processor_avail_interrupt_latency/processor_usage_patterns.html?cp=2_3_1_0_15_2"&gt;Processor usage patterns and availability&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf nus service cpu bandwidth usage as peripheral</title><link>https://devzone.nordicsemi.com/thread/118706?ContentTypeID=1</link><pubDate>Sun, 28 Jan 2018 00:06:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95c53fc3-9ef4-4d8e-a31e-a1a41f297ab5</guid><dc:creator>efiLabs</dc:creator><description>&lt;p&gt;one of my application will need a certain amount of cpu bandwidth in order to fulfill it&amp;#39;s functionality, like reading injector pulses and outputting them again, otherwise the engine stops ... most of it will be handled in high prio isrs (not as high as the nrf radio isrs) and some other isrs and some stuff will run at the main loop level&lt;/p&gt;
&lt;p&gt;i have no real estimate of how much this will take and would not know in which measurement units i would express this&lt;/p&gt;
&lt;p&gt;a previous product was based upon an ARM7TDMI-S cpu (lpc2148) and it ran fine ... had plenty of cpu left, based upon the main loop frequ.&lt;/p&gt;
&lt;p&gt;since the unit is vehicle battery powered, i&amp;#39;m not worried about sleep or similar power saving options ... also my main loop test-setup is not setup to support sleeping at the moment&lt;/p&gt;
&lt;p&gt;is there any cpu bandwidth measurement available to correlate a certain bit-rate in and out with no retries and cpu load % value ... and then how much does it degrade on a certain % of retries&lt;/p&gt;
&lt;p&gt;since there is a practical max ble data rate for a single connection, or the whole radio, there should be a cpu on vs sleep % available for it ... one would think ???&lt;/p&gt;
&lt;p&gt;it&amp;#39;s hard to believe that i&amp;#39;m the only one asking for this ... yes there are apps where the cpu sleeps most of the time, but mine can&amp;#39;t be the only one where the data throughput is the important factor and what&amp;#39;s left over after all the data flow is handled&lt;/p&gt;
&lt;p&gt;i suppose i could measure (estimate) it in a similar way by having a simple main loop freq measurement without ble connected and then connect and load the cpu with specified data in and out rates and see how the main loop frequ drops&lt;/p&gt;
&lt;p&gt;any supporting thoughts are always highly appreciated&lt;/p&gt;
&lt;p&gt;cheers Klaus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf nus service cpu bandwidth usage as peripheral</title><link>https://devzone.nordicsemi.com/thread/118704?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 12:09:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac8ba49f-f429-4690-b12e-e52dce933bc2</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Calculating this is difficult as it depends on how much time the Softdevice has to spend dealing with packet loss, etc.&lt;/p&gt;
&lt;p&gt;I think the most common way of doing this is to simply toggle a GPIO before and after entering sleep mode. Then measure this GPIO with a logic analyzer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>