<?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>send frequency using nrf8001 and arduino uno r3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2567/send-frequency-using-nrf8001-and-arduino-uno-r3</link><description>Hi, 
 I&amp;#39;m using the redbearlab shield in combination with an arduino uno r3.
I want to send sensor data at about 10 hz to my smartphone. 
 This works but sometimes I get an error 0x91 (Pipe Error Event : Credit not available). 
 When I up the frequency</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 May 2014 07:14:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2567/send-frequency-using-nrf8001-and-arduino-uno-r3" /><item><title>RE: send frequency using nrf8001 and arduino uno r3</title><link>https://devzone.nordicsemi.com/thread/10202?ContentTypeID=1</link><pubDate>Wed, 28 May 2014 07:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b4ca798-34f5-4fdb-81a2-af5f68a41e3e</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Could you look into it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send frequency using nrf8001 and arduino uno r3</title><link>https://devzone.nordicsemi.com/thread/10204?ContentTypeID=1</link><pubDate>Wed, 28 May 2014 07:12:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1652b4cf-0f0e-4c0e-a59f-c46328183fbb</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;i would really like to know this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send frequency using nrf8001 and arduino uno r3</title><link>https://devzone.nordicsemi.com/thread/10203?ContentTypeID=1</link><pubDate>Fri, 23 May 2014 12:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d4579c4-5b54-48f8-a431-2cd9a2a51a0f</guid><dc:creator>Koen</dc:creator><description>&lt;p&gt;Dear Soren thanks for your answer.&lt;/p&gt;
&lt;p&gt;I am already checking my available credits. This is the code i am using for sending my data. As soon as i raise above aproximately 8Hz i will get error 0x91:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
if ((lib_aci_is_pipe_available(&amp;amp;aci_state, PIPE_ROWING_PANEL_OAR_DATA_TX))
                &amp;amp;&amp;amp; (true == timing_change_done))
    {
      Serial.println(millis());
      if (send_data(dummy_angle, dummy_force))
      {
        aci_state.data_credit_available--;
        Serial.print(&amp;quot;Data Credit available: &amp;quot;);
        Serial.println(aci_state.data_credit_available, DEC);
        radio_ack_pending = true;
      }
      while (radio_ack_pending)
      {
        process_event();
      }
    }

&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;case ACI_EVT_DATA_CREDIT: makes radio_ack_pending false.&lt;/p&gt;
&lt;p&gt;I used the examples to construct this code. However i want to send at higher frequencies. So to reformulate my question: why am i getting this error since i am waiting in a while loop until i get a acknoledgement.?&lt;/p&gt;
&lt;p&gt;Thank you for your time&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send frequency using nrf8001 and arduino uno r3</title><link>https://devzone.nordicsemi.com/thread/10201?ContentTypeID=1</link><pubDate>Thu, 22 May 2014 17:40:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c54dc90-1995-4f27-a0ea-9e0ba0ba1554</guid><dc:creator>Soren</dc:creator><description>&lt;p&gt;You should always check your available credits &lt;em&gt;DataCreditEvent&lt;/em&gt; (0x8A) in the returned event of &lt;em&gt;SendData&lt;/em&gt; (0x15) command. You can&amp;#39;t send a request if you don&amp;#39;t have any credits available.&lt;/p&gt;
&lt;p&gt;This is a great reference if you&amp;#39;re using Arduino:
&lt;a href="https://github.com/guanix/arduino-nrf8001/"&gt;github.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,
Soren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: send frequency using nrf8001 and arduino uno r3</title><link>https://devzone.nordicsemi.com/thread/10200?ContentTypeID=1</link><pubDate>Thu, 22 May 2014 13:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e4e1f2-e277-44e2-b9ce-dc2937c32ed0</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;I am having the same problem, does anyone have a solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>