---
title: "Loopback server and Scroll up LCD for W5100-EVB-Pico"
url: "https://maker.wiznet.io/scarlet/projects/loopback-server-and-scroll-up-lcd-for-w5100-evb-pico/"
markdown_url: "https://maker.wiznet.io/scarlet/projects/loopback-server-and-scroll-up-lcd-for-w5100-evb-pico/md"
type: "UCC: User Created Content"
author: "scarlet"
author_url: "https://maker.wiznet.io/scarlet/"
original_author: "scarlet"
original_url: "https://www.hackster.io/wizscarlet5986/loopback-server-and-scroll-up-lcd-for-w5100-evb-pico-f2ad82"
published: "2022-09-23"
language: "en"
hardware: ["WIZnet W5100S", "WIZnet W5100S-EVB-Pico"]
likes: 11
views: 1159
comments: 2
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Loopback server and Scroll up LCD for W5100-EVB-Pico

> Loopback server and Scroll up LCD for W5100-EVB-Pico

Original author: scarlet (source: https://www.hackster.io/wizscarlet5986/loopback-server-and-scroll-up-lcd-for-w5100-evb-pico-f2ad82)

## Components

- **WIZnet W5100S** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5100S))
- **WIZnet W5100S-EVB-Pico** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5100S/w5100s-evb-pico))

## Article

> Step 1.

The LCD uses SPI1, and Pinmap is as follows.

![](https://hackster.imgix.net/uploads/attachments/1496095/image_SWXiY7KJII.png?auto=compress%2Cformat&w=740&h=555&fit=max)

To use another pinmap, modify this code in [loopback/ILI9340/ILI9340.c]

*SPI0 is a setup for the W5100, so cannot be used.

```plaintext
#define SPI_LCD_PORT            spi1
#define PIN_LCD_SCK  	        10
#define PIN_LCD_MOSI 	        11
#define PIN_LCD_MISO 	        12
#define PIN_LCD_CS   	        13
#define PIN_LCD_DC    	        14
#define PIN_LCD_RESET   	15
#define PIN_LCD_LED	        5
#define ILI9340_SPI_SPEED	5000 * 1000
```

> Step 2

Download the source of w5100-EVB-Pico from the wiznet official site.

[https://github.com/Wiznet/RP2040-HAT-C](https://github.com/Wiznet/RP2040-HAT-C])

For detailed setting, see the Please refer to git page [getting started]

> Step 3

Change existing file to attached file.

<https://github.com/scarletwiz/W5100_EVB_PICO_LCD>

Zip Directory [rp2040-hat-lcd\examples\loopback]

to RP2040 Directory [RP2040-HAT-C\examples\loopback]

Zip Directory [rp2040-hat-lcd\libraries\ioLibrary_Driver\Application\loopback]

to RP2040 Directory [RP2040-HAT-C\libraries\ioLibrary_Driver\Application\loopback]

modify cmake file for don't rollback of loopback lib

[RP2040-HAT-C\rp2040_hat_c-patch.cmake]

```plaintext
# Delete untracked files in ioLibrary_Driver
if(EXISTS "${IOLIBRARY_DRIVER_SRC_DIR}/.git")
message("cleaning ioLibrary_Driver...")
#execute_process(COMMAND ${GIT_EXECUTABLE} -C ${IOLIBRARY_DRIVER_SRC_DIR} clean -fdx)
#execute_process(COMMAND ${GIT_EXECUTABLE} -C ${IOLIBRARY_DRIVER_SRC_DIR} reset --hard)
message("ioLibrary_Driver cleaned")
endif()
```

> EXT

Wiznet provides several examples of Ethernet.
You will be able to create various programs by combining my lcd sources with other examples.

![](https://hackster.imgix.net/uploads/attachments/1496099/image_YRDSWm5uXm.png?auto=compress%2Cformat&w=740&h=555&fit=max)

*use AWS example

<https://github.com/Wiznet/RP2040-HAT-AWS-C>

* use AZURE example

[https://github.com/Wiznet/RP2040-HAT-AZURE-](https://github.com/Wiznet/RP2040-HAT-AZURE-C)

---

Source: https://maker.wiznet.io/scarlet/projects/loopback-server-and-scroll-up-lcd-for-w5100-evb-pico/
