W5200 WIZnet, W5200 Datasheet

no-image

W5200

Manufacturer Part Number
W5200
Description
Ethernet ICs 3-IN-1 ENET CONTR TCP/IP+MAC+PHY
Manufacturer
WIZnet
Type
Embedded Systems using SPIr
Datasheet

Specifications of W5200

Rohs
yes
Product
Ethernet Controllers
Data Rate
10 Mb/s, 100 Mb/s
Supply Voltage - Max
3.63 V
Supply Voltage - Min
2.97 V
Maximum Operating Temperature
+ 85 C
Package / Case
QFN-48
Ethernet Connection Type
10Base-T, 100Base-TX, PPPoE
Maximum Power Dissipation
528 mW
Maximum Supply Current
5 uA
Minimum Operating Temperature
- 55 C
Standard Supported
802.3

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W5200
Manufacturer:
WIZnet
Quantity:
1 001
Part Number:
W5200
Manufacturer:
WIZNET
Quantity:
9 850
Part Number:
W5200
Manufacturer:
WIZNET
Quantity:
20 000
Part Number:
W5200
0
Company:
Part Number:
W5200
Quantity:
2 000
© Co opyright 201
i
iEth
11WIZnet Co
hern
Dat
o., Inc. All rig
Ver
tash
net
rsion 1.
ghts reserve
heet
ed.
.2.1
W5
http
t
p://www.w
200
0
wiznet.co.
kr
1

Related parts for W5200

W5200 Summary of contents

Page 1

... Dat © Co opyright 201 11WIZnet Co o., Inc. All rig net W5 200 tash heet t Ver rsion 1. .2.1 http p://www.w ghts reserve ed. 0 wiznet.co ...

Page 2

... Ether pro ogram instea ad of handlin ng a complex SPI (Serial Peri ipheral Inter rface) is pro The e W5200 SP I supports a a high speed 80M MHz.In order r to reduce power consu on LAN) and po ower down m mode. To wak pac ...

Page 3

... Ta arget A pplicat tions The e W5200 is w well suited fo or many emb Home Netw work Devices s: Set-Top Bo - Serial-to-Et thernet: Acc cess Controls - Parallel-to- -Ethernet Mini Pri - USB-to-Eth ernet: Stora age Devices, - GPIO-to-Et hernet: Hom me Network S - Security Sy ystems: DVRs s, Network C - Factory and ...

Page 4

... Bl lock Dia agram W5 5200 Hard dwired TC P PPPoE © Co opyright 201 11WIZnet Co o., Inc. All rig MCU S PI Interfa ace Tx/Rx Buf T ffer CP/IP Cor UDP ARP I P 802 .3 Ehtern net MAC Et thernet P PHY Tr ransform er RJ45 ghts reserve ed. 4 ...

Page 5

... PHY Signals s .............. 1.3 1 Mis scellaneous S Signals ....... 1 1.4 Pow wer Supply S Signals ....... 1 1.5 Clo ock Signals .. ............... 1 1.6 LED D Signals .... ............... 2 M Memory Map p .............. ............... 3 W W5200 Regis sters .......... ............... 3 3.1 com mmon regist ers ........... 3.2 3 Soc cket register rs ............. 4 Register Des R criptions .... ............... 4 4.1 Com mmon Regist ters .......... 4.2 4 Soc cket Register rs ............. 5 F Functional D Descriptions ...

Page 6

... Transform er Character 8 IR Reflow Te I mperature P Profile (Lead 9 P Package Des criptions .... ............... Docu ment History y Informatio n ............. © Co opyright 201 11WIZnet Co o., Inc. All rig ristics ....... ............... ............... -Free) ....... ............... ............... ............... ............... ............... ............... ............... ............... ghts reserve ed. ............... .... 80 ............... .... 81 ............... .... 82 ............... .... 84 6 ...

Page 7

... Table e of Fig gure Figure 1 Pin F Description W W5200 ....... Figure 2 Pow F wer Design ... ............... F Figure 3 Crys stal Referenc ce Schematic F Figure 4 INTL LEVEL Timing g .............. Figure 5 Sock F ket Status Tr ransition ..... F Figure 6 Phys sical Address s Calculation Figure 7 Allo F cation Intern nal TX/ Figure 8 TCP SERVER and ...

Page 8

