sstaub / Ethernet3

Ethernet library for Arduino and Ethernetshield2 / WIZ550io / WIZ850io / USR-ES1 with Wiznet W5500 chip
Other
76 stars 34 forks source link

I have designed a esp board with W5500 but no reset/int pin connected,does this matter? #33

Closed CxZMoE closed 3 years ago

CxZMoE commented 3 years ago

Here is my schemetic: 1605797620

and I set PMOD registers as 1,1,1 (leave unconnected and pull-up internally) 1605797820(1) is that ok? I really hope someone can help me out. Thanks.

sstaub commented 3 years ago

Missing interupt pin is no problem, for reset there is a software based reset function.

CxZMoE commented 3 years ago

Missing interupt pin is no problem, for reset there is a software based reset function.

OHHHH thank you,you helped me a lot!!!

CxZMoE commented 3 years ago

Does ETHERNET3 compatible with the Arduino MQTT library? I see there is a EthernetClient class. And I am using gpio15(HSPICS) as CS pin,but In the README you said "Standard is Pin 10 for CS and Pin 9 for RST",will this make the W5500 chip not work?

sstaub commented 3 years ago

It seems the MQTT library is only for WIFI vonnection.

CxZMoE commented 3 years ago

It seems the MQTT library is only for WIFI vonnection.

We use this statement to initialize a MQTT client,the net is a WiFiClient which inherited from Client,

client.begin("ip", 1883, net);

and then I saw your code file "EthernetClient.cpp",there is an EthernetClient which is also inherited from Client and implemented the functions declared in the parent Client class. Maybe this will work??

sstaub commented 3 years ago

I think this should work, but you need different names for the class members.

CxZMoE commented 3 years ago

I think this should work, but you need different names for the class members.

Yes,your library works amazingly well on my self-designed esp-w5500 board!! Thanks a lot!!!

sstaub commented 3 years ago

Fine