14个帖子/ 0新
Last post
mjara
Offline
Last seen:4 years 3 weeks ago
加入:2016-08-17 20:20
Current in sleep mode

Hello,

我用DA14580测试了扩展的睡眠模式,它有效,但目前的消耗量为350 UA,而不是1.4 UA,如所预期的那样
对于此测试,我遵循Training_04_sleep_modes_current_measurement.v10.pdf的指令。我正在使用Pan1740 Doughter Loard和SDK 5.0.2.1的Pro套件。

First I used the power profiler of SmartSnippets tool, but the average current was 350 uA. I checked the current offset before doing this test.

Then, I used a DMM and the same results appear.

Finally, I used other projects like sleep_mode of the SDK guide, but the current level was again the same.

Maybe someone had this problem before and know how to fix it?. Maybe I am making a mistake during the measurement?. I really appreciate your help.

Best,

Matías

Device:
MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

I am measuring near 350 uA when the sleep is not enabled (app_default_sleep_mode = ARCH_SLEEP_OFF;) and the watchdog is enabled, so an NMI interrupt occurs, perhaps your system hits the NMI handler and this is what you measure. Other than that, check you pins if there is any kind of leakage, remove all the jumpers from the dev kit.

Thanks MT_dialog

mjara
Offline
Last seen:4 years 3 weeks ago
加入:2016-08-17 20:20
Hello MT_Dialog,

Hello MT_Dialog,

I am using,

sleep_state_t app_default_sleep_mode = ARCH_EXT_SLEEP_ON

所以我没有问题的问题。我检查了任何搭扣的引脚,没有任何显着差异。我正在使用最后一个SDK版本,你会推荐我尝试扩展睡眠模式吗?

By the way, I am using the Debug to program the DA14580 (start debug, and then stop), not Smart Snippets.

Best,

Matías

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

The program that you are using is fine (as far i could understand when you say sleep_mode of the SDK guide, you mean ble_app_sleepmode in the 5.0.4 SDK) since it fallls in permanent sleep and you dont have to place a long adv interval in order to measure the lowest point of the power consumtion, so after the few seconds of advertising the device will fall in sleep so at that point you should be able to measure tha lowest power consumtion. Using a PAN on a dialog's pro kit i wasn't able to replicate the 350uA that you see, the only value close to the was when the sleep was disabled and no radio activity (about 442uA), are you sure that you dont disable sleep anywhere in the testing code (arch_disable_sleep()) ?

Thanks MT_dialog

mjara
Offline
Last seen:4 years 3 weeks ago
加入:2016-08-17 20:20
Hello MT_Dialog,

Hello MT_Dialog,

I double checked and I never disable the sleep mode. Yes I am using the ble_app_sleepmode project in the 5.0.4 SDK .

The projects works fine, after 10 seconds, the ble stops advertising, but the current that I measured in "sleep mode" is near 350 uA.

I read inhttps://support.dialog-semicondiondiondum/current-bleappsleepmode.that in ble_app_sleemode in the major current consumption comes from the flash.
Maybe that is the extra current that I am measuring. Do you know anything about this issue?

Best,

Matías

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

Do you have a 583 with an embedded flash or a 580 ? The reference design that you are using hasn't got any flash interaction (your program downloads straight to the sysram via keil) also in order to use the flash you have to place some jumpers on the specified pins (you can check the pins for using the flash at the schematic on the pro motherboard right beside to the J6 header), check if you mistakenly have placed the power supply jumper of the SPI (you can find more info regarding the pins and the pro motherboard at the UM-B-034 document).

此外,您还可以执行以下测试,提高设备保持清醒和宣传的持续时间(将app_adv_data_update_to从1000 - > 10秒更改为3000 - > 30秒或甚至更多),并且在您改变之后,增加广告间隔(在user_config.h文件中更改user_adv_conf结构的成员.Intv_min结构和.intv_max结构)超过2甚至3秒,甚至是最大值的10.24秒。这将强制设备在广告间隔之间进入睡眠模式,并为测量仪器提供足够的时间来测量广告间隔之间的睡眠模式下的功耗(如果设备在预期睡眠前正常工作,则您应该看到最小值广告事件之间的功耗)。

Other than that i would suggest to try to use a different daughter board and perform the measurements.

Thanks MT_dialog

mjara
Offline
Last seen:4 years 3 weeks ago
加入:2016-08-17 20:20
Hello MT_Dialog,

Hello MT_Dialog,

是的,我正在使用580,因此没有嵌入式闪存。此外,我检查了SPI的电源摩尔伯,没有连接。

我表演了你建议的测试。但是当BLE停止广告时,我仍然测量相同的当前水平。我用另一个Dughter Board尝试了,发生了同样的事情。

Any other suggestion?. Thanks for your time,

Matías

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

I ve aksed you to do this in order to give you enough time to measure the power consumption between the advertising interval, not when the device falls asleep permanently, so what was the power consumption between the advertising intervals ?

You can perform the same with other SDK examples (increase the advertising interval and try to measure between the intervals, or kill the advertising at some point and dont start it again), perhaps also try on a fresh SDK, perhaps you ve made any changed on the current one.

Thanks MT_dialog

mjara
Offline
Last seen:4 years 3 weeks ago
加入:2016-08-17 20:20
Hello MT_DIalog,

Hello MT_DIalog,

The current between the advetising intervals is 440 uA (measured with SmartSnippets).

我尝试了一个新鲜的SDK,目前的水平从未在350岁以下。

Best,

Matías

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

由于教程表示您不会通过智能片段测量设备的最低功耗,并更好地使用DMM。如果此值与您用DMM测量的内容相同,那么如果您已经检查了所有上述情况,则无法考虑您的设备未按偏转主板进入睡眠模式的任何其他原因。仍未测量约1.5睡觉时,我无法思考任何可能对这种行为负责的任何东西。

Thanks MT_dialog

mjara
Offline
Last seen:4 years 3 weeks ago
加入:2016-08-17 20:20
Hello MT_dialog

Hello MT_dialog

After some test, I figured it out that if I use the Booter tool of Smar Snippets with Close Debug Sess to write in the SysRAM, then I can measure a low current of 2.2uA in sleep mode. But if I use Keil, although I detached the debug, the current level always increment in 300 uA.

Thank you for your time.

Matías

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

Are you using a dev kit or a custom board ? The expert kit when the debugger is attached on the board it consumes some extra power.

当使用Keil下载代码和智能片段使用电源分布器时,您是否可以看出580睡觉并醒来吗?您正在使用的Keil的哪个版本?

Thanks MT_dialog

mjara
Offline
Last seen:4 years 3 weeks ago
加入:2016-08-17 20:20
Hello MT_dialog

Hello MT_dialog

我正在使用开发套件 - 亲。

If I used Keil, I cannot see that the 580 goes to sleep in the Power Profiler of Smart Snippets. I am using Keil V5.21.1.0

Best,

Matías

MT_dialog
Offline
Last seen:2 months 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi mjara,

Hi mjara,

这可能是由于您拥有的JLink驱动程序之间的已知可携带性问题,以及您正在使用的Keil版本,请在已知问题部分和相应的常见问题解答中查看常见问题解答部分。凯尔MDK521a compability问题older JLink drivers.“。常见问题解答没有报告这一点,但我们已经观察到有时这个问题也可以在通过Keil下载时防止580睡眠。您可以按照此操作或安装旧版本的Keil。

Thanks MT_dialog