cancel
Showing results for 
Search instead for 
Did you mean: 

Programming Ethernet on STM32-P107

brouzi
Associate II
Posted on July 21, 2011 at 10:15

Hi guys,

Does anyone know how to configure the RMII mode which include the signals: TXD, TX_EN, RXD, CRS_DV, MDC, MDIO, REF_CLK.

an explication, or an example configuration would be very helpful,

Thanks in advance

3 REPLIES 3
andreasvogt9
Associate
Posted on July 27, 2011 at 10:25

ST has an STM32_eth_lib package where you can find a basic driver and some example applications to set up a simple webserver with the uIP TCP/UDP stack. I only used it to write some config registers in a 5 port ethernet switch (over SMI) so far, but i guess if you really want to get deeply involved with ethernet you should search for a solution that covers all your needs. (We are going with the Keil RL-TCPnet solution for our project, but it gets quite expensive, so, some research of what is on the market and what you need for your project is required)

http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32_eth_lib.zip

brouzi
Associate II
Posted on July 28, 2011 at 16:58

Thanks Andreas, I'll take a look at that! :)

brouzi
Associate II
Posted on August 03, 2011 at 09:49

Hi again,

before I began programming Ethernet, I've programmed an SPI protocol to acquire data at 20kHz, do you know how can I get the data from the SPI_DR register to my DMA Rx Ethernet register?

Thanks :)