This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC2538:验证 LPM2中的电流消耗。 与 Contiki OS 相结合的容性重载修订版 b 可提供2mA 电流、而不是2uA 电流。

Guru**** 2561930 points
Other Parts Discussed in Thread: CC2538, CC1200

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/699799/cc2538-verify-the-current-consumption-in-lpm2-zolertia-re-mote-rev-b-in-combo-with-contiki-os-gives-2ma-instead-of-2ua

器件型号:CC2538
主题中讨论的其他器件: CC1200

大家好、

我们目前正在与 Contiki OS 一起研究容性再解决方案。  当我们强制电路板进入 LPM2时、我们测量的功耗为2mA、而不是 数据表中提到的2uA (SWRS096D P10 LPM2)。

olertia 的支持团队能够跟踪其 Zoul 板消耗的2mA 电流、并将我们带到这个论坛。

Zoul 基本上是一个具有 CC2538和 CC1200的电路板、两个芯片具有两条独立的电源线。 CC2538与 CC1200之间的所有互连均配置为低电平。 因此、我们可以得出结论、2mA 由 CC2538 (以及周围组件)消耗。

  在进入 LPM2之前、我们验证了所有外设均已禁用、SYSCTRL.SLEEPDEEP 已设置且 SYS_CTRL_PMCTL=2。 但消耗冻结在2mA 左右。

是否有人可以共享将 cc2538放入 LPM2的代码片段、以确保我们没有错过任何其他配置。

非常感谢、

BART

P.S.要强制 c2538进入 LPM2:

我们制作了 Contiki 的全新 git 克隆(https://github.com/contiki-os/contiki)

在 Makefile 中添加这两行之后、我们在 Rev. A 和 Rev b 上刷写了 hello-world 示例

CFLAGS+=-DLPM_CONF_MAX_PM=2
CFLAGS+=-Duart_CONF_ENABLE=0

电源电流 Git 差分

diff -git a/examples/hello-world/Makefile b/examples/hello-world/Makefile
index 0a79167..67abe91 100644
-- a/examples/hello-world/Makefile
++ b/examples/hello-world/Makefile
@@-1、5+1、8 @@
Contiki_project = hello-world
all:+AGS=tiki+=LM=LPM=+AG0_Contiki_LE=+LMG0_LE=+LMG0_LE=EN=+AG0_CFS=LDAM=LES=+CONTACT_LPM=LPM=ENDON_LAG0_LE.+AG0_LE





include $(Contiki)/Makefile.include
diff -git a/examples/hello-world/hello-world.c b/examples/hello-world/hello-world.c
index 3072414..311ab99 100644
-- a/examples/hello-world/hello-world.c
++ b/examples/hello-world/content-world/net-world#"#include
"+"38、@@@@ 7





/* for printf()*/
/*------------------ *

@@(hello_world_process、"Hello world process");@@-49、6 + 49、7 process_thread (hello_world_process、EV、data)
process_begin ();

printf ("Hello、world\n");
+ NETSTACK_MAC.off (0);

process_end();
}
diff --git a/platform/Zoul/contiki-main.c b/platform/Zoul/contiki-main.c
index 9a56a32..428ccc0 100644
-- a/platform/Zoul/contiki-main.c
++ b/platform/Zoul/STACK-main.c (
2、2、29ce-green



);+ togeldure/gelde-mac (2、2、2、2、2、@@)+ gelse_start (2、2、2、2、2、29c)+ tid.c (+@@)+ geldegref (gel/contki-start);+


uint8_t r;
执行{

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Bart、

    很抱歉、但我设法使前一个帖子变得混乱。 我尽力恢复它。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    BART、

    查看 Zoul 平台自述文件。 尤其是在低功耗部分中阅读。

    github.com/.../README.md