... nSCS nINT © Co opyright 201 11WIZnet Co o., Inc. All rig Pin Descripti ion W5200 s Descr ription RESET T ( Active This pin is active e Low input to initialize W520 00. RESET T should be held at lea st 2us after wait for at least 150ms after ...

Page 9

... TXOP O 17 TXON O 18 BIAS O 12 ANE I 29 DUP I 30 © Co opyright 201 11WIZnet Co o., Inc. All rig timeo out, and W WOL (Wake on LAN). T clear red by writin ng IR(Interrup pt Register) n-th I Interrupt Re gister). All in nterrupts are pin is s active low. SPI C LOCK This ...

Page 10

... W5200 core connected t o the 10 ...

Page 11

... Co opyright 201 11WIZnet Co o., Inc. All rig Connect t a capacitor r of 10.1uF Power Design as close as p possible to W5200. possible. uate, havin ng a separat te analog gr practice. design analo og and digita al ground p parate them m. ghts reserve ed. ...

Page 12

... LED S ignals Symbol Type Pin No nF FDXLED/ PDLED/M1 O nLI INKLED/M0 O © Co opyright 201 11WIZnet Co o., Inc. All rig Description 1 25MHz crys stal input/o utput Oscillator is s used to con nnect these p 2 Figu ure 3 Crystal Description 3 Full Duplex x/Collision LE ED ...

Page 13

... Memo ory Map W5 5200 is comp posed of Com mmon Regist sho own below. © Co opyright 201 11WIZnet Co o., Inc. All rig ter, Socket R Register Memory, and d RX Memory W52 200 Memory y Map ghts reserve ed ...

Page 14

... Retry Time 0x x0017 (RTR0) 0x x0018 (RTR1) 0x x0019 Retry Count t (RCR) 0x x001A Reserved 0x x001B © Co opyright 201 11WIZnet Co o., Inc. All rig Address Registe Authent 0x001C in PPPo 0x001D (PATR0) (PATR1) Authent Algorith 0x001E (PPPALG 0x001F Chip ve 0x0020 ~ Reserve 0x0027 ess ...

Page 15

... Socket TOS (Sn n_TOS) 0x4n16 6 Socket TTL (Sn n_TTL) 0x4n17 7 ~ Reserv ved 0x4n1D D © Co opyright 201 11WIZnet Co o., Inc. All rig Address Register Receive M 0x4n1E (Sn_RXMEM Transmit M 0x4n1F (Sn_TXMEM Socket 0 T 0x4n20 (Sn_TX_FS 0x4n21 (Sn_TX_FS Socket 0x4n22 (Sn_TX_RD ...

Page 16

... C0) SUBR ( (Subnet Mas k Register) [R/W] [0x00 This register set ts up the su bnet mask a Ex) In cas se of “255.25 55.255.0” © Co opyright 201 11WIZnet Co o., Inc. All rig s 0] block mode a and PPPoE PPP PoE Description ‘1’, internal ...

Page 17

... Reserved R 2 Rese erved Reserved R 1 Rese erved Reserved R 0 Rese erved Reserved R © Co opyright 201 11WIZnet Co o., Inc. All rig 0x0006 0x0007 255 (0xFF ) 255 (0xFF) r) [R/W] [0x0 0009 – 0x00 e address. 3” 0x000 0B 0x000C 0 0xDC C 0x01 0x000F – 0x x0012] [0x0 ss ...

Page 18

... OCK_CLOSED D’ and Sn_IR ‘1’ case of n not using TC CP communic Ex) ) RCR = 0x00 007 © Co opyright 201 11WIZnet Co o., Inc. All rig x0036] [0x00 0] ask interrupt ts. Each inte errupt mask b interrupt m mask bit is se et, an interru R is set bit in the set ...

Page 19

... The t timeout of W W5200 can b be configura Resol lution Protoc col (ARP) and d TCP retran ARP (Refe er to RFC 82 6, autom matically se nds ARP-req quest to the inform mation (used d for commu unication of I peer, if there response d during the ti trans mitted ...

Page 20

... PP PPoE applica ation note. VERS SIONR (W520 00 Chip Vers sion Register This r register W5200 chi ip version re PTIM ER (PPP Lin k Control Pr rotocol Requ This r register indic cates the du uration for se Ex) in cas se that PTIM ER is 200, ...

Page 21

... IR2(W W5200 SOCK KET Interrup pt Register)[ IR2 is s the Registe er to notify W W5200 SOCK relate ed bit of IR2 2 is set as ‘1 ’. When rela keeps s low until a all bits of Sn _IR becomes autom matically S7_ _INT S6_ _INT S5_ ...

Page 22

... INT) Interrup 1 S1_INT IR(S1_ INT) Interrup 0 S0_INT IR(S0_ INT) Interrup © Co opyright 201 11WIZnet Co o., Inc. All rig )[R/W][0x17 7] W5200 statu us of PHY. Descripti Reserved d Reserved d Link Stat tus Register [Read Only] This regis ster indicate es Link statu 0 : Link d down 1 : Link U ...

Page 23

... dress to Soc ket n-th ber to Sock ket n-th ket that is b belong in W5200 can rec ceive all TCP/IP stac eceiving over rhead of this bit ‘1’, ceiving data a packet ansmitted ac ccording P mode is u sed (P3- send out the ...

Page 24

... Se ets up corres case of sock 0_MR_MACRA S0 0_MR_PPPoE co onnection/Te ut tilized as ano © Co opyright 201 11WIZnet Co o., Inc. All rig sponding soc ket as TCP, U UDP Meaning Closed TCP 0 0 ...

Page 25

... OCK_LISTEN to SOCK_ES the other ha and, Sn_IR( set as ‘1 during a co onnection fa ailure(SYN/AC ation port o of the TCP est, W5200 will transm y valid mode and d operates t nect-request t (SYN packe et) is sent address and port st _DIPR0 and S Sn_DPORT0) ...

Page 26

... For m more detail, 0x4 40 RECV V with S Socket n-th R Write Pointer Re Regist ter(Sn_RX_RD © Co opyright 201 11WIZnet Co o., Inc. All rig packet received a nd TCPTO( received d instead of a SYN/ACK p s, Sn_SR is ch hanged to SO OCK_CLOSED mode P SERVER” “TCP CLIEN NT” ...

Page 27

... Closes PPPo 0x25 0 PCR In each pha 0x26 0 PCN In each pha 0x27 0 PCJ In each pha © Co opyright 201 11WIZnet Co o., Inc. All rig OCKET S0_MR(P3 3:P0) = S0_M ADSL”. Descrip ption ection begin ns by transmi itting PPPoE oE connectio n ase, it transm mits REQ mes ssage ...

Page 28

... DISCON N Disconn nect Interrup peer Sn_IR(C CON) Interru 0 0 CON Connec ct Interrupts © Co opyright 201 11WIZnet Co o., Inc. All rig R] [0x4002+ +0x0n00] [0 0x00] as the type of interrupt t (establishm n-th. When n an interrup pt occurs an becomes ‘1’. st should wr rite the bit a as ‘1’. When ically cleare ed ...

Page 29

... SOCK K_LISTEN 0x x14 SOCK K_ESTABLISH HED x17 SOCK K_CLOSE_WA AIT 0x x1C © Co opyright 201 11WIZnet Co o., Inc. All rig [0x4003+0x x0n00] [0x0 00] ket n-th. SO CKET status are change smission/rec eption. The e table belo Descr ription status tha at resource o ...

Page 30

... SOC This st tatus indicat te that a co onnect-reque receive ed from a "T TCP CLIENT". to SOC CK_ESTABLIS HED when W W5200 succe connec ct-accept (SY YN/ACK pack ket) to the " is faile ed, TCPTO occurs (Sn_ _IR(TIMEOUT change ed to SOCK_C CLOSED These s ...

Page 31

... Fig gure 5 Soc © pyright 201 11WIZnet Co o., Inc. All rig is obse erved when n SEND com mmand is p SOCK_U UDP or SO OCK_IPRAW, or CONNE perform med at the S SOCK_INIT. If har rdware add dress is successfully s destina ation (when ARP-respon se is receive to SOC CK_UDP, SOC ...

Page 32

... AR can a acquire the d destination h hardware ad CONN NET or SEND command. When n using PPPo E-process of W5200, PPP Howe ever, even if f PPPoE-pro cess of W52 MACR RAW mode, in order to transmit or addre ess(acquired by your PPP PoE-process et, and MR(P ...

Page 33

... MT TU, the host MTU. data is bigge er than MTU, , W5200 auto ghts reserve ed. ed for transm mitting command. below. 0x040F 1 11 (0x0B) -0x4011+0x0 0n00] n-th. If SOC CKET sed as d only in TCP ...

Page 34

... IP RAW mode, and ignore comm mand. When Socket n- opened i the p protocol num mber set in Sn n_PROTO. Sn but W W5200 does n not support T TCP(0x06) an Proto ocol number is defined in n IANA(Intern to on nline docume ent ( http://w www.iana.or U Ex) ...

Page 35

... SOCKET 3 : 0xFE421F Ex3) SOCK KET 4 : 2KB, SOCKET 5 : 0xFE441F Ex4) SOCK KET 6 : 2KB, SOCKET 7 : 0xFE461F © Co opyright 201 11WIZnet Co o., Inc. All rig o Live Regist ter) [R/W] [0 0x401E+0x0 e of each SO OCKET emory size o 8, and 16 K Kbytes. 2Kby ytes is assig E) of each SO OCKET shoul ld be 16KB ...

Page 36

... Cauti ion: This reg gister value is changed Sn_CR R. Ex case of 2 2048(0x0800 ) in S0_TX_W © Co opyright 201 11WIZnet Co o., Inc. All rig e Register) [R] [0x402 20+0x0n00- rnal TX mem mory (the byt te size of tra size bi igger than S n_TX_FSR data, and if your dat ...

Page 37

... Now, write the tr ransmission data to get_ that it exceeds t the TX mem ory upper-bo © Co opyright 201 11WIZnet Co o., Inc. All rig sical Addre ess Calcula ation address to r read. So, the e physical ad eafter we'll c call gSn_TX X_BASE) and gSn_TX_MAS SK) are calcu ...

Page 38

... Two values s get_offset t and gSn_R physical ad ddress(herea fter, we'll c © Co opyright 201 11WIZnet Co o., Inc. All rig bound, and d change th he physical he transmissi ion data.) Af fter that size that i ndicates the e size of wri h Command Register). ...

Page 39

... MEOUT) Inte 2 RECV Sn_IR(RE ECV) Interrup 1 DISCON Sn_IR(DI ISCON) Inter 0 CON Sn_IR(CO ON) Interrup © Co opyright 201 11WIZnet Co o., Inc. All rig r Register)[R R/W][(0xFE4 ation to wr ite the rece eive data (0x402A, 0 0x412A, 0x42 22A, 0x432A, (0x402B, 0x x412B, 0x422 2B, 0x432B, value. _RX_WR, ...

Page 40

... Even fragm mented, and d not recom mmended ei OPEN N command. . Ex) Sn_FR RAG0 = 0x400 00 (Don’t Fra © Co opyright 201 11WIZnet Co o., Inc. All rig r)[R/W][0x40 02D+0x0n00 0-0x402E+ ader at the IP layer. W5 5200 does n n though Sn n_FRAG is c configured, ither. It sho ould be conf ...

Page 41

... By setting some e register an nd memory o Thi is chapter de escribes how w it can be op 5.1 1 Initial lization Basic S Setting For r the W5200 operation, s select and ut 1. Mode Regis ster (MR) 2. Interrupt M Mask Register r (IMR) 3. Retry Time e-value Regis ter (RTR) 4. Retry Coun nt Register (R ...

Page 42

... Same met thod, set gS1_TX_BAS gS3 3_TX_BASE, gS3_TX_MAS SK, gS4_TX_ gS6 6_TX_BASE, g gS6_tx_MASK K, gS7_TX_BA } © Co opyright 201 11WIZnet Co o., Inc. All rig information . The base a address and m tage. er SOCKET ress) + 0xC0 000(Internal RX buffer Assign 2K rx memory per SOCKET getting offse ...

Page 43

... Figur re 7 Alloca ation Inter © pyright 201 11WIZnet Co o., Inc. All rig rnal TX/RX X memory y of Socket t n-th ghts reserve ed. 43 ...

Page 44

... Data C Commun nications Afte er the initial lization pro cess, W5200 by ‘o open’ the SO OCKET of TC CP, UDP, IPR inde ependently and simu ultaneously com munication method for r each mode 5.2. .1 TCP The TCP onnection-o riented prot using g its own IP P address, p ...

Page 45

... TCP S SOCKE ET Initializat tion SOCK KET initializ zation is re equired for open ning the SOC CKET. The S OCKET open W5200, a and sets the e protocol m num mber (Listen port numb ber in “TCP exec cutes OPEN command. After the OCK_INIT, th ...

Page 46

... So IMR Sn_IMR and Sn_IR Sec cond method (Sn_SR == SO OCK_ESTABL LISHED) goto } © Co opyright 201 11WIZnet Co o., Inc. All rig ode // se ets source po ort number // set ts OPEN com mmand _INIT */ ; goto START T; and. CK_LISTEN */ LOSE; goto ST TART; STEN ...

Page 47

... R(RECV). ESTABL LISHMENT : Receiving p process In th his process , it process ses the TCP mem mory. At the e TCP mode, , the W5200 data a is larger than the R RX memory cond dition is hap ppened, the W5200 hold the R RX memory’ ’s free size i is larger tha ...

Page 48

... Data length Retry SE END Comma and until th send dat ta length. Note: : Don’t cop py data until the sum of © Co opyright 201 11WIZnet Co o., Inc. All rig BASE to desti ination_addr ress */ , left_size); tination_add dress */ */ process be larger t than assigne ed internal ata is larger ...

Page 49

... Co opyright 201 11WIZnet Co o., Inc. All rig */ // len is send s size K; // dst t_mask is off fset address dress destina ation_addres ss is physical + 1) ) ...

Page 50

... IMR Sn_IMR and Sn_IR Sec cond method (Sn_SR == SO OCK_CLOSED D) goto CLOS } © Co opyright 201 11WIZnet Co o., Inc. All rig uest(FIN pack ket) packet) has been receiv ved. User ca N)=‘1’; goto CLOSED stag ge; ocket n-th is activated, interrupt oc CLOSED stag ge; ...

Page 51

... So Sn_ _IR = 0xFF; IR(n) = ‘1’ set CLOSE c command */ Sn_ _CR = CLOSE E; } © Co opyright 201 11WIZnet Co o., Inc. All rig -request(SY YN packet) or its resp response(D DATA/ACK p packet), th N/ACK pack ket) and tra ansmission a ets within ‘ ‘timeout’ w which is conf ...

Page 52

... TO { Sn_ _DIPR0 = serv ver_ip; S Sn_DPORT0 = = server_port t; Sn_ _CR = CONNE ECT; } © Co opyright 201 11WIZnet Co o., Inc. All rig NECT’ state e. User can P CLIENT O Operation packet) to “TCP SERV when ma ake the “con nnection SOC /* set t TCP SERVER R IP address* /* set t TCP SERVER ...

Page 53

... B and C. Use er cannot tr The broadcast communica tion can sim and C at one using g “255.255. © Co opyright 201 11WIZnet Co o., Inc. All rig . It commun nicates with out “connec data comm munication, b but the UDP no guarante ees of data communica SOCKET,” it can comm ...

Page 54

... SOCKE ET Initializat tion For the UDP d data commu unication, S SOCK KET. The SO OCKET open process is the 8 SOCKETS of W5200, then set th SOCK KET and set t the source port numbe the OPEN comm mand. Afte r the OPEN SOCK K_UDP. Then n the SOCKE ET initializat ...

Page 55

... Co opyright 201 11WIZnet Co o., Inc. All rig ocket n-th is activated, interrupt oc eiving Proce ess stage; rnal RX mem mory. as below. Received U UDP data F Format ytes PACKET ...

Page 56

... Sn_RX_BASE , destination } el lse { /* copy len n bytes of sr rc_ptr to des memcpy(sr rc_ptr, desti nation_addr, © Co opyright 201 11WIZnet Co o., Inc. All rig _BASE to hea ader_address s */ ze; ft_size); start_addres ss to header_ _address */ size); ceived data size */ MASK + destina tion_address s */ src_mask ...

Page 57

... Sn_ _RX_RD as le ngth of len+ Sn n_RX_RD = Sn n_RX_RD + h header_size + /* s set RECV com mmand */ Sn_ _CR = RECV; } © Co opyright 201 11WIZnet Co o., Inc. All rig + header_size get_size; ghts reserve ed. 57 ...

Page 58

... Sn_ _TX_WR0 as length of len Sn n_TX_WR0 += = len; © Co opyright 201 11WIZnet Co o., Inc. All rig s to transm it cannot b be larger autom matically d ivided by M .255.255.25 5” when use er wants len is send size mote_port t ...

Page 59

... Sn_ _IR = 0x00FF F; IR(n) = ‘1’ set CLOSE c command */ Sn_ _CR = CLOSE E; } © Co opyright 201 11WIZnet Co o., Inc. All rig check that t the prior SEN me to comp plete the SE ata to transm mit. The AR occurs UDP data transmissio /* wait int terrupt of SE END complet OUT)=‘ ...

Page 60

... IP is selected to rg/rfc.html ). ) U is intern ally multicast mo ode, , the “Lea ve” ort” message e is use an upda ated KET. W5200. Set the 0 to ‘Multica ast- cast-group p port to ‘1.’ Fina ally, after the OP PEN 01:0b ...

Page 61

... SOCKETTX m memory */ © Co opyright 201 11WIZnet Co o., Inc. All rig st-Group IP a address(211. 1.1.11) */ st-GroupPort t number(300 00) */ Port number( 3000 & Multicas st on Socket n-th Mode Re ommand */ K_UDP */ E; goto STAR RT; ...

Page 62

... S0_ _IR(SENDOK) = ‘1’; } Check finished / S SOCKET close e Refe er to the “5. .2.2.1 Unica ast & Broadc © Co opyright 201 11WIZnet Co o., Inc. All rig + 1) ) e_addr to de estination_ad dst_mask; ddr), (0xFE0 0000 + dst_pt addr to gSn_ _TX_BASE */ _BASE, left_s size); to dst_ptr */ len); */ process for d ...

