@teastain2 ... OMG ... I got it running ... and I am almost to embarrsed to tell the reason ... obviously the breadboard I was using for the T-Display was broken and did not have contact for pin 13 Changing the breadboard solved the problem, Ethernet is now working correctly!
Best posts made by Dusty
-
RE: T-Display-S3 + Ethernet W5500
Latest posts made by Dusty
-
RE: T-Display-S3 + Ethernet W5500
@teastain2 ... OMG ... I got it running ... and I am almost to embarrsed to tell the reason ... obviously the breadboard I was using for the T-Display was broken and did not have contact for pin 13 Changing the breadboard solved the problem, Ethernet is now working correctly!
-
RE: T-Display-S3 + Ethernet W5500
@teastain2 Hi, unfortunately I still do not get it working.
I made a minimal test-script as follows:#include <Arduino.h> #include <SPI.h> #include <Ethernet.h> #include <Wire.h> #define PIN_ETH_SS 10 #define PIN_ETH_MOSI 11 #define PIN_ETH_SCK 12 #define PIN_ETH_MISO 13 byte ip[4]={ 0xc0, 0xa8, 0x7a, 0x7b }; byte mac[]={ 0x1E, 0xE8, 0x09, 0xE7, 0x56, 0xD8 }; void setup() { Serial.begin(9600); Serial.println("Starting ..."); SPI.begin(PIN_ETH_SCK,PIN_ETH_MISO,PIN_ETH_MOSI,PIN_ETH_SS); Ethernet.init(PIN_ETH_SS); Serial.println("Initializing NIC"); Ethernet.begin(mac,ip); if(Ethernet.hardwareStatus()==EthernetNoHardware) { Serial.println("Ethernet-Interface not found!"); } else if (Ethernet.linkStatus() == LinkOFF) { Serial.println("Ethernet cable not connected"); } Serial.println(Ethernet.localIP()); } void loop() { delay(100); }
Unfortunately it only outputs:
Ethernet-Interface not found!
0.0.0.0On my ESP32-DEVKIT (with the correct ports ( SS = 5, MOSI = 23, SCK=18 and MISO =19) this code is working as expected.
-
RE: T-Display-S3 + Ethernet W5500
@teastain2 Sorry, as I struggled with the PIN-Selection I missed giving the details.
- I am using VisualStudioCode with PIO.
- The Board is a HW-243 (https://www.sunsky-online.com/de/p/TBD05722754/HW-243-W5500-Ethernet-Network-Module-Hardware-TCP-IP-51-STM32-Single-Chip-Program.htm)
W5500-Library: Default Arduino-Ethernet-Library 2.0.2. - Yes it's a LilyGo T-Display-S3 Touch
I am trying to port a Code which works fine on my ESP32-Devkit-V4 board, but the GPIOs I used there are not available on the T-Display.
-
T-Display-S3 + Ethernet W5500
I try to connect an ethernet W5500 port to my T-Display-S3 but I don't get it seen. Has anyone a suggestion which pins to use to get it running?