RP2040 SSM EVM - W5500 Ethernet Ping test
RP2040 SSM EVM - W5500 Ethernet Ping test
0
Project description
W5500 Ethernet 모듈을 이용하여??RaspberyPi Pico(RP2040)?에서 Ethernet 통신을 해보자. SSM-EXP21 확장 테스트 보드를 이용하였고 W5500의 CS 핀은 GPIO17 핀에 할당되어 있다. W5500 라이브러리는 Ethernet2 를 설해서 테스트 했다. #include <Arduino.h> #include <SPI.h> #include <Ethernet2.h> #define Led1On() digitalWrite(25, 1) #define Led1Off() digitalWrite(25, 0) byte mac[] = { 0x00, 0x08, 0xDC, 0x00, 0x00, 0x00 }; IPAddress ip(192, 168, 1, 177); void setup() { pinMode(25, OUTPUT); Serial.begin(115200); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only } Serial.println("W5500 Start"); // start the Ethernet connection and…
Keep reading with a free account
Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.