Advertisement

Quick Links

WizFi320 User Manual
WizFi320 User Manual
(Version 0.1)
FCC ID : 2AKKW-WIZFI320
© 2021 WIZnet Co., Ltd. All Rights Reserved.
For more information, please visit our website at
http://www.wiznet.io/
© Copyright 2021 WIZnet Co., Ltd. All rights reserved.
1

Advertisement

Table of Contents
loading

Summary of Contents for Wiznet WizFi320

  • Page 1 WizFi320 User Manual WizFi320 User Manual (Version 0.1) FCC ID : 2AKKW-WIZFI320 © 2021 WIZnet Co., Ltd. All Rights Reserved. For more information, please visit our website at http://www.wiznet.io/ © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 2 WizFi320 User Manual Document Revision History Version Date Revision Description 2021/06/10 Initial draft © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 3: Table Of Contents

    Wi-Fi Radio ....................11 BLE Radio ....................12 4.6 Reflow Profile ......................13 4.7 Recommended PCB Land Pattern ...............14 testing Guide line ........................15 5.1 Peripheral Circuit Reference Design ..............15 5.2 Wi-Fi AT Commands ...................16 © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 4: Overview

    WizFi320 User Manual 1. Overview WizFi320 is a powerful, generic Wi-Fi+BT+BLE MCU module that targets a wide variety of applications ranging from low-power sensor networks to the most demanding tasks. At the core of this module is the ESP32-DOWD-V3 chip. The chip embedded is designed to be scalable and adaptive.
  • Page 5 Average: 80 mA Minimum current delivered by power 500 mA Recommended operating temperature -40℃~ +85℃ Package size (16±0.10) mm x (24±0.10) mm x (3±0.10) mm Moisture sensitivity level (MSL) Level 3 © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 6: Pin Definitions

    WizFi320 User Manual 2. Pin Definitions 2.1 Pin Layout Figure 1: WizFi320 Pin Layout (Top View) © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 7: Pin Description

    WizFi320 User Manual 2.2 Pin Description WizFi320 has 38 pins. See pin definitions in Table 2. Table 2: Pin Definitions Name Type Function Module-enable signal. Active high. IO27 GPIO27, ADC2_CH7, TOUCH7, RTC_GPIO17, EMAC_RX_DV PIO0, ADC2_CH1, TOUCH1, RTC_GPIO11, CLK_OUT1, EMAC_TX_CLK IO25...
  • Page 8: Functional Description

    ID. 3.2 External Flash WizFi320 integrates a 4 MB SPI flash, which is connected to GPIO6, GPIO7, GPIO8, GPIO9, GPIO10 and GPIO11 of ESP32. 3.3 Crystal Oscillators The module uses a 40-MHz crystal oscillator.
  • Page 9: Electrical Characteristics

    Parameter Typical Unit VDD33 Power supply voltage Current delivered by external power supply Operating temperature °C 4.3 DC Characteristics (3.3 V, 25 °C) Table 5: DC Characteristics (3.3 V, 25 °C) © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 10 WizFi320 User Manual © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 11: Wi-Fi Radio

    2. For the modules that use IPEX antennas, the output impedance is 50 Ω other modules without IPEX antennas, users do not need to concern about the output impedance. 3. Target TX power is configurable based on device or certification requirements. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 12: Ble Radio

    F = F0 ± 3 MHz –55 power F = F0 ± > 3 MHz –60 ∆ f1avg ∆ f2max 133.7 ∆ f2avg/∆ f1avg 0.92 ICFT –7 Drift rate kHz/50 µs Offset © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 13: Reflow Profile

    WizFi320 User Manual 4.6 Reflow Profile Figure2: Reflow Profile © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 14: Recommended Pcb Land Pattern

    WizFi320 User Manual 4.7 Recommended PCB Land Pattern © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 15: Testing Guide Line

    WizFi320 User Manual 5. testing Guide line 5.1 Peripheral Circuit Reference Design © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 16: Wi-Fi At Commands

    [ESP32 Only] AT+CWJEAP: Connect to a WPA2 Enterprise AP. AT+CWHOSTNAME: Query/Set the host name of an ESP station. • • AT+CWCOUNTRY: Query/Set the Wi-Fi Country Code. AT+CWMODE: Query/Set the Wi-Fi Mode (Station/SoftAP/Station+SoftAP) Query Command Function: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 17 1: The ESP device will automatically connect to an AP if the configuration to connect to the AP has already been saved in flash before. Note • The configuration changes will be saved in the NVS area if AT+SYSSTORE=1. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 18 AP, it is recommended to use AT+CWJAP to query Wi-Fi information. AT+CWJAP: Connect to an AP Query Command Function: Query the AP to which the ESP Station is already connected. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 19 Execute Command Function: Connect an ESP station to a targeted AP with last Wi-Fi configuration. Command: AT+CWJAP Response: WIFI CONNECTED WIFI GOT IP [WIFI GOT IPv6 LL] [WIFI GOT IPv6 GL] © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 20 The device will connect to the scanned AP with the strongest signal. <jap_timeout>: maximum timeout for AT+CWJAP command. Unit: • second. Default: 15. Range: [3,600]. <pmf>: Protected Management Frames. Default: 0. • 0 means disable PMF. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 21 IPv6 address has been WIFI GOT IPv6 GL obtained. This address is combined by the prefix issued by AP and the suffix calculated internally, which requires the participation of the AP. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 22 Query the configuration of Wi-Fi reconnect. Command: AT+CWRECONNCFG? Response: +CWRECONNCFG:<interval_second>,<repeat_count> Set Command Function: Set the configuration of Wi-Fi reconnect. Command: AT+CWRECONNCFG=<interval_second>,<repeat_count> Response: Parameters <interval_second>: the interval between Wi-Fi reconnections. Unit: • second. Default: 0. Maximum: 7200. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 23 ERROR Parameters <reserved>: reserved item. • • <print mask>: determine whether the following parameters are shown in the result of AT+CWLAP. Default: 0x7FF. If you set them to 1, it means © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 24 5: determine whether APs with authmode WPA2_ENTERPRISE will be shown. bit 6: determine whether APs with authmode will be WPA3_PSK shown. bit 7: determine whether AP with authmode will WPA2_WPA3_PSK be shown. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 25 Function: List all available APs. Command: AT+CWLAP Response: +CWLAP:<ecn>,<ssid>,<rssi>,<mac>,<channel>,<freq_offset>,<freqcal_val>,<pairwise_cip her>,<group_cipher>,<bgn>,<wps> Parameters • <ecn>: encryption method. 0: OPEN 1: WEP 2: WPA_PSK 3: WPA2_PSK 4: WPA_WPA2_PSK 5: WPA2_ENTERPRISE 6: WPA3_PSK 7: WPA2_WPA3_PSK © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 26 1: bit to identify if 802.11g mode is enabled or not bit 2: bit to identify if 802.11n mode is enabled or not <wps>: wps flag. • 0: WPS disabled 1: WPS enabled Example AT+CWLAP="Wi-Fi","ca:d7:19:d8:a6:44",6,0,400,1000 Search with a designated SSID: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 27 <ssid>: string parameter showing SSID of the AP. • <pwd>: string parameter showing the password. Length: 8 ~ 64 bytes • ASCII. • <channel>: channel ID. <ecn>: encryption method; WEP is not supported. • 0: OPEN © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 28 This command cannot get a static IP. It works only when DHCP of both • the ESP SoftAP and the connected station are enabled. AT+CWQIF: Disconnect Stations from an ESP SoftAP Execute Command Function: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 29 Disconnect a specific station from the ESP SoftAP. Command: AT+CWQIF=<mac> Response: Parameter <mac>: MAC address of the station to disconnect. • AT+CWDHCP: Enable/Disable DHCP Query Command Command: AT+CWDHCP? Response: <state> Set Command Function: Enable/disable DHCP. Command: AT+CWDHCP=<operate>,<mode> Response: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 30 DHCP. If the last DHCP mode 3, the current DHCP mode will be AT+CWDHCP=0,2 AT+CWDHCPS: Query/Set the IP Addresses Allocated by an ESP SoftAP DHCP Server Query Command Command: AT+CWDHCPS? Response: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 31 The IP address should be in the same network segment as the IP address • of ESP SoftAP. Example AT+CWDHCPS=1,3,"192.168.4.10","192.168.4.15" AT+CWDHCPS=0 Disable the settings use the default IP address range. AT+CWAUTOCONN: Automatically Connect to an AP When Powered on Set Command © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 32 Protocol Standard of SoftAP Mode Query Command Command: AT+CWAPPROTO? Response: +CWAPPROTO=<protocol> Set Command Command: AT+CWAPPROTO=<protocol> Response: Parameters <protocol>: • bit0: 802.11b protocol standard. bit1: 802.11g protocol standard. bit2: 802.11n protocol standard. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 33 By default, PHY mode of ESP8266 device is 802.11bg mode, and PHY • mode of non ESP8266 device is 802.11bgn mode. AT+CIPSTAMAC: Query/Set the MAC Address of an ESP Station Query Command Function: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 34 “1a:…” but not “15:…”. FF:FF:FF:FF:FF:FF and 00:00:00:00:00:00 are invalid MAC address and • cannot be set. Example AT+CIPSTAMAC="1a:fe:35:98:d3:7b" AT+CIPAPMAC: Query/Set the MAC Address of an ESP SoftAP Query Command Function: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 35 “18:…” but not “15:…”. FF:FF:FF:FF:FF:FF and 00:00:00:00:00:00 are invalid MAC and cannot • be set. Example AT+CIPAPMAC="18:fe:35:98:d3:7b" AT+CIPSTA: Query/Set the IP Address of an ESP Station Query Command Function: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 36 The Set Command correlates with the commands that set DHCP, such • as AT+CWDHCP. If static IP address is enabled, DHCP will be disabled; If DHCP is enabled, static IP address will be disabled; © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 37 <”ip”>: string parameter showing the IPv4 address of the ESP SoftAP. • <”gateway”>: gateway. • <”netmask”>: netmask. • <”ipv6 addr”>: string parameter showing the IPv6 address of the ESP • SoftAP. Notes © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 38 1: ESP-TOUCH 2: AirKiss 3: ESP-TOUCH+AirKiss <auth floor>: Wi-Fi authentication mode floor. ESP-AT will not connect to • the AP whose authmode is lower than this floor. 0: OPEN (Default) 1: WEP © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 39 Irrespective of whether SmartConfig succeeds or not, please always • call AT+CWSTOPSMART before executing any other AT commands to release the internal memory taken up by SmartConfig. Example AT+CWMODE=1 AT+CWSTARTSMART AT+CWSTOPSMART AT+WPS: Enable the WPS Function © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 40 WPS can only be used when the ESP station is enabled. • WPS does not support WEP (Wired-Equivalent Privacy) encryption. • Example AT+CWMODE=1 AT+WPS=1 AT+MDNS: Configure the mDNS Function Set Command Command: AT+MDNS=<enable>[,<hostname>,<service_name>,<port>] Response: Parameters © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 41 Query the configuration information of the Enterprise AP to which the ESP station is already connected. Command: AT+CWJEAP? Response: +CWJEAP:<ssid>,<method>,<identity>,<username>,<password>,<security> Set Command Function: Connect to the targeted Enterprise AP. Command: AT+CWJEAP=<ssid>,<method>,<identity>,<username>,<password>,<security>[,<jeap_timeout >] Response: +CWJEAP:Timeout ERROR © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 42 AT+CWJEAP="dlink11111",1,"example@espressif.com","espressif","test11",0 Error Code: The WPA2 Enterprise error code will be prompt as ERR CODE:0x<%08x> AT_EAP_MALLOC_FAILED 0x8001 AT_EAP_GET_NVS_CONFIG_FAILED 0x8002 AT_EAP_CONN_FAILED 0x8003 AT_EAP_SET_WIFI_CONFIG_FAILED 0x8004 AT_EAP_SET_IDENTITY_FAILED 0x8005 © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 43 0x800F AT_EAP_ENABLE_FAILED 0x8010 AT_EAP_ALREADY_CONNECTED 0x8011 AT_EAP_GET_SSID_FAILED 0x8012 AT_EAP_SSID_NULL 0x8013 AT_EAP_SSID_LEN_ERROR 0x8014 AT_EAP_GET_METHOD_FAILED 0x8015 AT_EAP_CONN_TIMEOUT 0x8016 AT_EAP_GET_IDENTITY_FAILED 0x8017 AT_EAP_IDENTITY_LEN_ERROR 0x8018 AT_EAP_GET_USERNAME_FAILED 0x8019 AT_EAP_USERNAME_LEN_ERROR 0x801A AT_EAP_GET_PASSWORD_FAILED 0x801B AT_EAP_PASSWORD_LEN_ERROR 0x801C AT_EAP_GET_SECURITY_FAILED 0x801D AT_EAP_SECURITY_ERROR 0x801E © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 44 AT+CWHOSTNAME: Query/Set the Host Name of an ESP Station Query Command Function: Query the host name of ESP Station. Command: AT+CWHOSTNAME? Response: +CWHOSTNAME:<hostname> Set Command Function: Set the host name of ESP Station. Command: AT+CWHOSTNAME=<hostname> Response: © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 45 AT+CWCOUNTRY: Query/Set the Wi-Fi Country Code Query Command Function: Query Wi-Fi country code information. Command: AT+CWCOUNTRY? Response: +CWCOUNTRY:<country_policy>,<country_code>,<start_channel>,<total_channel_count> Set Command Function: Set the Wi-Fi country code information. Command: AT+ CWCOUNTRY=<country_policy>,<country_code>,<start_channel>,<total_channel_count> Response: Parameters © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 46 <start_channel>: the channel number to start. Range: [1,14]. <total_channel_count>: total number of channels. • Note The configuration changes are not saved in the flash. • Example AT+CWMODE=3 AT+CWCOUNTRY=1,"CN",1,13 Provide feedback about this document © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 47 Revision 1.0 (NOV,2019) 19 This module has been granted modular approval for mobile applications. OEM integrators for host products may use the module in their final products without © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 48 These modules are designed to comply with the FCC single modular FCC grant,WizFi320. The host system using this module must display a visible label indicating the following text: Contains FCC ID: 2AKKW-WIZFI320 © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 49 This module has been granted modular approval for mobile applications. OEM integrators for host products may use the module in their final products without additional FCC certification if they meet the following conditions. Otherwise, additional FCC approvals must be obtained. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.
  • Page 50 The final host / module combination may also need to be evaluated against the FCC Part 15B criteria for unintentional radiators in order to be properly authorized for operation as a Part 15 digital device. © Copyright 2021 WIZnet Co., Ltd. All rights reserved.

Table of Contents