<?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: Olimex STM32-P107 board ( for ethernet! )</title>
		<link>http://forums.leaflabs.com/topic.php?id=738</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:09:04 +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=738" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4579</link>
			<pubDate>Thu, 12 May 2011 15:35:35 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">4579@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If money is no object, the Atmel H&#38;amp;D WiFi SDIO card might be a candidate:&#60;br /&#62;
&#60;a href=&#34;http://store.atmel.com/PartDetail.aspx?q=p:10500186;c:100118&#34; rel=&#34;nofollow&#34;&#62;http://store.atmel.com/PartDetail.aspx?q=p:10500186;c:100118&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I got one when I went on a Atmel training course last year. Impressive, but a bit odd. Its firmware had to be loaded each time it was powered up.&#60;/p&#62;
&#60;p&#62;I'm more interested in 802.15.4 networks, it is much lower power.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4575</link>
			<pubDate>Thu, 12 May 2011 14:31:53 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">4575@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;Unfortunately I can't see any future announced ST MCUs which continue that integrated 802.15.4 capability. Perhaps they are dropping 802.15.4 entirely? Which is a shame but worth clarifying with an ST representative.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I got my STM32W development kit directly from ST Micro in the UK at the National Electronics Week Show last month.&#60;br /&#62;
The UK MD said distributors like Farnell would have them around about now.&#60;br /&#62;
They were pretty convincing that it isn't going to be dropped as a product.&#60;br /&#62;
The fact that Farnell are now selling the chips, but weren't a month ago, helps me believe them.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4572</link>
			<pubDate>Thu, 12 May 2011 09:36:37 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4572@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The Marvell chip is better known as Libertas.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wiki.laptop.org/go/Libertas&#34; rel=&#34;nofollow&#34;&#62;http://wiki.laptop.org/go/Libertas&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://wireless.kernel.org/en/users/Drivers/libertas&#34; rel=&#34;nofollow&#34;&#62;http://wireless.kernel.org/en/users/Drivers/libertas&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4571</link>
			<pubDate>Thu, 12 May 2011 08:12:24 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4571@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Perhaps if the Marvell AVASTAR series would ever become widely available. Thats a pretty decent wifi + bluetooth module over SDIO interface. I AVASTAR since its meant to replace the Marvell 8868 which supposedly already has an open GPL wifistack.&#60;/p&#62;
&#60;p&#62;If you can put an empty SDIO slot on the F207 board instead then that would allow the option to install a future SDIO wifi card. And perhaps without giving up the (very commonly used) SPI1 and so on. Which would be otherwise be permanently occupied when implementing an RMII interface.&#60;/p&#62;
&#60;p&#62;And if no appropriate wifi card materializes. We can still use the SDIO slot for extra storage. Another nice thing might be an smd spot to place extra RAM.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4570</link>
			<pubDate>Thu, 12 May 2011 06:13:02 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4570@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
What I mean is, when the STM32F is running a TCP/IP stack *ANYWAY* (to support 802.15.4 wireless) then there seems to be no resource benefit to using a UASRT-based ethernet instead of a local STM32F107-peripheral-based ethernet.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;Unfortunately I can't see any future announced ST MCUs which continue that integrated 802.15.4 capability. Perhaps they are dropping 802.15.4 entirely? Which is a shame but worth clarifying with an ST representative.&#60;/p&#62;
&#60;p&#62;There isn't any obvious successor for the WiShield device yet either. Its not as easy to find a manufacturer who will sell both the module plus suitable drivers. Indeed ST seem the only obvious party who would be interested in producing an 802.11 module with the drivers appropriate for the STM32.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4566</link>
			<pubDate>Wed, 11 May 2011 15:42:55 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">4566@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The STM32W implements an 802.15.4 radio.&#60;/p&#62;
