cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Ethernet?

picguy
Associate II
Posted on December 21, 2009 at 10:53

STM32 Ethernet?

13 REPLIES 13
picguy
Associate II
Posted on May 17, 2011 at 12:41

It seems to me that someone could connect STM32 to Ethernet via the FSMC. “All� that would be needed is to make the Ethernet device look like static RAM.

Does anybody make anything like that?

Then I did a Google search. From

http://www.st.com/mcu/contentid-78.html

I read . . .

STM32-103STK General evaluation board

Features STM32F103RB, 128x128 pixel, 12-bit color TFT LCD with backlight and Ethernet, USB, CAN and SD/MMC connectors, IrDA transceiver and ADC with potentiometer

Given the commas this might be a strange LCD with backlight and Ethernet. This I doubt. But does this board feature Ethernet connectivity?

Some Stellaris parts apparently have Ethernet but their code protection method is seriously flawed.

asterix
Associate II
Posted on May 17, 2011 at 12:41

Hi picguy,

Looking at

http://www.olimex.com/dev/stm32-p103.html

http://www.olimex.com/dev/stm32-p103.html

> official Page and schematics of this board, I can not see any Ethernet MAC or PHY on board.

However Looking at a similar board from Olimex based on STR9 ( ARM966 core)

http://www.olimex.com/dev/str-e912.html

this is what you need for Ethernet connectivity with ST ARM devices at the moment 🙂

Clt,

Magigimix.

lanchon
Associate III
Posted on May 17, 2011 at 12:41

> Stellaris parts apparently have Ethernet but their code protection method is seriously flawed.

there's no reason to think that STM32s are any better; see

http://www.st.com/mcu/forums-cat-6674-23.html

.

jas
Associate II
Posted on May 17, 2011 at 12:41

I'm using this little ethernet MAC & PHY chip that bolts on to the SPI port of the SMT32.

http://ww1.microchip.com/downloads/en/DeviceDoc/39662c.pdf

disirio
Associate II
Posted on May 17, 2011 at 12:41

Interesting, how the performance is ?

---

ChibiOS/RT

http://chibios.sourceforge.net

[ This message was edited by: disirio on 04-08-2008 20:39 ]

picguy
Associate II
Posted on May 17, 2011 at 12:41

Arm_Wrestler,

Thank you.

Does Microchip or Mr. Arm_Wrestler have STM32 drivers for that part? Our hardware guy was going to have to build something like that with a Xilinx FPGA.

I own the dotcom hmtown. If you wish, communicate with PICguy there.

jpeacock2
Associate II
Posted on May 17, 2011 at 12:41

I've used the Microchip ENc28J60 on STR750 and MSP430 boards. It uses an SPI port clocked at 10Mhz or less, so the theoretical transfer rate between the onboard 8KB buffer and main RAM is about 1MB/sec if using DMA transfers, less if you use polled SPI (I wouldn't recommend interrupt driven SPI, too much overhead). The part is 10BaseT only. Mixed in with 100Mbit nodes and lots of broadcasts it can easily be saturated. This has been a real problem for us, so much that we're looking for a 100Mbit part and parallel interface to replace it.

However, if you can keep the traffic down and isolate the subnet it's on with a good ethernet switch it does work. Make sure you get the latest silicon revision as earlier parts had some difficult bugs to work around, especially with the SPI clock rate.

optizyme
Associate II
Posted on May 17, 2011 at 12:41

Hello,

I also started to make it with ENC28J60 and STM32 eval board. Both of boards are ready but i need an instant TCP/IP stack for communication. Does someone has a stack for it with Keil? Warm regards,

Optizyme

gahelton12
Associate II
Posted on May 17, 2011 at 12:41

There are all sorts of external MACs that you could hook up to the FSMC bus to add Ethernet to the STM32 family. But why do that when the STM32F107 already has internal Ethernet MAC hardware ?