Home

WIZ820io User Manual

image

Contents

1. 11 WiZnet 4 2 SPI Timing Vin nSCS Vi Vin Tos Ton ye MOS LZ MM VL MISO Cumekwme Ps Dmemwshe E n O co I U1 UI Un1 i g I UJ WIZ820io User Manual WIZnet Co Ltd 12 w IZ net 5 Dimensions E y Ge X ol FON eua ee rae qe x e d 2 12 8 32 25550 8 2586 059 LU ou L3 22 4 2 0 50 WIZ820io User Manual WIZnet Co Ltd 13 w IZnet v r P ig 0 6 Reference Schematics sal ade 1 ruf BH tu bb 175 M ree s RES ED 5 prisci 7 TNT CM 1 4 de jaya va 5 M cw i cw LIII T 14 WIZ820io User Manual WIZnet Co Ltd w IZnet 7 Warranty WIZnet Co Ltd offers the following limited warranties applicable only to the original purchaser This offer is non transferable WIZnet warrants our products and its parts against defects in materials and workmanship under normal use for period of standard ONE 1 YEAR for the WIZ820io module and labor warranty after the date of original retail purchase During this period WIZnet will repair or replace a defective products or part free of charge Warranty Conditions L Z The warranty applies only to products distributed by WIZnet or our official distributors The warranty applies only to defects in material or workmanship as mentioned above in 3 Warranty The warranty applies only to defects wh
2. and wait for at least 150ms after high de assert in order for PLL logic to be stable SPI Master In Slave Out This pin is used to SPI MISO signal pin WIZ820io User Manual WIZnet Co Ltd 2 WiZnet 3 Device SPI operations WIZ820io is controlled by a set of instruction that is sent from a external host commonly referred to as the SPI Master The SPI Master communicates with W5200 via the SPI bus which is composed of four signal lines Slave Chip Select nSS Serial Clock SCLK MOSI Master Out Slave In and MISO Master In Slave Out The SPI protocol defines four modes for its operation Mode 0 3 Each mode differs according to the SCLK polarity and phase how the polarity and phase control the flow of data on the SPI bus The W5200 operates as SPI Slave device and supports the most common modes SPI Mode 0 and 3 The only difference between SPI Mode O and 3 is the polarity of the SCLK signal at the inactive state With SPI Mode 0 and 3 data is always latched in on the rising edge of SCLK and always output on the falling edge of SCLK 3 1 Process of using general SPI Master device Configure Input Output direction on SPI Master Device pins Configure nSCS as High on inactive Write target address for transmission on SPDR register SPI Data Register Write OP code and data length for transmission on SPDR register Write desired data for transmission on SPDR register Configure nSCS as Low data
3. transfer start Wait for reception complete CON O Ui A WUW N HG If all data transmission ends configure nSCS as High Address LILI IEL ILT OP Code 1bit data length n 16bit LJ 3 414 43 q TI d 3 L3 IL NI data1 LLL LE SI j gt 1 LL ILLI LIO ll ll IL DE data n 1 011121314151617 Bit Byte Byte W5200 SPI Frame Format gt WIZ820io User Manual WIZnet Co Ltd w IZ net nsCs wo3 0 4 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CLK wopo II 5 Ta a 58 Address SE Address os MOOQOODOOOOOOOOE XOU QOOQOE a Address Sequence MISO High nscs A MODES 16 17 18 19 20 241 22 23 24 25 26 27 28 29 30 31 SCLK MOREO i Wn AE bes ro 56 696X30X99 96X96 0X 2 so RXR KARR 00 O00 OD OQ QQ b OP Data Length Sequence Address and OP DATA Length Sequence Diagram gt 3 2 Read processing The READ processing is entered by driving nSS low followed by the Address the OP code the Data Length and the Data byte on MOSI The OP code OP is defined type of the READ OP and WIRTE OP On OP 0 the read operation is selected Otherwise On OP 1 the write operation is selected In W5200 SPI mode the Byte READ processing and the burst READ processing are provided The Byte READ processing takes 4 instructions which is consist of the 16 bit Address the 1 bit OP code 0x0 the 15 bit Data length and 8 bit Da
4. w IZ net WIZ820i o User Manual Version 1 0 Ww IZnet 2011 WIZnet Co Ltd All Rights Reserved i For more information visit our website at http www wiznet co kr WIZ820io User Manual WIZnet Co Ltd VIZnet Document Revision History EN 2011 09 15 Official Release WIZ820io User Manual WIZnet Co Ltd 2 VIZnet 1 Introduction WIZ820io is the internet offload network module that includes W5200 TCP IP hardwired chip include PHY MAG JACK RJ45 with X FMR with other glue logics It can be used as a component and no effort is required to interface W5200 and Transformer The WIZ820io is an ideal option for users who want to develop their Internet enabling systems rapidly For the detailed information on implementation of Hardware TCP IP refer to the W5200 Datasheet WIZ820io consists of W5200 and MAG J ACK e TCP IP Ethernet MAC W5200 e Ethernet PHY Included in W5200 e Connector MAG JACK RJ 45 with Transformer l l Feature e Supports 10 100 Base TX e Supports half full duplex operation e Supports auto negotiation and auto cross over detection e IEEE 802 3 802 3u Compliance e Supports high speed SPI Interface SPI mode O 3 Operates 3 3V with 5V I O signal tolerance e Supports network status indicator LEDs e Includes Hardware Internet protocols TCP IPv4 UDP ICMP ARP PPPoE IGMP e Includes Hardware Ethernet protocols DLC MAC e Supports 8 independ
5. 2 Data write command Data length upper 7bits SpiSendData data read command data len amp Ox7F00 gt gt 8 Data length bottom 8bits SpiSendData data len amp Ox00FF Read data On data len 1 Burst Read Processing Mode for int idx 20 idx data len idx i WIZ820io User Manual WIZnet Co Ltd 8 VIZnet SpiSendData 0 Dummy data data buf idx SpiRecvData idx Read data CSon CS 1 SPI end ISR ENABLE Interrupt Service Routine disable j 3 3 Write processing The WRITE processing is entered by driving nSS low followed by the Address the OP code the Data Length and the Data byte on MISO In W5200 SPI mode the Byte WRITE processing and the Burst WRITE processing are provided The Byte WRITE processing takes 4 instructions which is consist of the 16 bit Address the 1 bit OP code 0x1 the 15 bit Data length and 8 bit Data Otherwise The Burst WRITE processing only takes the Data instruction after the setting of the Burst WRITE processing To distinguish between the Byte WRITE and the Burst WRITE processing the Data length is used If the Data length is 1 the Byte WRITE processing is operated Otherwise the Burst WRITE Processing is operated when the Data length is more than two The MOSI pin should be selected by driving MOSI low after the falling edge of the nSS oO 1 2 12 13 14 15 17 18 19 28 29 30 31 32 33 34 35 36 37 38 39 16 bit Address OP Dat
6. a Length 1bit 15bit 8 bit Data i 50098 EXE KT ENE NEN HK OX DOO T NO OKI 40 di 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 8 bit Datas 4 bit Bata3 pol A bit Data4 vos AAA aren H wso E CX 5 009 AOAO i Write Sequence gt WIZ820io User Manual WIZnet Co Ltd 9 w IZnet Pseudo Code for Write data of 8bit per packet define data write command 0x80 uint16 addr Address 16bits int16 data len Data length 15bits uint8 data buf Array for data SpiSendData Send data from MCU to W5200 ISR_DISABLE Interrupt Service Routine disable CSoff CS 0 SPI start SpiSendData addr Hdx OxFFO0 gt gt 8 Address byte 1 SpiSendData addr Hdx OxOOFF Address byte 2 Data write command Data length upper 7bits SpiSendData data write command data len amp 0x7F00 gt gt 8 Data length bottom 8bits SpiSendData data len amp OxOOFF Write data On data len 1 Burst Write Processing Mode for int idx 20 idx data len idxH SpiSendData data buf idx CSon CS 1 SPI end IINCHIP ISR ENABLE Interrupt Service Routine disable WIZ820io User Manual WIZnet Co Ltd 10 WiZnet 4 Timing diagram 4 1 Reset Timing nRST Tpi PLOCK Internal TRC Reset Cycle Time TPL ARST internal PLOCK EN WIZ820io User Manual WIZnet Co Ltd
7. ent connections simultaneously e Supports Power down mode e Supports Wake On LAN e Supports Socket API for easy application programming e Interfaces with two 2 54mm pitch 1 x 6 header pin e Very small form factor 22mm x 25mm PCB size WIZ820io User Manual WIZnet Co Ltd w IZnet 2 Pin assignment amp description 2 1 Pin assignment lt TOP side view gt GND GND GND E 3V3D MOSI e 3V3D SCLK 4 PWDN nSS t nRESET nINT Ie MISO Pin assignment WIZ820io User Manual WIZnet Co Ltd WiZnet 2 2 Pin description rion wo pinnamoe pesenpson SPI Master Out Slave In This pin is used to SPI MOSI signal pin SPI Clock SCLK This pin is used to SPI Clock Signal pin SPI Slave Select Active Low This pin is used to SPI Slave Select signal Pin when using SPI interface Interrupt Active low This pin indicates that W5200 requires MCU attention after socket connecting disconnecting data receiving timeout and WOL Wake on LAN The interrupt is cleared by writing IR Register or Sn IR Socket n th Interrupt Register All interrupts are maskable FER 3V3D Power 3 3 V power supply 3 P 3V3D Power 3 3 V power supply Power Down Active High This pin is used to power down pin Low Normal Mode Enable High Power Down Mode Enable Reset This pin is active low input to initialize or re initialize W5200 RESES It should be held at least 2us after low assert
8. ich occur during normal use and does not extend to damage to products or parts which results from alternation repair modification faulty installation or service by anyone other than someone authorized by WlZnet Co Ltd damage to products or parts caused by accident abuse or misuse poor maintenance mishandling misapplication or used in violation of instructions furnished by us damage occurring in shipment or any damage caused by an act of God such as lightening or line surge Procedure for Obtaining Warranty Service L Contact an authorized distributors or dealer of WIZnet Co Ltd for obtaining an RMA Return Merchandise Authorization request form within the applicable warranty period Send the products to the distributors or dealers together with the completed RMA request form All products returned for warranty must be carefully repackaged in the original packing materials Any service issue please contact to sales wiznet co kr WIZ820io User Manual WIZnet Co Ltd l gt
9. ta Otherwise The Burst READ processing only takes the Data instruction after the setting of the burst read processing To distinguish between the Byte READ and the burst READ processing the Data length is used If the Data length is 1 the Byte READ processing is operated Otherwise the Burst READ Processing is operated when the Data length is more than two The MISO pin should be selected by driving MISO low after the falling edge of the nSS WIZ820io User Manual WIZnet Co Ltd A bit Data 051 QO DOOODOO DQOO QOOOQOQOO miso HPN OOO XA nscs 16 bit Address MODE 1 2 12 13 14 17 18 19 28 29 30 31 32 33 34 35 36 37 38 39 OP Data Length bite ADAC SCLK 40 41 42 43 A 45 46 47 48 49 50 51 52 53 54 55 56 37 58 59 60 si 62 63 3 g bit Datas 2 11 Dota _ 3 bit Datad os A999 09896992 0 so X RRR ER EE lt Read Sequence gt Pseudo Code for Read data of 8bit per packet define data read command 0x00 uint16 addr Address 16bits int16 data len Data length 15bits uint8 data buf Array for data SpisendData Send data from MCU to W5200 SpiRecvData Receive data from W5200 to MCU i ISR DISABLE Interrupt Service Routine disable CSoff CSA SPI start SpiSendData SpiSendData addr Hdx OxFF00 228 Address byte 1 SpiSendData addr idx OxOOFF Address byte

Download Pdf Manuals

image

Related Search

Related Contents

  Sony WM-WE1 User's Manual  WEU WEU PWS      Rue des délices  SERVICE MANUAL  

Copyright © All rights reserved.
Failed to retrieve file