W5100 with STM32 using mbed

Hello everybody. This is my first post.
I have the following problem and I will be very grateful if someone can help me with this.

I have a Ethernet shield that uses W5100.
I have an Arduino Uno and a STM32 Nucleo board.

I have tried the shield with the arduino and a ethernet program and it works well.
Now I am trying to:

-Program the STM32 Nucleo board connected with the Ethernet shield to connect to the internet using mbed

However it doesnt work. (It can’t get an IP through DHCP)

To do this I am using this:
[url]https://developer.mbed.org/components/Seeed-Ethernet-Shield-V20/[/url]

Now, as you know the ethernet shield (which uses SPI) and the STM32 can not be connected directly like the Arduino does since there are some non standard connectors. So I used cables to connect them.

The ICSP pins to the SPI pins of the STM32. I dont know if something else needs to be connected or if the shield is being selected.

Has anybody have any experience doing something like this? Programming a STM32 nucleo together with W5100 so as to connect to the internet. I am lost at what to do next… :neutral_face:

Hello, Robothito

Thank you for your interests with W5100.

Do you have both arduino ethernet shield and seeed-ethernet shield 2.0 ??

caz… arduino ethernet shield uses W5100, but seeed ethernet shield uses W5200.

And I have no experience with STM… but I think this url will help you :smiley:

[url]https://developer.mbed.org/questions/62206/What-are-the-necessary-connections-for-t/[/url]

Thank you,

lawrence

[quote=“lawrence”]Hello, Robothito

Thank you for your interests with W5100.

Do you have both arduino ethernet shield and seeed-ethernet shield 2.0 ??

caz… arduino ethernet shield uses W5100, but seeed ethernet shield uses W5200.

And I have no experience with STM… but I think this url will help you :smiley:

[url]https://developer.mbed.org/questions/62206/What-are-the-necessary-connections-for-t/[/url]

Thank you,

lawrence[/quote]

I have only the W5100 ethernet shield. The seed ethernet shield program -using W5200- does not work for this? what are the modifications I should make?
Also same question as the link: where is the reset pin of the shield and should I use it??

(I have used the shield in the past with arduino without problems)

Hello, Robothito

So sorry it is too late…

In mbed, there is only for w5500 wiznet library.

so, if you want to use 5100 in mbed.

You have to do porting the w5100 io_library in mbed project. (https://github.com/Wiznet/ioLibrary_Driver)

You can find the reset pin with look next to socket.

There is the white letter for reset and the others.

Using io_library in mbed would be hard work I think.

I recommend to use W5500. (https://developer.mbed.org/components/W5500-Ethernet-Kit-for-IoT/)

Thank you

hi lawrence
can you help me in this topic?

thank you :pray: