Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

W5200 Scheda tecnica(PDF) 68 Page - WIZnet Co., Ltd

Il numero della parte W5200
Spiegazioni elettronici  Microcontroller
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  WIZNET [WIZnet Co., Ltd]
Homepage  https://www.wiznet.io/ko/Product/
Logo WIZNET - WIZnet Co., Ltd

W5200 Scheda tecnica(HTML) 68 Page - WIZnet Co., Ltd

Back Button W5200 Datasheet HTML 64Page - WIZnet Co., Ltd W5200 Datasheet HTML 65Page - WIZnet Co., Ltd W5200 Datasheet HTML 66Page - WIZnet Co., Ltd W5200 Datasheet HTML 67Page - WIZnet Co., Ltd W5200 Datasheet HTML 68Page - WIZnet Co., Ltd W5200 Datasheet HTML 69Page - WIZnet Co., Ltd W5200 Datasheet HTML 70Page - WIZnet Co., Ltd W5200 Datasheet HTML 71Page - WIZnet Co., Ltd W5200 Datasheet HTML 72Page - WIZnet Co., Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 88 page
background image
© Copyright 2013
WIZnet Co.,Ltd. All rights reserved.
68
SOCKET Initialization
Select the SOCKET and set the SN_MR(P3:P0) to MACRAW mode. Then execute the ‘OPEN’
command. After the ‘OPEN’ command, if the Sn_SR is successfully changed to
‘SOCK_MACRAW’, the SOCKET initialization is completed. Since all information about
communication (Source hardware address, Source IP address, Source port number,
Destination hardware address, Destination IP address, Destination port number, Protocol
header, etc.) is in the ‘MACRAW data’, there is no more register setting.
{
START:
/* sets MAC raw mode */
S0_MR = 0x04;
/* sets OPEN command */
S0_CR = OPEN;
/* wait until Sn_SR is changed to SOCK_MACRAW */
if (Sn_SR != SOCK_MACRAW) S0_CR = CLOSE; goto START;
}
Check received data
Refer to the “5.2.2.1 Unicast & Broadcast.”
Receiving process
Process the MACRAW data of the SOCKET which received it in internal RX memory.
The structure of the MACRAW data is as below:
Figure 17 The received MACRAW data Format
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
U
)
{
/* calculate offset address */
src_mask = Sn_RX_RD & gSn_RX_MASK;
// src_mask is offset address
/* calculate start address(physical address) */



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com