<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Connecting two OLIMEXINO-STM32</title>
		<link>http://forums.leaflabs.com/topic.php?id=1937</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:07:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1937" rel="self" type="application/rss+xml" />

		<item>
			<title>MelonFarmer on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-28516</link>
			<pubDate>Wed, 21 Aug 2013 19:24:41 +0000</pubDate>
			<dc:creator>MelonFarmer</dc:creator>
			<guid isPermaLink="false">28516@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Oh if that's the case I guess that settles it. I am already using serial just fine and dandy but I wanted to free up the serial for other things. SPI is quite a bit faster as well. I was confused as in the language guide there is a transfer function, so I figured the master must be reading off the slave, I thought that the MISO pin was for that. Thanks for responding so quick.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-28515</link>
			<pubDate>Wed, 21 Aug 2013 18:57:02 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">28515@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;MelonFarmer - &#60;em&#62;&#34;... whenever I try to send from the slave to the master, the slave write just blocks&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;I'm not sure what you mean.&#60;br /&#62;
AFAIK, the master can &#60;strong&#62;receive&#60;/strong&#62; from a slave, but a slave can't send, because it can't initiate the transfer. Only the master can drive the clock.&#60;/p&#62;
&#60;p&#62;You could use another pin (or two) to signal that it must turn master to slave, and slave to master. You'd have to write the code to do all of that.&#60;/p&#62;
&#60;p&#62;Is this bi-directional and asynchronous? If it is, then UART to UART (Serial) might be a good way to go.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MelonFarmer on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-28514</link>
			<pubDate>Wed, 21 Aug 2013 18:23:07 +0000</pubDate>
			<dc:creator>MelonFarmer</dc:creator>
			<guid isPermaLink="false">28514@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have tried a great deal to connect using SPI and have had no luck. From what I've read maple does not properly support making a board a slave. I've tried setting slave select pins manually as well as a whole other list of things. My probelm is my Master can send to my slave, and the slave can receive, however whenever I try to send from the slave to the master, the slave write just blocks. Hopefully i'm just missing something silly. I am also using olimexino boards.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stafil on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-28358</link>
			<pubDate>Wed, 07 Aug 2013 06:42:50 +0000</pubDate>
			<dc:creator>stafil</dc:creator>
			<guid isPermaLink="false">28358@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;why not working Serial1 with 4.5Mb/s or 2.25Mb/s.&#60;br /&#62;
thx
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-28185</link>
			<pubDate>Fri, 02 Aug 2013 07:00:30 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">28185@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;SPI is quicker than I2C, and IMHO SPI is a bit easier than I2C.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stafil on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-28184</link>
			<pubDate>Fri, 02 Aug 2013 06:21:46 +0000</pubDate>
			<dc:creator>stafil</dc:creator>
			<guid isPermaLink="false">28184@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hi,&#60;/p&#62;
&#60;p&#62;for high bandwish use spi or i2c? i send 160 bytes from 1 stm32 to another stm32. How peripheral i may use?&#60;/p&#62;
&#60;p&#62;Thx
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-11337</link>
			<pubDate>Thu, 21 Jun 2012 09:28:07 +0000</pubDate>
			<dc:creator>Carl</dc:creator>
			<guid isPermaLink="false">11337@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi gbulmer,&#60;br /&#62;
Thank you very much! Didn't realized it was so simple, got it working now.&#60;/p&#62;
&#60;p&#62;Without people like you it would be very hard for new people to join this exciting community.&#60;/p&#62;
&#60;p&#62;Thanks again.&#60;/p&#62;
&#60;p&#62;//Carl
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-11336</link>
			<pubDate>Thu, 21 Jun 2012 08:56:50 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">11336@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Carl assuming you know a little bit about this stuff ...&#60;/p&#62;
&#60;p&#62;RS232 is a standard which requires 12V. Don't bother if you only need to communicate over a metre or two. Converting to RS232 signal levels just introduces extra complexity.&#60;br /&#62;
Instead use the same protocol using the STM32F's USARTs, but at 3.3V, which requires very little other electonics. &#60;/p&#62;
&#60;p&#62;1   Connect USARTs together: &#60;a href=&#34;http://leaflabs.com/docs/usart.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/usart.html&#60;/a&#62;&#60;br /&#62;
Rx of one USART to the Tx of the other, and vice versa. That page tells you which pins go where, on a Maple.&#60;br /&#62;
The Olimexino documentation &#60;a href=&#34;http://www.olimex.com/dev/DUINO/OLIMEXINO-STM32/OLIMEXINO-STM32.pdf&#34; rel=&#34;nofollow&#34;&#62;http://www.olimex.com/dev/DUINO/OLIMEXINO-STM32/OLIMEXINO-STM32.pdf&#60;/a&#62;&#60;br /&#62;
tells you which pins are USART pins (e.g. CON3 has USART 2, and CON3+CON4 have USART 1)&#60;br /&#62;
I'd probably put a 100ohm resistor in each wire to reduce the danger of accidental shorting wires or misconnecting wires.&#60;/p&#62;
&#60;p&#62;2. Use the Serial library: &#60;a href=&#34;http://leaflabs.com/docs/lang/api/serial.html#lang-serial&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/lang/api/serial.html#lang-serial&#60;/a&#62;&#60;br /&#62;
to configure and transfer data.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl on "Connecting two OLIMEXINO-STM32"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1937#post-11335</link>
			<pubDate>Thu, 21 Jun 2012 08:38:48 +0000</pubDate>
			<dc:creator>Carl</dc:creator>
			<guid isPermaLink="false">11335@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi, noob here...&#60;br /&#62;
I need to connect two OLIMEXINO-STM32 so I can send a couple of ints per second. The best way I have found is to use rs232 but I have not found any tutorial. There is a library for arduino called easyTransfer which seams perfect but it doesent work on the OLIMEXINO.&#60;/p&#62;
&#60;p&#62;Can anyone help me? I simply want to be able to push a button and light both on_board_led on OLIMEXINO 1 and 2.&#60;/p&#62;
&#60;p&#62;Would be very happy if anyone helped me.&#60;/p&#62;
&#60;p&#62;//Carl
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
