{"id":332,"date":"2017-12-13T07:33:36","date_gmt":"2017-12-13T07:33:36","guid":{"rendered":""},"modified":"2017-12-13T15:34:20","modified_gmt":"2017-12-13T07:34:20","slug":"%e4%bd%bf%e7%94%a8am335x%e7%b3%bb%e5%88%97%e8%8a%af%e7%89%87%e8%af%a5%e6%b3%a8%e6%84%8f%e5%93%aa%e4%ba%9b%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=332","title":{"rendered":"\u4f7f\u7528AM335x\u7cfb\u5217\u82af\u7247\u8be5\u6ce8\u610f\u54ea\u4e9b\u95ee\u9898"},"content":{"rendered":"
\n\tARM\u7814\u53d1\u7684\u8def\u6f2b\u957f\u800c\u6709\u8da3\uff0c\u4f17\u4eba\u7686\u77e5\u7684\u5f00\u53d1\u4f18\u52bf\u548c\u9762\u5bf9\u95ee\u9898\u65f6\u7684\u4e00\u7b79\u83ab\u5c55\uff0c\u8ba9\u4eba\u5bf9ARM\u53c8\u7231\u53c8\u6068\uff0c\u800c\u4f60\u4e0eARM\u53c8\u6709\u600e\u6837\u7684\u60c5\u8282\u5462\uff1f<\/p>\n
\n\t\u76ee\u524d\u5728\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e2d\u5927\u91cf\u5e94\u7528\u4e86\u5d4c\u5165\u5f0fARM\uff0c\u5982\u5de5\u4e1a\u8fc7\u7a0b\u63a7\u5236\u3001\u7535\u529b\u7cfb\u7edf\u3001\u77f3\u6cb9\u5316\u5de5\u3001\u6570\u63a7\u673a\u5e8a\u7b49\uff0cARM\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u53d1\u5c55\u4fc3\u8fdb\u4e86\u5de5\u4e1a\u63a7\u5236\u81ea\u52a8\u5316\u7a0b\u5ea6\u7684\u63d0\u9ad8\u3002<\/p>\n
\n\tAM335x \u5fae\u5904\u7406\u5668\u4e3a\u57fa\u4e8eARM Cortex-A8 \u5904\u7406\u5668\uff0c\u5728\u56fe\u50cf\u3001\u56fe\u5f62\u5904\u7406\u3001\u5916\u8bbe\u4ee5\u53ca EtherCAT \u548c PROFIBUS\u7b49\u5de5\u4e1a\u63a5\u53e3\u9009\u9879\u65b9\u9762\u5f97\u5230\u4e86\u589e\u5f3a\u3002800MHz\u4e3b\u9891\u7684Cortex -A8\u5185\u6838\u80fd\u8fdc\u5f3a\u4e8eARM9\uff0c\u53ef\u63d0\u4f9b\u5feb\u901f\u7684\u6570\u636e\u5904\u7406\u548c\u6d41\u7545\u7684\u754c\u9762\u5207\u6362\u3002<\/p>\n
\n\t<\/p>\n
\n\t\u56fe1 AM335x\u529f\u80fd\u6846\u56fe<\/p>\n
\n\t\u51ed\u501f\u51766\u8defUART\u30012\u8defCAN-Bus\uff0c2\u8defUSB OTG\u3001\u53ef\u652f\u63012\u8def\u4ee5\u592a\u7f51\u63a5\u53e3\u7b49\u5f3a\u5927\u7684\u901a\u8baf\u529f\u80fd\uff0c\u4ee5\u53ca\u5de5\u4e1a\u7ea7\u6027\u80fd\u4fdd\u8bc1\uff0c\u5df2\u5e7f\u6cdb\u5e94\u7528\u4e8e\u4fbf\u643a\u5f0f\u5bfc\u822a\u7cfb\u7edf\u3001\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u4eba\u673a\u754c\u9762\u7b49\u591a\u4e2a\u884c\u4e1a\u3002<\/p>\n
\n\t\u968f\u7740Cortex-A8\u5904\u7406\u5668\u7684\u5e7f\u6cdb\u5e94\u7528\uff0c\u5ba2\u6237\u7fa4\u4f53\u8fc5\u901f\u589e\u52a0\uff0c\u5ba2\u6237\u9047\u5230\u7684\u95ee\u9898\u5374\u4e5f\u662f\u5343\u5947\u767e\u602a\u3002\u4eca\u5929\u6211\u4eec\u5c31\u4e86\u89e3\u4e0b\u6709\u5ba2\u6237\u51fa\u73b0\u7684Cortex-A8\u5904\u7406\u5668\u83ab\u540d\u70e7\u574f\u73b0\u8c61\u662f\u600e\u4e48\u56de\u4e8b\uff1f<\/p>\n
\n\t\u4e3a\u4e86\u53d1\u73b0\u539f\u56e0\uff0c\u89e3\u51b3\u95ee\u9898\uff0c\u81f4\u8fdc\u7814\u53d1\u5de5\u7a0b\u5e08\u5bf9\u70e7\u574f\u7684\u6a21\u5757\u505a\u4e86\u5927\u91cf\u5206\u6790\uff0c\u53d1\u73b0\u70e7\u574f\u6a21\u5757\u90fd\u662f\u7535\u6e90\u57df\u70e7\u574f\uff0c\u90a3\u53c8\u662f\u4ec0\u4e48\u539f\u56e0\u5bfc\u81f4\u7535\u6e90\u57df\u70e7\u574f\u5462\uff1f<\/p>\n
\n\t\u7814\u53d1\u4eba\u5458\u5206\u6790\u4f1a\u4e0d\u4f1a\u662f\u6a21\u5757\u7684\u67d0\u4e9bIO\u53e3\u8fc7\u538b\u6216\u8005\u5012\u704c\u7535\u6d41\u5bfc\u81f4\u70e7\u574fIO\u53e3\uff0c\u60c5\u51b5\u4e25\u91cd\u8fdb\u800c\u70e7\u574fCPU\u5462\uff1f\u6709\u4e86\u5206\u6790\u65b9\u5411\uff0c\u4e0b\u4e00\u6b65\u9a6c\u4e0a\u67e5\u9605\u8d44\u6599\uff0c\u505a\u5b9e\u9a8c\u8bc1\u5b9e\u3002<\/p>\n
\n\t<\/p>\n
\n\t\u56fe2 TI\u5b98\u7f51M335x\u6570\u636e\u624b\u518c\u4e2d\u89c4\u5b9a\u7684IO\u7535\u538b\u8303\u56f4<\/p>\n
\n\t<\/p>\n
\n\t\u56fe3 Freescale i.MX28\u7cfb\u5217\u82af\u7247\u89c4\u5b9a\u7684IO\u7535\u538b\u8303\u56f4<\/p>\n
\n\t\u4e3a\u4e86\u8fdb\u4e00\u6b65\u8bc1\u5b9e\u4e24\u8005\u7684\u4e0d\u540c\uff0c\u7814\u53d1\u4eba\u5458\u5bf9\u6a21\u5757\u8fdb\u884c\u4e86\u5bf9\u6bd4\u5b9e\u9a8c\uff0c\u7ecf\u8fc7\u4e86\u591a\u6b21\u6d4b\u8bd5\u53d1\u73b0\uff0cFreescale ARM9\u82af\u7247CPU\u7684IO\u8010\u538b\u503c\u6700\u9ad8\u4e3a5V\uff0c\u800cTI\u7684Cortex-A8\u5e73\u53f0M335x\u7cfb\u5217\u82af\u7247CPU\u7684IO\u8010\u538b\u503c\u4ec5\u4e3a3.6V\uff01\u76f8\u4fe1\u8fd9\u4e5f\u662fCortex-A8\u5e73\u53f0\u7684CPU\u70e7\u574f\u7684\u4e00\u4e2a\u91cd\u8981\u539f\u56e0\u3002<\/p>\n
\n\t\u90a3\u4e48\u6211\u4eec\u5728\u4f7f\u7528AM335x\u7cfb\u5217\u7684\u82af\u7247\u65f6\u53c8\u8be5\u6ce8\u610f\u54ea\u4e9b\u95ee\u9898\u5462\uff1f<\/p>\n
\n\t1\u3001IO\u4f7f\u7528\u6ce8\u610f\u4e8b\u9879<\/strong><\/p>\n \n\tGPIO\u4f5c\u4e3a\u8f93\u5165\u65f6\uff0c\u8981\u786e\u4fdd\u6700\u9ad8\u7535\u538b\u4e0d\u53ef\u8d85\u8fc73.3V\uff0c\u6700\u4f4e\u7535\u538b\u4e0d\u53ef\u4f4e\u4e8e-0.2V\u3002GPIO\u4f5c\u4e3a\u8f93\u51fa\u65f6\uff0c\u7531\u4e8eIO\u7684\u9a71\u52a8\u80fd\u529b\u6709\u9650\uff0c\u5355\u4e2aIO\u6700\u5927\u8f93\u51fa4mA\u7684\u7535\u6d41\uff0c\u6240\u6709IO\u6700\u5927\u4e0d\u8d85\u8fc750mA\uff0c\u5efa\u8bae\u9a71\u52a8LED\u3001\u5149\u8026\u3001\u7ee7\u7535\u5668\u7b49\u529f\u7387\u5668\u4ef6\u65f6\u8981\u5916\u52a0\u4e09\u6781\u7ba1\u6216MOS\u7ba1\u3002\u9a71\u52a8LED\u3001\u5149\u8026\u7b49\u5c0f\u529f\u7387\u5668\u4ef6\u65f6\u4e5f\u53ef\u4ee5\u8bbe\u8ba1\u6210\u704c\u7535\u6d41\u8f93\u51fa\u6a21\u5f0f\u3002<\/p>\n \n\t\u4f7f\u7528Cortex-A8 IO\u65f6\u5efa\u8bae\u6dfb\u52a0100R\u9650\u6d41\u7535\u963b\uff0c\u7279\u522b\u662f\u9884\u7559\u7684GPIO\u3002<\/p>\n \n\t2\u3001\u7535\u6e90\u8bbe\u8ba1\u6ce8\u610f\u4e8b\u9879<\/strong><\/p>\n \n\t\u6838\u5fc3\u677f\u76843.3V\u7535\u6e90\u4e0a\u7535\u540e\u624d\u4f7f\u80fd\u5e95\u677f\u76843.3V\u7535\u6e90\u8f93\u51fa\uff0c\u907f\u514d\u6838\u5fc3\u677f\u4e0a\u7535\u65f6\u5e95\u677f\u76843.3V\u901a\u8fc7IO\u5f71\u54cd\u6838\u5fc3\u677f\u7684\u4e0a\u7535\u65f6\u5e8f\uff0c\u9020\u6210\u6838\u5fc3\u677f\u65e0\u6cd5\u542f\u52a8\u6216\u635f\u574f\u3002<\/p>\n \n\t<\/p>\n \n\t\u56fe4 CPU\u4e0a\u7535\u65f6\u5e8f\u8bf4\u660e<\/p>\n \n\t\u5efa\u8bae\u5e95\u677f\u7535\u6e903.3V\u4f7f\u7528\u5e26\u6709\u4f7f\u80fd\u7aef\u7684\u7535\u6e90\uff0c\u5c06\u4f7f\u80fd\u7aef\u8fde\u63a5\u5728\u6838\u5fc3\u677f\u7684PWR_OK\u4e0a\uff08PWR_OK\u8fde\u63a5\u5728\u6838\u5fc3\u677f3.3V\u7535\u6e90\u4e0a\uff09\u6216\u4f7f\u7528GPIO\u505a\u4f7f\u80fd\u63a7\u5236\u3002\u4e14\u5e94\u6dfb\u52a0\u4e0b\u62c9\u7535\u963b\uff0c\u4f7f\u8be5\u7535\u6e90\u4e0a\u7535\u5904\u4e8e\u5931\u80fd\u72b6\u6001\uff0c\u907f\u514d\u4e0a\u7535\u65f6IO\u53e3\u72b6\u6001\u4e0d\u786e\u5b9a\u5bfc\u81f4\u7cfb\u7edf\u6545\u969c\u3002<\/p>\n \n\t3\u3001\u542f\u52a8\u8bbe\u7f6e\u6ce8\u610f\u4e8b\u9879<\/strong><\/p>\n \n\tEMU0 ~ EMU4\u4e3a\u542f\u52a8\u914d\u7f6e\u5f15\u811a\uff0c\u53ef\u4f5c\u4e3a\u666e\u901aGPIO\u4f7f\u7528\uff0c\u4f46\u4e0a\u7535\u65f6\u8fd9\u4e24\u4e2a\u5f15\u811a\u5e94\u5f53\u5904\u4e8e\u60ac\u7a7a\u6216\u9ad8\u963b\u72b6\u6001\uff0c\u9519\u8bef\u7684\u914d\u7f6e\u5c06\u9020\u6210\u7cfb\u7edf\u65e0\u6cd5\u542f\u52a8\u3002\u56e0\u6b64\u5efa\u8bae\u8bbe\u8ba1\u65f6\u4e0d\u8981\u7528\u4f5c\u8f93\u5165\u811a\u3002<\/p>\n \n\tM335x\u548cA335x\u6838\u5fc3\u677f\u7684lcd_data[0..15]\u662fAM335x\u5904\u7406\u5668\u7684\u542f\u52a8\u9879\u9009\u62e9\u5f15\u811a\uff0c\u5982\u679c\u8fd9\u4e9b\u5f15\u811a\u4e0d\u4f7f\u7528\u505alcd\u6570\u636e\u7ebf\u7684\u65f6\u5019\uff0c\u5e94\u5f53\u6ce8\u610f\u4e0a\u7535\u65f6\u7684\u72b6\u6001\u4e0d\u80fd\u5f71\u54cd\u5904\u7406\u5668\u7684\u542f\u52a8\u4e14\u53ea\u80fd\u7528\u4f5c\u8f93\u51fa\u5f15\u811a\u3002<\/p>\n \n\tGPMC_D[7..0]\u6570\u636e\u603b\u7ebf\u5df2\u7ecf\u5728\u5185\u90e8\u88abNAND Flash\u4f7f\u7528\uff0c\u5916\u90e8\u9700\u8981\u7528\u5230GPMC\u603b\u7ebf\u65f6\u9700\u4e25\u683c\u9075\u5b88GPMC\u901a\u4fe1\u534f\u8bae\uff0c\u9632\u6b62\u5f71\u54cd\u7cfb\u7edf\u542f\u52a8\u3002<\/p>\n \n\t\u8fd9\u4e09\u70b9\u662f\u7cfb\u7edf\u5e94\u7528\u4e2d\u5bb9\u6613\u51fa\u9519\u7684\u5730\u65b9\uff0c\u8fd9\u91cc\u91cd\u70b9\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e0b\uff0c\u5e0c\u671b\u5728\u4eca\u540e\u7684\u8bbe\u8ba1\u4e2d\u4e3a\u5927\u5bb6\u63d0\u4f9b\u53c2\u8003\u4f9d\u636e\u3002<\/p>\n \n\tZLG\u81f4\u8fdc\u7535\u5b5016\u5e74\u6765\u81f4\u529b\u4e8e\u9ad8\u7aef\u6d4b\u91cf\u4e0e\u5206\u6790\u4eea\u5668\u3001\u5d4c\u5165\u5f0f\u5de5\u63a7\u4e0e\u7269\u8054\u7f51\u7b49\u9886\u57df\u7684\u5404\u9879\u6280\u672f\u7684\u7814\u7a76\uff0c\u8e0f\u8e0f\u5b9e\u5b9e\u505a\u6280\u672f\uff0c\u53ea\u4e3a\u80fd\u7ed9\u60a8\u63d0\u4f9b\u597d\u7684\u4ea7\u54c1\u548c\u4f18\u8d28\u7684\u6280\u672f\u670d\u52a1\u3002<\/p>\n \n\t <\/p>\n \n\t\u56fe5 ZLG\u81f4\u8fdc\u7535\u5b50\u5de5\u4e1a\u4e92\u8054\u7f51\u667a\u80fd\u63a7\u5236\u65b9\u6848<\/p>\n \n\t <\/p>\n","protected":false},"excerpt":{"rendered":" ARM\u7814\u53d1\u7684\u8def\u6f2b\u957f\u800c\u6709\u8da3\uff0c\u4f17\u4eba\u7686\u77e5\u7684\u5f00\u53d1\u4f18\u52bf\u548c\u9762\u5bf9\u95ee\u9898\u65f6\u7684\u4e00\u7b79\u83ab\u5c55\uff0c\u8ba9\u4eba\u5bf9ARM\u53c8\u7231\u53c8\u6068\uff0c\u800c\u4f60\u4e0eARM\u53c8\u6709\u600e\u6837\u7684\u60c5\u8282\u5462\uff1f \u76ee\u524d\u5728\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e2d\u5927\u91cf\u5e94\u7528\u4e86\u5d4c\u5165\u5f0fARM\uff0c\u5982\u5de5\u4e1a\u8fc7\u7a0b\u63a7\u5236<\/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\/332"}],"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=332"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/332\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}