<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/796" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2019-10-24T07:28:13+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/796</id>

		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2019-10-24T07:28:13+00:00</updated>

		<published>2019-10-24T07:28:13+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1355#p1355</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1355#p1355"/>
		<title type="html"><![CDATA[Re: How to get SPI0 working]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1355#p1355"><![CDATA[
Hi dusinnhht,<br>Which pins are you using for SPI0?<br>If we'll look inside <a href="https://www.raspberrypi.org/documentation/hardware/computemodule/datasheets/rpi_DATA_CM_1p0.pdf" class="postlink">Compute Module datasheet</a>, page 18 and 19, we can see that SPI0 can bu used either at GPIO 7-10 (ALT0), or at GPIO 35-39 (ALT0).<br>And if we'll look inside our device tree configuration (<a href="https://wiki.stereopi.com/index.php?title=DIY_Ninjas_Section#Device_tree_.28DTS_and_dt-blob.bin.29" class="postlink">dt-blob.dts</a>), we can see that some of these pins are used for the second camera control.<br><br>To check this hypothesis, please try to rename dt-blob.bin in your /BOOT partition and run your tests. With no dt-blob.bin our StereoPi will act exaxtly as a classic Raspberry Pi.<br>If this will work for you, we'll try to slightly modify dt-blob for you, to release the pins you need.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Thu Oct 24, 2019 7:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dusinnhht]]></name></author>
		<updated>2019-10-23T21:07:25+00:00</updated>

		<published>2019-10-23T21:07:25+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1351#p1351</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1351#p1351"/>
		<title type="html"><![CDATA[Re: How to get SPI0 working]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1351#p1351"><![CDATA[
I just noticed, that SPI1 is in fact SPI0, at least it drives the pins for SPI0. It's weird, because when I connected SPI1's Mosi with Miso it passed the test. But what I connected to SPI1 bus didn't work, so I checked the other pins with oscilloscope and noticed that SPI0 pins are driven (also? I didn't check SPI1, just wanted to get over with the project, but I still dont have /dev/spidev0.*)<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=278">dusinnhht</a> — Wed Oct 23, 2019 9:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dusinnhht]]></name></author>
		<updated>2019-10-23T15:26:06+00:00</updated>

		<published>2019-10-23T15:26:06+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=1350#p1350</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=1350#p1350"/>
		<title type="html"><![CDATA[How to get SPI0 working]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=1350#p1350"><![CDATA[
Hi!<br><br>I'd like to use SPI0 on the StereoPi. I use the standard and latest Raspbian. I enabled SPI with raspi-config and rebooted several times, but ls /dev/spi* doesn't give any result.<br>Then I enabled SPI1 (added dtoverlay=spi1-3cs to /boot/config.txt), and it seems to be working. (I now have /dev/spidev1.0, /dev/spidev1.1 and  /dev/spidev1.2) Pinout is here: <a href="https://pinout.xyz/" class="postlink">https://pinout.xyz/</a><br><br>Did anyone have any luck enabling SPI0?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=278">dusinnhht</a> — Wed Oct 23, 2019 3:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