&#60;p&#62;That is the radio under a bunch of different brandnames and protocol stacks, including ZigBee, 6LowPAN, HART, and ZigBee RF4CE&#60;br /&#62;
(Edit: Radio Frequency for Consumer Electronics (RF4CE) merged with the ZigBee Alliance)&#60;/p&#62;
&#60;p&#62;I have this:&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00297658.pdf&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00297658.pdf&#60;/a&#62;&#60;br /&#62;
More info at &#60;a href=&#34;http://www.st.com/internet/evalboard/product/251361.jsp&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/internet/evalboard/product/251361.jsp&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Which has a USB to wireless dongle with an STM32W108HBU63 and a small USB 'mote' with STM32W108CBU63&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00248316.pdf&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00248316.pdf&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Edit: Farnell are selling the STM32W108CBU64TR chips here:&#60;br /&#62;
&#60;a href=&#34;http://uk.farnell.com/stmicroelectronics/stm32w108cbu64tr/mcu-rf-32bit-128k-flash-48vfqfpn/dp/1892383&#34; rel=&#34;nofollow&#34;&#62;http://uk.farnell.com/stmicroelectronics/stm32w108cbu64tr/mcu-rf-32bit-128k-flash-48vfqfpn/dp/1892383&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4565</link>
			<pubDate>Wed, 11 May 2011 15:23:59 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">4565@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;yea the NVIC on stm32 is quite flexible, with programmable priority for *most* of the 64 channels. There seems to be a bug in the hardware (seriously) that requires that the I2C peripheral run with the highest priority. You can always use high priority timers, or independent watchdog timers to guarantee some function is going to be run with a guaranteed period. &#60;/p&#62;
&#60;p&#62;There are also these stm32-W chips, which are kind of mysteriously unavailable but we've known about them for quite a while (a couple years now). They run a bit slower, 48MHz IIRC, but have an onboard radio PHY that works on a few different protocols (xbee included I think...)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4563</link>
			<pubDate>Wed, 11 May 2011 15:21:24 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">4563@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;The difference is that a UART ethernet solution doesn't let you the option of putting a TCP/IP stack onto the Maple.&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;I assume I must have been unclear.&#60;br /&#62;
I realise that the UART-based ethernet won't use the STM32F-hosted TCP/IP stack (I'd assumed that was obvious, but in retrospect I can see how I might have caused confusion).&#60;/p&#62;
&#60;p&#62;What I mean is, when the STM32F is running a TCP/IP stack &#60;em&#62;*ANYWAY*&#60;/em&#62; (to support 802.15.4 wireless) then there seems to be no resource benefit to using a UASRT-based ethernet instead of a local STM32F107-peripheral-based ethernet.&#60;/p&#62;
&#60;p&#62;In this scenario:&#60;br /&#62;
1. I do NOT see any flash memory footprint benefit for any services which run (above the TCP/IP level) on an STM32F107 to a UART-ethernet (Put another way, the flash space for a TCP/IP stack is consumed anyway, so the UART-stack is only going to make it worse)&#60;br /&#62;
2. I think that the performance of reasonable code for the STM32F107-ethernet-peripheral (using DMA) is going to be in&#60;br /&#62;
the same ball-park as code for a UART-based ethernet solution.&#60;br /&#62;
3. I think there may be some advantages for some edge cases, like NTP, of a STM32F107-peripheral-based ethernet.&#60;/p&#62;
&#60;p&#62;Clearly, I could do the experiments and measure the results of STM32F107 based solutions probably using ST code.&#60;br /&#62;
I'd like to know what evidence folks might have to &#60;em&#62;disprove&#60;/em&#62; assertion 1 or 2, so it is a bigger set of test results I'd like to understand.&#60;/p&#62;
&#60;p&#62;I can see that the time to develop UART-ethernet might be less than for an STM32F107-based ethernet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=3#post-4560</link>
			<pubDate>Wed, 11 May 2011 14:56:43 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4560@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I only have a Microchip Wifi module (WiServer) which is attached to an Arduino. Its hardly a fair comparison and the Wifi chip is really slow too (1Mbit). As expected, it performs pretty slowly. Its also proven to be pretty reliable however. The Wishield TCP/IP stack is pretty custom, built up on the uip stack which has a smaller footprint than LwIP which we are considering here for 100 mbit ethernet.&#60;/p&#62;