Page 63

... AW is data communica ation using prot ocol layers. . IPRAW sup ports IP lay acco ording to the e protocol n number. The in W W5200 by ha ardware logi ic. But if th IPRA AW by openi ing the Soc ket n-th to must t set the pro otocol numb ber field of prot ...

Page 64

... Check finished / S SOCKET close ed Same e as UDP, pl lease refer t to the “5.2. © Co opyright 201 11WIZnet Co o., Inc. All rig K_IPRAW */ OSE; goto ST TART; cast.” ceived in in ternal RX m memory. Th eceive IPR RAW data Format ...

Page 65

... ACRAW Op peration F low ghts reserve ed. xibly use up pper the SOCKET T in TCP/IP stac ck’, Therefore, any W5200 suppo orts CP/IP stack ’ which the /IP stack’, and So it overcom mes can process all cation is p pure ACRAW desig ...

Page 66

... Sn _RX_RD & gS Sn_RX_MASK /* * calculate st tart address( (physical add © Co opyright 201 11WIZnet Co o., Inc. All rig MR(P3:P0 MACRAW mode. The ommand, if the Sn_SR is successfu zation is com mpleted. Si nce all info dress, Sour rce IP addre ess, Source ...

Page 67

... RX mem mory as fast ▪ Red duce the rece eiving load b by reception bit of S0_MR in sample code e of SOCKET © Co opyright 201 11WIZnet Co o., Inc. All rig // src_ptr r is physical s start address / // get Byte s size of DATA packet from 1)) _address to destination_ _address */ _mask ...

