<?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>About disabling ESB and setting addresses with NRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2469/about-disabling-esb-and-setting-addresses-with-nrf51822</link><description>Hello! 
 I am working with a NRF51822 and I need to change the address of pipes regularly (so I can use more than 8 NRF communicating together with ESB protocol). 
 My problem is the following : to make the function nrf_esb_set_address_prefix_byte work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 May 2014 10:24:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2469/about-disabling-esb-and-setting-addresses-with-nrf51822" /><item><title>RE: About disabling ESB and setting addresses with NRF51822</title><link>https://devzone.nordicsemi.com/thread/9963?ContentTypeID=1</link><pubDate>Fri, 09 May 2014 10:24:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f80f7f31-dd38-41f8-9758-b10c11d438b7</guid><dc:creator>Nicolas</dc:creator><description>&lt;p&gt;I don&amp;#39;t know why, but it seems that it works now. I don&amp;#39;t understand where the problem was because I haven&amp;#39;t changed anything. If it happens again, I&amp;#39;ll post again here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About disabling ESB and setting addresses with NRF51822</title><link>https://devzone.nordicsemi.com/thread/9962?ContentTypeID=1</link><pubDate>Fri, 09 May 2014 08:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d558124-2b6d-49ac-9de9-da81b71021fa</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Nicolas,&lt;/p&gt;
&lt;p&gt;With your configuration, I&amp;#39;m seeing a delay from 0.14 (nominal) to 0.6 ms when disabling/update config/enabling.
Here&amp;#39;s my test while-loop:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        nrf_gpio_pin_set(0);
        nrf_esb_disable();
        while(nrf_esb_is_enabled());
        if (nrf_esb_set_channel(cnt &amp;amp; 0x3f))
            nrf_gpio_pin_clear(0);          
        nrf_esb_enable(); 
        while(!nrf_esb_is_enabled());
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Could you post your project so I can debug it at my end?&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About disabling ESB and setting addresses with NRF51822</title><link>https://devzone.nordicsemi.com/thread/9961?ContentTypeID=1</link><pubDate>Fri, 09 May 2014 06:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe4fc1eb-e970-4421-8ea0-615704d841e2</guid><dc:creator>Nicolas</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The disable-time is variable, from 5ms to 60ms&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Here are my ESB settings:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;
nrf_esb_init(NRF_ESB_MODE_PRX);
	
if(!nrf_esb_set_enabled_prx_pipes(0x3F)) error(0);
	
if(!nrf_esb_set_channel(rf_ch)) error(0);

if(!nrf_esb_set_crc_length(NRF_ESB_CRC_LENGTH_2_BYTE)) error(0);
if(!nrf_esb_set_max_number_of_tx_attempts(8)) error(0);
if(!nrf_esb_set_retransmit_delay(750)) error(0);
	
nrf_esb_enable_dyn_ack();
	
nrf_esb_enable();
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li&gt;When this happens, I am in PRX mode and no other NRF is using ESB on the same channel.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About disabling ESB and setting addresses with NRF51822</title><link>https://devzone.nordicsemi.com/thread/9960?ContentTypeID=1</link><pubDate>Wed, 07 May 2014 15:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e30f25d7-5b5a-4bc9-93db-4e05897ddd01</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Is this a consistent behavior at your end, Ie: is the disable-time variable?&lt;/li&gt;
&lt;li&gt;Could you post your ESB settings?&lt;/li&gt;
&lt;li&gt;If you&amp;#39;re mid-transmit, and disable the ESB library will wait until the payload you&amp;#39;re transmitting or receiving is finished. Are you in PRX mode or PTX mode when this happens?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About disabling ESB and setting addresses with NRF51822</title><link>https://devzone.nordicsemi.com/thread/9959?ContentTypeID=1</link><pubDate>Wed, 07 May 2014 15:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab8857e4-e61e-45fb-830a-2b9ce335b80b</guid><dc:creator>Nicolas</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The chip markings are N51822 QFAAG0 1342AA.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I&amp;#39;m using the &amp;quot;plain&amp;quot; esb_arm library. (But I&amp;#39;ve just tried with esb_sd_resources_arm and the problem remains the same)&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About disabling ESB and setting addresses with NRF51822</title><link>https://devzone.nordicsemi.com/thread/9958?ContentTypeID=1</link><pubDate>Wed, 07 May 2014 14:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab138266-058a-4869-96f9-af6b19401e5a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Could you post the chip markings of your device?
Should be something like:
N51822
QFAACA
1313AA&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Are you using the esb_sd_resources_arm/gcc or the &amp;quot;plain&amp;quot; esb_arm/gcc library?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>