<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Simple I/O control using PYNQ</title><link>/members-area/personalblogs/b/blog/posts/simple-i-o-control-using-pynq</link><description>I really enjoyed the first PYNQ workshop and also an Embedded Hour session that was a few days later. I thought the best use of time would be to get my head around all the ways you can control the IO on the PYNQ-Z2 board. We were given an exampl...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Simple I/O control using PYNQ</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-i-o-control-using-pynq</link><pubDate>Thu, 21 May 2020 20:26:37 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a707c062-5b07-4472-8172-58b011a26a69</guid><dc:creator>kevin_v</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;Thank you Fred to putting this up. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For 2 weeks i have been trying to figure out how to uses the Arduino component on the pynq board. The last 4 days i was trying to get an eternal LED to turn on but couldn&amp;#39;t figure out how to select the gpio i wanted and how to output from it. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You have ended my suffering. Once again thank you!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9313&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Simple I/O control using PYNQ</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-i-o-control-using-pynq</link><pubDate>Wed, 13 May 2020 20:34:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a707c062-5b07-4472-8172-58b011a26a69</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks for sharing.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I wanted to follow this course, but my time was overtaken by events.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9313&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Simple I/O control using PYNQ</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-i-o-control-using-pynq</link><pubDate>Wed, 13 May 2020 18:31:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a707c062-5b07-4472-8172-58b011a26a69</guid><dc:creator>Fred27</dc:creator><slash:comments>3</slash:comments><description>&lt;p&gt;After more digging I can send something out on the I2C pins without crashing anything. The magic seemed to be using i2c_device 0 and not bothering with set_pins. However what comes out is not valid I2C. It appears to be just one byte roughly resembling the I2C address for both write and for read.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x279/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-a707c062-5b07-4472-8172-58b011a26a69/3056.contentimage_5F00_206995.png:620:279]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9313&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Simple I/O control using PYNQ</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-i-o-control-using-pynq</link><pubDate>Wed, 13 May 2020 11:10:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a707c062-5b07-4472-8172-58b011a26a69</guid><dc:creator>yuricts</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;a class="jive-link-external-small" href="https://pynq.readthedocs.io/en/v2.5.1/pynq_libraries/pynq_microblaze_subsystem.html#examples" rel="nofollow ugc noopener" target="_blank" title="https://pynq.readthedocs.io/en/v2.5.1/pynq_libraries/pynq_microblaze_subsystem.html#examples"&gt;https://pynq.readthedocs.io/en/v2.5.1/pynq_libraries/pynq_microblaze_subsystem.html#examples&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;from pynq.overlays.base import BaseOverlay&lt;/p&gt;&lt;p&gt;from pynq.lib import PynqMicroblaze&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;print(base.is_loaded())&lt;/p&gt;&lt;p&gt;#print(base)&lt;/p&gt;&lt;p&gt;help(base.iop_pmoda)&lt;/p&gt;&lt;p&gt;help(base)&lt;/p&gt;&lt;p&gt;lib = MicroblazeLibrary(base.PMODA,[])&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This last line appears to reset the complete microblaze... wiping the flash_led() function as welll :-(&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9313&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Simple I/O control using PYNQ</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-i-o-control-using-pynq</link><pubDate>Wed, 13 May 2020 10:19:36 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a707c062-5b07-4472-8172-58b011a26a69</guid><dc:creator>jc2048</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I don&amp;#39;t know anything about this at all, but there&amp;#39;s some info here that might help [the section headed 'Controlling the IO Switch'], if you haven&amp;#39;t seen it already&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="https://pynq.readthedocs.io/en/v2.4/overlay_design_methodology/pynq_microblaze_subsystem.html" rel="nofollow ugc noopener" target="_blank"&gt;https://pynq.readthedocs.io/en/v2.4/overlay_design_methodology/pynq_microblaze_subsystem.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;That seems to say that, for the Arduino header, it&amp;#39;s fixed and can&amp;#39;t be moved to alternate pins.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9313&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Simple I/O control using PYNQ</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/simple-i-o-control-using-pynq</link><pubDate>Wed, 13 May 2020 01:21:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a707c062-5b07-4472-8172-58b011a26a69</guid><dc:creator>weiwei2</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;i am also trying to achieve similar, although i am still testing with other PYNQ board &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-a707c062-5b07-4472-8172-58b011a26a69/contentimage_5F00_1.png:16:16]&lt;/span&gt; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=9313&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>