<?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>Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53726/putting-bl654-in-sleep-mode</link><description>Hi all 
 
 How to put BL654 in deep sleep mode and standby doze mode using nordic nrf52840 ?? Also how to turn the system off?? 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2019 09:03:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53726/putting-bl654-in-sleep-mode" /><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/219611?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 09:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a1a5a18-9bd0-45b8-941c-d694fcd7310a</guid><dc:creator>dkj047</dc:creator><description>&lt;p&gt;Hi thanks ,&lt;/p&gt;
&lt;p&gt;Yes, this is probably the best i can do in my case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/218717?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 07:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47858523-f4e3-4e51-af07-dd1c5fcb356a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;You can uninitialize the logger module before going to sleep and reinitialize it as part of your wake-up routine. Will that be an acceptable method?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/218706?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 04:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:389287d9-78c2-40ec-a3b9-9bc2d81d1811</guid><dc:creator>dkj047</dc:creator><description>&lt;p&gt;Hi thanks&lt;/p&gt;
&lt;p&gt;Do I really have to remove the logger in order to put the chip to sleep mode?? Is there a way to clear the logger for certain period of time so the chip will go to sleep properly??&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/218132?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2019 06:43:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6739dbdc-de33-475b-ace4-fd73b90e4ed5</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If you still have the logging showing you NRF_SUCCESS or not after the idle_state_handle() call the chip will wake up right away and enable the logging module, which will cause an additional current draw. Try making the loop just contain idle_state_handle();.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217970?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 13:16:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:191c1216-f4b1-4a59-9fcd-b08bf374605d</guid><dc:creator>dkj047</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have replaced the sd_app_evt_wait() with idle_state_handle () but the current consumption I am getting is still 1.7mA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217968?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 13:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:679090a0-b648-4573-8afb-5f03e303e744</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you try replacing the sd_app_evt_wait(); call with a call to idle_state_handle() instead, as that should prepare the chip and set it to sleep properly?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217940?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 12:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:902cb634-9a5c-4fa5-9096-d35316bc933a</guid><dc:creator>dkj047</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I do have idle_state_handle() in my application&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void idle_state_handle(void)
{

  if (NRF_LOG_PROCESS() == false)
  {
    nrf_pwr_mgmt_run();
  }
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217935?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 11:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8cd6d8d-e599-448d-897e-6121cd168a05</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have the idle_state_handle() function in your application? I suggest you use this function instead, as it prepares the chip to go to sleep instead of just putting it to sleep. The idle_state_handle will check if the logger module is done with all its processing before calling the nrf_pwr_mgmt which prepares the chip for sleep and sets wake up pins, etc. before calling the sd_app_evt_wait() function. Please see I.E. the ble_app_uart example to see how it is called.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217897?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 08:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bac049a-74fd-421a-9ef5-af160018486c</guid><dc:creator>dkj047</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have connected a 1 ohm resistor setup across the battery to measure the current consumption.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The board is not going to sleep/doze mode for some reason. My doubt is that the SPI peripheral is active which is preventing the board from going into the sleep mode. I have seen the chip select (slave select) low on oscilloscope. It looks to me that the spi driver are controlling the ss pin and even though I&amp;#39;m making it high in FW, it is still low. I have started another thread about the chip select &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53866/slave-select-pin-always-low"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/53866/slave-select-pin-always-low&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;main.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;**
 * Copyright (c) 2016 - 2018, Nordic Semiconductor ASA
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this
 *    list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form, except as embedded into a Nordic
 *    Semiconductor ASA integrated circuit in a product or a software update for
 *    such product, must reproduce the above copyright notice, this list of
 *    conditions and the following disclaimer in the documentation and/or other
 *    materials provided with the distribution.
 *
 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
 *    contributors may be used to endorse or promote products derived from this
 *    software without specific prior written permission.
 *
 * 4. This software, with or without modification, must only be used with a
 *    Nordic Semiconductor ASA integrated circuit.
 *
 * 5. Any software provided in binary form under this license must not be reverse
 *    engineered, decompiled, modified and/or disassembled.
 *
 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA &amp;quot;AS IS&amp;quot; AND ANY EXPRESS
 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */
/**@cond To Make Doxygen skip documentation generation for this file.
 * @{
 */

/*********************************************************************
 * INCLUDES
 */
#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;string.h&amp;gt;

#include &amp;quot;amt.h&amp;quot;
#include &amp;quot;counter.h&amp;quot;
#include &amp;quot;app_error.h&amp;quot;
#include &amp;quot;app_timer.h&amp;quot;
#include &amp;quot;ble.h&amp;quot;
#include &amp;quot;ble_advdata.h&amp;quot;
#include &amp;quot;ble_gatt.h&amp;quot;
#include &amp;quot;ble_hci.h&amp;quot;
#include &amp;quot;ble_srv_common.h&amp;quot;
#include &amp;quot;bsp_btn_ble.h&amp;quot;
#include &amp;quot;nordic_common.h&amp;quot;
#include &amp;quot;nrf.h&amp;quot;
#include &amp;quot;nrf_ble_gatt.h&amp;quot;
#include &amp;quot;nrf_ble_qwr.h&amp;quot;
#include &amp;quot;nrf_ble_scan.h&amp;quot;
#include &amp;quot;nrf_cli.h&amp;quot;
#include &amp;quot;nrf_cli_rtt.h&amp;quot;
#include &amp;quot;nrf_cli_uart.h&amp;quot;
#include &amp;quot;nrf_gpio.h&amp;quot;
#include &amp;quot;nrf_pwr_mgmt.h&amp;quot;
#include &amp;quot;nrf_sdh.h&amp;quot;
#include &amp;quot;nrf_sdh_ble.h&amp;quot;
#include &amp;quot;sdk_config.h&amp;quot;
#include &amp;quot;nrf_log.h&amp;quot;
#include &amp;quot;nrf_log_ctrl.h&amp;quot;
#include &amp;quot;nrf_log_default_backends.h&amp;quot;
#include &amp;quot;app_util_platform.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;nrf_drv_spi.h&amp;quot;
#include &amp;quot;nrf_drv_twi.h&amp;quot;
#include &amp;quot;app_pwm.h&amp;quot;
#include &amp;quot;nrf_drv_saadc.h&amp;quot;


#define SPI_INSTANCE_0          2 /**&amp;lt; SPI instance index. */ 
#define SPI_INSTANCE_1          1 /**&amp;lt; SPI instance index. */ 
#define TWI_INSTANCE_ID         0 

#define BLE_TIMER_INTERVAL      APP_TIMER_TICKS(8) 

#define DATA_LENGTH_DEFAULT     27    /**&amp;lt; The stack default data length. */
#define DATA_LENGTH_MAX         251   /**&amp;lt; The stack maximum data length. */

#define CONN_INTERVAL_DEFAULT (uint16_t)(MSEC_TO_UNITS(7.5, UNIT_1_25_MS))  /**&amp;lt; Default connection interval used at connection establishment by central side. */
#define CONN_INTERVAL_MIN     (uint16_t)(MSEC_TO_UNITS(10, UNIT_1_25_MS))   /**&amp;lt; Minimum acceptable connection interval, in units of 1.25 ms. */
#define CONN_INTERVAL_MAX     (uint16_t)(MSEC_TO_UNITS(15, UNIT_1_25_MS))   /**&amp;lt; Maximum acceptable connection interval, in units of 1.25 ms. */
#define CONN_SUP_TIMEOUT      (uint16_t)(MSEC_TO_UNITS(100, UNIT_10_MS))    /**&amp;lt; Connection supervisory timeout (4 seconds). */
#define SLAVE_LATENCY          0                                            /**&amp;lt; Slave latency. */

#define SCAN_ADV_LED            BSP_BOARD_LED_0
#define READY_LED               BSP_BOARD_LED_1
#define PROGRESS_LED            BSP_BOARD_LED_2
#define DONE_LED                BSP_BOARD_LED_3
#define BOARD_TESTER_BUTTON     BSP_BUTTON_2           /**&amp;lt; Button to press at the beginning of the test to indicate that this board is connected to the PC and takes input from it via the UART. */
#define BOARD_DUMMY_BUTTON      BSP_BUTTON_3           /**&amp;lt; Button to press at the beginning of the test to indicate that this board is standalone (automatic behavior). */


#define BUTTON_DETECTION_DELAY  APP_TIMER_TICKS(50) /**&amp;lt; Delay from a GPIOTE event until a button is reported as pushed (in number of timer ticks). */
#define APP_BLE_CONN_CFG_TAG    1   /**&amp;lt; Tag that refers to the BLE stack configuration. */
#define APP_BLE_OBSERVER_PRIO   3   /**&amp;lt; BLE observer priority of the application. There is no need to modify this value. */


static const nrf_drv_spi_t spi_0 = NRF_DRV_SPI_INSTANCE(SPI_INSTANCE_0);  /**&amp;lt; SPI instance  */
static const nrf_drv_spi_t spi_1 = NRF_DRV_SPI_INSTANCE(SPI_INSTANCE_1);  /**&amp;lt; SPI instance  */
/* TWI instance. */
static const nrf_drv_twi_t m_twi = NRF_DRV_TWI_INSTANCE(TWI_INSTANCE_ID); 
APP_PWM_INSTANCE(PWM1,1);                   // Create the instance &amp;quot;PWM1&amp;quot; using TIMER1.


static uint8_t m_adv_handle = BLE_GAP_ADV_SET_HANDLE_NOT_SET; /**&amp;lt; Advertising handle used to identify an advertising set. */
static uint8_t m_enc_advdata[BLE_GAP_ADV_SET_DATA_SIZE_MAX];  /**&amp;lt; Buffer for storing an encoded advertising set. */

APP_TIMER_DEF(m_timer_id);        
APP_TIMER_DEF(m_timer_id2); 

NRF_BLE_GATT_DEF(m_gatt);                 /**&amp;lt; GATT module instance. */
NRF_BLE_QWR_DEF(m_qwr);                   /**&amp;lt; Context for the Queued Write module.*/
BLE_DB_DISCOVERY_DEF(m_ble_db_discovery); /**&amp;lt; Database discovery module instance. */
NRF_BLE_SCAN_DEF(m_scan);                 /**&amp;lt; Scanning Module instance. */

nrf_ble_amtc_t m_amtc;
nrf_ble_amts_t m_amts;
NRF_SDH_BLE_OBSERVER(m_amtc_ble_obs, BLE_AMTC_BLE_OBSERVER_PRIO, nrf_ble_amtc_on_ble_evt, &amp;amp;m_amtc);
NRF_SDH_BLE_OBSERVER(m_amts_ble_obs, BLE_AMTS_BLE_OBSERVER_PRIO, nrf_ble_amts_on_ble_evt, &amp;amp;m_amts);

NRF_CLI_UART_DEF(cli_uart, 0, 64, 16);
NRF_CLI_RTT_DEF(cli_rtt);
NRF_CLI_DEF(m_cli_uart, &amp;quot;throughput example:~$ &amp;quot;, &amp;amp;cli_uart.transport, &amp;#39;\r&amp;#39;, 4);
NRF_CLI_DEF(m_cli_rtt, &amp;quot;throughput example:~$ &amp;quot;, &amp;amp;cli_rtt.transport, &amp;#39;\n&amp;#39;, 4);

void main(void)
{
nrf_pwr_mgmt_init();
 app_timer_init();
  counter_init();  //config.prescaler =32
  peripheral_init(); 
  // Inside peripheral_init()
  //    spi_open(SPI0, NRF_SPI_FREQ_8M, NRF_DRV_SPI_MODE_0);
  //    spi_open(SPI1, NRF_SPI_FREQ_250K, NRF_DRV_SPI_MODE_3); //SD card frequency range 100-400 KHz while initializing
  //    twi_init(m_twi);
  //    nrf_gpio_cfg_output(SDCARD_CS);
  //    nrf_gpio_pin_set(SDCARD_CS);
  //    nrf_gpio_cfg_output(SDCARD_CS1);
  //    nrf_gpio_pin_set(SDCARD_CS1);
  //    nrf_gpio_cfg_output(TWI_CLK);     
//    SetPin(TWI_CLK,HIGH);
//    nrf_gpio_cfg_output(TWI_DATA);
//    SetPin(TWI_DATA,HIGH);

    application_timers_start();  //starting both timers here
    
    nrf_sdh_enable_request();
    nrf_sdh_ble_default_cfg_set(APP_BLE_CONN_CFG_TAG, &amp;amp;ram_start);
    nrf_sdh_ble_enable(&amp;amp;ram_start);
    NRF_SDH_BLE_OBSERVER(m_ble_observer, APP_BLE_OBSERVER_PRIO, ble_evt_handler, NULL);
    
    while(1)
    {
        ret_code_t ret_code = sd_app_evt_wait();
        ASSERT((ret_code == NRF_SUCCESS) || (ret_code == NRF_ERROR_SOFTDEVICE_NOT_ENABLED));
        UNUSED_VARIABLE(ret_code);
    }


}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217557?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 13:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:662c028f-75b4-41b1-b3fd-7af8d02c1057</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Can you please upload your main.c file, so I can take a look at what&amp;#39;s enabled and not in your application? Also, could you explain how you&amp;#39;re measuring the current of your board? Please check out the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/hardware-and-layout/posts/nrf51-current-consumption-guide"&gt;current consumption guide&lt;/a&gt; for all the trivial things to look out for when trying to reduce the current consumption.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217436?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 07:04:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae5cd9e0-6f52-4ae6-b1ee-802cde22a0df</guid><dc:creator>dkj047</dc:creator><description>&lt;p&gt;Hi thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The soft device is enabled. I&amp;#39;m trying to use sd_app_evt_wait(); but the current consumption is 1.7 mA which is too high for sleep/doze mode. What could be the reason for this?&amp;nbsp; I have not configured any gpio and i am using following code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;main()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;while(1)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;sd_app_evt_wait();&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;These are some&amp;nbsp; of the module enabled in sdk&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BLE DB DISCOVERY ENABLED&lt;br /&gt;NRF BLE GATT ENABLED&lt;br /&gt;NRF BLE QWR ENABLED&lt;br /&gt;NRF BLE SCAN ENABLED&lt;br /&gt;PM CENTRAL ENABLED&lt;br /&gt;PM SERVICE CHANGE ENABLED&lt;br /&gt;PM PEER RANKS ENABLED&lt;br /&gt;NRF CRYPTO ENABLED&lt;br /&gt;GPIOTE ENABLED&lt;br /&gt;NRFX CLOCK ENABLED&lt;br /&gt;NRFX GPIOTE ENABLED&lt;br /&gt;NRFX PRS ENABLED&lt;br /&gt;NRFX PWM ENABLED&lt;br /&gt;NRFX PWM0 ENABLED&lt;br /&gt;NRFX PWM1 ENABLED&lt;br /&gt;NRFX RTC ENABLED&lt;br /&gt;NRFX SPIM ENABLED&lt;br /&gt;NRFX SPI ENABLED&lt;br /&gt;NRFX SPI0 ENABLED&lt;br /&gt;NRFX SPI1 ENABLED&lt;br /&gt;NRFX TIMER ENABLED&lt;br /&gt;NRFX TWI ENABLED&lt;br /&gt;NRFX TWI0 ENABLED&lt;br /&gt;NRFX UARTE ENABLED&lt;br /&gt;NRFX CLOCK ENABLED&lt;br /&gt;NRFX PPI ENABLED&lt;br /&gt;NRFX PWM ENABLED&lt;br /&gt;PWM0 ENABLED&lt;br /&gt;RTC ENABLED&lt;br /&gt;RTC2 ENABLED&lt;br /&gt;SPI ENABLED&lt;br /&gt;SPI1 ENABLED&lt;br /&gt;SPI USE EASY DMA &lt;br /&gt;SPI2 ENABLED&lt;br /&gt;TIMER ENABLED&lt;br /&gt;TIMER0 ENABLED&lt;br /&gt;TIMER1 ENABLED&lt;br /&gt;TWI ENABLED&lt;br /&gt;TWI0 ENABLED&lt;br /&gt;TWI0 USE EASY DMA&lt;br /&gt;UART ENABLED&lt;br /&gt;UART0 ENABLED&lt;br /&gt;APP PWM ENABLED&lt;br /&gt;APP SCHEDULER ENABLED&lt;br /&gt;APP TIMER ENABLED&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting bl654 in sleep mode</title><link>https://devzone.nordicsemi.com/thread/217251?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 08:27:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5508bfc2-e912-44ce-a636-74a384f5637e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Depending on whether you&amp;#39;re using the SoftDevice or not, there are a few ways to do this.&lt;/p&gt;
&lt;p&gt;No SoftDevice:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;System ON mode. You can create a power manage function, consisting of __WFE(); __SEV(); __WFE();.&lt;/li&gt;
&lt;li&gt;System OFF mode. You can call&amp;nbsp;&lt;strong&gt;NRF_POWER-&amp;gt;SYSTEMOFF&amp;nbsp;=&amp;nbsp;1;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;SoftDevice enabled:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;System ON mode. Call&amp;nbsp;&lt;strong&gt;sd_app_evt_wait();&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;System OFF mode. Call&amp;nbsp;&lt;strong&gt;sd_power_system_off();&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>