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

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.
else
}
{/* This block is same as the code of “Receiving process” stage*/
while(recved_size > 0)
{/* calculate offset address */
}
/* Reopen the SOCKET */
/* sets MAC raw mode with enabling MAC filter */
S0_MR = 0x44;
/* sets OPEN command */
S0_CR = OPEN;
/* wait until Sn_SR is changed to SOCK_MACRAW */
while (S0_SR != SOCK_MACRAW);
/* process all data remained in internal RX memory */
/* process normally the DATA packet from internal RX memory */
src_mask = S0_RX_RD & gS0_RX_MASK;
/* calculate start address(physical address) */
src_ptr = gS0_RX_BASE + src_mask;
/* if overflow SOCKET RX memory */
If((src_mask + len) > (gS0_RX_MASK + 1))
{/* copy upper_size bytes of get_start_address to destination_address */
wizmemcpy((0xFE0000 + src_ptr), (0x000000 + destination_address), upper_size);
}
else
{
}
/* increase Sn_RX_RD as length of len */
S0_RX_RD += len;
/* extract 4 bytes CRC from internal RX memory and then ignore it */
wizmemcpy((0xFE0000 + src_ptr), (0x000000 + dummy), len);
/* calculate the size of remained data in internal RX memory*/
recved_size = recved_size – 2 – len – 4;
upper_size = (gS0_RX_MASK + 1) – src_mask;
/* 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 len bytes of src_ptr to destination_address */
/* or S0_MR = 0x04 */
// src_ptr is physical start address
// src_mask is offset address
Ver. 1.12
136

Related parts for W7100A-64QFN