Extern Sleep Mode Current

15个帖子/ 0新
Last post
doman
Offline
Last seen:3年10个月前
加入:2016-10-17 09:42
Extern Sleep Mode Current

Hi:
I use prox_reporter for SDK 5.0.4,, when the system operates extended sleep mode.,I measured the current is 460uA, rather than 1.5uA, I used the internal LP_CLK_RCX20, I have to set where to drop the current.

设备:
MT_dialog
Offline
Last seen:2个月6天前
Staff
加入:2015-06-08 11:34
嗨多米南,

嗨多米南,

你不需要设置anything else in order for your device to go into sleep mode, the current that you see could be either from the debugger that is still attached on the 580 (stop the debugging in order for module to stop drawing current), also could be that the device doesn't sleep (you haven't set the proper flag ARCH_EXT_SLEEP_OFF or your fw is keeping the device awake), the last reason that something like this could happen is if something else drawing power from your circuit and not the 580.

谢谢MT_dialog

doman
Offline
Last seen:3年10个月前
加入:2016-10-17 09:42
嗨mt_dialog:

嗨mt_dialog:
我使用自定义电路板,只有一个DA14580和一些外部电容器,所以它不会是其他电路的电流消耗,另外我通过JTAG模拟,确定进入睡眠模式。当I“undef cfg_development_debug”时,它也可以模拟。当i“setbits16(sys_ctrl_reg,debugger_enable,0)时;”我的系统将崩溃,如何正确地停止调试按顺序进行模块?

谢谢

MT_dialog
Offline
Last seen:2个月6天前
Staff
加入:2015-06-08 11:34
嗨多米南,

嗨多米南,

What i mean is that while your code runs and the debugger from keil is attached the module will consume extra power, so in order to stop this from happening you will have to exit debugging mode from keil. Also the power consumption of the 580 is ~1.5uA when the device is sleeping, the proximity reporter sleeps and wakes up in order to advertise or keep a connection alive, you will be able to properly measure the lowest value of your power consumption when the device sleeps constantly if not i suppose that your instrument is averaging the current that the 580 consumes including the radio activities. Please also check the Tutorial 5: configuring sleep mode on DA1458x in order to see how to properly measure the power consumption.

谢谢MT_dialog

doman
Offline
Last seen:3年10个月前
加入:2016-10-17 09:42
嗨mt_dialog:

嗨mt_dialog:
I've done it. Thanks.

SMDZJL007.
Offline
Last seen:3年10个月前
加入:2015-08-04 15:07
嗨mt_dialog:

嗨mt_dialog:

I tried to define below in da1458x_config_basic.h in order to select deep sleep mode. Unfortunately, the power consumption is always ~500uA. What else I should do?

#undef CFG_EXT_SLEEP
#define cfg_deep_sleep.

I tried to follow up UM-B-006 DA14580 Sleep mode configuration v1.1 document, frankly speaking, this document is really hard to capture what is truly needed to enable sleep mode, should I modify main loop function? what else I should do to enable sleep mode beside the modification in da1458x_config_basic.h?

我当前的邮件循环只是重用SDK One,如下行。你能否建议我应该修改的其他东西可以启用14580睡眠模式?深度睡眠或延长睡眠对我来说没问题。

int main_func(void)
{
sleep_mode_t sleep_mode;
system_init();
而(1)
{
do {
schedule_while_ble_on();
}
while ((app_asynch_proc())); //grant control to the application, try to go to power down

if(((!ble_app_present)&&(check_gtl_state()))||(ble_app_present)))
{
global_int_stop();

app_asynch_sleep_proc();

sleep_mode = rwip_power_down();

if ((sleep_mode == mode_ext_sleep) || (sleep_mode == mode_deep_sleep))
{
arch_goto_sleep(sleep_mode);

WFI();

ARCH_RESUME_FROM_SLEEP();
}
else if (sleep_mode == mode_idle)
{
if (((!BLE_APP_PRESENT) && check_gtl_state()) || (BLE_APP_PRESENT))
{
WFI();
}
}
global_int_start();
}

if (USE_WDOG)
{
wdg_reload(watchdog_default_period);
}
}
}

SMDZJL007.
Offline
Last seen:3年10个月前
加入:2015-08-04 15:07
顺便说一下,我在哪里可以找到

顺便说一下,我在哪里可以找到your mentioned "Tutorial 5: configuring sleep mode on DA1458x"?

MT_dialog
Offline
Last seen:2个月6天前
Staff
加入:2015-06-08 11:34
Hi smdzj007,

Hi smdzj007,

You dont need to change anything in the main loop in order to have your device in deep sleep. To start with, the only thing you should do is to change (since you are using the SDK 5) in the user_config.h file the variable app_default_sleep_mode and leave everything else as is. Also in order to be able to measure the deep sleep current you need to burn you application in the OTP so the OTP mirroring and sysram shut down to execute.

The power measuring tutorial can be found in the Documents tab, in the tutorial section.

谢谢MT_dialog

wisilica
Offline
Last seen:10个月1周前
加入:2015-03-17 08:16
嗨多米南,

嗨多米南,

We are facing similar issue. The power consumption is ~370uA during extended sleep mode. How did you fix this?

kernel
Offline
Last seen:3年6个月前
加入:2017-04-14 04:35
Hi wisilica

Hi wisilica

在我的设备上发生了同样的问题,我使用SDK 5.04 Sleep_Mode演示应用程序,当系统在深度睡眠模式下时,电源累积为370UA,当ADV时,电源累积为410UA,我顺便问一下,即可插入JTAG连接器,

MT_dialog
Offline
Last seen:2个月6天前
Staff
加入:2015-06-08 11:34
Hi kernel,

Hi kernel,

Do you have the flash connected or if not the flash do you have any other jumpers applied on the J5 header (perhaps the SPI_SUP jumper) ?

谢谢MT_dialog

kernel
Offline
Last seen:3年6个月前
加入:2017-04-14 04:35
嗨mt_dialog,

嗨mt_dialog,

My test board is DA14580 Development Kit Expert, There is no flash or jumper connected to the board ,hex file is directly load to RAM by JTAG

At first,I guess,the extra current consume because of CHIP DEBUG is not shutdown (download hex file by JTAG), so , I use another development board to test, Schematic diagram is attached,after download deep sleep demo application HEX file to the SPI flash,and turn off other circuit ,only supply power to main chip and spi flash ,the chip current is 160ua .
我不知道为什么......

MT_dialog
Offline
Last seen:2个月6天前
Staff
加入:2015-06-08 11:34
Hi kernel,

Hi kernel,

The additional power that you get is too low to be caused by the attached debugger, perhaps this extra current that you get is caused by an additional module attached on your test board or somekind of leakage and not from the 580 itself.

谢谢MT_dialog

kernel
Offline
Last seen:3年6个月前
加入:2017-04-14 04:35
嗨mt_dialog,

嗨mt_dialog,

I check several times, there is no additional module consume current, just 580 and spi flash .
my own PCBA is already in making,I will test again to make sure that the extra current is caused by leakage or not when I got my own board.

谢谢

Jelphi
Offline
Last seen:5个月1周前
Staff
加入:2015-09-10 12:07
Hi Kernel,

Hi Kernel,

how can I contact you? we have a local team to support Huami , we worked with Huami Hefei,Huami SZ , my mail :Jelphi.zhang@diasemi.com

问候,
Jelph