ATOMIC PoE Base W5500 POE+DHCP doesn't work
-
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?
-
-
@felmue Thanks for your reply.
Meanwhile I confirmed being powered by POE has no effect. The problem is the interface never gets an address from the DHCP server.
With a fixed address, everything is fine.
Did you try any other Ethernet lib?Thanks.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login