🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ATOMIC PoE Base W5500 POE+DHCP doesn't work

    Bases
    1
    1
    13
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xgonc
      last edited by

      Hello,
      I'm using the ATOMIC PoE Base W5500 (SKU: A091).
      In Arduino environment, I'm using DHCP. Powering the AtomS3 lite with USB all works fine. However, when I use POE, DHCP doesn't work any more.

      I'm using the following to setup the Ethernet interface:

          #define CS 6
          Ethernet.init(CS);
          while(!Ethernet.begin(mac)) {
             Serial.println("Ethernet.begin failed");
          }
          if (Ethernet.hardwareStatus() == EthernetNoHardware)
          {
              Serial.println(
                  "Ethernet shield was not found.  Sorry, can't run without "
                  "hardware. :(");
              while (true)
              {
                  delay(1); // do nothing, no point running without Ethernet hardware
              }
          }
          if (Ethernet.linkStatus() == LinkOFF)
          {
              Serial.println("Ethernet cable is not connected.");
          }
      

      With POE enabled, the code get stucked at the fisrt loop.

      Is there anything missing?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post