<?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 Design Guide Pt4 - SPI Interface</title><link>/technologies/fpga-group/b/blog/posts/fpga-design-guide-pt4---spi-interface</link><description>So now that I have a working display I guess I had better get started on the SPI temperature sensor. The design process here is a little different as we are not just passing data or signals from one block to the next. What we need is a sub block that</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: FPGA Design Guide Pt4 - SPI Interface</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/fpga-design-guide-pt4---spi-interface</link><pubDate>Sun, 11 Mar 2018 03:54:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:28d1c971-bfaf-40de-bada-7c37bdf1cc64</guid><dc:creator>cybero</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Paul,&lt;/p&gt;&lt;p&gt;I&amp;#39;m running your code I found something that looks like wrong.&lt;/p&gt;&lt;p&gt;You&amp;#39;re sampling during 34 clock cycles instead 32.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;See the attached picture: &lt;span&gt;[View:/resized-image/__size/620x115/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-28d1c971-bfaf-40de-bada-7c37bdf1cc64/5355.contentimage_5F00_174779.png:620:115]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=13743&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: FPGA Design Guide Pt4 - SPI Interface</title><link>https://community.element14.com/technologies/fpga-group/b/blog/posts/fpga-design-guide-pt4---spi-interface</link><pubDate>Tue, 27 Feb 2018 12:25:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:28d1c971-bfaf-40de-bada-7c37bdf1cc64</guid><dc:creator>cybero</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Paul, &lt;/p&gt;&lt;p&gt;Great job! I loved to find this entry in Google. Thanks for sharing your work.&lt;/p&gt;&lt;p&gt;There&amp;#39;s something confusing in your design.&lt;/p&gt;&lt;p&gt;MAX31855 needs a 5MHz clock source. Your FPGA uses a 12MHz oscillator and I can&amp;#39;t see a frequency divider in your design. SPI_clock comes from a 30 bit counter. Supposing clk_i comes from the 12MHz oscillator, that means SPI_clock is a 400KHz signal. Am I right?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can you please clarify how you get the 5MHz from your 12MHz oscillator?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again.&lt;/p&gt;&lt;p&gt;Cheers.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=13743&amp;AppID=19&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>