<?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>FPGA: a quadrature oscillator with rotary encoder control</title><link>/challenges-projects/project14/radiocontrol/b/blog/posts/fpga-a-quadrature-oscillator-with-rotary-encoder-control</link><description>This design is a pure VHDL quadrature signal generator.With variable frequency. The frequency can be controlled with a scroll wheel.The purpose of this design is to build an alternative local oscilator for Shabaz&amp;#39; Software Defined Radio (SDR) Exp...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: FPGA: a quadrature oscillator with rotary encoder control</title><link>https://community.element14.com/challenges-projects/project14/radiocontrol/b/blog/posts/fpga-a-quadrature-oscillator-with-rotary-encoder-control</link><pubDate>Fri, 22 Oct 2021 14:19:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0475cec6-bcd1-411e-8318-0674368ec63d</guid><dc:creator>dougw</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Would a PSoC 4 have enough programmable fabric and speed to implement this function?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22041&amp;AppID=338&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: FPGA: a quadrature oscillator with rotary encoder control</title><link>https://community.element14.com/challenges-projects/project14/radiocontrol/b/blog/posts/fpga-a-quadrature-oscillator-with-rotary-encoder-control</link><pubDate>Thu, 21 Oct 2021 22:19:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0475cec6-bcd1-411e-8318-0674368ec63d</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It works on the Zynq too,&lt;span style="text-decoration:line-through;"&gt; but strange enough,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;only if I place the 3 individual blocks on the block diagram, and combine them there.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;If I put the wrapped design on the block diagram, it doesn&amp;#39;t work.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;I&amp;#39;ll retry from fresh tomorrow.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;This is how it looks like now&lt;/span&gt; (+ action video):&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x244/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-0475cec6-bcd1-411e-8318-0674368ec63d/5224.contentimage_5F00_216673.png:620:244]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span id="d0c8f602_12f1_4cdc_80be_c00b6e1183c7"&gt;&lt;span&gt;[View:https://players.brightcove.net/1362235890001/NkxiVJdjx_default/index.html?videoId=6278227959001:740:466]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;edit: it works with the wrapper too. I made a typo and had assigned the reset of the quad generator to a rotary encoder pin. &lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;fixed and all ok now:&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/609x485/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-0475cec6-bcd1-411e-8318-0674368ec63d/0456.contentimage_5F00_216675.png:609:485]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22041&amp;AppID=338&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: FPGA: a quadrature oscillator with rotary encoder control</title><link>https://community.element14.com/challenges-projects/project14/radiocontrol/b/blog/posts/fpga-a-quadrature-oscillator-with-rotary-encoder-control</link><pubDate>Thu, 21 Oct 2021 20:30:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0475cec6-bcd1-411e-8318-0674368ec63d</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m trying if the exact same design runs on the Zynq.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x229/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-0475cec6-bcd1-411e-8318-0674368ec63d/8688.contentimage_5F00_216672.png:620:229]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;VHDL is unchanged. The clock and nReset come from the ARM µcontrollers this time&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22041&amp;AppID=338&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: FPGA: a quadrature oscillator with rotary encoder control</title><link>https://community.element14.com/challenges-projects/project14/radiocontrol/b/blog/posts/fpga-a-quadrature-oscillator-with-rotary-encoder-control</link><pubDate>Thu, 21 Oct 2021 18:38:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0475cec6-bcd1-411e-8318-0674368ec63d</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Jan,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is great, fantastic work, I&amp;#39;m looking forward to trying it. I&amp;#39;m also going to print out the VHDL and try to follow it and learn..&lt;/p&gt;&lt;p&gt;I attempted a slightly similar idea and barely got the encoder functioning enough to control an output, but I was concerned I didn&amp;#39;t know what the VHDL was creating in some places, and aborted until I understood it some more, so looking at your VHDL will help loads.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22041&amp;AppID=338&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: FPGA: a quadrature oscillator with rotary encoder control</title><link>https://community.element14.com/challenges-projects/project14/radiocontrol/b/blog/posts/fpga-a-quadrature-oscillator-with-rotary-encoder-control</link><pubDate>Thu, 21 Oct 2021 18:29:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0475cec6-bcd1-411e-8318-0674368ec63d</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;It works&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x388/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-0475cec6-bcd1-411e-8318-0674368ec63d/0211.contentimage_5F00_216667.png:620:388]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I had 1 error: the nReset pin was not in my constraint file. So it was always 0 and the circuit constantly in reset.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I changed the constraint file (also moved the clk_out to a PMOD pin named clock)&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=net+nReset_in+++++++++++++++++++loc%3Dk15%3B%0Anet+clk_out+++++++++++++++++++++loc%3Dt7%3B]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;and the image with the pins in the post above.&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/286x96/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-0475cec6-bcd1-411e-8318-0674368ec63d/4024.contentimage_5F00_216668.png:286:96]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=22041&amp;AppID=338&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: FPGA: a quadrature oscillator with rotary encoder control</title><link>https://community.element14.com/challenges-projects/project14/radiocontrol/b/blog/posts/fpga-a-quadrature-oscillator-with-rotary-encoder-control</link><pubDate>Wed, 20 Oct 2021 20:12:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0475cec6-bcd1-411e-8318-0674368ec63d</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice post Jan.&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=22041&amp;AppID=338&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>