Table of Contents

Advertisement

Quick Links

User Manual
WizFi360
FCC ID:2ATUB-WIZFI360PA
https://www.iwiznet.cn
Manufacture:WIZnet H.K. LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WizFi360 and is the answer not in the manual?

Questions and answers

Summary of Contents for Wiznet WizFi360

  • Page 1 User Manual WizFi360 FCC ID:2ATUB-WIZFI360PA https://www.iwiznet.cn Manufacture:WIZnet H.K. LTD.
  • Page 2 'RFXPHQW 5HYLVLRQ +LVWRU\ Revision Changes Date 2019.04.04 V1.0 Official Release WizFi360 User Manual...
  • Page 3 No license, express or implied, by estoppel or otherwise, is hereby granted. The Wi-Fi Alliance member logo is owned by the Wi-Fi Alliance. All trademark names, trademarks and registered trademarks mentioned herein are the property of their respective owners and are hereby acknowledged. WizFi360 User Manual...
  • Page 4: Table Of Contents

    AT+SYSRAM Checks the Remaining Space of RAM ..........19 10.1.2.9ˊ 10.1.2.10 ᧪AT+CIOMODE Configures the Mode of a GPIO ............. 20 10.1.2.11 ᧪AT+CIOWRITE Configures the Output Level of a GPIO ..........20 10.1.2.12 ᧪AT+CIOREAD Reads the GPIO Input Level ..............20 WizFi360 User Manual...
  • Page 5 Flash Flash 10.2.2.11. AT+CWSAP_DEF Configures the WizFi360 SoftAP; Configuration Saved in the Flash Flash 29 AT+CWLIF IP of Stations to Which the WizFi360 SoftAP is Connected ..... 29 10.2.2.12. AT+CWQAP Disconnect from the AP ..............30 10.2.2.13. AT+CWDHCP Enables/Disables DHCP ............. 30 10.2.2.14.
  • Page 6 AT+CWDHCP_CUR Enables/Disables DHCP; Configuration Not Saved in the Flash Enables/Disables DHCP; Configuration Saved in the Flash. 31 10.2.2.16. AT+CWDHCP_DEF AT+CIPSTA Sets the Current IP Address of the WizFi360 Station ....32 10.2.2.17. 10.2.2.18. AT+CIPSTA_CUR Sets the Current IP Address of the WizFi360, Configuration ....................32 Not Saved in the Flash 10.2.2.19.
  • Page 7 10.3.2.13. +IPD Receives Network Data ................44 10.3.2.14. AT+CIPSNTPCFG Sets the Configuration of SNTP ..........45 10.3.2.15. AT+CIPSNTPTIME Checks the SNTP Time ............45 10.3.2.16. 10.3.2.17. AT+CIPDNS_CUR Sets User-defined DNS Servers; Configuration Not Saved in the Flash WizFi360 User Manual...
  • Page 8 WizFi360 is a complete and self-contained WiFi network solution that can run independently or as a slave host MCU. The module can be booted directly from internal flash memory when it carries applications and acts as the only application processor in the device.
  • Page 9 • Support AT remote upgrade • Support for Smart Config (including Android and iOS devices) • Support HSPIǃUARTǃI2CǃI2SǃSDIO2.0ǃ7816 interfaceǃPWMǃGPIO • Integrated power supply control circuit • Standby power consumption less than10uA • Wake up, connect and transmit packets within 2ms WizFi360 User Manual...
  • Page 10 UART1 RX PB12 UART1 TX 5. Technical Specification Table 2 Technical Specifications Parameter Unit Input frequency 2400~2484 Sensitivty DSSS,1 Mbps CCK,11 Mbps OFDM,6 Mbps OFDM,54 Mbps HT20,MCS0 HT20,MCS7 HT40,MCS0 HT40,MCS7 Adjacent Channel restrain OFDM,6 Mbps OFDM,54 Mbps WizFi360 User Manual...
  • Page 11 SDIO 0x40000200~0x400002FF 0x40000300~0x400003FF SDIO Wrapper 0x40000400~0x400005FF 0x40000600~0x400006FF 0x40000700~0x400007FF Clock and Reset 0x40000000~ 0x40000000~ CONFIG 0x40000800~0x400009FF 0x40001FFF 0x40001FFF 0x40000A00~0x400013FF 0x40001400~0x400017FF 0x40001800~0x40001FFF 0x40002000~0x400021FF FLASH Controller 0x40002200~0x400028FF 0x40003200~0x400033FF GPSEC 0x40010000~0x400101FF I²C Master 0x40010000~ 0x40010000~ 0x40010200~0x400103FF 0x4003C000 0x4003C000 0x40010400~0x400107FF SPI Master WizFi360 User Manual...
  • Page 12 PB_13(I²C_SCL) operating PB_14(I²C_DAT) frequency˄100K-400K˅ . A device that can be connected to a UART UART0: interface. GPIOA_4(TXD) download˖ GPIOA_5(RXD) UART UART0_TXD,UART0_RXD UART1: Communication˖ PB_12(TXD) UART0_TXD,UART0_RXD PB_11(RXD) UART1_TXD,UART1_RXD Master˖ Support AMBA APB bus protocol, 32bit single PA_5(I²S_M_EXTCLK) read/write; WizFi360 User Manual...
  • Page 13: Rf Power Parameters

    9. RF Power Parameters Table 7 RF power parameters Operation Mode Unit transmit IEEE802.11b, CCK 11Mbps, POUT = +19 dBm transmit IEEE802.11g, OFDM 54Mbps, POUT = +13.5 dBm transmit IEEE802.11n, OFDM MCS7, POUT = +12dBm receive IEEE802.11b/g/n 100-110 WizFi360 User Manual...
  • Page 14: Command Description

    String values need to be included in double quotation marks, for example:AT+CWSAP= “WizFi360”, “WizFi360”,1,4. • The default baud rate is 115200 • AT commands have to be capitalized, and must end with a new line (CR LF). WizFi360 User Manual...
  • Page 15: Dvlf $7 &Rppdqgv

    AT+UART_CUR The current UART configuration. AT+UART_DEF The default UART configuration, saved in flash. AT+SYSRAM Checks the available RAM size. AT+CIOMODE Configures the mode of GPIO. AT+CIOWRITE Configures the GPIO output level AT+CIOREAD Checks the GPIO input level. WizFi360 User Manual...
  • Page 16: Commands

    <SDK version info>˖information about the SDK version. Parameters • <compile time>˖the duration of time for compiling the BIN. ˊ ATE 10.1.2.4 AT Commands Echoing Execute Command Response • ATE0˖echo off. Parameters • ATE1˖echo on. ˊ AT+RESTORE 10.1.2.5 Restores the Factory Default Settings WizFi360 User Manual...
  • Page 17: At+Uart Uart Configuration

    • The configuration changes will be saved in the user parameter area in Note the flash, and will still be valid when the chip is powered on again. • The range of baud rates supported˖2000000ˈ1500000ˈ1250000ˈ 1000000ˈ921600ˈ406800ˈ230400ˈ115200ˈ57600ˈ38400ˈ19200ˈ 9600ˈ4800ˈ2400ˈ1800ˈ1200ˈ600 WizFi360 User Manual...
  • Page 18 115200, the baud rate returned by using command AT+UART_CUR? could be 115273. Notes • The range of baud rates supported˖2000000ˈ1500000ˈ1250000ˈ 1000000ˈ921600ˈ406800ˈ230400ˈ115200ˈ57600ˈ38400ˈ19200ˈ 9600ˈ4800ˈ2400ˈ1800ˈ1200ˈ600 AT+UART_CUR=115200,8,1,0,0 Example ˊ AT+UART_DEF 10.1.2.8 Default UART Configuration; Saved in the Flash WizFi360 User Manual...
  • Page 19 • The range of baud rates supported˖2000000ˈ1500000ˈ1250000ˈ 1000000ˈ921600ˈ406800ˈ230400ˈ115200ˈ57600ˈ38400ˈ19200ˈ 9600ˈ4800ˈ2400ˈ1800ˈ1200ˈ600 AT+UART_DEF=115200,8,1,0,0 Example ˊ AT+SYSRAM Checks the Remaining Space of 10.1.2.9 AT+SYSRAM˛ Execute Command +SYSRAM:<RAM Response > OK <RAM>˖remaining space of RAM, unit: byte. Parameters WizFi360 User Manual...
  • Page 20: At+Ciomode

    -0˖ sets the GPIO as an input AT+CIOMODE=6,1 Example ˊAT+CIOWRITE 10.1.2.11 Configures the Output Level of a GPIO AT+CIOWRITE=<pin>,<level> Execute Command Response • <level>˖ -1˖high level Parameters -0˖low level AT+CIOMODE=6,1 Example AT+CIOWRITE=6,0 10.1.2.12 ˊAT+CIOREAD Reads the GPIO Input Level AT+CIOREAD=<pin> Execute Command WizFi360 User Manual...
  • Page 21 Response Parameters WizFi360 User Manual...
  • Page 22 AT+CIOREAD=6 Example WizFi360 User Manual...
  • Page 23: Wi-Fi At Commands

    Sets WizFi360 SoftAP AT+CWSAP_CUR Sets WizFi360 SoftAPˈconfiguration not saved in the flash AT+CWSAP_DEF Sets WizFi360 SoftAPˈconfiguration saved in the flash AT+CWLIF Gets the Station IP to which the WizFi360 SoftAP is connected. AT+CWQAP Disconnects from an AP. AT+CWDHCP Enables/Disables DHCP AT+CWDHCP_CUR Enables/Disables DHCP, configuration not saved in the flash.
  • Page 24: Commands

    AT+CIPAP_CUR Sets the IP address of the WizFi360 SoftAP, configuration not saved in the flash. AT+CIPAP_DEF Sets the IP address of the WizFi360 SoftAP, configuration saved in the flash. AT+CIPSTAMAC_CUR Sets the IP address of the WizFi360 Station MAC, not configuration saved in the flash.
  • Page 25: At+Cwjap Connects To An Ap

    Connects to an AP AT+CWJAP? AT+CWJAP=<ssid>,<pwd>[,<bssid>] Commands +CWJAP:<ssid>,<bssid>,<channel>, <rssi> Response +CWJAP:<error code> FAIL • <ssid>˖the SSID of the target AP. • <ssid>˖the SSID of the target AP. Parameters • <bssid>˖the target AP’s MAC address • <pwd>˖password, MAX: 64-byte WizFi360 User Manual...
  • Page 26: At+Cwjap_Cur Connects To An Ap; Configuration Not Saved In The Flash

    <error code>˖(IRU UHIHUHQFH RQO\) 1˖connection timeout. Parameters ▶ 2˖wrong password. ▶ 3˖cannot find the target AP. ▶ 4˖connection failed. ▶ This command requires Station mode to be enabled.Escape character syntax is needed if SSID or password contains any special WizFi360 User Manual...
  • Page 27: At+Cwjap_Def Connects To An Ap; Configuration Saved In The Flash

    The configuration changes will be saved in the system parameter area in the flash. Note • If multiple APs have the same SSID, the target AP can be found by BSSID AT+CWJAP_DEF=”WIZnet”,”wiznet2018”,”f4:83:cd:9e:d4:40” Examples 10.2.2.7. AT+CWLAPOPT Sets the Configuration for the Command AT+CWLAP AT+CWLAPOPT=<sort_enable>,<mask> Command Response WizFi360 User Manual...
  • Page 28: At+Cwlap Lists Available Aps

    Parameters 4˖WPA_WPA2_PSK ▶ • <ssid>˖string parameter, SSID of the AP • <rssi>˖signal strength • <mac>˖string parameter, MAC address of the AP. • <channel>˖channel number AT+CWLAP Examples 10.2.2.9. AT+CWSAP Configures the WizFi360 SoftAP AT+CWSAP=<ssid>,<pwd>, AT+CWSAP? Commands <chl>,<ecn>[,<max conn>][,<ssid WizFi360 User Manual...
  • Page 29: Flash Flash

    ▶ 2:WPA_PSK ▶ Parameters 3:WPA2_PSK ▶ • [<max conn>]( optional˅˖maximum number of Stations to which WizFi360 SoftAP can be connected; within the range of [1, 4]. • [<ssid hidden>]( optional˅˖ 0: SSID is broadcasted. (the default ▶ setting) 1: SSID is not broadcasted ▶...
  • Page 30: At+Cwlif Ip Of Stations To Which The Wizfi360 Softap Is Connected

    <mac>˖MAC address of Stations to which WizFi360 SoftAP is connected • This command cannot get a static IP. It only works when both DHCPs of the Note WizFi360 SoftAP, and of the Station to which WizFi360 is connected, are WizFi360 User Manual...
  • Page 31: At+Cwqap Disconnect From The Ap

    <mode>: • Bit0: 0: Sets WizFi360 SoftAP ▶ 0:SoftAP DHCP is disabled 1: Sets WizFi360 Station ▶ ▶ 1:SoftAP DHCP is enabled 2: Sets WizFi360 SoftAP and ▶ ▶ Parameters • Bit1: Station 0:Station DHCP is disabled • <en>: ▶...
  • Page 32: At+Cwdhcp_Def

    1:SoftAP DHCP is enabled 1: Sets WizFi360 Station ▶ ▶ • Bit1: 2: Sets WizFi360 SoftAP and ▶ 0:Station DHCP is disabled Station ▶ • 1:Station DHCP is enabled <en>: ▶ 0: Disables DHCP ▶ 1: Enables DHCP ▶ •...
  • Page 33: Not Saved In The Flash

    10.2.2.17. AT+CIPSTA Sets the Current IP Address of the WizFi360 Station AT+CIPSTA? AT+CIPSTA=<ip>[,<gateway>,<netmask>] Commands +CIPSTA:<ip> +CIPSTA:<gateway> Response +CIPSTA:<netmask> Notice˖ • <ip>˖string parameter, he IP address of the Only when the WizFi360 WizFi360 Station Station is connected to an Parameters •...
  • Page 34: At+Cipap Sets The Ip Address Of The Wizfi360 Softap

    - If DHCP is enabled, static IP will be disabled; - Whether it is DHCP or static IP that is enabled depends on the last configuration AT+CIPSTA_DEF=”192.168.10.100”,”192.168.10.1”,”255.255.255.0” Example 10.2.2.20. AT+CIPAP Sets the IP Address of the WizFi360 SoftAP Commands AT+CIPAP? AT+CIPAP=<ip>[,<gateway>, <netmask>] +CIPAP:<ip> +CIPAP:<gateway>...
  • Page 35 Configuration Not Saved in the Flash Commands AT+CIPAP_CUR? AT+CIPAP_CUR=<ip>[,<gateway>,<netmask>] +CIPAP_CUR˖<ip> +CIPAP_CUR˖<gateway> Response +CIPAP_CUR˖<netmask> • <ip>: string parameter, the IP address of the WizFi360 SoftAP. • [<gateway>]: gateway. Parameters • [<netmask>]: netmask. • The configuration changes will not be saved in the flash •...
  • Page 36 The configuration changes will NOT be saved in the flash. • The MAC address of WizFi360 SoftAP is different from that of the WizFi360 Station. Please make sure that you do not set the same MAC address for both of Notes them.
  • Page 37: At+Cwstartsmart Starts Smartconfig

    <mac>˖string parameter, MAC address of the WizFi360 Station Parameters • The MAC address of WizFi360 SoftAP is different from that of the WizFi360 Station. Please make sure that you do not set the same MAC address for both of them.
  • Page 38: At+Cwautoconn Auto-Connects To The Ap Or Not

    10.2.2.27. AT+CWAUTOCONN Auto-Connects to the AP or Not AT+ CWAUTOCONN Command Response <enable>˖ -0: does NOT auto-connect to AP on power-up. Parameters -1: connects to AP automatically on power-up. The WizFi360 Station connects to the AP automatically on power-up by default AT+CWAUTOCONN=0 Example WizFi360 User Manual...
  • Page 39: Tcp/Ip-Related At Commands

    Configures the multiple connections mode AT+CIPSERVER Deletes/Creates a TCP server AT+CIPMODE Configures the transmission mode AT+CIPSTO Sets timeout when WizFi360 runs as TCP server AT+PING Ping AT+CIUPDATE Upgrades the software through network AT+CIPDINFO Shows remote IP and remote port with +IPD...
  • Page 40: Tcp Connection

    1 ~ 7200: detection time interval; unit: second (s). ▶ AT+CIPSTART=”TCP”,”www.baidu.com”,9527 Examples AT+CIPSTART=”TCP”,”192.168.4.2”,1000 UDP Transmission: Single connection (AT+CIPMUX=0): Multiple connections (AT+CIPMUX=1): AT+CIPSTART=<type>,<remote IP>, AT+CIPSTART=<link ID>,<type>, <remote port>[,(<UDP local port>), <remote IP>,<remote port> Command (<UDP mode>)] [,(<UDP local port>),(<UDP mode>)] Response WizFi360 User Manual...
  • Page 41: At+Cipsend

    <remoteIP>: string parameter indicating the remote IP address. • <remote port>˖remote port number. • [<UDP local port>]: optional; UDP port of WizFi360. Parameters • [<UDP mode>]: optional. In the UDP transparent transmission, the value of this parameter has to be 0.
  • Page 42: At+Cipsendex

    AT command. • When sending \0, please send it as \\0. 10.3.2.5. AT+CIPCLOSE Closes the TCP/UDP Connection AT+CIPCLOSE=<link ID> AT+CIPCLOSE Commands Response <linkID>: ID of the connection to be Parameters closed. When ID is 5, all connections WizFi360 User Manual...
  • Page 43: At+Cifsr Gets The Local Ip Address

    Execute AT+CIFSR Command +CIFSR:APIP,<SoftAP IP address> +CIFSR:APMAC,<SoftAP MAC address> +CIFSR:STAIP,<Station IP address> Response +CIFSR:STAMAC,<Station MAC address> <IP address> WizFi360 SoftAP ip address WizFi360 Station ip address Parameters <MAC address> WizFi360 SoftAP mac address WizFi360 Station mac address • ᐕ ᔿ...
  • Page 44: At+Cipmode Sets Transmission Mode

    The configuration changes will NOT be saved in flash. • During the UART-Wi-Fi passthrough transmission, if the TCP connection breaks, WizFi360 will keep trying to reconnect until +++ is input to exit the Notes transmission. If it is a normal TCP transmission and the TCP connection breaks, WizFi360 will give a prompt and will not attempt to reconnectDŽ...
  • Page 45: At+Ping Ping Packets

    • WizFi360 configured as a TCP server will disconnect from the TCP client that does not communicate with it until timeout. Notes • If AT+CIPSTO=0, the connection will never time out. This configuration is not recommended AT+CIPMUX=1 AT+CIPSERVER=1,1001 Example AT+CIPSTO=10 10.3.2.11.
  • Page 46: At+Cipsntpcfg Sets The Configuration Of Sntp

    +CIPSNTPTIME:<time> Response <time>˖SNTP time For example˖ Parameters +CIPSNTPTIME:Wed Sep 19 17:58:34 2018 AT+CWMODE=1 // set as station mode AT+CWJAP=”WIZnet”,”wiznet2018” // connect to router,accessthe internet Example AT+CIPSNTPTIME? // get time 10.3.2.17. AT+CIPDNS_CUR Sets User-defined DNS Servers; Configuration Not WizFi360 User Manual...
  • Page 47 Note • For command: AT+CIPDNS_DEF=1 (enable to use user-defined DNS servers, but the <DNS server> parameters are not set), servers "208.67.222.222" will be used as DNS server by default. WizFi360 User Manual...
  • Page 48 AT+CIPDNS_DEF=1ˈ"8.8.8.8" Example WizFi360 User Manual...
  • Page 49 ATE0\r\n \\ Echo Off OK\r\n AT+CWMODE=1\r\n \\ Set WizFi360 to station OK\r\n AT+CWDHCP=0,1\r\n \\Set WizFi360 to station and open DHCP OK\r\n AT+CWJAP=”wiznetsz”,”wiznetsz”\r\n \\ Connects to an AP OK\r\n 12. &RQWDFW XV WIZnet H.K. Ltd. Address: Room 511, Enterprise Plaza, 5 West Science and Technology Avenue, Hong Kong Science Park, Shatin,...
  • Page 50 Single Module FCC Statement This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment.

Table of Contents