<?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>Learning Xilinx Zynq: port a Spartan 6 PWM example to Pynq</title><link>/technologies/fpga-group/b/blog/posts/learning-xilinx-zynq-port-a-spartan-6-pwm-example-to-pynq</link><description>The goal of this blog series is to master the Xilinx Zynq.
I&amp;#39;ll try to build a PWM controller for a half bridge power design.



 



I&amp;#39;ve made a PWM with dead time design for the Xilinx Spartan 6 FPGA in 2017.I&amp;#39;m now learning to design for Zynq (...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Learning Xilinx Zynq: port a Spartan 6 PWM example to Pynq</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/learning-xilinx-zynq-port-a-spartan-6-pwm-example-to-pynq</link><pubDate>Tue, 06 Jul 2021 20:13:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b372f53a-71cb-4476-9f65-ea935e407b8b</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If I use 6 bits for the counter, with the 100 MHz FPGA clock that I&amp;#39;m using:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;it would give me 64 steps. Good enough for smooth transition between 0 and 100%&lt;/li&gt;&lt;li&gt;the frequency would be 100 MHz / 64 = 1.5 MHz&lt;/li&gt;&lt;li&gt;the deadband resolution would still be one clock tick (resolution of the dead time is depending on the clock frequency, not on the duty cycle bit size) , 1/100 MHz = 10 ns&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;That would be an ideal signal to control GaN FETs. They like to be in the +- 1 MHz range, and the LMG5200 half bridge I have needs 9 ns of deadband.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11490&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Learning Xilinx Zynq: port a Spartan 6 PWM example to Pynq</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/learning-xilinx-zynq-port-a-spartan-6-pwm-example-to-pynq</link><pubDate>Mon, 14 Jun 2021 14:37:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b372f53a-71cb-4476-9f65-ea935e407b8b</guid><dc:creator>cstanton</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This inspires me to spend more time with an oscilloscope...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11490&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Learning Xilinx Zynq: port a Spartan 6 PWM example to Pynq</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/learning-xilinx-zynq-port-a-spartan-6-pwm-example-to-pynq</link><pubDate>Tue, 08 Jun 2021 16:57:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b372f53a-71cb-4476-9f65-ea935e407b8b</guid><dc:creator>neuromodulator</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Interesting!&amp;nbsp; Some time ago I was looking for a way to transfer data from PS to the PL, and it looked to me like AXI was the way to do that. Didn&amp;#39;t know you could also do it through GPIO. How fast can you switch these GPIOs? &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11490&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Learning Xilinx Zynq: port a Spartan 6 PWM example to Pynq</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/learning-xilinx-zynq-port-a-spartan-6-pwm-example-to-pynq</link><pubDate>Tue, 08 Jun 2021 08:48:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b372f53a-71cb-4476-9f65-ea935e407b8b</guid><dc:creator>Andrew J</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Very interesting Jan.&amp;nbsp; FPGA is something I want to start looking at by the end of the year.&amp;nbsp; Once I can get house renovation works out of the way!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11490&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Learning Xilinx Zynq: port a Spartan 6 PWM example to Pynq</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/learning-xilinx-zynq-port-a-spartan-6-pwm-example-to-pynq</link><pubDate>Mon, 07 Jun 2021 20:03:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b372f53a-71cb-4476-9f65-ea935e407b8b</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Some animation: 50% duty, then looping through 0, 8 and 15 cycles of dead band&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=python&amp;amp;text=from+time+import+sleep%0Abit_0.write%281%29%0Abit_1.write%281%29%0Abit_2.write%281%29%0Abit_3.write%281%29%0Abit_4.write%281%29%0Abit_5.write%281%29%0Abit_6.write%281%29%0Abit_7.write%280%29%0A%0Awhile+1%3A%0A++++++++bit_8.write%280%29%0A++++++++bit_9.write%280%29%0A++++++++bit_10.write%280%29%0A++++++++bit_11.write%280%29++++%0A++++++++sleep%281%29%0A++++++++bit_8.write%280%29%0A++++++++bit_9.write%280%29%0A++++++++bit_10.write%281%29%0A++++++++bit_11.write%280%29++++%0A++++++++sleep%281%29%0A++++++++bit_8.write%281%29%0A++++++++bit_9.write%281%29%0A++++++++bit_10.write%281%29%0A++++++++bit_11.write%281%29++++%0A++++++++sleep%281%29]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/372x439/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-b372f53a-71cb-4476-9f65-ea935e407b8b/contentimage_5F00_208417.gif:372:439]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=11490&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>