PAN9520 Embedded Wi-Fi Module Module Integration Guide Rev. 1.
e Integration Guide Rev. 1.
PAN9520 Wi-Fi Module Overview The PAN9520 is a 2.4 GHz ISM band Wi-Fi embedded module based on Espressif ESP32-S2, which includes a wireless radio and a MCU for easy integration of Wi-Fi connectivity into various electronic devices. Features • Embedded 2.4 GHz Wi-Fi 802.
PAN9520 Wi-Fi Module By purchase of any of the products described in this document the customer accepts the document's validity and declares their agreement and understanding of its contents and recommendations. Panasonic Industrial Devices Europe GmbH (Panasonic) reserves the right to make changes as required at any time without notification. Please consult the most recently issued Module Integration Guide before initiating or completing a design. © Panasonic Industrial Devices Europe GmbH 2021.
PAN9520 Wi-Fi Module The third-party tools mentioned in this document are offered by independent third-party providers who are solely responsible for these products. Panasonic has no responsibility whatsoever for the performance, product descriptions, specifications, referenced content, or any and all claims or representations of these third-party providers.
PAN9520 Wi-Fi Module Table of Contents 1 About This Document......................................................................................................................... 7 1.1 Purpose and Audience .............................................................................................................. 7 1.2 Revision History ......................................................................................................................... 7 1.3 Use of Symbols .................
PAN9520 Wi-Fi Module 1 About This Document 1 About This Document 1.1 Purpose and Audience This Module Integration Guide is intended to support the easy integration of the PAN9520 into a product and to ensure the compliance with regulatory requirements. This guide gives an overview about the hardware design requirements. It is intended for hardware design, application, and Original Equipment Manufacturers (OEM) engineers.
PAN9520 Wi-Fi Module 1 About This Document Symbol Description This font GUI text Indicates fixed terms and text of the graphical user interface. Example: Click Save. Menu > Menu item Path Indicates a path, e.g. to access a dialog. Example: In the menu, select File > Setup page. This font File names, messages, user input Indicates file names or messages and information displayed on the screen or to be selected or entered by the user. Examples: pan1760.c contains the actual module initialization.
PAN9520 Wi-Fi Module 2 Overview 2 Overview The PAN9520 is a 2.4 GHz 802.11 b/g/n embedded Wi‑Fi module based on Espressif's ESP32S2 that includes the powerful Xtensa® 32-bit LX7 CPU. An integrated chip antenna and QSPI memory enable the module to be used in a variety of stand-alone or host-controlled applications. The integrated crystal ensures connection performance over full temperature range and lifetime.
PAN9520 Wi-Fi Module 3 PAN9520 Module 3 PAN9520 Module 3.1 Block Diagram Module Integration Guide Rev. 1.
PAN9520 Wi-Fi Module 3.2 3 PAN9520 Module Footprint The dimensions are in millimeters. The outer dimensions have a tolerance of ±0.35 mm.
PAN9520 Wi-Fi Module 3.3 3 PAN9520 Module Placement Antenna “Keep out Area” Do not place any ground plane under the marked restricted antenna area in any layer! This would be affecting the performance of the chip antenna in a critical manner. Impact of Placement on the Antenna Radiation Pattern The placement of the module, surrounding material, and customer components has an impact on the radiation pattern of the antenna. The recommendation for the ground plane is based on a FR4 4-Layer PCB.
PAN9520 Wi-Fi Module 3 PAN9520 Module The antenna requires a cutout area of 5 mm x 3.3 mm under the PAN9520 module. This “Keep out Area” shall be located in every layer under the module antenna. Note for example the “Keep out Area” in all four layers of the PAN9520 evaluation board. It is recommended to verify the perfect position of the module in the target application before fixing the design. All dimensions are in millimeters. Use a ground plane in the area surrounding the module wherever possible.
PAN9520 Wi-Fi Module 4 Power Supply 4 Power Supply The following conditions must be met: ✓ ✓ ✓ 4.1 The supply voltage must be free of AC ripple voltage (for example from a battery or a low noise regulator output). On the PAN9520 ETU, 10 µF decoupling capacitors on each supply terminal are used for this purpose. If there is much noise on the power delivery network, a filter network can be used intead. Decoupling capactitors/networks should be placed close to the module to reduce inductive effects.
PAN9520 Wi-Fi Module 5 RF Path Design 5 RF Path Design 5.1 External Antenna Antenna Warning The PAN9520’s modular approval is only valid if the on-board antenna is used. Other antennas have not been certified. OEMs must test the compliance of the product by themselves, if other antennas are used in the end product. The PAN9520 module has a 50 RF pin (SMD pad). Connect an external antenna directly or via a connector (e.g. U.FL) with RF trace to this RF pin. This RF trace shall be matched to 50 5.
PAN9520 Wi-Fi Module 5 RF Path Design The dimensions of the used RF path are listed below: Trace width W = 178 µm Gap to GND G = 156 µm Copper thickness TH = 35 µm Height of substrate H = 127 µm Relative permittivity εr = 4.2 Loss tangent tan δ = 0.021 G G TH H εr, tan δ Module Integration Guide Rev. 1.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information 6 Regulatory and Certification Information 6.1 Integration Measures for a Valid Approval The modular approval of the PAN9520 is only valid if the OEM satisfies several requirements. These affect mainly the output power and the limitation of the operating channel range. This section describes how both can be controlled and what are the measures for a valid modular approval. The PAN9520 is distributed without software and to OEMs only.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information type wifi_country_t is needed as input. When the function is called, the settings of the linked input variable (*country) are stored to the module’s flash memory. https://docs.espressif.com/projects/esp-idf/en/v4.2/esp32s2/apireference/network/esp_wifi.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information Structure of type wifi_country_t Name Type Example Settings Description cc3 char array (3 cc[0-2] = [‘D’, ‘E’, ‘ ’] bytes) cc[0-2] = [‘U’, ‘S’, ‘ ‘] This array of three characters contains the two-digit country code (ISO/IEC3166-1) and an environmental setting (byte 3). Example codes are given for Germany (DE), USA (US), Canada (CA) and the European Union (EU).
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information nchan -1) of the AP’s country code settings and a passive scan is performed on the remaining channels. If the module is set to station/AP coexistence mode, the configured country code settings are used as long as the device hasn’t been connected to another AP. If the device is connected to another AP, the country code settings of the AP are used (also for the module’s AP).
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information #include "exmpl_error_check.h" #include "esp_wifi.h" esp_err_t error_code; wifi_country_t cc_eu_auto wifi_country_t* cc_eu_auto_pt = {{'E', 'U', ' '}, 1, 13, 64, WIFI_COUNTRY_POLICY_AUTO}; = &cc_eu_auto; error_code = wifi_set_country(cc_eu_auto_pt); check_error_code(error_code); Further Reading “Wi-Fi Country Code” general description: https://docs.espressif.com/projects/espidf/en/v4.2/esp32/api-guides/wifi.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information Example (Canada, Manual Policy) This example illustrates the configuration via AT commands. The country code has been chosen to be CA for Canada and the range of allowed channels are set to 1 to 11 accordingly. The device shall always use the configured country code settings, which causes the paratmeter country_policy to be one. Following figure shows the related serial communication. Further Reading AT command description: https://docs.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information All limits have been determined using the module’s integrated chip antenna. For limiting the power, there are several options that are explained in this section. These are: 1. Using a phy_init_data binary (stored into a corelated partition) to limit the power for each channel and modulation (ESP-IDF and AT firmware). 2. Editing and using the phy_init_data implemented in the user application’s source code (ESP-IDF).
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information Power Values Beginning with the first step of the example configuration process, six power values are defined. They are stored in bytes 52 to 57 (0x34 to 0x39) of the binary data and are called txpwr_qdb_0 to txpwr_qdb_5. A value written to such a byte corelates to 4*[power in dBm]. The following table shows values of the recommended binary files (for RED and FCC/IC).
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information Configuring the values txpwr_qdb_0 to txpwr_qdb_5 also defines 11 imaginary power levels. These are called TX Power Limit and depend on the defined values as follows. Name Power in dBm Depending on Conf.
PAN9520 Wi-Fi Module Name 6 Regulatory and Certification Information Byte Position in Binary Affected Data Rate / MCS 58 (0x3A) 11g: 6 & 9 Mbit/s 59 (0x3B) 11g: 12 Mbit/s 60 (0x3C) 11g: 18 Mbit/s 61 (0x3D) 11g: 24 Mbit/s 62 (0x3E) 11g: 36 Mbit/s 63 (0x3F) 11g: 48 Mbit/s 64 (0x40) 11g: 54 Mbit/s txpwr_index_7 65 (0x41) txpwr_index_11b_en5 txpwr_qdb Index RED FCC / IC 0x01 16 dBm 16 dBm 0x01 0x01 16 dBm 16 dBm 0x01 0x01 16 dBm 16 dBm 0x01 0x01 16 dBm 16 dBm 0x01 0x01
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information Bytes mpwr_cbw20_chan1 to mpwr_cbw20_chan1 are stored at byte positions 70 to 83 and configure the power limits for the 20 MHz channels. Each of these bytes is separated into two nibbles: bit[3:0] (low nibble) and bit[7:4] (high nibble). The low nibble configures the limit for standards 802.11g and 802.11n. The high nibble configures the limit for standard 802.11b.
PAN9520 Wi-Fi Module Name mpwr_cbw20_chan8 6 Regulatory and Certification Information Byte Position in Binary Notes 77 (0x4D) Bit[3:0]: 11g/n TX Power Limit Index RED N/A FCC / IC 0x01 Bit[7:4]: 11b mpwr_cbw20_chan9 78 (0x4E) Bit[3:0]: 11g/n 79 (0x4F) Bit[3:0]: 11g/n N/A 0x01 80 (0x50) Bit[3:0]: 11g/n N/A 0x04 81 (0x51) Bit[3:0]: 11g/n N/A 0x04 82 (0x52) Bit[3:0]: 11g/n N/A 0xAA 83 (0x53) Bit[3:0]: 11g/n N/A 0xAA 84 (0x54) Bit[3:0]: ch 3 N/A 0xAA 85 (0x55) Bit[3:0]: ch
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information Enabling the Usage of a Phy Init Data Binary Per default the PAN9520 will use the phy init data defined by the source code. If a binary file shall be used, a small setting must be applied in the project configuration before the project is compiled. The project configuration can be changed by using the command idf.py menuconfig in the ESP-IDF command line tool. After opening the menu, the setting can be applied under: Component config > PHY.
PAN9520 Wi-Fi Module 6.1.2.2 6 Regulatory and Certification Information Editing the Phy Init Data in the Source Code Per deault, the phy init data set defined in the source code is used by the PAN9520. Therefore, adapting this data is also an option to comply with the regulations. The data can be found in the ESP-IDF folder: [ESP-IDF] > components > esp_wifi > esp32s2 > include > phy_init_data.h. The structure phy_init_data of type phy_init_data_t contains the configuration bytes.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information /** * @brief Structure containing default recommended PHY initialization parameters. */ static const esp_phy_init_data_t phy_init_data= { { 3, 0, 0x04, 0x05, 0x04, 0x05, 0x05, 0x04, 0x06, 0x06, 0x06, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0x05, 0x09, 0x06, 0x05, 0x03, 0x06, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, Module Integration Guide Rev. 1.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information 0xf4, 0xf8, 0xf8, 0xf0, 0xf0, 0xf0, 0xe0, 0xe0, 0xe0, 0x18, 0x18, 0x18, /* Start of Power Value Definitions */ 56, // byte 44 (byte 52 in binary) 56, // byte 45 (byte 53 in binary) 56, // byte 46 (byte 54 in binary) 56, // byte 47 (byte 55 in binary) 56, // byte 48 (byte 56 in binary) 52, // byte 49 (byte 57 in binary) /* Start of Power Settings (Modulation) */ 0, // byte 50 (byte 58 in binary) 0, // byte 51 (byte 59 in bina
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information 0, // byte 63 (byte 71 in binary) 0, // byte 64 (byte 72 in binary) 0, // byte 65 (byte 73 in binary) 0, // byte 66 (byte 74 in binary) 0, // byte 67 (byte 75 in binary) 0, // byte 68 (byte 76 in binary) 0, // byte 69 (byte 77 in binary) 0, // byte 70 (byte 78 in binary) 0, // byte 71 (byte 79 in binary) 0, // byte 72 (byte 80 in binary) 0, // byte 73 (byte 81 in binary) 0, // byte 74 (byte 82 in binary) 0, // byte
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information 0, 0, 0, 0, 0, 0, 0, } }; Phy Init Data for RED (above) Module Integration Guide Rev. 1.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information /** * @brief Structure containing default recommended PHY initialization parameters. */ static const esp_phy_init_data_t phy_init_data= { { 3, 0, 0x04, 0x05, 0x04, 0x05, 0x05, 0x04, 0x06, 0x06, 0x06, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0x05, 0x09, 0x06, 0x05, 0x03, 0x06, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, Module Integration Guide Rev. 1.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information 0xf4, 0xf8, 0xf8, 0xf0, 0xf0, 0xf0, 0xe0, 0xe0, 0xe0, 0x18, 0x18, 0x18, /* Start of Power Value Definitions */ 72, // byte 44 (byte 52 in binary) 64, // byte 45 (byte 53 in binary) 60, // byte 46 (byte 54 in binary) 56, // byte 47 (byte 55 in binary) 52, // byte 48 (byte 56 in binary) 48, // byte 49 (byte 57 in binary) /* Start of Power Settings (Modulation) */ 1, // byte 50 (byte 58 in binary) 1, // byte 51 (byte 59 in bina
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information 0x04, // byte 63 (byte 71 in binary) 0x01, // byte 64 (byte 72 in binary) 0x01, // byte 65 (byte 73 in binary) 0x01, // byte 66 (byte 74 in binary) 0x01, // byte 67 (byte 75 in binary) 0x01, // byte 68 (byte 76 in binary) 0x01, // byte 69 (byte 77 in binary) 0x01, // byte 70 (byte 78 in binary) 0x04, // byte 71 (byte 79 in binary) 0x04, // byte 72 (byte 80 in binary) 0xAA, // byte 73 (byte 81 in binary) 0xAA, // byte
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information 0, 0, 0, 0, 0, 0, 0, } }; Phy Init Data for FCC / IC (above) 6.2 General Certification Information For further certification requests for other radio software please contact Panasonic 8 Contact Details. 6.3 6.3.1 Federal Communications Commission (FCC) for US FCC Statement The following FCC statement has to be printed in the OEM end product user information: This device complies with part 15 of the FCC Rules.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
PAN9520 Wi-Fi Module 6.3.5 6 Regulatory and Certification Information Approved Antenna List Item Part Number Manufacturer 1 ANT016008LCS2442MA1 TDK 6.3.6 Frequency Band Type 2.4 GHz Chip Antenna Max. Gain (dBi) 1.6 RF Exposure To comply with FCC RF Exposure requirements, the OEM must ensure that only antennas from the Approved Antenna List are installed 6.3.5 Approved Antenna List.
PAN9520 Wi-Fi Module 6.4 6 Regulatory and Certification Information Innovation, Science, and Economic Development (ISED) for Canada The following IC rules have to be followed by end product OEM’s: English The PAN9520 is licensed to meet the regulatory requirements of ISED.
PAN9520 Wi-Fi Module 6 Regulatory and Certification Information French PAN9520 est garanti conforme aux dispositions règlementaires d’Industry Canada (ISED). License: IC: 216Q-9520 HVIN: ENW49D01A1KF ENW49D02A1KF Il est recommandé aux fabricants d’appareils fixes, mobiles ou portables de consulter la réglementation en vigueur et de vérifier la conformité de leurs produits relativement aux limites d’exposition aux rayonnements radiofréquence ainsi qu’au débit d’absorption spécifique maximum autorisé.
PAN9520 Wi-Fi Module 6.4.1 6 Regulatory and Certification Information IC Notice The following IC notice has to be printed in English and French in the OEM end product user information: English The device PAN9520, including the integrated antenna mentioned in 6.3.5 Approved Antenna List, complies with Canada RSS-GEN Rules. The device meets the requirements for modular transmitter approval as detailed in RSS-Gen.
PAN9520 Wi-Fi Module 6.4.2 6 Regulatory and Certification Information Labeling Requirements The following IC labelling requirements have to be followed by end product OEM’s: English Labeling Requirements The OEM must ensure that IC labelling requirements are met. This includes a clearly visible label on the outside of the OEM enclosure specifying the appropriate Panasonic IC identifier for this product as well as the IC Notice above.
PAN9520 Wi-Fi Module 6.5 6 Regulatory and Certification Information European Conformity According to RED (2014/53/EU) All modules described in this Module Integration Guide comply with the standards according to the following LVD (2014/35/EU), EMC-D (2014/30/EU) together with RED (2014/53/EU) articles. Standards • • The end product OEM has to re-assess the conformity of the end product to EU regulations, but can use the PAN9520 RED pre-assessment to shorten this procedure.
PAN9520 Wi-Fi Module 7 Restricted Use 7 Restricted Use 7.
PAN9520 Wi-Fi Module 8 Contact Details 8 Contact Details 8.1 Contact Us Please contact your local Panasonic Sales office for details on additional product options and services: For Panasonic Sales assistance in the EU, visit https://eu.industrial.panasonic.com/about-us/contact-us Email: wireless@eu.panasonic.com For Panasonic Sales assistance in North America, visit the Panasonic website “Sales & Support” to find assistance near you at https://na.industrial.panasonic.