<?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>nRF8001 problem with connection interval shoud be 7.5ms but it is 50 ms</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9426/nrf8001-problem-with-connection-interval-shoud-be-7-5ms-but-it-is-50-ms</link><description>Hi,
I have a problem with the nrF8001. I connected to STM32F4 and I use the nRF8001 SDK v1.7.
I need send several (less then 20) bytes from the device to the phone with the maximum posible frequency.
I was based on the example of &amp;quot;my_project&amp;quot; in SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Oct 2016 09:39:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9426/nrf8001-problem-with-connection-interval-shoud-be-7-5ms-but-it-is-50-ms" /><item><title>RE: nRF8001 problem with connection interval shoud be 7.5ms but it is 50 ms</title><link>https://devzone.nordicsemi.com/thread/34797?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2016 09:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84e2d5cb-991c-473e-9058-b3c7b4b810de</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I would recommend capturing a sniffer log so you can see what is happening on air. this way you will be able to see the connection interval and how often notifications are actually sent (to see which side we need to debug). Maybe UART debugging could help as well. Print timing events and timestamp when you call lib_aci_send_data to see if you are filling the buffers fast enough.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 problem with connection interval shoud be 7.5ms but it is 50 ms</title><link>https://devzone.nordicsemi.com/thread/34798?ContentTypeID=1</link><pubDate>Mon, 24 Oct 2016 10:57:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cd46e22-deba-45f6-b31b-4b2704f5d97e</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;So you are actually getting a TimingEvent with the new connection parameters? What speed are you using for SPI?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 problem with connection interval shoud be 7.5ms but it is 50 ms</title><link>https://devzone.nordicsemi.com/thread/34796?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2016 19:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0c0d236-8ae6-4afd-8445-16ae8a81263f</guid><dc:creator>kirem rahmani</dc:creator><description>&lt;p&gt;Hi run_ar,&lt;/p&gt;
&lt;p&gt;In my case I get a timing change event acknowledging the change request. Surely this is a sign that the master has accepted it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 problem with connection interval shoud be 7.5ms but it is 50 ms</title><link>https://devzone.nordicsemi.com/thread/34795?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2016 10:18:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa00f253-6e56-4ccf-a846-86bbaf58a137</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Is the Phone accepting the new connection parameters or rejecting them? When setting both max and min value to the minimum interval there is a high probability that the master doesn&amp;#39;t accept the parameters. In case the parameters is rejected I would recommed sending another request but increasing the max value. Note that you it might also be necessary to increase the timeour value when increasing the max value. Continue to retry using increasingly bigger values, until the master accepts the request. Note that the master is the one deciding what interval to use.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 problem with connection interval shoud be 7.5ms but it is 50 ms</title><link>https://devzone.nordicsemi.com/thread/34794?ContentTypeID=1</link><pubDate>Fri, 14 Oct 2016 22:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c793bdeb-fad0-4658-a6b5-c57040661728</guid><dc:creator>kirem rahmani</dc:creator><description>&lt;p&gt;Hi Mathew,
I hope that you managed to get an answer to this problem. If so, could you provide some information ?&lt;/p&gt;
&lt;p&gt;I am seeing exactly the same problem when connecting to an android 4.4.2 device.&lt;/p&gt;
&lt;p&gt;I am using the function lib_aci_change_timing_GAP_PPCP() that will use the following defines in the service.h file:&lt;/p&gt;
&lt;p&gt;#define GAP_PPCP_MAX_CONN_INT 0x6 /&lt;strong&gt;&amp;lt; Maximum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific value requested */
#define GAP_PPCP_MIN_CONN_INT  0x6 /&lt;/strong&gt;&amp;lt; Minimum connection interval as a multiple of 1.25 msec , 0xFFFF means no specific value requested */&lt;/p&gt;
&lt;p&gt;The preferred max and min connection interval parameter are set to the same value that represents the required 7.5ms.&lt;/p&gt;
&lt;p&gt;This should be the same as calling:&lt;/p&gt;
&lt;p&gt;bool lib_aci_change_timing(uint16_t minimun_cx_interval, uint16_t maximum_cx_interval, uint16_t slave_latency, uint16_t timeout);&lt;/p&gt;
&lt;p&gt;with the necessary timing requirements but utilises predefined constants.&lt;/p&gt;
&lt;p&gt;I get a timing event in response that reflects the change in requested timing parameters but my measurements show otherwise. In fact, closer to what you are seeing at around 30ms.&lt;/p&gt;
&lt;p&gt;Hopefully, someone at Nordic will see this as a bump and help provide a solution or a method to diagnose the cause of the problem.&lt;/p&gt;
&lt;p&gt;Thanks, Kirem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>