Page 68

... Co opyright 201 11WIZnet Co o., Inc. All rig MAC filter */ K_MACRAW * */ CLOSE; goto START; ory is smalle r than ‘1528 8 - Default M lose the SOC CKET and pro ocess all rec ...

Page 69

... Sn n_TX_WR0 & gSn_TX_MAS /* * calculate st tart address (physical add © Co opyright 201 11WIZnet Co o., Inc. All rig r to destinat tion_address s */ len len */ nternal RX m emory and t then ignore i n); ned data in i nternal RX m memory*/ 4 ...

Page 70

... NDOK)==‘0’) ; S0_ _IR(SENDOK) = ‘1’; } Check finished / S SOCKET close e Refe er to the “5. .2.2.1 Unica ast & Broadc © Co opyright 201 11WIZnet Co o., Inc. All rig // dst_ptr r is physical + 1) ) addr to desti ination_addr dst_mask; _size); addr to gSn_ _TX_BASE */ ze); destination_ address */ */ l processors ...

Page 71

... SCLK. ghts reserve ed. des. For the communicat tion ommunicatio on. a external h ost , commo only with W5200 v via the SPI b bus, ), Serial Cloc ck (SCLK), M MOSI ch mode dif fers ntrol the flow w of ice and sup pports the m most ...