&#60;p&#62;WiShield (Uip) compiles into less than 32 kilobyte Flash and runs in only 2k RAM. Its also available on Maple and can't imagine the same Wishield setup creating much overhead on a Maple if you average it out. I believe performance concerns aught to be more about handling interrupts, and who gets runtime priority rather than the memory footprint, which should be acceptable since you can tune the size of LwIP buffers. Unlike our computer there's no swap disk. So your Maple programs aught to be in contention when sharing control timeslice and not be sharing memory with the stack. Please correct me if I'm wrong about that.&#60;/p&#62;
&#60;p&#62;I am unfamiliar with STM32 interrupt system. However if you set your program code off a callback fn() on a timer, isn't that at least guaranteed to be serviced on the timeout interval? Are there other ways to de-prioritize the servicing of ethernet / RMII interface over your own program code?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=2#post-4559</link>
			<pubDate>Wed, 11 May 2011 14:39:14 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4559@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
When I try to look at it from a wireless + ethernet perspective, I think I'm going to end up running a TCP/IP stack locally anyway.&#60;br /&#62;
In that scenario, I can't see much benefit from a UART/ethernet device in terms of flash memory footprint. Am I missing something?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;The difference is that a UART ethernet solution doesn't let you the option of putting a TCP/IP stack onto the Maple. It operates like those serial bluetooth device. It cant run whatever ftp server, web server, and so on as that requires a TCP/IP stack. Sometimes those UART devices try to support one or two of the most of popular internet services by some baked-in service which executes locally on the UART device. Of course they're not as flexible.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Is the processing overhead really much less on a UART than on-board?&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;The 107 performance can be gauged today. It requires running one of the existing Olimex or ST examples on an existing (not-maple) board. Eg the Olimex board or other 107-based stamp board with ethernet.  Sorry I cant help with determining this. Don't own the right hardware. We can be sure that whatever the 107 performance is, then the F2 series (and later on the Coretex M4) will be significantly better.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=2#post-4553</link>
			<pubDate>Wed, 11 May 2011 11:27:44 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">4553@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This is a great N-dimensional analysis problem :-) &#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;I hate to pull this in from left field, but what about foregoing all the complications of using onboard stm32 ethernet PHY and just throwing a complete ethernet-&#38;gt;uart/spi chip on a ethernet-maple product.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I have no fundamental problem with that, a long as it doesn't impose greater limitations than using an F107, and isn't stupidly expensive.&#60;/p&#62;
&#60;p&#62;I am interested in ethernet, but I am more interested in wireless (802.15.4), and very interested in both.&#60;/p&#62;
&#60;p&#62;When I try to look at it from a wireless + ethernet perspective, I think I'm going to end up running a TCP/IP stack locally anyway.&#60;br /&#62;
In that scenario, I can't see much benefit from a UART/ethernet device in terms of flash memory footprint. Am I missing something?&#60;/p&#62;
&#60;p&#62;Is the processing overhead really much less on a UART than on-board?&#60;br /&#62;
I can see that something like an AVR running at 16MHz, handling every byte in software would be loaded, but I had imagined an STM32F107 with DMA, would be okay.&#60;/p&#62;
&#60;p&#62;I also wondered if there may be some benefits to having a direct ethernet connection. For example, would the Internet Network Time Protocol (NTP) be significantly more accurate if its talking directly to the ethernet hardware, rather than something which creates an extra level of latency?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=2#post-4550</link>
			<pubDate>Tue, 10 May 2011 17:48:06 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4550@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If the best choice in each case depends upon the application, then that requirement is something which cannot so easily be predicted. I would then argue that for those client who really need to keep STM32 unloaded (by pushing out ethernet through through UART): it can still be achieved by adding a serial ethernet device externally. UART is only 2 wires. Wheras we can't take that same approach as easily the other way round. Because to make an external circuit of PHY + TCP/IP stack is a lot harder. Its just something to think about.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=2#post-4549</link>
			<pubDate>Tue, 10 May 2011 16:33:30 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">4549@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;all good points. Plus, with the onboard PHY approach the network stack must run locally. This is a very non trivial overhead, but certainly something thats been done before pairing the asynclabs wifi shields with Maple. Im more concerned about performance hits rather than complexity. With the ethernet-&#38;gt;uart you can DMA everything and move data around at very low cost in terms of application performance and bottlenecked only by the ethernet-&#38;gt;uart transceiver. &#60;/p&#62;
