{"id":2390,"date":"2019-05-08T06:35:01","date_gmt":"2019-05-08T06:35:01","guid":{"rendered":""},"modified":"2019-05-08T14:35:26","modified_gmt":"2019-05-08T06:35:26","slug":"51%e5%8d%95%e7%89%87%e6%9c%ba%e5%b8%b8%e8%a7%81%e7%9a%847%e7%a7%8d%e6%97%b6%e9%92%9f%e7%94%b5%e8%b7%af%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2390","title":{"rendered":"51\u5355\u7247\u673a\u5e38\u89c1\u76847\u79cd\u65f6\u949f\u7535\u8def\u4ecb\u7ecd"},"content":{"rendered":"
\n\t\u7b2c1\u79cd<\/p>\n
\n\t\u5728MCS-51\u5355\u7247\u673a<\/u>\u7247\u5185\u6709\u4e00\u4e2a\u9ad8\u589e\u76ca\u7684\u53cd\u76f8\u653e\u5927\u5668<\/u>\uff0c\u53cd\u76f8\u653e\u5927\u5668\u7684\u8f93\u5165\u7aef\u4e3aXTAL1\uff0c\u8f93\u51fa\u7aef\u4e3aXTAL2\uff0c\u7531\u8be5\u653e\u5927\u5668\u6784\u6210\u7684\u632f\u8361\u7535\u8def<\/u>\u548c\u65f6\u949f<\/u>\u7535\u8def\u4e00\u8d77\u6784\u6210\u4e86\u5355\u7247\u673a\u7684\u65f6\u949f\u65b9\u5f0f\u3002\u6839\u636e\u786c\u4ef6\u7535\u8def\u7684\u4e0d\u540c\uff0c\u5355\u7247\u673a\u7684\u65f6\u949f\u8fde\u63a5\u65b9\u5f0f\u53ef\u5206\u4e3a\u5185\u90e8\u65f6\u949f\u65b9\u5f0f\u548c\u5916\u90e8\u65f6\u949f\u65b9\u5f0f\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n \n\t<\/p>\n \n\t\u65f6\u949f\u7535\u8def\uff1a\uff08a\uff09\u5185\u90e8\u65b9\u5f0f\u65f6\u949f\u7535\u8def\uff0c\uff08b\uff09\u5916\u63a5\u65f6\u949f\u7535\u8def<\/p>\n \n\t\u5728\u5185\u90e8\u65b9\u5f0f\u65f6\u949f\u7535\u8def\u4e2d\uff0c\u5fc5\u987b\u5728XTAL1\u548cXTAL2\u5f15\u811a\u4e24\u7aef\u8de8\u63a5\u77f3\u82f1\u6676\u4f53\u632f\u8361\u5668<\/u>\u548c\u4e24\u4e2a\u5fae\u8c03\u7535\u5bb9<\/u>\u6784\u6210\u632f\u8361\u7535\u8def\uff0c\u901a\u5e38C1\u548cC2\u4e00\u822c\u53d630pF\uff0c\u6676\u632f\u7684\u9891\u7387\u53d6\u503c\u57281.2MHz~12MHz\u4e4b\u95f4\u3002\u5bf9\u4e8e\u5916\u63a5\u65f6\u949f\u7535\u8def\uff0c\u8981\u6c42XTAL1\u63a5\u5730\uff0cXTAL2\u811a\u63a5\u5916\u90e8\u65f6\u949f\uff0c\u5bf9\u4e8e\u5916\u90e8\u65f6\u949f\u4fe1\u53f7\u5e76\u65e0\u7279\u6b8a\u8981\u6c42\uff0c\u53ea\u8981\u4fdd\u8bc1\u4e00\u5b9a\u7684\u8109\u51b2\u5bbd\u5ea6\uff0c\u65f6\u949f\u9891\u7387\u4f4e\u4e8e12MHz\u5373\u53ef\u3002<\/p>\n \n\t\u6676\u4f53\u632f\u8361\u5668\u7684\u632f\u8361\u4fe1\u53f7\u4eceXTAL2\u7aef\u9001\u5165\u5185\u90e8\u65f6\u949f\u7535\u8def\uff0c\u5b83\u5c06\u8be5\u632f\u8361\u4fe1\u53f7\u4e8c\u5206\u9891\uff0c\u4ea7\u751f\u4e00\u4e2a\u4e24\u76f8\u65f6\u949f\u4fe1\u53f7P1\u548cP2\u4f9b\u5355\u7247\u673a\u4f7f\u7528\u3002\u65f6\u949f\u4fe1\u53f7\u7684\u5468\u671f\u79f0\u4e3a\u72b6\u6001\u65f6\u95f4S\uff0c\u5b83\u662f\u632f\u8361\u5468\u671f\u76842\u500d\uff0cP1\u4fe1\u53f7\u5728\u6bcf\u4e2a\u72b6\u6001\u7684\u524d\u534a\u5468\u671f\u6709\u6548\uff0c\u5728\u6bcf\u4e2a\u72b6\u6001\u7684\u540e\u534a\u5468\u671fP2\u4fe1\u53f7\u6709\u6548\u3002CPU<\/u>\u5c31\u662f\u4ee5\u4e24\u76f8\u65f6\u949fP1\u548cP2\u4e3a\u57fa\u672c\u8282\u62cd\u534f\u8c03\u5355\u7247\u673a\u5404\u90e8\u5206\u6709\u6548\u5de5\u4f5c\u7684\u3002<\/p>\n \n\t\u7b2c2\u79cd<\/p>\n \n\t<\/p>\n \n\tMCS-51\u7247\u5185\u6709\u4e00\u4e2a\u9ad8\u589e\u76ca\u53cd\u76f8\u653e\u5927\u5668\uff0c\u5176\u8f93\u5165\u7aef\uff08XTAL1\uff09\u548c\u8f93\u51fa\u7aef\uff08XTAL2\uff09\u7528\u4e8e\u5916\u63a5\u77f3\u82f1\u6676\u4f53\u548c\u5fae\u8c03\u7535\u5bb9\uff0c\u6784\u6210\u632f\u8361\u5668\uff0c\u5982\u56fe\u6240\u793a\u3002\u7535\u5bb9C2\u548cC3\u5bf9\u9891\u7387\u6709\u5fae\u8c03\u4f5c\u7528\uff0c\u7535\u5bb9\u5bb9\u91cf\u7684\u9009\u62e9\u8303\u56f4\u4e00\u822c\u4e3a30pF\u58eb10pF\u3002\u632f\u8361\u9891\u7387\u7684\u9009\u62e9\u8303\u56f4\u4e3a1.2\uff5e12MHz\u3002<\/p>\n \n\t\u5728\u4f7f\u7528\u5916\u90e8\u65f6\u949f\u65f6\uff0c8051\u7684XTAL2\u7528\u6765\u8f93\u5165\u5916\u65f6\u949f\u4fe1\u53f7\uff0c\u800cXTAL1\u5219\u63a5\u5730\u3002<\/p>\n \n\t\u7b2c3\u79cd<\/p>\n \n\t<\/p>\n \n\t\u4e0a\u56fe\u4e3a\u65f6\u949f\u7535\u8def\u7684\u539f\u7406\u56fe\u3002\u5206\u4e3a\u6700\u5c0f\u5355\u7247\u673a\u7cfb\u7edf\u3001\u5355\u7247\u673a\u590d\u4f4d\u7535\u8def\u3001\u6309\u952e\u7535\u8def\u3001\u6570\u7801\u7ba1\u4f4d\u9009\u7535\u8def\u3001\u6570\u7801\u7ba1\u6bb5\u9009\u7535\u8def\u3001\u6570\u7801\u7ba1\u663e\u793a\u7535\u8def\u3001\u8702\u9e23\u5668\u7535\u8def\u3001\u6e29\u5ea6\u91c7\u96c6\u7535\u8def\u3002<\/p>\n \n\t\u4f7f\u7528\u5355\u7247\u673a\u7684P2\u53e3\u8fdb\u884c\u6570\u6a21\u7684\u8f93\u51fa\uff0cP1^4\u3001P1^5\u3001P1^6\u4e0e74HC138\u8fde\u63a5\u5b9e\u73b0\u6570\u7801\u7ba1\u4f4d\u9009\uff0c\u6309\u952e\u7535\u8def\u63a5\u5165P1^0\u3001P1^1\u3001P1^2\u3001P1^3\u56db\u4e2aI\\O\u53e3\uff0c\u901a\u8fc7\u7a0b\u5e8f\u63a7\u5236\uff0c\u626b\u63cf\u8be5\u56db\u4e2a\u5f15\u811a\u7684\u4fe1\u53f7\u5b9e\u73b0\u65f6\u95f4\u7684\u8c03\u8282\u3002\u8702\u9e23\u5668\u901a\u8fc7\u4e0e\u4e09\u6781\u7ba1<\/u>8550\u8fde\u63a5\uff0c\u6700\u7ec8\u63a5\u5165P1^7\uff0c\u65f6\u95f4\u8bbe\u5b9a\u542f\u52a8\u4f7f\u5176\u53d1\u58f0\u3002\u6e29\u5ea6\u4f20\u611f\u5668<\/u>\u63a5\u5165P3^7\uff0c\u5c06\u91c7\u96c6\u5230\u7684\u6a21\u62df\u4fe1\u53f7\u8f6c\u5316\u4e3a\u6570\u5b57\u4fe1\u53f7\u540e\u4f20\u5230\u5355\u7247\u673a\u3002<\/p>\n \n\t\u7b2c4\u79cd<\/p>\n \n\tATmega16\u5355\u7247\u673a\u7684\u65f6\u949f\u7535\u8def\u548c\u8f93\u51faI\/O\u7535\u8def<\/p>\n \n\t<\/p>\n \n\t\u7b2c5\u79cd<\/p>\n \n\t\u6309\u952e\u5904\u7406\u8bbe\u7f6e\u4e3a\uff1a\u5f53\u6709\u6ca1\u952e\u6309\u4e0b\u65f6\uff0c\u65f6\u949f\u6b63\u5e38\u8fd0\u884c\uff1b\u5f53\u6309\u4e00\u6b21K1\uff0c\u65f6\u949f\u505c\u6b62\u8d70\u52a8\uff0c\u6309K2\u5bf9\u79d2\u8fdb\u884c\u8c03\u6574\uff1b\u5f53K1\u63092\u6b21\u65f6\uff0c\u6309K2\u5bf9\u5206\u8fdb\u884c\u8c03\u6574\uff1b\u5f53K1\u6309\u4e0b3\u6b21\u65f6\uff0c\u6309K2\u5bf9\u5c0f\u65f6\u8fdb\u884c\u8c03\u6574\uff0c\u5f53\u6309\u4e0b4\u6b21K1\u65f6\uff0c\u6821\u65f6\u5b8c\u6bd5\uff0c\u65f6\u949f\u6309\u8bbe\u5b9a\u7684\u65f6\u95f4\u8fdb\u884c\u6b63\u5e38\u8d70\u65f6\u3002<\/p>\n \n\t\u5f53\u63091\u6b21K3\u8fdb\u5165\u95f9\u949f\u8bbe\u7f6e\u754c\u9762\uff0c\u65f6\u949f\u7ee7\u7eed\u8fdb\u884c\u8d70\u65f6\uff0c\u6309K2\u5bf9\u79d2\u8fdb\u884c\u8bbe\u7f6e\uff1b\u5f53\u63092\u6b21K3\uff0c\u6309K2\u5bf9\u5206\u8fdb\u884c\u8bbe\u7f6e\uff1b\u5f53\u63093\u6b21K3\uff0c\u6309K2\u5bf9\u79d2\u8fdb\u884c\u8bbe\u7f6e\uff1b\u5f53\u6309\u4e0b4\u6b21K3\u65f6\uff0c\u95f9\u949f\u8bbe\u7f6e\u5b8c\u6bd5\u8fdb\u5165\u65f6\u949f\u663e\u793a\u754c\u9762\u3002\u7535\u8def\u56fe\u5982\u4e0b\uff1a<\/p>\n \n\t<\/p>\n \n\t\u72ec\u7acb\u6309\u952e\u7535\u8def<\/p>\n \n\t\u7b2c6\u79cd<\/p>\n \n\t\u5355\u7247\u673a\u5229\u7528\u5916\u90e812MHZ\u6676\u632f\u6784\u6210\u632f\u8361\u7535\u8def\u4f5c\u4e3a\u65f6\u949f\u6e90\uff0c\u65f6\u949f\u7535\u8def\u7684\u539f\u7406\u5982\u4e0b\u56fe\u3002<\/p>\n \n\t<\/p>\n \n\t\u7b2c7\u79cd<\/p>\n \n\t<\/p>\n","protected":false},"excerpt":{"rendered":" \u7b2c1\u79cd \u5728MCS-51 \u5355\u7247\u673a \u7247\u5185\u6709\u4e00\u4e2a\u9ad8\u589e\u76ca\u7684\u53cd\u76f8 \u653e\u5927\u5668 \uff0c\u53cd\u76f8\u653e\u5927\u5668\u7684\u8f93\u5165\u7aef\u4e3aXTAL1\uff0c\u8f93\u51fa\u7aef\u4e3aXTAL2\uff0c\u7531\u8be5\u653e\u5927\u5668\u6784\u6210\u7684\u632f\u8361 \u7535\u8def \u548c \u65f6\u949f \u7535\u8def\u4e00\u8d77\u6784\u6210\u4e86\u5355\u7247\u673a\u7684\u65f6\u949f\u65b9\u5f0f\u3002\u6839\u636e\u786c\u4ef6<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2390"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2390"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2390\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2390"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}