Home

WizFi210/220 User Manual

image

Contents

1. 7 9 RF Specification s Ree ease eee 8 10 fefe MERCED E 9 11 gr edeupc 9 12 Module 13 13 Recommend Pad DIMENSION ccccccsssseseecccccccceuseesescccccsseesueessececesseeuaannsssess 14 14 LED 1 14 15 Ap plication Gi eulos 15 16 Interface eee eara eee eeu Pee rae ka e esee 16 3 ero o ECT RE 17 1 SAP SCAN ER 17 2 Network Connection Management eene nenne 17 3 Auto Connection Operation 17 4 RESPONSE COG tede O ie 18 S Use o EEE EEE 19 6 AT Command example 20 4 21 dj Commiand lnterface ese tesa gest ce xe rr a iane eere tuetereieee irs fred eie 21 2 UART adapter interface configuration 21 3 Profile management ree cre h 22 A Interfaces eorpore toro tese eoa Hen Eee DES eoe Eod ie 23 a acc eee eee ea 23 6 Wireless configuration essssssssssseeeeeeneeen nee enne
2. 9 MODULE DIMENSION 0eeecceeesseessssesssssessseessneccnseessscesnscesnsccsnseesnsscsusessnsecsneesnacesancesnseesneeesueeesneeeses 13 RECOMMEND PAD DIMENSION essent nter tentent tennttenn 14 Mire BATTERY ee EE 15 Vin AG ADAPTOR ME 15 FIRMWARE DOWNLOAD ceccesesssssssessssesssseessnseesnscesnessnecssneessseesnscessseesussesuseesueeesusessueeeseeessneess 16 16 WizFi210 User Manual WIZnet Co Ltd WiZnet 1 Overview The WizFi210 family of fully certified modules offers a quick easy and cost effective way for device and appliance manufacturers to add Wi Fi capabilities to their products The module provides serial UART interface which enables connection to any embedded design utilizing an 8 16 32 bit microcontroller via simple commands The WizFi210 is an ideal solution for organizations with limited or no Wi Fi or RF expertise as it not only dramatically reduces RF design time but also removes the burden of testing and certification allowing customers to focus on their core application product or expertise The module supports data rates up to 11 Mbps and is compliant with 802 11b The WizFi210 provides customers the mean to evaluate the capabilities of ultra low power wireless system on a chip and the Serial to Wi Fi embedded software for Wi Fi networks The Serial to Wi Fi embedded software allows devices and appliance manufacturers to easily add Wi Fi capabilities to
3. 6 TABLE 8 INTERNAL 1 8V REGULATOR c ccccccccccccsssesesesesesesesescscscscscscscscscscscscssscscscesecscececscscscsecacacacacacacaeaeas 7 TABLE 9 POWER 7 TABLE 10 RF 9 8 TABLE 11 PIN DESCRIPTION 12 TABLE 12 LED INDICATIONS tette ect cete ee iei cet eee ii 14 TABLE 13 RESPONSE 19 TABLE 14 AT COMMAND 20 TABLE 15 COMMAND 21 TABLE 16 UART ADAPTER INTERFACE CONF
4. Output 1 VBAT E Embedded Real Time Clock Power Supply EN DC DC CNTL 3V3 Regulator Control Output Embedded Real Time Clock Wake Up Input 11 ALARM Pull down 5 12 I General Analog to Digital Converter 1 ADC2 General Analog to Digital Converter 2 MISO GPIO Mim MOSI GPIO _CLK GPIO5 ae Master Serial Peripheral Interface Bus Chip ull dow Select 0 General Purpose Input Output MSPI CS1 GPIO13 Master Serial Peripheral Interface Bus Chip Pull down Select 1 General Purpose Input Output I2C_CLK GPIO9 Pull down Inter Integrated Circuit Clock General 10 WizFi 210 User Manual WIZnet Co Ltd _CS0 GPIO4 comm VOUT_1V8 C m Internal 1 8V Vout WiZnet ies NN Width Modulator General Purpose PWMO GPIO10 Pull down Input Out put GPIO19 CLK 44M Internal Clock Circuitry Test Point General x I Pull down Hz Purpose Input Output GPIO20 CLK 22M Internal Clock Circuitry Test Point General Hz i I Pull down z Purpose Input Output GPIO21 CLK 11M Internal Clock Circuitry Test Point General Hz I Pull down Purpose Input Output 126 DATA GPIO8 Inter Integrated Circuit Data General IO Pull down Purpose Input Output SPI Slave Transmit Data Output to the 27 SSPI MISO Pull up HOG SSPI CLK Pull up SPI Slave Clock Input from the HOST 39 SSPI CS Pull up SPI Slave Chip Select Input from the HOST SPI Slave R
5. 8 Power Consumption VDD 3 3V VDDIO 1 8V Temp 25 C Power Current Consumption Standby mode Only Vppric is active 34 0 uA Idle mode CPU running WLAN disconnected Receive 124 0 mA 409 2 81dBm RX sens 11Mbps Transmit 126 0 mA 415 8 8dBm at antenna preesse 11Mbps TCP TC Standby 10sec Payload 100Byte 10sec Payload 100Byte Table 9 Power Consumption WizFi 210 User Manual WIZnet Co Ltd IZnet 9 RF Specification Specification Description DSSS for 1 2Mbps CCK for 5 5 11Mbps Data Rate IEEE 802 11b 1 2 5 5 and 11Mbps 84dBm 1dB 11Mbps 88dBm 1dB 5 5Mbps 90dBm 1dB 2Mbps 94dBm 1dB 1Mbps Transmit power Average 802 11b 8dBm 0 5dB 11Mbps USA 2 400 2 483GHz Europe 2 400 2 483GHz Japan 2 400 2 497GHz China 2 400 2 483GHz USA Canada 11 1 11 Major Europe Countries 13 1 13 France 4 10 13 Japan 14 for IEEE 802 11b 1 13 or 14th 13 for IEEE 802 11g 1 13 Korea China 13 1 13 Modulation Technique Receive Sensitivity Frequency Range Operating Channels U FL External Antenna Support External Antenna Pad Support 1dBi Chip Antenna Optional Table 10 RF Specification WizFi 210 User Manual WIZnet Co Ltd 8 WiZnet 10 Block Diagram Dipole Antenna U FL Antenna Connector Default Path Band Pass Filter Wireless LAN Network processor 802 11b Wied jeuondo s
6. Pull down General Purpose Input Output 46 GPIO29 IO Pull down General Purpose Input Output 47 GPIO28 IO Pull down General Purpose Input Output aoo efa eo EN EXT ANT External Antenna pad Table 11 Pin description is not available in this version To allow for design flexibility and support for multiple sensors with different voltages the VDDIO banks are split such that some of the VDDIO banks can be 1 8 V and some can be 3 3 V If a VDDIO bank is connected to 1 8 V then the corresponding I O signals for that bank should be driven at the same voltage VDDIO Bank 1 GPIO28 29 JTAG VDDIO Bank 2 SPI1 Master Misc VDDIO Bank 3 GPIO18 23 PWM VDDIO Bank 4 I2C SPI2 Slave GPIO16 17 VDDIO Bank 5 UARTO 1 VDDIO Bank 6 GPIO30 31 WizFi 210 User Manual WIZnet Co Ltd 12 IZnet 12 Module Dimension 23 50mm 5 05mm 4 Duk E K E E E 3 E ma g 5 t C4 Ins ls 1 50mm 3 50mm 20 00mm 1 00rnm B E 2120mm x d as la 23 50mm 5 Figure 4 Module dimension WizFi 210 User Manual WIZnet Co Ltd 13 IZnet 13 Recommend Pad Dimension ho EN o 3 3 Ex E 2 n T HH Dd HH Dd ESI E E E Ez np Em HH mm EN E EE S Ei Dell em mue Exin HEN mE z HEN En RE gra s c m RE
7. connection has a unique single digit hexadecimal value 0 to 15 for the CID The allowed maximum number of connections up to 16 may be specified at compile time Note that this single pool of CID s is used for TCP UDP Server and Client connections 3 Auto Connection Operation Auto Connecttion acts as a cable replacement insofar that the interface acts like a serial interface and no commands or user intervention are required for connection management In this mode the Station automatically builds the wireless and network connections by using parameter values from the current active Profile then transfers data transparently between the Host and Target in data mode No status information is sent to the Host The operation modes of WizFi210 are as below Command Mode in which data is interpreted as commands to control WizFi210 Data Mode in which serial data is sent to the WiFi interface In Data mode the Adapter Receives characters from the serial port and transmits them over the connection Receives data from the connection and transmits it on the serial port The serial host may gain control of the interface by issuing the escape sequence followed by a one second gap where no characters are received on the serial port When this sequence is encountered the Adapter exits data mode and resumes command processing The host then makes changes in the network configuration or other parameters WizFi 210 User Manual WIZ
8. lt Port Number gt lt SSL command opens an HTTP client on the N Flag gt lt certificate name gt adaptor and connects to the server specified Configure a socket which is identified by a Cid by the host name or IP address AT HTTPCSEN lt cid gt lt Type gt lt Timeout gt GET POST HTTP data on the HTTP client D Page Size of content connection AT HTTPCCLO 3 Close the HTTP client connection SE AT NRAW 1 2 Enable Disable Raw Ethernet support Frame Control Sequence AT UNSOLICIT EDT Cntrl Channel Rate WmmlI Unsolicited data transmission nfo Receiver Mac gt lt Bssid of WizFi 210 User Manual WIZnet Co Ltd 26 Wiznet AP gt lt Frame Length gt Table 22 Connection management 9 Battery check Start checking battery AT BCHKSTRT lt Batt chk freq gt each 0 lt Batt chk freq lt 100 packets transmitted Set the battery warning standby level to lt Warning Level gt lt Warning enable the adaptor s internal battery BATTLVLSET Freq gt lt Standby Level gt measuring logic AT BCHK lt Batt chk freq gt Reset value of battery check frequency AT BCHKSTOP D Stop checking battery AT BATTVALG E Retrieve the most recent battery check value Table 23 Battery check 10 Power state management AT PSDPSLEE n Request transition to Standby for x x DelayTime Alarm1 milliseconds pol Alarm2 pol gt Ex AT P
9. values provided 9600 19200 38400 57600 115200 230400 Parity is n for no parity e for even parity and baudrate bitsperchar y parity parity o for odd parity parity stopbits 1 Allowed values are 5 6 7 or 8 bits character with 1 or 2 stop bits 1 5 in the case of a 5 bit character Ex ATB 9600 8 n 1 WizFi 210 User Manual WIZnet Co Ltd 21 WiZnet AT amp K 0 disable 1 enable IF 1 software flow control is enabled x AT amp KO AT amp K1 IF 1 hardware flow control is enabled AT amp R n 0 disable 1 enable Ex AT amp RO AT amp R1 Sets various timeout values 0 Network Connection Timeout 10 milliseconds 1 65535 default 1000 1 Auto Associate Timeout 10 milliseconds 0 65535 default 500 2 TCP Connection Timeout 10 milliseconds 0 65535 default 500 n 0 to 5 p parameter value 3 Association Retry Count Not currently supported 4 Nagle Algorithm Wait Time 10 milliseconds 0 65535 default 10 5 Scan Time 1 milliseconds 0 65535 default 20 Ex ATSO 1000 ATS1 500 Various Adapter ID information 0 OEM identification 1 Hardware version 2 Software version Ex ATIO ATI2 Table 16 Uart adapter interface configuration 3 Profile management Save profile specified by n n 0 profile 0 1 profile 1 Ex AT amp WO Load profile specified by n 0 profile 0 1 profile 1 Ex ATZO Set default profile to the value n AT
10. 11 b g n access points at speed up to 11 Mbps 802 11b m 802 11i Security WEP WPA WPA2 PSK Enterprise W Rich I O interfaces SPI UART GPIO I2C ADC JTAG E Low power modes Alarm Input for wake up m High throughput hardware AES and RC4 encryption decryption engines WizFi 210 User Manual WIZnet Co Ltd 2 WiZnet 2 Specifications Specifications Description Radio Protocol IEEE 802 11b g n Compatible Supported Data Rates 11 5 5 2 1 Mbps 802 11 b RF Operating Frequency Antenna Options Networking Protocols Power Consumption Typical RF Output Power Typical Security Protocols I O Interface 2 4 2 497 GHz Chip antenna and U FL connector for external antenna UDP TCP IP IPv4 DHCP ARP DNS HTTP HTTPS Client and Server Standby 34 0 pA WizFi210 Receive 124 0 mA WizFi210 Transmit 126 0 mA WizFi210 8dBm 0 5dB WizFi210 17dBm 0 5dB WizFi220 WEP WPA WPA2 PSK Enterprise EAP FAST EAP TLS EAP TTLS PEAP UART SPI I2C WAKE ALARM GPIOs Table 1 Specifications is supported by software customizing WizFi 210 User Manual WIZnet Co Ltd 3 WiZnet 2 Hardware Specification 1 Operating Conditions Um qp Table 2 Operating Conditions 2 Digital Input Specifications M 9e o cune DID NECEM EN IO NEC NENNEN Schmitt trig Low to High threshold point Schmitt trig High to Low threshol
11. Apc2 UARTI CTS 35 i 14 MISO EXT RESETN HS E ii MSPI_MOSI 34 Vout I MSPLCLK EN 1V8 33 I j Ls Youre VIN VS ji P E HIGH PROGRAM MODE o 3 Bay E9 8 p LLL 99 5 28542995 LOW RUN MODE o 258z66580000 T L 19 20 31 22 23 24 25 26 27 28 29 30 CASE 1 Figure 8 Firmware Download In order to upgrade the firmware of the WizFi210 the hardware design to transit between run mode and program mode is required as shown as above 16 Interface RS232c GPIO10 Alarm A re rar Antenna DC IN Battery v DC 5V Run Program Mode Figure 9 Interface WizFi 210 User Manual WIZnet Co Ltd 16 IZnet 3 Application Guide 1 AP Scanning The Serial2WiFi interface can instruct the Wi Fi radio to scan for access points and ad hoc networks with a specified SSID BSSID and or channel for a specified scan time Scanning can be performed to find networks with a specific SSID BSSID networks operating on a specific radio channel or a combination of these constraints 2 Network Connection Management The connection management module is responsible for processing connection related events The interface provides UDP and TCP sockets similar to the familiar BSD network Sockets Each socket may represent either a server or client connection Each such
12. OxOd You can see the following data at Line Feed 0x61 0x74 OxOd WrWn OK WrWn OxOd Ox0a Ox5b Ox4f Ox4b Ox5d OxOd Ox0a ASCII S2W_SUCCESS OK Command Request Success S FAILURE ERROR Command Request Failed Command Request Failed Failed S2W EINVAL ERROR INVALID INPUT poe or einen or 3 S2WSOCKFAL SOCK_FAIL S2W_SOCK_FAIL ERROR SOCKET FAILURE ERROR SOCKET FAILURE FAILURE Socket Operation Failed Socket Operation Failed Failed S2W ENOCID ERROR NO CID All allowed CID s in use so there was no CID to assign to the new WizFi 210 User Manual WIZnet Co Ltd WiZnet connection a S2W_EBADCID ERROR INVALID CID Invalid Connection Identifier Operation or Feature not S2W ENOTSUP ERROR NOT SUPPORTED supported TCP IP connection successful S2W CON SUCCESS CONNECT lt CID gt lt info gt CID the new CID in hexadecimal format TCP IP connection with the given CID is closed This response is sent S2W ECIDCLOSE DISCONNECT lt CID gt to the host when a connection is closed either by the remote device or by the serial host BE S2W LINK LOST DISASSOCIATED M e to a wireless A S2WLDISASSO EVT DISASSO EVT S2W DISASSO EVT Disassociation Event Wireless network association lost Table 13 Response Codes 5 Use of GPIO10 If you click the GPIO10 button twice consecutively the WizFi210 is rest
13. amp YO AT amp F ATRE Restore profile to factory default values Current and saved profile parameter values as AT amp V ASCI Table 17 Profile management AT amp Y n 0 profile 0 1 profile 1 WizFi 210 User Manual WIZnet Co Ltd 22 WiZnet 4 Wi Fi interface Command Parameters Responses Effects AT NMAC Returns the current adapter MAC address AT NMAC2 DJ Returns the current adapter MAC address 0 FCC supported Channel range is 1 to 11 1 ETSI supported Channel range is 1 to 13 AT WREGDO MAN lt Regulatory Domain gt 2 TELEC supported Channel range is 1 to 14 Ex AT WREGDOMAIN AT WREGDOMAIN 2 Network scan returns list of found networks in the format SSID BSSID Channel lt SSID gt lt BSSID gt lt Channel gt lt RSSI gt lt Mode gt Scan Time gt lt Security gt Ex AT WS AT WS 6 Set 802 11 Station operating mode Ex AT WM 0 n 0 infrastructure 1 ad hoc Associate to specified SSID BSSID and AT WA lt SSID gt lt BSSID gt lt Ch gt channel Ex AT WA WizFiDemoAP AT WD E Disassociate from the current network Disassociate from the current network Associate to an AP using WPS METHOD is push button 1 or pin 2 PIN is the pin for PIN method AT WWPS 2 12345670 AT NSTAT Current wireless and network configuration Adapter reports the current network AT WSTATUS configuration to the serial host M
14. com Set the DNS server addresses to be used AT DNSSET lt DNS1 IP gt lt DNS2 IP gt Ex AT DNSSET 192 168 3 1 AT STORENW Store network connection parameters prior to CONN transition to Standby AT RESTOREN Restore network connection parameters after WCONN wake from Standby Table 21 Network interface WizFi 210 User Manual WIZnet Co Ltd 25 WiZnet 8 Connection management Command Parameters Responses Effects Attempt TCP client connection to Destination AT NCTCP Dest Address Port CONNECT lt CID gt if successful Ex AT NCTCP 192 168 3 200 5000 Open UDP client socket to Destination Dest Address Port AT NCUDP CONNECT lt CID gt if successful Src Port Ex AT NCUDP 192 168 3 200 5000 Start a TCP server on Port CONNECT CID if AT NSTCP successful Ex AT NSTCP 5000 UDP server on Port CONNECT lt CID gt if AT NSUDP successful Ex AT NSUDP 5000 AT CID Returns the current CID configuration Close connection identified by CID Ex AT NCLOSE 1 AT NCLOSE lt CID gt AT NCLOSEAL Close all open connections AT SETSOCKO lt Cid gt lt Type gt lt Parameter gt lt Valu e gt lt Length gt AT SSLOPEN lt cid gt lt certificate name gt Open an SSL connection AT SSLCLOSE cid Close an SSL connection AT HTTPCCO EE lt Param gt lt Value gt Configure an HTTP client Open an HTTP client connection This AT HTTPCOPE lt host gt
15. nenne nennen 25 7 Network 25 8 Connection managements sessies eriei i kenka nik nEn EERE ERR E 26 OY Battery Er E E E E 27 10 Power state management ooo eoo eo pono ineen eika reete bote ESSE REESE ERE EROR 27 11 AWO COMME CU ON TRENT 27 12 PHOVISI OMING m 28 13 EEUU 28 5 i 90 WizFi210 User Manual WIZnet Co Ltd y IZnet Table 9 8 TABLE 2 OPERATING CONDITIONS 1 eee tst 4 TABLE 3 DIGITAL INPUT SPECIFICATIONS 1 eerte ntn tns 4 TABLE 4 DIGITAL OUTPUT 9 4 TABLE 5 I O DIGITAL 5 5 TABLE 6 RTC INPUT SPECIFICATIONS 1 eere rennen enters eren ens pas 6 TABLE 7 RTC OUTPUT 9
16. ED Gams TT ii Nom __ X a 5 20mm e 21 70mm Z 23 50mm 5 la 25 90mm Figure 5 Recommend Pad Dimension 14 LED Indications Power on On Seal o OK To WiFi OK Serial Data Rx Blink 1 eee ata Mode Bli in i t Co Mode No Power Power To WiFi Error Not Not Associated un 12 LED Indications WizFi 210 User Manual WIZnet Co Ltd 14 WiZnet 15 Application Circuit Alarm 1 Button 1 c Alarm 1 Battery Max 3 6V Enable 3 3V DC DC Vout n Regulator zrg Test LED 2 WizFi 210 amp rawr 39 4 mH GND GND 5 rrjg Test LED O sTAG_TCK 6 038 42 4 A 4 STAG_TDO GPIO29 JTAG TDI GPIO30 2 rrq Test LED 1 H STAG_TMS GPl31 44 4 1 JTAG NTRST UARTO CTS 43 TH ALAR UARTO RX 42 AH ouri UARTO RTS 4 8 VBAT UARTO TX 40 m DC DC CNTL UARTI TX aa 1 11 ALARMZ UARTIZRX i VARTI RTS H 12 Apc2 UARTI CTS 35 14 uspi MiSO EXT RESETN 35 18 uspi MOSI VODIO 118 MSPI CLK EN 1v 3 1 oh VOUT 1V8 VINCav3 GND ND 31 o Z d 8 lt HxX 88 een z a82 5505 eee 05585 ee 55588888 Figure 6 Vin Battery WizFi 210 GND JTAG_TCK JTAG_TDO JTAG TDI JTAG TMS JTAG_NTRST ALARM1 RTC OUT BAT E Button 1 DC DC CNTL ALARM2 ADC1 ADC2 MSPI MISO MSPI_M
17. ETHOD PIN AT WRSSI Current RSSI as ASCII AT WRATE Current transmit rate as ASCII Value of 802 11 TX retry is reset AT WRETRY lt retrycount gt Ex AT WRETRY 5 Table 18 Wi Fi interface 5 Wi Fi security WizFi 210 User Manual WIZnet Co Ltd 23 IZnet Authentication mode setting 0 None AT WAUTH n 0 to 2 1 Open 2 Shared with WEP Ex AT WAUTH 0 WEP key n is set to the value in lt key gt AT WWEPn n 1 to 4 lt key gt Ex AT WWEP1 123456abdc AT WWEP3 abcdef12345678901234567890 WPA passphrase set to the value in AT WWPA lt passphrase gt lt passphrase gt seme sta ES A UL m Computes and stores the WPA2 PSK value AT WPAPSK lt SSID gt lt passphrase gt M Ex AT WPAPSK WizFiDemoAP 12345678 Sets the WPA2 pre shared key to the lt PSK gt AT WPSK Ex AT WPSK 00010203040506070809000102 03040506070809000102030405060708090001 Set the Outer authentication Inner authentication user name and password for EAP Security This command returns the normal response codes The valid outer authentication values are nM Outer Authentication Inner Eap FAST 43 WEABETNES Authentication user name Eap TLS 13 password Eap TTLS 21 Eap PEAP 25 The valid Inner Authentication values are Eap MSCHAP 26 Eap GTC 6 Ex AT WEAPCONF 43 26 guest 1234 Configure certificate for EAP TLS Type CA certificate 0 Client certificate 1 Private Key 2 Type Format Size L
18. IGURATION 22 TABLE 17 PROFILE MANAGEMENT uuu cccccccccsesesesesescccccccccccscscscsescscscscscscecececececscscsaacacacacseacacseacacaesacacacsees 22 TABLE 18 23 TABLE 15 8 24 TABLE 20 WIRELESS CONFIGURATION eere tenente tenent tetti tertii pipa 25 TABLE 21 NETWORK INTERFACE cccccccccccsssssesesesescccscscscscscscscscscscscscscscececececscscscsesasacacacscacacacacacaesacacacaeas 25 TABLE 22 CONNECTION MANAGEMENT cccccccccccccccscccccccccscscscscscscscecscececececececsesscscscacacacseacaeaeaescasececese 27 TABLE 23 BATTERY CHECK 27 TABLE 24 POWER STATE MANAGEMENT c cccccccccccccccccccscccscscscscscscscscececececececscecesesscasscacaescaeassescacscesese 27 TABLE 25 28 TABLE 26 28 TABLE 27 MISCELLANEOUS 1 nban nananana S SAn En na an nananana annon nnt 29 WizFi210 User Manual WIZnet Co Ltd WiZnet FIGURE 1 FIGURE 2 FIGURE 3 FIGURE 4 FIGURE 5 FIGURE 6 FIGURE 7 FIGURE 8 FIGURE 9 FIGURE 10 FACTORY DEFAULT AND AD HOC MODE lt Figure gt BASIC DIAGRAMS dinem iip NIE ETE E 1 BLOCK Gs CE eccescssessssesssssecsseessseesssecssssesssecsnscesusecsuseesusecsnscsancessneesaneesaseesuseesueesuesesatesseeessnsess 9 PIN DESGRIP TION
19. OSI MSPI_CLK vouT_1v8 D SE EXT ANT GND GPIO28 GPIO29 GPIO30 GPIO31 UARTO CTS UARTO UARTO RTS UARTO TX UART1 TX UART1 RX UART RTS UART1 CTS EXT RESETN o 48 nr 4 Test LED 2 4 Test LED 1 4 Test LED 0 4 J9AI92SUPJ eur ZEZSY Zenor Diode A 3 3V 3 6V Button 1 GPIO10 is used for mode transition between data command mode factory AC Adaptor 3 3V 5 5V Enable Vin 3 3V DC DC Vout Regulator Figure 7 Vin AC Adaptor J9AI92SUPJ eur ZEZSY default and self test So this should be considered except in special cases WizFi 210 User Manual WIZnet Co Ltd WiZnet l 1 l Vout i ms 1 211 I 1 412 Ble HEADER PIN i l I CASE 2 WizFi 210 amp xrawr 59 j 1 GNO eno 25 1 37 YTAG_TCK GPIO28 46 lt l JTAG_TDO GPIo29 46 4 JTAG TOI GPIO30 a LrFo7 j JTAG TMS GPIO31 43 a 1 o S JTAG NTRST UARTO CTS 43 1 2 uU gt H ALARM UARTO_RX 41 1 v I 4 9 RTC UARTO RTS 3 t o ato VBAT UARTO TX 39 4 rm ite 19 DC_DC_CNTL UART1_TX 28 S 4e j 11 ALARM2 UART1 RX 35 GO o 12 ADC1 UARTI1 4 Ho LJ 13
20. SSTBY 60000 1000 1 1 AT PSSTBY 5000 AT PSSTBY Table 24 Power state management 11 Auto connection Sets WiFi parameters to be used for Auto Connect lt mode gt lt SSID gt lt BSSID gt channel AT WAUTO Mode is 0 for Infrastructure and 1 for Ad hoc mode Ex AT WAUTO 0 WizFiDemoAP Sets network parameters to be used for Auto lt Type gt lt Protocol gt lt Destination Connect AT NAUTO ae IP gt lt Destination Port Type is 0 for Client and 1 for Server Protocol is 0 for UDP and 1 for TCP WizFi 210 User Manual WIZnet Co Ltd 21 WiZnet Ex AT NAUTO 0 1 192 168 3 101 5000 TCP Client AT NAUTO 1 1 5001 TCP Server AT NAUTO 0 0 192 168 3 101 5002 UDP Local Remote Port is 5002 IF 1 Auto Connect is enabled on next reboot ATC n 0 disable 21 enable or AT ATA __ Stat Auto Connect including association Start Auto Connect including association AT ATA2 0 Start Auto Connect using existing association ATO Return to a previous Auto Connect session returns an error if no such session exists Table 25 Auto connection 12 Provisioning AT WEBPROV m user name passwd Provisioning through web pages AT WEBLOGO size maximum size is 1788 Adding the Logo that will appear on the web ADD bytes pages used for provisioning Table 26 Provisioning 13 Miscellaneous Get a firmware upgrade from the server lt SrvIp gt lt SrvPort gt
21. T Message AT XDUM 1 OK AT amp YO AT amp YO Set Default Profile OK 15 AT amp WO Save Profile AT amp WO OK Table 14 AT Command Example WizFi 210 User Manual WIZnet Co Ltd 20 IZnet 4 AT Commands This section provides a list of Serial2WiFi commands and their effects Parameters are generally ASCII characters e g with n 1 is the series of ASCII characters A T E and Where some parameters are optional mandatory parameters are denoted by lt gt and optional parameters by If a parameter is mandatory any associated sub parameters are also mandatory sub parameters of an optional parameter are optional Parameters must always be provided in the order given in the command description When an optional parameter is not supplied the comma delimiters must still be included in the command Every command starts with the characters AT any other initial characters will cause an error to be returned Command Response In most cases valid commands return the characters OK Invalid inputs return ERROR INVALID INPUT Some commands may be not supported depending on the version 1 Command interface m dee IF 1 echo all input ATE n 0 disable 21 enable Ex ATEO ATE1 IF 1 responses are ASCII else numerical n 0 disable 21 enable codes Ex ATVO ATV1 Table 15 Command interface 2 UART adapter interface configuration UART parameters are immediately reset to
22. Ww IZnet WizFi210 220 User Manual Version 1 0 WiZnet 2011 WiZnet Co Ltd All Rights Reserved For more information visit our website at http www wiznet co kr WizFi210 User Manual WIZnet Co Ltd WiZnet Document Revision History Date Revision Changes 2011 03 24 V1 0 Official Release WizFi210 User Manual WIZnet Co Ltd WiZnet lt Contents gt REE 507 Y ee et etl E eras SS 1 1 Benefits and Features 2 2 Specifications nescera 3 2 Hardware Specification sssssssssssssssseeeee eene enne ennnr nennen nenne enne enne 4 1 Operating Conditions anise 4 2 Digital Input Specifications sssssssssssssseeeeene een eene nennen enne nnns 4 3 Digital Output Specifications ssssssssssseeeenen nennen ener eene 4 4 T O Digital Specification Tri State sssssssssssseseeneeeneme nemen 5 5 RTC Input Specifications etc E Eaa 6 6 RTC Output Specifications ssssssssssssssseeeee eene nennen enne en nnne 6 7 Internal ed brun EEE vues T 8 Power Consumption VDD 3 3V VDDIO 1 8V 250
23. ble 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 WizFi210 board 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 1 The warranty applies only to products distributed by WlIZnet 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 which 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 WIZnet 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 1 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 th
24. d point V Table 3 Digital Input Specifications 3 Digital Output Specifications ie Max Unt IO Supply Voltage 1 62 3 1 8 3 3 1 98 3 63 Table 4 Digital Output Specifications WizFi 210 User Manual WIZnet Co Ltd 4 WiZnet 4 T O Digital Specification Tri State Unit IO Supply Voltage 1 62 3 1 8 3 3 1 98 3 63 T eS Low Voltage Vi Schmitt trig Low to ET E threshold point V1 Schmitt trig High to Low threshold point Pul Up Resistor Ry ac mensem Dm CTI NON NN me v aee on Output rise time 3 3V LI NNNM S Table 5 I O Digital Specification WizFi 210 User Manual WIZnet Co Ltd WiZnet 5 RTC Input Specifications esp wen vw ITUCDEENNCHNENU ion vetoed Sm Mm OY Schmitt trig Low to High threshold 0 57Vpprtc 0 68Vppnrc V point Schmitt trig High to Low threshold 0 27 Vbppnrc 0 35Vppgrc V point Table 6 RTC Input Specifications 6 RTC Output Specifications Unit Output rise time tz Table 7 RTC Output Specifications WizFi 210 User Manual WIZnet Co Ltd 6 WiZnet 7 Internal 1 8V regulator Maximum Output Current IVOUT 1V8 NEAN 1 8V Regulator Enable H Voltage VIN 3V3 1V8 1 8V Regulator Enable L Voltage 0 25 V EN 1V8 Table 8 Internal 1 8V regulator
25. e original packing materials Any service issue please contact to sales wiznet co kr WizFi 210 User Manual WIZnet Co Ltd 30
26. eceive Data Input from the SSPI MOSI Pull down HOST 3V3 EN 1V8 VDDIO EXT RESETN Single Supply Port Internal 1 8V regulator enable port Active All I O voltage domain can be tied to VIN 3V3 or tied to HOST I O supply Module Hardware Reset and Power UART1 RTS GPIO2 7 Universal Asynchronous Receiver Transmitter 1 Request to Send Output Pull down General Purpose Input Out put Firmware Program Mode Universal Asynchronous Receiver Pull down Transmitter 1 Receive Input General Purpose Input Output WizFi 210 User Manual WIZnet Co Ltd UART1 RX GPIO3 Universal Asynchronous Receiver Pull down Transmitter 1 Clear to Send Input General Purpose Input Output i WiZnet UART1_TX GPIO2 Universal Asynchronous Receiver Pull down Transmitter 1 Transmitter Output General Purpose Input Output Universal Asynchronous Receiver Pull down Transmitter O Transmitter Output General Purpose Input Output UARTO TX GPIO1 UARTO RX GPIOO Universal Asynchronous Receiver a ares o Transmitter O Request to Send Output General Purpose Input Out put Universal Asynchronous Receiver I Pull down Transmitter O Receive Input General Purpose Input Output Universal Asynchronous Receiver UARTO_CTS GPIO 43 I Pull down Transmitter 0 Clear to Send Input General 24 Purpose Input Output 44 GPIO31 IO Pull down General Purpose Input Output 45 GPIO30 IO
27. lt SrcPort gt lt ret AT FWUP address port to the adapter port SrcPort gt Dd Ex AT FWUP 192 168 3 200 667 667 AT SETTIME lt dd mm yyyy gt lt HH MM SS gt Set the adaptor system time Upon reception of this command the adaptor sends the current system time in milliseconds since AT T epoch 1970 to the serial interface The time ph format comes on the serial interface as follows Current Time in msec since epoch xxxxxxx Set or reset high low a GPIO pin AT DGPIO lt GPIO NO gt lt SET RESET 0 1 gt Ex AT DGPIO 31 0 AT VER er Return the current adapter firmware versions AT PING lt IP gt Trails lt Interval gt lt Len gt PING the IP address provided Trails O will WizFi 210 User Manual WIZnet Co Ltd 28 WiZnet lt TOS gt lt TTL gt lt PAYLOAD gt ping until lt Esc gt C is issued NENNEN AT TRACERO lt IP gt Interval lt MaxHops gt lt Mi Trace the route to the IP address provided UTE nHops gt lt TOS gt Ex AT TRACEROUTE 74 125 155 103 If 1 UART Message is Disabled When Auto AT XDUM 1 disable 0 enable Connection Mode KATeXEHT n 0 n O disable 1 enable 1 enable If 1 Hardware Trigger is Enabled Table 27 Miscellaneous WizFi 210 User Manual WIZnet Co Ltd 29 WiZnet 5 Warranty WIZnet Co Ltd offers the following limited warranties applicable only to the original purchaser This offer is non transfera
28. net Co Ltd 17 IZnet as needed However the Adapter does not accept any new TCP UDP client server or data connection requests The ATO command terminated by the ASCII character O not the number 0 is used to return to data mode Applying the AT XEHT 1 command Enable Hardware Trigger you can change between data mode and command mode using GPIO 10 without escape sequence Using D2 GPIO 31 DA GPIO 28 of WizFi210 you can see if the WizFi210 is associated to the AP and if serial to wifi network channel is normal And applying the AT XDUM z1 command Disable UART Message all UART messages are blocked in data mode In this situation you have to check the signal of GPIO 28 and GPIO 31 to know disassociation or network connection closed In data mode the Nagle Algorithm Wait Time can be used to buffer any characters to be sent in order to avoid sending a large number of packets with small payloads onto the network The wait time is specified in units of 10 milliseconds This functionality is available for both UDP and TCP connections 4 Response Codes The possible responses sent by the Adapter to the serial host are described below The Response Codes can be distinguished into codes resulting from the AT Command or not There are Carriage Return Wr OxOd and Line Feed Wn Ox0a above and below ASCII STRING If you send at string and Line Feed to the WizFi210 at Line Feed 0x61 0x74
29. ocatio Format Binary 0 Hex 1 AT WEAP n gt NE Size size of the file to be transferred lt ESC gt W data of size above Location Flash 0 Ram 1 Ex AT WEAP 2 0 100 0 cont Esc W data Table 19 Wi Fi security WizFi 210 User Manual WIZnet Co Ltd 24 WiZnet 6 Wireless configuration Command Parameters Responses Effects If 1 802 11 radio is enabled AT WRXACTIVE n 0 disable 1 enable Ex AT WRXACTIVE 1 If 1 Power Save mode is enabled AT WRXPS n 0 disable 1 enable Ex AT WRXPS 1 AT MCSTSET n 0 disable 1 enable If 1 multicast reception is enabled power 0 to 7 WizFi210 Transmit power set to power 2 to 15 WizFi220 Ex AT WP 0 Configure the sync loss interval AT WSYNCINTRL n 1 to 65535 Ex AT WSYNCINTRL 30 Enable disable the external PA AT EXTPA n 0 disable 1 enable Ex AT EXTPA 0 Configure the keep alive timer interval Ex AT PSPOLLINTRL 45 AT PSPOLLINTRL lt n gt 1 to 65535 Table 20 Wireless configuration 7 Network interface Parameters Responses Effects AT NDHCP n 0 disable 1 enable If 1 DHCP is enabled Static network parameters overrides previous values lt Src Address gt lt Net mask gt AT NSET Ex lt Gateway gt AT NSET 192 168 3 100 255 255 255 0 192 168 al Query DNS server for address of hostname AT DNSLOOK UE URL retry timeout S URL is Ex AT DNSLOOKUP google
30. ored to factory default And if you click the GPIO10 button three times consecutively the WizFi210 is restored to factory default and will change to ad hoc mode to configure the WizFi210 via WiFi IP 192 168 1 254 Subnet 255 255 255 0 Gateway 192 168 1 1 GPID1O 1 300me H H 300me 1000mre Ad he Mode i 30 OOme 1O0nc Factor Defauk Figure 10 Factory Default and ad hoc mode As previously described GPIO10 is used for data command mode transition by applying AT XEHTz1 command But there should be no UART input in 300mS before and after sending signal to GPIO10 for mode transition time and buffer processing time WizFi 210 User Manual WIZnet Co Ltd 19 WiZnet 6 AT Command example AT Command examples are described below In this sample application the WizFi210 associate to the AP and open the serial to wifi channel automatically after reboot Description of each command is in the next chapter MCU gt WizFi210 WizFi210 MCU em R Description AT Command Echo and Result String T AT WD AT WD Disassociate OK a AT WWPA 12345678 AT WWPA 12345678 Set WPA passphrase OK AT NDHCP 1 AT NDHCP 1 Enable DHCP OK AT WAUTO 0 WizFiAP O AT WAUTO O WIZFIAP O Set WiFi Configuration OK H AT NAUTO 1 1 4000 AT NAUTO 1 1 4000 TCP Server Mode 4000 OK ATC1 ATC1 Auto Connect on next OK reboot p AT XEHT 0 AT XEHT 0 Disable Hardware Trigger OK AT XDUM 1 Disable UAR
31. tan Chip Antenna UART Interface ance External Interface JTAG ADC PWM 19Pin x 2Row Power Control 3 3V 18V 33v 12Pin x 1Row 1Pin PAD x 1Ea Step Down L 3 3V Power Input DC DC Converter 1 8V Power Output Total 49Pin PCB SMD PAD Figure 2 Block Diagram 11 Pin Description EXT ANT GND GND JTAG TCK GPIO2S JTAG TDO GPIO29 JTAG TDI GPIO30 JTAG_TMS GPIO31 JTAG_NTRST UARTO CTS GPIO24 ALARM UARTO RX GPIOO RTC OUT UARTO RTS GPIO25 VBAT UARTO TX GPIO1 DC DC CNTL UART1 TX GPIO2 ALARM2 UART1 RX GPIO3 ADC1 UART1 RTS GPIO27 ADC2 UART1 CTS GPIO26 MSPI MISO GPIO6 EXT RESETN MOSI GPIO YDDIO MSPI_CLK GPIOS EN 1 8 VOUT 1v8 VIN 33 GND oN w GND e a nzngourzrregs5s Sebega pE Z SSUELQOEROONE vd EOuuig ua cC 1 Be SERR8au zou ooos EE a oo o Figure 3 Pin description WizFi 210 User Manual WIZnet Co Ltd 9 WiZnet I PIN NAME M IN BIAS DESCRIPTION m pm fee JTAG TCK ES Pull up Joint Test Action Group Test Clock JTAG TDO ON Joint Test Action Group Test Data Out EF JTAG_TDI Pull up Joint Test Action Test Data In 05 _TMS 1 Pulup up Joint Test Action Joint Test Action Group Test Mode Select Test Mode Select Joint Test Action Group Test Mode Reset JTAG_NTRST Pull up Active Low Embedded Real Time Clock Wake Up Input ALARM1 Pull down Embedded Real Time Clock Wake Up RTC_OUT1
32. their products with minor impact on the host microcontroller firmware The WizFi210 provides all the hardware and software necessary to quickly set up a serial UART based link to a PC or external microcontroller The WizFi220 is a RF enhanced Product Except for RF Output Power the WizFi220 is similar in management and development to the WizFi210 In other words the WizFi220 will consume more power but it has the improved WiFi range All documents for the WizFi210 apply to the WizFi220 AP Me mon gt AT Commands 2 Payload Data Serial To WiFi WiFi j Customer Board Serial ce Z f Customer Server m wi ea ae ena Figure 1 Basic Diagram WizFi 210 User Manual WIZnet Co Ltd 1 IZnet 1 Benefits and Features W Brings Wi Fi connectivity to any device with a microcontroller and serial HOST interface UART BW Minimal Serial to Wi Fi driver footprint on host microcontroller and minor changes to existing host MCU firmware m Offloading of smaller host microcontrollers from the Wi Fi and TCP IP networking W Simple AT commands for configuration and data communication m DHCP Static IP TCP UDP Server Client DNS W Reduces development time testing and certification burden accelerating time to market W Easy device provisioning through our utility or Wi Fi Protected Set up WPS W Ultra low power consumption through dynamic power management E Operates with standard 802

Download Pdf Manuals

image

Related Search

Related Contents

Yorkville CX80P User's Manual  APC NEMA 5 15R 240J Power Supply User Manual  Desa SMS24 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file