---
title: "RP2040 SSM EVM - W5500 Ethernet Ping test"
url: "https://maker.wiznet.io/teddy/projects/RP2040-SSM-EVM-W5500-Ethernet-Ping-test/"
markdown_url: "https://maker.wiznet.io/teddy/projects/RP2040-SSM-EVM-W5500-Ethernet-Ping-test/md"
type: "UCC: User Created Content"
author: "teddy"
original_author: "teddy"
original_url: "https://nexp.tistory.com/m/3684"
published: "2022-06-27"
language: "en"
likes: 0
views: 198
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# RP2040 SSM EVM - W5500 Ethernet Ping test

> RP2040 SSM EVM - W5500 Ethernet Ping test

Original author: teddy (source: https://nexp.tistory.com/m/3684)

## Article

[W5500 Ethernet 모듈](https://nexp.tistory.com/2158)을 이용하여??RaspberyPi Pico(RP2040)?에서 Ethernet 통신을 해보자.

SSM-EXP21 확장 테스트 보드를 이용하였고 W5500의 CS 핀은 GPIO17 핀에 할당되어 있다.

W5500 라이브러리는 Ethernet2 를 설해서 테스트 했다.

![](https://k.kakaocdn.net/dn/dy9ZS9/btrw44wp2uh/0DyUTCz2Svu0v2yU6KK4y0/img.png)

```
#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 the server:
  Ethernet.w5500_cspin = 17;
  Ethernet.begin(mac, ip);
  
  Serial.println(Ethernet.localIP()); 
}

void loop() {
  Led1On();
  delay(1000);

  Led1Off();
  delay(1000); 
}
```

W5500?Start 192.168.1.177

![](https://k.kakaocdn.net/dn/ALJOd/btrDBtSlLB5/5VUDgYhkoyL5pNwToOQKx0/img.png)

---

Source: https://maker.wiznet.io/teddy/projects/RP2040-SSM-EVM-W5500-Ethernet-Ping-test/
