你好,
I was testing the extended sleep mode with the DA14580 and it works, but the current consumption was 350 uA, and not 1.4 uA, as expected
For this test I followed the instructions of the Training_04_sleep_modes_current_measurement.v10.pdf. I am using the pro kit with a PAN1740 doughter board and the SDK 5.0.2.1.
首先,我使用了SmartSnippets工具的power profiler,但是平均电流是350uA。在做这个测试之前,我检查了当前偏移量。
然后,我用数字万用表和同样的结果出现。
最后,我使用了其他项目,比如SDK指南中的sleep\u模式,但是当前的级别还是一样的。
也许有人以前有过这个问题,知道怎么解决?。也许我在测量的时候弄错了?。我真的很感谢你的帮助。
最好的,
垫子í作为
设备:
你好,mjara,
当睡眠未启用时(app\u default\u sleep\u mode=ARCH\u sleep\u OFF;),我的测量值接近350 uA并且看门狗被启用,所以一个NMI中断发生,也许你的系统点击了NMI处理程序,这就是你测量的。除此之外,检查你的引脚,如果有任何形式的泄漏,从开发工具包中删除所有跳线。
谢谢你的对话
你好,MT\u Dialog,
我在用,
睡眠\u状态\u t应用程序\u默认\u睡眠\u模式=ARCH\u EXT\u睡眠\u开启
So I had no problems with the WD timer. I checked the pins for any leackage, and there is not any significant difference. I am using the last SDK version, wich example do you recomend me to try the extended sleep mode?.
顺便说一句,我使用的是调试来编程DA14580(启动调试,然后停止),而不是智能代码段。
最好的,
垫子í作为
你好,mjara,
你正在使用的程序是好的(据我所知,当你说的睡眠模式的SDK指南,你的意思是ble\u应用程序在5.0.4SDK睡眠模式),因为它在永久睡眠下降,你不必放置一个很长的adv间隔,以衡量功耗的最低点,因此,在几秒钟的广告后,设备将进入睡眠状态,因此在这一点上,您应该能够测量最低功耗。使用对话框的pro工具包上的PAN,我无法复制您看到的350uA,唯一接近的值是当睡眠被禁用并且没有无线电活动时(大约442uA),您确定在测试代码(arch\u disable\u sleep())中没有禁用睡眠吗?
谢谢你的对话
你好,MT\u Dialog,
我仔细检查了一遍,从来没有禁用过睡眠模式。是的,我正在使用5.0.4SDK中的ble\u app\u睡眠模式项目。
项目运作良好,10秒后,ble停止广告,但我在“睡眠模式”下测得的电流接近350ua。
我读了进去https://support.dialog-semiconductor.com/current-bleappsleepmode即在ble\u app\u模式下的主要电流消耗来自于flash。
也许这就是我测量的额外电流。你知道这个问题吗?
最好的,
垫子í作为
你好,mjara,
你有带嵌入式闪存的583还是580?你正在使用的参考设计没有任何flash交互(你的程序通过keil直接下载到sysram)为了使用flash,你必须在指定的引脚上放置一些跳线(你可以在J6头旁边的pro主板上的原理图上检查使用flash的引脚),检查是否错误地放置了SPI的电源跳线(您可以在UM-B-034文档中找到有关引脚和pro主板的更多信息)。
Also you can perform the following test, increase the duration that the device stays awake and advertise (change the APP_ADV_DATA_UPDATE_TO from 1000 -> 10 seconds to 3000 -> 30 seconds or even more) and after you ve changed that, increase the advertising intervals (at the user_config.h file change the members .intv_min and .intv_max of the user_adv_conf structure) for over a 2 or even 3 seconds or even for 10.24 seconds which is maximum value. This will force the device to go into sleep mode between the advertising intervals and give the measuring instrument enough time to measure the power consumption in sleep mode between the advertising intervals (if the device is working properly before going to permanent sleep you should see the minimum power consumption between the advertising events).
除此之外,我建议尝试使用不同的子板并执行测量。
谢谢你的对话
你好,MT\u Dialog,
Yes, I am using a 580, so there is not an embedded flash. Also, I checked and the power supply jumber of the SPI is no connected.
I performed the test that you suggested. But I am still measuring the same current level when the BLE stops advertising. I tried with another dughter board, and the same happened.
还有其他建议吗?。谢谢你的时间,
垫子í作为
你好,mjara,
我要求您这样做是为了给您足够的时间来测量广告间隔之间的功耗,而不是当设备永久休眠时,那么广告间隔之间的功耗是多少?
您可以对其他SDK示例执行相同的操作(增加广告间隔并尝试在间隔之间进行测量,或者在某个点停止广告并不再启动),或者也可以尝试使用新的SDK,或者您对当前的SDK做了任何更改。
谢谢你的对话
你好,MT\u DIalog,
平流间隔之间的电流为440 uA(用SmartSnippets测量)。
I tried a fresh SDK, and the current level was never under 350 uA.
最好的,
垫子í作为
你好,mjara,
As the tutorial indicates you wont be able to measure the lowest power consumption of the device via Smart Snippets and its better to use a DMM. If this value is the same with what you are measuring with a DMM then i cant think of any other reason why your device doesn't go in sleep mode than a deflective motherboard, if you have checked all the above and still not measuring about 1.5uA when sleep then i am not able to think anything else that could be responsible to this kind of behaviour.
谢谢你的对话
你好,MT\u对话框
经过一些测试,我发现如果我使用Smar Snippets的Booter工具和Close Debug ses在系统内存中进行写操作,那么我可以在睡眠模式下测量到2.2uA的低电流。但是如果我使用Keil,尽管我分离了调试,但是当前级别总是以300ua递增。
谢谢你抽出时间。
垫子í作为
你好,mjara,
您使用的是开发工具包还是定制板?专家工具包当调试器安装在主板上时,会消耗一些额外的能量。
当使用凯尔和智能Sni下载代码ppets for using the power profiler, can you see if the 580 goes to sleep and wakes up ? Also which version of keil you are using ?
谢谢你的对话
你好,MT\u对话框
I am using the development kit - pro.
如果我使用Keil,我就看不到580在智能代码片段的powerprofiler中睡着了。我使用的是keilv5.21.1.0
最好的,
垫子í作为
你好,mjara,
Thats probably due a known compability issue between the jlink driver you have, and the keil version that you are using, please check the FAQ section in the known issues section and in the corresponding FAQ "Keil MDK521a旧JLink驱动程序的兼容性问题。". The FAQ doens't report this but we have observed that sometimes this issue can also prevent the 580 from going to sleep when downloaded via keil. You can either follow this or install an older version of keil.
谢谢你的对话