---
title: "WIZ750SR space parity bit"
url: "https://maker.wiznet.io/forum/13647"
markdown_url: "https://maker.wiznet.io/forum/13647/md"
type: "Forum topic"
category: "Serial-to-Ethernet & ConfigTool"
author: "Kawon"
created: "2020-01-14T11:50:04+09:00"
last_activity: "2020-01-22T07:55:06+09:00"
language: "en"
views: 516
replies: 5
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# WIZ750SR space parity bit

## Question

Asked by Kawon on 2020-01-14 in Serial-to-Ethernet & ConfigTool.

Hi,
I have a device with which I can communicate via RS232 with parity set to space (always 0).
Can I set this parity on WIZ750SR ?
What about mark parity (always 1) ?

Thank you.

## Replies

### Reply 1 by becky, 2020-01-15

[![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/f/f41e25c939f3d1b1ad2ad4aae73719cb00613a7c.png) image907×756 42.5 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/f/f41e25c939f3d1b1ad2ad4aae73719cb00613a7c.png)

Can you use WIZnet S2E Configuration Tool?
That can be set using Configuration Tool.
please refer to image.

### Reply 2 by Kawon, 2020-01-16

[![a](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/8/892748c319dfc4293a37e9070c9bf3d0f61146b0.jpeg) a899×730 138 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/8/892748c319dfc4293a37e9070c9bf3d0f61146b0.jpeg)

That can **not** be set using Configuration Tool.
please refer to image.
There is not option like this
![b](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/489f8f0fc4868fb941da53bc5f928f6c999c4a4a.jpeg)

### Reply 3 by becky, 2020-01-17 (in reply to reply 2)

Sorry i was mistaken.
W7500 has mark parity and space parity function.
As you know, that function is not applied in WIZ750SR Firmware.

But we can give you bin file.
[W7500x_S2E_App_Mark_Space.zip](https://maker.wiznet.io/forum/legacyFile.asp?path=1doE7qxufVu8ogkmnHkDxVIMkB3.zip) (69.3 KB)

![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/b/b62eca792d984994ac39a568285c4571d84cbf16.png)
I added the yellow line in UART_Init() in w7500x_uart.c .
So you can use a mark when set to odd and space when set to even in the Configuration tool.

Also we didn’t test enough for that feature.
But i tested it with hercules serial program and it works.

### Reply 4 by Kawon, 2020-01-21

We have uploaded the supplied bin file to the WIZ750SR module.

The module is set as TCP Parity EVEN server.
Hercules as a TCP client.
On the PC, program Advanced Serial Port Monitor
([Download | Advanced Serial Port Monitor](https://www.aggsoft.com/serial-port-monitor/download.htm))
receives data from the COM port.
After sending data from the Hercules to the COM port
Advanced Serial Port Monitor detects Parity ERROR when Parity set SPACE .
With the COM Parity EVEN settings, the transmission is OK.
ie. setting Even as Space doesn’t work.

When sending data from COM to the WIZ750SR module
(parity set EVEN),
the module sends data to Hercules with different Parity settings of the COM port
(no parity check when receiving data from the UART port in the WIZ750SR module).

### Reply 5 by becky, 2020-01-22 (in reply to reply 4)

If parity error is occured, Parity error Interrupt occur.
To check parity error, please modify code using interrupt.
Please refer to image.

[![image](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/41a8f8a21c741ef62dc7f22cf0caa14f99821139.png) image665×751 73 KB](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/4/41a8f8a21c741ef62dc7f22cf0caa14f99821139.png)

Do you want to not receive data when a parity error occurs?

---

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