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

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.
Process the MACRAW data of the SOCKET which received it in internal RX memory. The
structure of the MACRAW data is as
The MACRAW data consists of ‘PACKET-INFO’, ‘DATA packet’ and 4bytes CRC. The ‘PACKET-
INFO’ is the length of the DATA packet. The ‘DATA packet’ consists of 6bytes ‘Destination MAC
address’, 6bytes ‘Source MAC address’ and 2bytes ‘Type’, 46~1500 bytes ‘Payload’. The
‘Payload’ of DATA packet consists of Internet protocol such as ARP, IP according to the ‘Type’.
The details of ‘Type’ please refer to the web:
(
{
U
http://www.iana.org/assignments/ethernet-numbers
src_mask = S0_RX_RD & gS0_RX_MASK;
/* calculate start address(physical address) */
src_ptr = gS0_RX_BASE + src_mask;
len = get_Byte_sizeof_DATA_packet();
/* if overflow SOCKET RX memory */
If((src_mask + len) > (gS0_RX_MASK + 1))
{
}
else
{
}
/* increase Sn_RX_RD as length of len */
/* get the size of packet */
/* calculate offset address */
upper_size = (gS0_RX_MASK + 1) – src_mask;
wizmemcpy((0xFE0000 + src_ptr), (0x000000 + destination_address), upper_size);
/* update destination_address */
destination_address += upper_size;
/* copy left_size bytes of gSn_RX_BASE to destination_address */
left_size = len – upper_size;
wizmemcpy((0xFE0000 + src_ptr), (0x000000 + destination_address), left_size);
wizmemcpy((0xFE0000 + src_ptr), (0x000000 + destination_address), len);
/* copy upper_size bytes of get_start_address to destination_address */
/* copy len bytes of src_ptr to destination_address */
Receiving process
Figure 9.10 The received MACRAW data format
below:
// src_ptr is physical start address
// Read the 2bytes PACKET-INFO
// src_mask is offset address
U
)
Ver. 1.12
134

Related parts for W7100A-64QFN