cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F10C-Eval ethernet connector

dorrachendoul
Associate II
Posted on July 02, 2013 at 10:46

Hi,

I connected the ethernet port of the STM32F10C-Eval to my pc using an ethernet cable. But the led of the ethernet port is not blinking which means that the connection is not detected. I have changed the cable but nothing is happening. What  could be wrong?

Thank you.
5 REPLIES 5
Posted on July 02, 2013 at 13:38

So what happens if you DO initialize the ETH/PHY? It's a synchronous part so it's highly likely to need a clock to do anything. So load up some demo/example code which supports Ethernet and TCP/IP

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STMTouch/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STMTouch/STM32F10C-Eval%20%20ethernet%20connector&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580006D6333EDE67C2A46A2020F77CD7DCE8F&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STMTouch/AllItems.aspx&currentviews=17]https://my.st.com/public/STe2ecommunities/mcu/Lists/STMTouch/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTMTouch%2fSTM32F10C-Eval%20%20ethernet%20connector&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580006D6333EDE67C2A46A2020F77CD7DCE8F&TopicsView=https%3A%2F%2Fmy.st.com%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTMTouch%2FAllItems.aspx¤tviews=17

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
dorrachendoul
Associate II
Posted on July 02, 2013 at 15:47

But am using eclipse and i don't have keil

Posted on July 02, 2013 at 16:11

But am using eclipse and i don't have keil

Ok, that's a decision you'll have to own, and use your skills as a programmer to port some Ethernet code to the platform of your choice.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
dorrachendoul
Associate II
Posted on July 02, 2013 at 17:41

I ported a lwlP and it worked but after disconnecting and doing the same thing again it didn't work

Posted on July 02, 2013 at 18:19

Likely because you need to have the PHY interrupt when the connection changes, and renegotiate the connection. Most simple examples set up the PHY/Connection once at initialization.

MII_INT connects to EXP_IO8 (i2c IO Expander)

The code in STM32F107_ETH_LwIP_V1.0.0\Utilities\STM32_EVAL\STM3210C_EVAL\stm3210c_eval_ioe will need a lot of work.

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/CD00212441.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..