{"id":164,"date":"2020-04-06T17:40:23","date_gmt":"2020-04-06T17:40:23","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/?p=164"},"modified":"2020-04-06T17:40:23","modified_gmt":"2020-04-06T17:40:23","slug":"jareds-status-report-for-april-4","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/2020\/04\/06\/jareds-status-report-for-april-4\/","title":{"rendered":"Jared&#8217;s Status Report for April 4"},"content":{"rendered":"<p>Placing the program on the FPGA isn&#8217;t as easy as I thought it would be.<\/p>\n<p>Things that were easy:<\/p>\n<ul>\n<li>Following the user manual and learning pin assignments<\/li>\n<li>writing a compliant SPI module<\/li>\n<\/ul>\n<p>Things that are hard:<\/p>\n<ul>\n<li>Deciphering the signals from the RPi<\/li>\n<li>Receiving the signals correctly<\/li>\n<\/ul>\n<p>Here is my current configuration for the physical board:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-167 size-medium\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-content\/uploads\/sites\/81\/2020\/04\/Pinout-2-300x64.png\" alt=\"\" width=\"300\" height=\"64\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-content\/uploads\/sites\/81\/2020\/04\/Pinout-2-300x64.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-content\/uploads\/sites\/81\/2020\/04\/Pinout-2-768x164.png 768w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-content\/uploads\/sites\/81\/2020\/04\/Pinout-2-1024x219.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Followed by a screenshot in Quartus of the interface (while debugging):<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-168\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-content\/uploads\/sites\/81\/2020\/04\/spi_code-292x300.png\" alt=\"\" width=\"292\" height=\"300\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-content\/uploads\/sites\/81\/2020\/04\/spi_code-292x300.png 292w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-content\/uploads\/sites\/81\/2020\/04\/spi_code.png 544w\" sizes=\"(max-width: 292px) 100vw, 292px\" \/><\/p>\n<p>The SPI module likes to act strange: Once in a while it will count too many clock cycles and receive or return a bad buffer. This doesn&#8217;t appear when connecting MISO and MOSI together (loopback), so it must be with the Pi.<\/p>\n<p>I have contacted sources outside the group for help, as without an oscilloscope I don&#8217;t think I can properly assess my issue.<\/p>\n<p>Next week will be dedicated to getting SPI working.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Placing the program on the FPGA isn&#8217;t as easy as I thought it would be. Things that were easy: Following the user manual and learning pin assignments writing a compliant SPI module Things that are hard: Deciphering the signals from the RPi Receiving the signals correctly Here is my current configuration for the physical board: &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/2020\/04\/06\/jareds-status-report-for-april-4\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Jared&#8217;s Status Report for April 4&#8221;<\/span><\/a><\/p>\n","protected":false},"author":247,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/posts\/164"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/users\/247"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/posts\/164\/revisions\/177"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teama7\/wp-json\/wp\/v2\/tags?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}