W7100A-64QFN WIZnet, W7100A-64QFN Datasheet - Page 124

no-image

W7100A-64QFN

Manufacturer Part Number
W7100A-64QFN
Description
8-bit Microcontrollers - MCU 8051 CORE+HARDWIRED TCP/IP+MAC+PHY
Manufacturer
WIZnet
Datasheet

Specifications of W7100A-64QFN

Rohs
yes
Interface Type
UART

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W7100A-64QFN
Manufacturer:
WIZNET
Quantity:
1 400
© Copyright 2011 WIZnet Co., Inc. All rights reserved.
}
Second Method :
{
}
as below.
contains transmitter’s information (IP address, Port number) and the length of DATA packet.
The UDP can receive UDP data from many others. User can classify the transmitter by
transmitter’s information of PACKET-INFO. It also receives broadcast SOCKET by using
“255.255.255.255” IP address. So the host should ignore unwanted reception by analysis of
transmitter’s information.
that DATA and also cannot receive fragmented DATA.
{/* first, get the received size */
Process the received UDP data in Internal RX memory. The structure of received UDP data is
The received UDP data consists of 8bytes PACKET-INFO, and DATA packet. The PACKET-INFO
If the DATA size of SOCKET n is larger than Internal RX memory free size, user cannot receive
if (Sn_RX_RSR != 0x00000000) goto Receiving Process stage;
len = Sn_RX_RSR;
/* calculate offset address */
src_mask = Sn_RX_RD & gSn_RX_MASK;
/* calculate start address(physical address) */
src_ptr = gSn_RX_BASE + src_mask;
/* read head information (8 bytes) */
header_size = 8;
/* if overflow SOCKET RX memory */
if ( (src_mask + header_size) > (gSn_RX_MASK + 1) )
{/* copy upper_size bytes of src_ptr to header_addr */
Receiving process
upper_size = (gSn_RX_MASK + 1) – src_mask;
wizmemcpy((0xFE0000 + src_ptr), (0x000000 + header_addr), upper_size);
/* update header_addr*/
// len is received size
Figure 9.6 The received UDP data format
// src_ptr is physical start address
// src_mask is offset address
Ver. 1.12
124

Related parts for W7100A-64QFN