Dangerous Prototypes

Other projects => Past projects => Breakout boards => Topic started by: RichF on October 13, 2011, 11:07:44 pm

Title: Ethernet Physical interface for STM32F4
Post by: RichF on October 13, 2011, 11:07:44 pm
The recent release of the STM32F4 discovery board either as a "free" sample or lost cost at distributors like Mouser($17) raises interesting possibilities if there was an complete Ethernet interface.
At less than $20 this would make a great base for a Web Server. What is needed is a cheap daughter or breakout board with the Ethernet physical interface. Possibilities are the likes of National’s DP83848C with is used on STM’s STM3240G-EVAL board or Marvell’s?? This would be a heck more capable than the processor planed for the Web platform V2 at potentially same or less cost
If someone with the experience to do the hardware, could help out here that would be fantastic!
Title: Re: Ethernet Physical interface for STM32F4
Post by: RichF on October 14, 2011, 03:26:23 am
There is a third party stack which was developed for the STM32F107  which I think is basically the same as in the STM 32F407 
http://www.st.com/internet/com/TECHNICA ... 255062.pdf (http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00255062.pdf)
The app note covers the TCP/IP stack as well a a basic web server 

I have not yet looked at it in detail.
Title: Re: Ethernet Physical interface for STM32F4
Post by: RichF on October 29, 2011, 08:09:57 pm
I took a look at using the DP83848C as was used on the STM3240G-EVAL.  There are many conflicts in pin usage when using the full MKII interface.  Even the reduce RMii interface has a pin conflict.  ETH_RMII _CRS_DV conflicts with the SDI input for the Accelerometer (LIS302DL)

  At this point I think using the ENC28J60 with an SPI interface is the simplest option.    Any Comments??
Title: Re: Ethernet Physical interface for STM32F4
Post by: sqkybeaver on October 30, 2011, 02:28:25 am
[quote author="RichF"]This would be a heck more capable than the processor planed for the Web platform V2 at potentially same or less cost[/quote]

there are some misconceptions about what "code name Robert" or the "Linux board" is intended for. while it came out of the discussion about a web platform V2 it was not ment as a replacement for the web platform. over all from the beginning it's #1 design requirement was to run Linux with a low target price.

i have the stm32f407 discovery board, while i have not had time to try it out, it would make a powerful web platform v2. it would support 100Mbps well and has plenty of io. and a super fast adc.

if it supports RMII thats a bonus
Title: Re: Ethernet Physical interface for STM32F4
Post by: RichF on October 30, 2011, 03:12:42 am
I came across this breakout for the DP83848C
http://www.ebay.com/itm/DP83848-Etherne ... 1205wt_939 (http://www.ebay.com/itm/DP83848-Ethernet-Physical-Transceiver-RJ45-connector-control-interface-Board-Kit-/250893723693?pt=LH_DefaultDomain_0&hash=item3a6a6e682d#ht_1205wt_939)

Even though I haven't resolved how to get around the pin conflict it is cheap enough to give it a try.

I much prefer  to use the DP83848C  as it supports 10/100 where as the other approach does only 10/
Title: Re: Ethernet Physical interface for STM32F4
Post by: RichF on June 04, 2012, 03:15:53 pm
I came across this breakout board for the STM32F4  that incorporates the Ethernet physical interface. It is carried at Mouser for $23usd

[attachment=0]

http://www.mouser.com/ProductDetail/mik ... 2f1mXfF4sO (http://www.mouser.com/ProductDetail/mikroElektronika/MIKROE-1105/?qs=yR1Mpqbr%2fWIKt55ZlbVBHWa%2f1mXfF4sO)
Title: Re: Ethernet Physical interface for STM32F4
Post by: sqkybeaver on June 04, 2012, 08:41:04 pm
[quote author="MickM"]Is there a Linux toolset for them?[/quote]
i believe you can use eclipse with gcc-arm
Title: Re: Ethernet Physical interface for STM32F4
Post by: RichF on June 04, 2012, 11:08:27 pm
Looks like you can buy direct  from their web site @    http://www.mikroe.com/eng/products/view ... for-stm32/ (http://www.mikroe.com/eng/products/view/852/easymx-pro-v7-for-stm32/)
Select the "MCU cards" tab

I don't know if they will sell the MCU board separate from the full development board.   

There is also a schematic posted there.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01002081720session_write_close ( )...(null):0
20.01032213312ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01032214088Database_MySQL->query( ).../DatabaseHandler.php:119
40.05342352824Database_MySQL->error( ).../Db-mysql.class.php:273