<?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>XMOS startKIT: XMOS and Raspberry Pi Oscilloscope XAE 1000</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/xmos-startkit-xmos-and-raspberry-pi-oscilloscope-xae-1000</link><description>IntroductionThis project provides “oscilloscope-like” capabilities for the ultra low cost of &amp;#163;12, with near-zero soldering required. It’s not a very practical oscilloscope (and this project is really just a quick proof-of-concept written in a couple </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: XMOS startKIT: XMOS and Raspberry Pi Oscilloscope XAE 1000</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/xmos-startkit-xmos-and-raspberry-pi-oscilloscope-xae-1000</link><pubDate>Mon, 29 Dec 2014 17:48:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d7de46e9-b3fa-4f73-a90a-a1ee5cba2948</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi, I&amp;#39;m following your project but have come across some difficulties.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve got the code compiled and running on the Pi and the XMOS board.&amp;nbsp; I can see the Pi is polling the SPI interface, but is getting zeros returned on the MISO line.&amp;nbsp; This has been confirmed by doing ./xmos_adc.&lt;/p&gt;&lt;p&gt;If I hardwire the MISO line from Pi to 3.3v, the I read 0xff&amp;#39;s instead of 0x00.&amp;nbsp; So the Pi SPI input seems to be working.&lt;/p&gt;&lt;p&gt;If I add some of your commented-out printf() calls back into the XMOS code and run it from the GUI, I can see&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p1"&gt;App started&lt;/p&gt;&lt;p class="p1"&gt;incoming SPI&lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p1"&gt;but that&amp;#39;s all.&lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p1"&gt;I have applied a sine wave which is level shifted to lie between approx 1v and 2v as I assume the ADC0 input has a max FSD at 3.3v?&amp;nbsp; Can&amp;#39;t find this documented ..&lt;/p&gt;&lt;p class="p1"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p1"&gt;Can you suggest how to go about debugging this?&lt;/p&gt;&lt;p class="p1"&gt;-----&lt;/p&gt;&lt;p class="p1"&gt;Update:&amp;nbsp; I tried using this simple program:&amp;nbsp; &lt;a class="jive-link-external-small" href="http://www.xcore.com/forum/viewtopic.php?f=44&amp;amp;t=2537" rel="nofollow ugc noopener" target="_blank" title="http://www.xcore.com/forum/viewtopic.php?f=44&amp;amp;t=2537"&gt;http://www.xcore.com/forum/viewtopic.php?f=44&amp;amp;t=2537&lt;/a&gt;&lt;/p&gt;&lt;p class="p1"&gt;I added the -fxscope parameter to the makefile, and it works (between 1 and 9 LEDs light up depending on the voltage on ADC0).&lt;/p&gt;&lt;p class="p1"&gt;So there must be some difference in the way this is using the ADC.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=17939&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: XMOS startKIT: XMOS and Raspberry Pi Oscilloscope XAE 1000</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/xmos-startkit-xmos-and-raspberry-pi-oscilloscope-xae-1000</link><pubDate>Sat, 22 Nov 2014 03:24:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d7de46e9-b3fa-4f73-a90a-a1ee5cba2948</guid><dc:creator>clem57</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I like the elegance of the interface &lt;span&gt;[mention:b0bc65b9ecdc4307bd967592f00e340a:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt; used. I am getting SPI under my belt and see a lot of uses like the ones&amp;nbsp; here. When I get a BitScope micro (hopefully soon), I will write more&amp;nbsp; about this topic..&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Clem&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=17939&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: XMOS startKIT: XMOS and Raspberry Pi Oscilloscope XAE 1000</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/xmos-startkit-xmos-and-raspberry-pi-oscilloscope-xae-1000</link><pubDate>Sun, 22 Jun 2014 18:45:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d7de46e9-b3fa-4f73-a90a-a1ee5cba2948</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I wonder if the same thing could be done with the RIOT Board?&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=17939&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: XMOS startKIT: XMOS and Raspberry Pi Oscilloscope XAE 1000</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/xmos-startkit-xmos-and-raspberry-pi-oscilloscope-xae-1000</link><pubDate>Sun, 22 Jun 2014 14:47:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d7de46e9-b3fa-4f73-a90a-a1ee5cba2948</guid><dc:creator>Problemchild</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Thanks again for an excellent article sized blog post &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-d7de46e9-b3fa-4f73-a90a-a1ee5cba2948/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I particularly like the photo showing the SPI connection to the RPI, yes it really is that simple!!&lt;/p&gt;&lt;p&gt;Often folk get it into their heads that it&amp;#39;s all super complicated, but the flexibility of the Soft I/O on the&lt;/p&gt;&lt;p&gt;XMOS makes it ridiculously easy to get even high speed I/O running.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=17939&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>