Page 72

... SPDR regis h for transm mission on S mission on SP PDR registe er. a transfer st tart) configure n nSCS as ‘Hig gh’ Figure 1 18 W5200 S PI Frame Fo ormat P/DATA L Length Seq quence Dia ghts reserve ed. ter (SPI Dat ta Register) ). SPDR regist ter. agram 72 ...

Page 73

... Data length is more than the falling ed dge of the nS Figure 2 20 READ S Sequence per packet */ / 0x00 its CU to W5200 0 m W5200 to M MCU Routine disab ble ghts reserve ed. 20.The REA AD processin g is code, the D Data Length and uence Diagra am and the D ...

Page 74

... Du ummy data data_buf[id dx] = SpiRecv vData(idx); } CSo on(); // CS S=1, SPI end ISR R_ENABLE(); // Interrup pt Service Ro } © Co opyright 201 11WIZnet Co o., Inc. All rig 8); // Add dress byte 1 // Address byte 2 upper 7bits data_len& 0x x7F00) >> 8) )); ad Processin ng Mode. // Read dat ta outine disabl le ghts reserve ed. ...

Page 75

... Byte operate ed when the d by driving MOSI low af Figure 2 21 Write S Sequence per packet */ 0x80 0 bits CU to W5200 0 tine disable ghts reserve ed. 21.The WRIT TE processin g is code, the Da ata Length, and urst WRITE processing are hich is consis ...

