This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[Solved] System Off consunption isn't ok on QFABB0

Hi, I have two customs boards and on the one with the QFABA0 I can go to system off and see 0.6uA of consunption but on another board with the QFABB0 I go into system off but the consunption still 4mA. I'm saying the board went into system off because when I push the button it reset. The radio part on the boards are very similar and on the board with the QFABB0 I don't have the swdclk external pull-down (I tried with that too, same result).

I'm using the following code to test:

/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
 *
 * The information contained herein is property of Nordic Semiconductor ASA.
 * Terms and conditions of usage are described in detail in NORDIC
 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
 *
 * Licensees are granted free, non-transferable use of the information. NO
 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
 * the file.
 *
 */

/** @file
 *
 * @defgroup blinky_example_main main.c
 * @{
 * @ingroup blinky_example
 * @brief Blinky Example Application main file.
 *
 */

#include <stdbool.h>
#include <stdint.h>
#include "nrf_delay.h"
#include "nrf_gpio.h"
#include "boards.h"

#define LED_1    5
#define LED_2  6
#define LED_3  7
#define LEDS_LIST1 { LED_1, LED_2, LED_3 }

#define SW1  16
#define SW2  15

const uint8_t leds_list[3] = LEDS_LIST1;

#define LEDS_MASK1      (1<<LED_1 | 1<<LED_2 | 1<<LED_3)


/**
 * @brief Function for application main entry.
 */
int main(void)
{
	// Configure BUTTON0 as a regular input
	nrf_gpio_cfg_input(SW2, NRF_GPIO_PIN_PULLUP);
	
	// Configure BUTTON1 with SENSE enabled
	nrf_gpio_cfg_sense_input(SW2, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW);
	
	// Configure LED-pins as outputs.
	LEDS_CONFIGURE(LEDS_MASK1);

	// Toggle LEDs.
	for (int i = 0; i < 3; i++)
	{
			for (int i = 0; i < 3; i++)
			{
					LEDS_INVERT(1 << leds_list[i]);
					nrf_delay_ms(500);
			}
	}
	NRF_POWER->SYSTEMOFF = 1;
	
}


/** @} */

PS: The consunption rise from 4.1mA to 4.6mA.

Parents Reply Children
No Data
Related