---
title: "W5100s SPI not working"
url: "https://maker.wiznet.io/forum/14306"
markdown_url: "https://maker.wiznet.io/forum/14306/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "Prosenzor"
created: "2021-07-24T14:48:14+09:00"
last_activity: "2021-07-26T01:00:56+09:00"
language: "en"
views: 505
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# W5100s SPI not working

## Question

Asked by Prosenzor on 2021-07-24 in Ethernet Chips.

Hello,
im having a problem with the SPI communication with the W5100s, i send valid data to the module, but it’s not responding, i checked the CS, and the SPI config, and it’s seems to be correct, im using SPI at mode 0, with a clock of 1MHz.
The MCU im using is the PIC18F46k22.
CS and Clock

[![CS](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/9/9bf7700b249a7e32f3bf2ff635db516705a66b31.png) CS1389×752 8.85 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/9/9bf7700b249a7e32f3bf2ff635db516705a66b31.png)

MISO

[![MISO](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/7/77e1c9121d315b013e8cb6dee51159f7dd2b8729.png) MISO1391×750 8.81 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/7/77e1c9121d315b013e8cb6dee51159f7dd2b8729.png)

MOSI

[![MOSI](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/a/a7a62aa37bb53c1f2f5e9b2d1ae85548b5932fc2.png) MOSI1393×750 8.79 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/a/a7a62aa37bb53c1f2f5e9b2d1ae85548b5932fc2.png)

## Replies

### Reply 1 by louis, 2021-07-26

Hello,
It was confirmed that STM32 F103rb operated in SPI2 Mode.
I think it’s an SPI Mode problem, can you try the settings again?
And try setting the clock setting to 15Mhz?

[![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/b8bf47d49d788dd9a8692c947c2471b4d37335e0.png) image757×443 86.4 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/b8bf47d49d788dd9a8692c947c2471b4d37335e0.png)

Thank you.

---

Source: https://maker.wiznet.io/forum/14306