Page 76

... SpiSendData a(data_buf[i dx]); CSo on(); // CS S=1, SPI end IINC CHIP_ISR_EN NABLE(); // / Interrupt Se } © Co opyright 201 11WIZnet Co o., Inc. All rig 8); // Addr ress byte Address by yte 2 upper 7bits ((data_len& 0x7F00) >> 8 8))); Write Process sing Mode. ervice Routi ne disable ghts reserve ed. ...

Page 77

... POWE ER DISSIP PATION(V Condi ition 100M Link 10M Link Loss Link 100M Trans smitting 10M Transm mitting Power Dow wn mode © Co opyright 201 11WIZnet Co o., Inc. All rig tions atings Rati ng -0 3.63 -0 5.5 (5V tolerant)  -55 to 125 the “Absolute e Maximum R atings” ...

Page 78

... Freq quency ℃) Freq quency Toler rance (at 25℃ Shun nt Capacitan nce Driv ve Level Load d Capacitanc ce Agin ng (at 25℃) © Co opyright 201 11WIZnet Co o., Inc. All rig Figure 22 Reset Timing ange 25 MHz ±30 ppm 7pF Max 59.12uW/MH Hz 27pF ±3ppm / ye ...

Page 79

... Time DS T Data In Ho old Time DH T Output Va alid Time OV T Output Ho old Time OH T nSCS High to Output H CHZ © Co opyright 201 11WIZnet Co o., Inc. All rig Figure e 23 SPI T Timing Min Hi-Z ghts reserve ed. Max Uni its ...

Page 80

... Tu urn Ratio In nductance Figure 24 In case of usin ng internal P PHY mode, b sup pport Auto M MDI/MDIX(Cro ossover). © Co opyright 201 11WIZnet Co o., Inc. All rig istics Tr Transmit End d 1:1 1:1 350 uH H 350 uH 4 Transfor rmer Type be sure to u use symmet ric transform ghts reserve ed ...

Page 81

... Peak Tempe Ram mp-Down Ra ate Tim me 25 °C to Peak Temper rature Fig gure 25 IR © Co opyright 201 11WIZnet Co o., Inc. All rig ure Prof ile (Lea d-Free) 3 ° C/second ° °C 60 0-120 second 2 17 °C ...

Page 82

... The pin #1 identifi er must be indentat tion mark o or other fea 6. Exact sh 6 hape and siz ze of this fe © Co opyright 201 11WIZnet Co o., Inc. All rig s Package D Dimension ns ters. 304 mm MA AXMUM (0.0 012 Inches M orm to same e Y14.5M. - 1994. erminal and ...

Page 83

... Applied 8 for expose d pad and t from me easuring 9 9. Applied only to ter rminals 10. Packag 1 e corners u unless other © Co opyright 201 11WIZnet Co o., Inc. All rig m. terminals. E Exclude em bedding pa rwise specif fied are R0 .175+/- 0.0 ghts reserve ed. art of expos ed pad 025mm 83 ...

Page 84

... For m more informat tion, visit ou r website at © Co opyright 201 11WIZnet Co o., Inc. All rig ation Desc criptions Release ed with W5200 0 Launching Change d IMR address s (0x16 to 0x3 6) (P.14, P.18) Change d IMR2 addres ss (0x36 to 0x 16) (P.14, P.22 Fixed th he description n of RSV at 1.3 3 Miscellaneou ...

Related keywords