current consumption and deep sleep

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
7 posts / 0 new
Last post
sna
Offline
Last seen:3 months 2 weeks ago
Joined:2020-10-22 14:54
current consumption and deep sleep

Hello!

I have problem with current consumption in deep sleep with my DA14531Mod.

I have right now 0.012 uA in deep sleep mode but according data sheet it has to be ~0.005 uA

I use temperture measurement SPI chip MAX6675.

I also need access to flash and for MAX6675 I use software SPI (GPIO_PIN_7, GPIO_PIN_8, GPIO_PIN_9)

I use DA14531-DA14585-586_Ble_Button_Wakeup example as base project for my deep sleep.

Before sleep I make setup with my pins

GPIO_SetActive(GPIO_PORT_0, MAX6675_ENABLE); // it is MOSFET to turn off MAX6675 power
GPIO_SetInactive(GPIO_PORT_0, GPIO_PIN_7);
GPIO_SetInactive(GPIO_PORT_0, GPIO_PIN_8);
GPIO_SetInactive(GPIO_PORT_0, GPIO_PIN_9);
syscntl_dcdc_turn_off();

你能帮我减少当前消费deep sleep mode?

Device:
PM_Dialog
Offline
Last seen:2 days 9 hours ago
Staff
Joined:2018-02-08 11:03
Hi sna,

Hi sna,

Could you indicate which is the MAX6675_ENABLE pin?

If the P0_0 is used for the MAX6675, please check section 7 Application Information from theDA14531 Module Datasheet.

In case of the power consumption, I would recommend first checking theDA14531 Sleep Mode Tutorial (HTML)tutorial. Please see section 5. Deep Sleep configuration.

Thanks, PM_Dialog

sna
Offline
Last seen:3 months 2 weeks ago
Joined:2020-10-22 14:54
Thanks for your response!

Thanks for your response!

MAX6675_ENABLE - it is a pin GPIO_PIN_5

sna
Offline
Last seen:3 months 2 weeks ago
Joined:2020-10-22 14:54
I already saw DA14531 Sleep

I already sawDA14531 Sleep Mode Tutorial (HTML)

My configuration exactly as tutorial describe.

#define CFG_DEEP_SLEEP_RAM1 PD_SYS_DOWN_RAM_OFF #define CFG_DEEP_SLEEP_RAM2 PD_SYS_DOWN_RAM_OFF #define CFG_DEEP_SLEEP_RAM3 PD_SYS_DOWN_RAM_OFF #define CFG_DEEP_SLEEP_PAD_LATCH_EN false

.... Here my setup to wakeup by GPIO_PIN_11

wkupct_enable_irq( (WKUPCT_PIN_SELECT(GPIO_PORT_0, GPIO_PIN_11) ), (WKUPCT_PIN_POLARITY(GPIO_PORT_0, GPIO_PIN_11, WKUPCT_PIN_POLARITY_HIGH) ), EVENTS_BEFORE_INTERRUPT, DEBOUNCE_TIME); wkupct_register_callback(user_app_wakeup_press_cb);

PM_Dialog
Offline
Last seen:2 days 9 hours ago
Staff
Joined:2018-02-08 11:03
Hi sna,

Hi sna,

Thanks for your comment. If you remove the MAX6675, what is the power consumption run the tutorial? I assume that the on-module SPI flash is programmed and the device is booting from there.

Is it a custom board, or our Pro-DK ?

Thanks, PM_Dialog

sna
Offline
Last seen:3 months 2 weeks ago
Joined:2020-10-22 14:54
This is a custom board;

This is a custom board;

I unsoldered MAX6675 - so the consumption the same. This value still unchaged

PM_Dialog
Offline
Last seen:2 days 9 hours ago
Staff
Joined:2018-02-08 11:03
Hi sna,

Hi sna,

Which project are you using to measure the deep sleep currents? Did you follow the suggested tutorial?

Thanks, PM_Dialog