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

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.
}
Refer to the section 9.2.2.1 ‘Unicast & Broadcast’.
Refer to the section 9.2.2.1 ‘Unicast & Broadcast’.
not need to set IP address and port number for destination any more. Therefore, copy the
transmission data to internal TX memory and executes SEND command.
{/* first, get the free TX memory size */
FREESIZE:
Since the user sets the information about multicast-group at SOCKET initialization, user does
/* wait until Sn_SR is changed to SOCK_UDP */
if (Sn_SR != SOCK_UDP) Sn_CR = CLOSE; goto START;
Sn_DIRP3 = 11;
Sn_DPORT = 0x0BB8;
Sn_PORT = 0x0BB8;
Sn_MR = 0x02 | 0x80;
Sn_CR = OPEN;
freesize = Sn_TX_FSR;
if (freesize < len) goto FREESIZE;
/* calculate offset address */
dst_mask = Sn_TX_WR & gSn_TX_MASK;
/* calculate start address(physical address) */
dst_ptr = gSn_TX_BASE + dst_mask;
/* if overflow SOCKET TX memory */
if ( (dst_mask + len) > (gSn_TX_MASK + 1) )
{/* copy upper_size bytes of source_addr to dst_ptr */
}
Check received data
Receiving process
Check send data / Sending Process
upper_size = (gSn_TX_MASK + 1) – dst_mask;
wizmemcpy((0x000000 + source_addr), (0xFE0000 + dst_ptr), upper_size);
/* update source_addr*/
source_addr += upper_size;
/* copy left_size bytes of source_addr to gSn_TX_BASE */
left_size = len – upper_size;
wizmemcpy((0x000000 + source_addr), (0xFE0000 + gSn_TX_BASE), left_size);
/* set UDP mode & Multicast on SOCKET n Mode Register */
/* set Multicast-Group Port number(3000) */
/* set Source Port number(3000) */
/* set OPEN command */
// len is send size
// dst_ptr is physical start address
// dst_mask is offset address
Ver. 1.12
129

Related parts for W7100A-64QFN