{"id":17528,"date":"2026-06-10T08:39:52","date_gmt":"2026-06-10T00:39:52","guid":{"rendered":"https:\/\/ab123.xyz\/?p=17528"},"modified":"2026-06-10T08:39:52","modified_gmt":"2026-06-10T00:39:52","slug":"%e8%b7%83%e6%98%89%e7%a7%91%e6%8a%80-nb2-%e7%89%a9%e8%81%94%e7%bd%91%e8%8a%af%e7%89%87%e4%bd%8e%e5%8a%9f%e8%80%97%e6%a8%a1%e5%bc%8f%e9%85%8d%e7%bd%ae%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/ab123.xyz\/?p=17528","title":{"rendered":"\u8dc3\u6609\u79d1\u6280 NB2 \u7269\u8054\u7f51\u82af\u7247\u4f4e\u529f\u8017\u6a21\u5f0f\u914d\u7f6e\u8be6\u89e3"},"content":{"rendered":"<p>\u6839\u636e\u6700\u65b0\u884c\u4e1a\u52a8\u6001\uff0c\u56fd\u4ea7\u7269\u8054\u7f51\u82af\u7247\u5728\u4f4e\u529f\u8017\u9886\u57df\u53d6\u5f97\u91cd\u5927\u7a81\u7834\uff0c\u8dc3\u6609\u79d1\u6280\u63a8\u51fa\u7684 NB2 \u82af\u7247\u51ed\u501f\u5176\u8d85\u4f4e\u529f\u8017\u7279\u6027\uff0c\u6210\u4e3a\u667a\u6167\u57ce\u5e02\u3001\u53ef\u7a7f\u6234\u8bbe\u5907\u7b49\u573a\u666f\u7684\u4f18\u9009\u65b9\u6848\u3002\u672c\u6587\u5c06\u4ece\u914d\u7f6e\u89d2\u5ea6\u8be6\u89e3 NB2 \u82af\u7247\u7684\u4f4e\u529f\u8017\u6a21\u5f0f\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u6700\u5927\u5316\u80fd\u6548\u3002<\/p>\n<p>\u8bbf\u95ee\u8dc3\u6609\u79d1\u6280 <a href=\"https:\/\/www.lefutec.com\" target=\"_blank\">\u5b98\u65b9\u7f51\u7ad9<\/a> \u83b7\u53d6\u5b8c\u6574\u6280\u672f\u6587\u6863\u4e0e SDK\u3002<\/p>\n<h2>NB2 \u4f4e\u529f\u8017\u6a21\u5f0f\u6838\u5fc3\u529f\u80fd<\/h2>\n<p>\u8dc3\u6609\u79d1\u6280 NB2 \u82af\u7247\u57fa\u4e8e\u5148\u8fdb\u5236\u7a0b\uff0c\u652f\u6301\u591a\u79cd\u6df1\u5ea6\u7761\u7720\u4e0e\u5524\u9192\u673a\u5236\u3002\u5176\u4f4e\u529f\u8017\u6a21\u5f0f\u53ef\u52a8\u6001\u8c03\u6574 CPU \u9891\u7387\u3001\u5173\u95ed\u5916\u56f4\u6a21\u5757\uff0c\u5e76\u5229\u7528\u786c\u4ef6\u5b9a\u65f6\u5668\u5b9e\u73b0\u5468\u671f\u5524\u9192\uff0c\u5178\u578b\u5f85\u673a\u7535\u6d41\u4f4e\u81f3\u5fae\u5b89\u7ea7\u3002<\/p>\n<h3>\u4e09\u79cd\u4e3b\u8981\u4f4e\u529f\u8017\u72b6\u6001<\/h3>\n<ul>\n<li><strong>\u6d45\u7761\u7720\u6a21\u5f0f\uff1a<\/strong> \u4fdd\u7559 RAM \u6570\u636e\uff0c\u5feb\u901f\u5524\u9192\uff0c\u9002\u7528\u4e8e\u95f4\u6b47\u6027\u6570\u636e\u91c7\u96c6\u3002<\/li>\n<li><strong>\u6df1\u7761\u7720\u6a21\u5f0f\uff1a<\/strong> \u5173\u95ed\u5927\u90e8\u5206\u65f6\u949f\u548c\u7535\u6e90\u57df\uff0c\u5524\u9192\u540e\u9700\u91cd\u65b0\u521d\u59cb\u5316\uff0c\u9002\u5408\u957f\u65f6\u95f4\u4f11\u7720\u3002<\/li>\n<li><strong>\u8d85\u4f4e\u529f\u8017\u76d1\u542c\u6a21\u5f0f\uff1a<\/strong> \u4ec5\u4fdd\u6301\u5c04\u9891\u63a5\u6536\u7535\u8def\u5de5\u4f5c\uff0c\u7528\u4e8e\u63a5\u6536\u8fdc\u7a0b\u6307\u4ee4\u3002<\/li>\n<\/ul>\n<h3>\u914d\u7f6e\u6d41\u7a0b\u6982\u89c8<\/h3>\n<ol>\n<li>\u8c03\u7528 <code>PMU_Config()<\/code> \u63a5\u53e3\u8bbe\u7f6e\u5524\u9192\u6e90\uff08GPIO\u3001\u5b9a\u65f6\u5668\u7b49\uff09\u3002<\/li>\n<li>\u9009\u62e9\u529f\u8017\u7b49\u7ea7\uff0c\u8c03\u7528 <code>PMU_EnterSleep()<\/code> \u8fdb\u5165\u76f8\u5e94\u6a21\u5f0f\u3002<\/li>\n<li>\u901a\u8fc7\u5916\u90e8\u4e2d\u65ad\u6216 RTC \u95f9\u949f\u81ea\u52a8\u5524\u9192\uff0c\u7ee7\u7eed\u6267\u884c\u4e3b\u7a0b\u5e8f\u3002<\/li>\n<\/ol>\n<h2>\u529f\u80fd\u4f18\u52bf\u4e0e\u6027\u80fd\u6307\u6807<\/h2>\n<p>NB2 \u82af\u7247\u5728 <strong>\u7761\u7720\u529f\u8017<\/strong> \u65b9\u9762\u8868\u73b0\u7a81\u51fa\uff1a\u6df1\u7761\u7720\u6a21\u5f0f\u4e0b\u7535\u6d41\u4ec5 2\u00b5A\uff0c\u642d\u914d\u5185\u7f6e\u7535\u6e90\u7ba1\u7406\u5355\u5143\uff08PMU\uff09\u53ef\u5b9e\u73b0 10 \u5e74\u4ee5\u4e0a\u7ebd\u6263\u7535\u6c60\u7eed\u822a\u3002\u540c\u65f6\u652f\u6301\u5feb\u901f\u5524\u9192\uff08&lt;1ms\uff09\uff0c\u4e0d\u5f71\u54cd\u5b9e\u65f6\u901a\u4fe1\u4efb\u52a1\u3002<\/p>\n<h3>\u5178\u578b\u5e94\u7528\u573a\u666f<\/h3>\n<ul>\n<li>\u667a\u80fd\u4f20\u611f\u5668\uff1a\u5982\u6e29\u6e7f\u5ea6\u76d1\u63a7\u3001\u70df\u96fe\u62a5\u8b66\u5668\u3002<\/li>\n<li>\u53ef\u7a7f\u6234\u8bbe\u5907\uff1a\u667a\u80fd\u624b\u8868\u3001\u5065\u5eb7\u624b\u73af\u3002<\/li>\n<li>\u5de5\u4e1a\u7269\u8054\u7f51\uff1a\u8d44\u4ea7\u8ffd\u8e2a\u3001\u73af\u5883\u76d1\u6d4b\u7ec8\u7aef\u3002<\/li>\n<\/ul>\n<h2>\u5982\u4f55\u4f7f\u7528\u4e0e\u914d\u7f6e\u793a\u4f8b<\/h2>\n<p>\u5f00\u53d1\u8005\u53ef\u901a\u8fc7\u8dc3\u6609\u79d1\u6280\u63d0\u4f9b\u7684 <code>LeFuOS<\/code> \u5f00\u53d1\u5957\u4ef6\u5feb\u901f\u4e0a\u624b\u3002\u4ee5\u4e0b\u4e3a\u4e00\u6bb5\u7b80\u5316\u7684\u914d\u7f6e\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<pre>PMU_Config(WAKEUP_TIMER, 10); \/\/ \u8bbe\u7f6e 10 \u79d2\u540e\u5524\u9192\nPMU_EnterSleep(DEEP_SLEEP_MODE);\n\/\/ \u82af\u7247\u8fdb\u5165\u6df1\u7761\u7720 10 \u79d2\u540e\u81ea\u52a8\u5524\u9192<\/pre>\n<p>\u5efa\u8bae\u5173\u6ce8\u5b98\u7f51\u63d0\u4f9b\u7684\u4f4e\u529f\u8017\u8bbe\u8ba1\u6307\u5357\uff0c\u7ed3\u5408\u5177\u4f53\u5916\u8bbe\u8c03\u6574\u7535\u6e90\u57df\u5f00\u5173\uff0c\u4ee5\u8fbe\u5230\u6700\u4f18\u6548\u679c\u3002<\/p>\n<p>\u8dc3\u6609\u79d1\u6280\u6301\u7eed\u8fed\u4ee3 NB2 \u56fa\u4ef6\uff0c\u6700\u65b0\u7248\u672c\u5df2\u652f\u6301\u52a8\u6001\u7535\u538b\u8c03\u8282\uff08DVS\uff09\uff0c\u8fdb\u4e00\u6b65\u964d\u4f4e\u52a8\u6001\u529f\u8017\u3002\u5f00\u53d1\u8005\u53ef\u5728 <a href=\"https:\/\/www.lefutec.com\" target=\"_blank\">\u5b98\u65b9\u7f51\u7ad9<\/a> \u4e0b\u8f7d\u793a\u4f8b\u5de5\u7a0b\u4e0e\u793e\u533a\u8bba\u575b\u4ea4\u6d41\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6839\u636e\u6700\u65b0\u884c\u4e1a\u52a8\u6001\uff0c\u56fd\u4ea7\u7269\u8054\u7f51\u82af\u7247\u5728\u4f4e\u529f\u8017\u9886\u57df\u53d6\u5f97\u91cd\u5927\u7a81\u7834\uff0c\u8dc3\u6609\u79d1\u6280\u63a8\u51fa\u7684 NB2 \u82af\u7247\u51ed\u501f\u5176\u8d85\u4f4e\u529f\u8017\u7279\u6027\uff0c\u6210\u4e3a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[20876,20879,20877,20878,20875],"class_list":["post-17528","post","type-post","status-publish","format-standard","hentry","category-4","tag-nb2","tag-20879","tag-20877","tag-20878","tag-20875"],"_links":{"self":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/17528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17528"}],"version-history":[{"count":1,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/17528\/revisions"}],"predecessor-version":[{"id":17529,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/17528\/revisions\/17529"}],"wp:attachment":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}