<?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>How to turn radio off in proprietary mode (nrf_esb)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38284/how-to-turn-radio-off-in-proprietary-mode-nrf_esb</link><description>We make the project where we want to connect new device (currently designing on nRf52832) to existing system made on nRF24. It&amp;#39;s a beacon in proprietary mode. It should periodicaly wake up, send Req, receive Ack, (sometimes another one Req/Ack) and going</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Sep 2018 21:58:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38284/how-to-turn-radio-off-in-proprietary-mode-nrf_esb" /><item><title>RE: How to turn radio off in proprietary mode (nrf_esb)?</title><link>https://devzone.nordicsemi.com/thread/148293?ContentTypeID=1</link><pubDate>Tue, 11 Sep 2018 21:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:516e35cb-2af9-450f-8bc1-5d6217a7c0eb</guid><dc:creator>Athos</dc:creator><description>&lt;p&gt;hi everybody,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i don&amp;#39;t understand how to&amp;nbsp;fit it in my programm.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a time base made by Timer, and&amp;nbsp;the programm RX mode&amp;nbsp;switching between on and off(low power mode).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not able to turn it off.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;          handler time base called by the timer: 
           
            on(LED);
			rf_proprietary_rx_start(); // nrf_esb_start_rx();
			while(rf_proprietary_rx_get_counter() != 0);
			rf_proprietary_rx_stop(); // nrf_esb_stop_rx();
			off(LED);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It does not work right.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn radio off in proprietary mode (nrf_esb)?</title><link>https://devzone.nordicsemi.com/thread/148075?ContentTypeID=1</link><pubDate>Mon, 10 Sep 2018 15:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:811a45e5-79ee-4a8f-be5b-7dd080ef2b19</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You may try to power cycle the radio peripheral, e.g.:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        nrf_esb_disable();
        
        // Power cycle the radio perpipheral
        *(volatile uint32_t *)0x40001FFC = 0;
        *(volatile uint32_t *)0x40001FFC;
        *(volatile uint32_t *)0x40001FFC = 1;
        
        err_code = esb_init();
        APP_ERROR_CHECK(err_code);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;That seems to work without any problems here placed in the while(1) loop in main() in&amp;nbsp;\examples\proprietary_rf\esb_ptx&lt;/p&gt;
&lt;p&gt;I highly recommend using 16bit CRC.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn radio off in proprietary mode (nrf_esb)?</title><link>https://devzone.nordicsemi.com/thread/147758?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 10:45:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1a4152d-3f4e-4281-a220-e7fa3d906205</guid><dc:creator>Vladimir Aparin</dc:creator><description>&lt;p&gt;There are our init function.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t esb_init( void )
{
    uint32_t err_code;
    
    uint8_t base_addr_0[4] = {0xE7, 0xE7, 0xE7, 0xEF};
    uint8_t base_addr_1[4] = {0xA1, 0xA2, 0xA3, 0xA4};
    uint8_t addr_prefix[8] = {0xE0, 0xA0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0 };
    
    nrf_esb_config_t nrf_esb_config         = NRF_ESB_DEFAULT_CONFIG;
     
        
    nrf_esb_config.protocol=                NRF_ESB_PROTOCOL_ESB_DPL;
    nrf_esb_config.retransmit_delay=        600;
    nrf_esb_config.bitrate=                 NRF_ESB_BITRATE_2MBPS;
    nrf_esb_config.event_handler=           nrf_esb_event_handler;
    nrf_esb_config.mode=                    NRF_ESB_MODE_PTX;
    nrf_esb_config.selective_auto_ack=      1;
    nrf_esb_config.payload_length=          4;
    nrf_esb_config.retransmit_count=        3;
    nrf_esb_config.crc=                     NRF_ESB_CRC_8BIT;
    nrf_esb_config.tx_mode=                 NRF_ESB_TXMODE_MANUAL;

    err_code = nrf_esb_init(&amp;amp;nrf_esb_config);
    VERIFY_SUCCESS(err_code);

    nrf_esb_enable_pipes(3);
    
    err_code = nrf_esb_set_base_address_0(base_addr_0);
    VERIFY_SUCCESS(err_code);

    err_code = nrf_esb_set_base_address_1(base_addr_1);
    VERIFY_SUCCESS(err_code);
    if(addr_prefix[0])
        __NOP();
    err_code = nrf_esb_set_prefixes(addr_prefix, 4); // This function configures the number of available pipes, enables the pipes, and sets their prefix addresses.
    VERIFY_SUCCESS(err_code);
    
    nrf_esb_update_prefix(0, 0xE0);
    
    err_code = nrf_esb_set_rf_channel(1);
    VERIFY_SUCCESS(err_code);

    return err_code;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn radio off in proprietary mode (nrf_esb)?</title><link>https://devzone.nordicsemi.com/thread/147746?ContentTypeID=1</link><pubDate>Fri, 07 Sep 2018 09:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe11e207-492d-43d7-83d9-5ef1df522815</guid><dc:creator>Vladimir Aparin</dc:creator><description>&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;We trying to turn radio off by nrf_esb_disable(). Now we can&amp;#39;t reinitilaze the radio by nrf_esb_init().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>