Portenta H7 Onboard Ethernet library?

Just pulled the trigger to grab some H7 boards, vision shields, hirose connectors and some magjacks from digikey.

My motivation was to upgrade a system that uses MKR Zero + w5500 eth shield for faster Ethernet response.

Trying to find information, I now realized that I cant find a Ethernet library for the onboard hardware. :frowning: :frowning: :frowning:

Is there one available at this point?? Or is there only wifi libs available?

After some serious read up on this tonight it seams to me that the Arduino Pro product team is in some serious need to start show progress... in documentation, and delivery of announced functionality. You can not afford to continue like this, or this product line will fail due to lack of support. Users will loose interest in what otherwise seams to be a really nice hw.

(No shadows on voluntary developers, but Arduino AG has some work to do)

If you really want to try H7 then it is best to try on of the ST microelectronics STM32 Nucleo Boards - STMicroelectronics. you can see the supported boards with Arduino hre: Arduino_Core_STM32/README.md at master · stm32duino/Arduino_Core_STM32 (github.com)

I am using Adafruit Feather STM32F405 Express

Some more browsing tonight showed that there is a pull request in a github development branch of ArduinoCore-mbed from 22Dec-2020. initial porting of Ethernet library... so hopefully this will work out without to many issues...

Did you get it working or make any progress on finding a working library? I am having the same issue and there is not a very much documentation I can find.

I am working with the standard Ethernet library, but it seems that the IP address assignment is not taking (or holding) .

(Edit) it seems that after further investigation that the hardware is not being detected with the standard Ethernet library (EthernetNoHardware) I am still working at it.

The standard Ethernet library looks for a Wiznet W5100, W5200 or W5500 chip connected to SPI.

That is what I understand as well (tried it anyway). I am hoping that maybe Malman had figured it out. Maybe someone else?

Assuming people in this thread have the Ethernet version of the Portenta Vision Shield. I just plugged in an Ethernet able and it made a webpage code go live. Much easier than using Wifi. Seems to be no programming involved.

I got an email back from Arduino support they sent this example. I hope it helps someone. Now I have to get a HTTP server working out if it…

#include "EthernetInterface.h"
EthernetInterface net;
void setup() {  
/* ETH */
  int retry_count = 0;
  int res = net.connect();
  int start = millis();
  while ((millis() - start < 20000) && (net.get_connection_status() != NSAPI_STATUS_GLOBAL_UP)) {
  if (net.get_connection_status() != NSAPI_STATUS_GLOBAL_UP && retry_count++ < 2) {
    goto eth_restart;
  const char *mac = net.get_mac_address();
  Serial.println("Ethernet MAC" +String(mac));
  SocketAddress addr;
  Serial.println("Ethernet IP" + String(addr.get_ip_address()));}
  void loop() {
  // put your main code here, to run repeatedly:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.