&#60;p&#62;And correct, I only mean to talk of the f207 chips, I dont think an f107 is in the cards...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=2#post-4548</link>
			<pubDate>Tue, 10 May 2011 16:08:56 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4548@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I would say that for many less demanding applications that arent quotes &#34;true internet&#34; (eg ftp server) - then sure serial ethernet generally works and is a convenient choice for the hobby community. Its fewer overheads, but historically, performance of previous devices shows less for (again i mention) latency. Additional line delays can often get incurred due to the serial aspect. That would be in addition to the other latencies I already talked about.&#60;/p&#62;
&#60;p&#62;If such a company is really interested in winning your business then they should understand why you need samples. To test the product thoroughly before you give any commitment to it. In other words - to be sure you actually know what  the device's true operating performance is. If you're dependent on just that 1 manufacturer / deal, that would suggest that no-one else will be offering those devices cheaply / affordably.&#60;/p&#62;
&#60;p&#62;It would make sense that a manufacturer is unwilling to loose that potential market, since a serial UART ethernet device are typically only useful within that market. Commercial industry tend to use the solutions more close like we see are being recommended by ST. I think if you choose serial ethernet now you are pretty much stuck with that decision forever. That mean you are also stuck with that technology's performance, and dependance on it.  Which can become an unknown if the company goes bust.&#60;/p&#62;
&#60;p&#62;If you go with ST's suggested approach then you aren't tied into a single device manufacturer. We already can be sure that the PHYs and ST MCU are improving gradually with time.&#60;/p&#62;
&#60;p&#62;Other side of the coin is that serial ethernet doesn't require you to give up SPI1, USART2,3, and CAN2.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dreamcat4 on "Olimex STM32-P107 board ( for ethernet! )"</title>
			<link>http://forums.leaflabs.com/topic.php?id=738&amp;page=2#post-4547</link>
			<pubDate>Tue, 10 May 2011 15:47:25 +0000</pubDate>
			<dc:creator>dreamcat4</dc:creator>
			<guid isPermaLink="false">4547@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I'm curious why this serial ethernet manufacturer has only approached you since I have started to quote hard costing figures here? Perhaps there is some correlation huh?&#60;/p&#62;
&#60;p&#62;The way I see it, theres a whole different set of pros and cons that come with either choice.  The way I see it: until you can get an accurate costing of an option, then you cant finish evaluating it.&#60;/p&#62;
&#60;p&#62;The manufacturing cost (without special deals) aught to always be cheaper for ethernet PHY. The software development cost (without community help) aught to always be cheaper for serial ethernet UART device. That is what we have been going on so far.&#60;/p&#62;
&#60;p&#62;We are certainly aware of this hence my suggestions about getting started early. Its not to say that without due care and diligence, a software API for true ethernet stack cant be written once and largely forgotten. Or that without due care, the user API cant be as easy to use as a serial UART ethernet solution.&#60;/p&#62;
&#60;p&#62;If I understand the last comment, it just infers that Leaflabs still want to use the 107 regardless of ethernet choice. Because 107 also comes with extra CAN and USB. That makes sense when 107s are nearly the same price as 103s. So we should always use 107s regardless of our ethernet choice(s). I am guessing you really mean 207s there because F1-107s are memory-limited unlike the F2-207s.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
