{"id":306,"date":"2021-08-08T11:58:10","date_gmt":"2021-08-08T03:58:10","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=306"},"modified":"2023-02-18T22:44:58","modified_gmt":"2023-02-18T14:44:58","slug":"zynq_emio_mio_axi_gpio","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2021\/08\/08\/zynq_emio_mio_axi_gpio\/","title":{"rendered":"zynq \u4e2dEMIO  MIO  AXIGPIO\u533a\u522b"},"content":{"rendered":"\n<p><strong>MIO<\/strong>:\u591a\u529f\u80fdIO\u63a5\u53e3\uff0c\u5c5e\u4e8ePS\u90e8\u5206\u7684\u539f\u751fIO\uff0c \u8fd9\u4e9b\u5f15\u811a\u53ef\u4ee5\u7528\u5728GPIO\u3001SPI\u3001UART\u3001TIMER\u3001Ethernet\u3001USB\u7b49\u529f\u80fd\u4e0a\uff0c\u6bcf\u4e2a\u5f15\u811a\u90fd\u540c\u65f6\u5177\u6709\u591a\u79cd\u529f\u80fd\uff0c\u6545\u53eb\u591a\u529f\u80fdIO<\/p>\n\n\n\n<p><strong>EMIO<\/strong>\uff1a \u6269\u5c55MIO\uff0c\u4f9d\u7136\u5c5e\u4e8eZynq\u7684PS\u90e8\u5206\uff0c\u53ea\u662f\u8fde\u63a5\u5230\u4e86PL\u4e0a\uff0c\u518d\u4ecePL\u7684\u5f15\u811a\u8fde\u5230\u82af\u7247\u5916\u9762\u5b9e\u73b0\u6570\u636e\u8f93\u5165\u8f93\u51fa\u3002 \u5728\u6211\u7684\u7406\u89e3 PL\u90e8\u5206\u5728\u8fd9\u91cc\u4ec5\u4ec5\u662f\u8d77\u5230wire \u7684\u4f5c\u7528<\/p>\n\n\n\n<p><strong>AXIGPIO<\/strong>\uff1a \u7531FPGA\u7684PL\u903b\u8f91\u6838\u529f\u80fd\u5b9e\u73b0\uff0c\u76f8\u5f53\u4e8eGPIO\u7684IP\u6838\uff0c\u662f\u901a\u8fc7AXI\u603b\u7ebf\u6302\u5728PS\u4e0a\u7684GPIO\u4e0a\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u53e6\u5916 MIO \u7684 SPI  I2C \u7b49\u8d44\u6e90\u5bf9\u5e94\u56fa\u5b9a\u7684\u7ba1\u811a \u4e0d\u80fd\u7528\u4e8e\u6240\u6709\u7684MIO\u53e3\u4e0a\uff0c\u4f46\u662fEMIO\u6620\u5c04\u51fa\u7684 SPI \u548cI2C\u53ef\u4ee5\u62d3\u5c55\u5230\u4efb\u610fPL\u7684IO\u4e0a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5de5\u7a0b\u516d\u4e2d\u4f7f\u7528\u7684GPIO \u63a5\u6cd5\u4e3aAXI GPIO\uff0c \u8fd9\u79cd\u63a5\u6cd5\u8017\u8d39\u4e86PL\u7aef\u7684\u903b\u8f91\u8d44\u6e90\u3002  <\/p>\n\n\n\n<p>\u6211\u7684\u7406\u89e3\uff0c MIO\u76f8\u5f53\u4e8e\u76f4\u63a5\u8fde\u63a5\u5230PS\u591a\u529f\u80fd\u7684IO\uff08\u6bcf\u4e2a\u53e3\u56fa\u5b9a\u529f\u80fd\uff09\uff0c EMIO\u76f8\u5f53\u4e8e\u5c06PS\u903b\u8f91\u529f\u80fd\u5728\u5185\u90e8\u8fde\u63a5\u5230PL\u7aef\u53e3\u4e0a\uff08\u8fde\u63a5\u5230\u7684\u53e3\u53ef\u4ee5\u5185\u90e8\u8c03\u6574\uff0c\u66f4\u52a0\u7075\u6d3b\uff0c\u8d44\u6e90\u8fd8\u662fPS\u7684\u786c\u4ef6\u8d44\u6e90\uff09\uff0cAXI GPIO \u76f8\u5f53\u4e8e\u7528PL\u7684\u8d44\u6e90\u5806\u79ef\u7684IO\uff0c\u7528\u603b\u7ebf\u65b9\u5f0f\u8fde\u63a5\u5230PS\u4e0a\uff08\u5b9e\u9645\u7528\u7684\u662fPL\u8d44\u6e90\uff0c\u800c\u975ePS\u786c\u4ef6\u8d44\u6e90\uff09<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u589e\u52a0\uff1a 20210818     <\/p>\n\n\n\n<p>EMIO \u548cMIO \u7528\u5230\u7684\u51fd\u6570API\u5b8c\u5168\u76f8\u540c\uff0c \u503c\u5f97\u6ce8\u610f\u7684\u662f  MIO \u6240\u5360\u7528\u7684\u7ba1\u811a\u53f7\u662f 0-53, EMIO\u6240\u5360\u7528\u7684\u7ba1\u6559\u53f7\u662f  54-117 <\/p>\n\n\n\n<p>emio \u548cmio \u5728ps\u7aef\u7684\u4f7f\u7528\u51e0\u4e4e\u6ca1\u6709\u533a\u522b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MIO:\u591a\u529f\u80fdIO\u63a5\u53e3\uff0c\u5c5e\u4e8ePS\u90e8\u5206\u7684\u539f\u751fIO\uff0c \u8fd9\u4e9b\u5f15\u811a\u53ef\u4ee5\u7528\u5728GPIO\u3001SPI\u3001UART\u3001TIMER\u3001Ethernet\u3001USB\u7b49\u529f\u80fd\u4e0a\uff0c\u6bcf\u4e2a\u5f15\u811a\u90fd\u540c\u65f6\u5177\u6709\u591a\u79cd\u529f\u80fd\uff0c\u6545\u53eb\u591a\u529f\u80fdIO<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2,7,13],"tags":[],"class_list":["post-306","post","type-post","status-publish","format-standard","hentry","category-ebaz4205","category-fpga","category-tiny-zynq","category-tiny-zynq-2"],"views":1266,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/comments?post=306"}],"version-history":[{"count":6,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/306\/revisions"}],"predecessor-version":[{"id":611,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/306\/revisions\/611"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}