cancel
Showing results for 
Search instead for 
Did you mean: 

The example of receiving ethrnet frames

kashubadmitry
Associate II
Posted on November 08, 2016 at 09:43

Hi!

I am the beginner in ethernet on STM32F407.

I connected STM32F407 to LAN8720, LAN8720 connected through ethernet cable to PC.   I set IP-address 192.168.0.10 (255.255.255.0) for the PC and on the PC I did ping 192.168.0.11. I saw in wireshark that there was ethernet frame of ARP request. I want to receive this frame on STM32F407.

Could any body please send me the code example of such program for STM32?

 I am reading RM0090 for STM32F407, but it is difficult to me to create such program for myself in short time .

Thank You!
1 REPLY 1
slimen
Senior
Posted on November 11, 2016 at 14:48

Hello,

You may start from the demonstration package of

http://www.st.com/en/embedded-software/stsw-stm32070.html

to build your own application and refer to the LwIP examples under

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef4.html

.

Hope this helps you.

Regards