---
title: "Format problem of W5300 UDP receive buffer"
url: "https://maker.wiznet.io/forum/10248"
markdown_url: "https://maker.wiznet.io/forum/10248/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "warcraftiii"
created: "2014-05-20T06:28:12+09:00"
last_activity: "2017-05-04T08:32:57+09:00"
language: "en"
views: 906
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Format problem of W5300 UDP receive buffer

## Question

Asked by warcraftiii on 2014-05-20 in Ethernet Chips.

Hello,
DSP controls w5300 communicating with PC, UDP protocol, 16 bit data bus.
W5300 send data to PC is OK, but there are some problems with w5300 receive data.
PC IP : 192.168.21.19(Hexadecimal : C0.A8.15.13 ), UDP port : 6000
W5300 IP : 192.168.21.20 ; UDP port : 6000
PC Send buffer: tx[10] = {0,1,2,3,4,5,6,7,8,9};
W5300 receive data by INTERRUPT mode. The following figure is get in function : recvfrom()
In the figure, the format of W5300’s receive buffer is incorrect, both the PACKT-INFO and PACKET-DATA.
I have insert getMR() between sendto() and recvfrom(), but the result is all the same as the figure.
How can I resolve it ?
Thanks!
![](https://maker.wiznet.io/forum_uploads/wiznet/original/1X/a6e7ccd12b492bdc9a2f9f9af4234ae1f042ee27.png)

## Replies

### Reply 1 by warcraftiii, 2014-05-21

Thanks for you replay!
There are something wrong with ip ddress, port number and read buffer routine. Moidify it, all the best

---

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