ESPRESSIF SYSTEMS ESPWROOM32 Wi-Fi & Bluetooth Module User Manual
ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD Wi-Fi & Bluetooth Module Users Manual
Contents
- 1. Users Manual
- 2. User manual
Users Manual
ESP-WROOM-32 Datasheet Espressif Systems September 26, 2016 About This Guide This document lists the specifications for the ESP-WROOM-32 module. The document structure is as follows: Chapter Title Subject Chapter 1 Preface A preview of ESP-WROOM-32 Chapter 2 Pin Definitions Device pinout and pin descriptions Chapter 3 Functional Description Description of major functional modules and protocols Chapter 4 Electrical Characteristics Electrical characteristics and specifications for ESP-WROOM-32 Chapter 5 Schematics The schematics of ESP-WROOM-32 Release Notes Date Version Release notes 2016.08 V1.0 First release 2016.09 V1.1 Updated Chapter 5: Schematics Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright © 2016 Espressif Inc. All rights reserved. Contents 1 Preface 2 Pin Definitions 2.1 Pin Layout 2.2 Pin Description 2.3 Strapping Pins 3 Functional Description 3.1 CPU and Internal Memory 3.2 External Flash and SRAM 3.3 Crystal Oscillators 3.4 Power Consumption 3.5 Peripheral Interface Description 4 Electrical Characteristics 13 4.1 Absolute Maximum Ratings 13 4.2 Recommended Operating Conditions 13 4.3 Digital Terminal Characteristics 13 4.4 Wi-Fi Radio 14 4.5 Bluetooth LE Radio 14 4.5.1 Receiver 14 4.5.2 Transmit 15 Reflow Profile 15 5 Schematics 16 4.6 List of Tables ESP-WROOM-32 Specifications ESP-WROOM-32 Dimensions ESP-WROOM-32 Pin Definitions Strapping Pins Power Consumption by Power Modes Interface Description Absolute Maximum Ratings 13 Recommended Operating Conditions 13 Digital Terminal Characteristics 13 10 Wi-Fi Radio Characteristics 14 11 Receiver Characteristics - BLE 14 12 Transmit Characteristics - BLE 15 13 Reflow Profile 15 List of Figures Top and Side View of ESP-WROOM-32 ESP-WROOM-32 Schematics 16 FCC Caution: Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. 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. To satisfy FCC RF Exposure requirements for this transmission devices, a separation distance of 20cm or more should be maintained between the antenna of this device and persons during operation. To ensure compliance, operation at closer than this distance is not recommended. The antenna(s) used for this transmitter must not be co-located or operating in conjunction with any other antenna or transmitter. Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. The modular transmitter must be equipped with either a permanently affixed label or must be capable of electronically displaying its FCC identification number: (A) If using a permanently affixed label, the modular transmitter must be labeled with its own FCC identification number, and, if the FCC identification number is not visible when the module is installed inside another device, then the outside of the device into which the module is installed must also display a label referring to the enclosed module. This exterior label can use wording such as the following: “Contains Transmitter Module FCC ID:2AC7Z-ESPWROOM32.” Any similar wording that expresses the same meaning may be used. The Grantee may either provide such a label, an example of which must be included in the application for equipment authorization, or, must provide adequate instructions along with the module which explain this requirement. In the latter case, a copy of these instructions must be included in the application for equipment authorization. 1 PREFACE 1. Preface ESP-WROOM-32 is a powerful, generic WiFi-BT-BLE MCU module that targets a wide variety of applications ranging from low power sensor networks to the most demanding tasks such as voice encoding, music streaming and MP3 decoding. At the core of this module is the ESP32 chip, which is designed to be scalable and adaptive. There are 2 CPU cores that can be individually controlled or powered, and the clock frequency is adjustable from 80 MHz to 240 MHz. The user may also power off the CPU and make use of the low power coprocessor to constantly monitor the peripherals for changes or crossing of thresholds. ESP32 integrates a rich set of peripherals, ranging from capacitive touch sensors, Hall sensors, low noise sense amplifiers, SD card interface, Ethernet, high speed SDIO/SPI, UART, I2S and I2C. The integration of Bluetooth, Bluetooth LE and Wi-Fi ensures that a wide range of applications can be targeted, and that it is future proof: using Wi-Fi allows a large physical range and direct connection to the internet through a Wi-Fi router, while using Bluetooth allows the user to conveniently connect to the phone or broadcast low energy beacons for its detection. The sleep current of the ESP32 chip is less than 5 µA, making it suitable for battery powered and wearable electronics applications. ESP-WROOM-32 supports data rates up to 150 Mbps, and 22 dBm output power at the PA to ensure the widest physical range. As such the chip does offer industry leading specifications and the best optimized performance for electronic integration, range and power consumption, and connectivity. The operating system chosen for ESP32 is freeRTOS with LWIP; TLS 1.2 with hardware acceleration is built in as well. Secure (encrypted) over the air (OTA) upgrade is also supported, so that developers can continually upgrade their products even after their release. The software releases are covered under the ESP32 bug bounty program and any bugs can be reported to bugbounty@espressif.com. As the SDK of ESP-WROOM-32 or ESP32 is opensource, the user can build his own platforms and operating systems. For more in-depth discussion of this, the developer can contact john.lee@espressif.com. ESP-WROOM-32 has Espressif’s long term support — ESP32 will be covered under Espressif’s longevity program and be available for the next 12 years. The design of ESP-WROOM-32 will be open-source when it has been fully optimized. Feedbacks about the module, chip, API or firmware can be sent to feedback@espressif.com. Table 1 provides the specifications of ESP-WROOM-32. Espressif Systems http://www.espressif.com 1 PREFACE Table 1: ESP-WROOM-32 Specifications Categories Items Specifications Standards FCC, CE, TELEC, KCC 802.11 b/g/n/d/e/i/k/r (802.11n up to 150 Mbps) Wi-Fi Protocols A-MPDU and A-MSDU aggregation and 0.4 µs guard interval support Frequency range 2.4 ~ 2.5 GHz Protocols Bluetooth v4.2 BR/EDR and BLE specification NZIF receiver with -98 dBm sensitivity Bluetooth Radio Class-1, class-2 and class-3 transmitter AFH Audio CVSD and SBC SD card, UART, SPI, SDIO, I2C, LED PWM, Motor Module interface PWM, I2S, I2C, IR GPIO, capacitive touch sensor, ADC, DAC, LNA pre-amplier Hardware Software On-chip sensor Hall sensor, temperature sensor On-board clock 26 MHz crystal, 32 kHz crystal Operating voltage 2.2 ~ 3.6V Operating current Average: 80 mA Operating temperature range -40°C ~ 85°C * Ambient temperature range Normal temperature Package size 18 mm x 25.5 mm x 2.8 mm Wi-Fi mode Station/softAP/SoftAP+station/P2P Security WPA/WPA2/WPA2-Enterprise/WPS Encryption AES/RSA/ECC/SHA Firmware upgrade Software development UART Download / OTA (via network) / download and write firmware via host Supports Cloud Server Development / SDK for custom firmware development Network protocols IPv4, IPv6, SSL, TCP/UDP/HTTP/FTP/MQTT User configuration AT instruction set, cloud server, Android/iOS App Note: * ESP-WROOM-32 with high temperature range option (-40°C ~ 125°C) is available for custom order. Espressif Systems http://www.espressif.com 2.1 Pin Layout 2 PIN DEFINITIONS 2. Pin Definitions 2.1 Pin Layout 18.00 6.00 Keepout Zone 1.50 1.27 GND GND 38 3V3 IO23 37 EN IO22 36 SENSOR_VP TXD0 35 SENSOR_VN RXD0 34 IO34 IO21 33 NC 32 6.00 6.30 1:GND 6.00 IO35 IO32 IO19 31 IO33 IO18 30 10 IO25 IO5 29 11 IO26 IO17 28 IO16 27 IO4 26 IO0 25 3.30 IO2 3.30 1.27 Shielding 2.00 25.50 Unit: mm 24 IO15 23 SD1 22 SD0 21 20 CLK CMD 19 SD3 18 SD2 IO12 17 14 IO13 IO14 16 13 GND IO27 7.30 15 12 0.45 0.90 6.00 PCB 0.80 ± 0.10 25.50 Figure 1: Top and Side View of ESP-WROOM-32 Table 2: ESP-WROOM-32 Dimensions Length Width Height PAD size (bottom) Pin pitch Shielding can height PCB thickness 18 mm 25.5 mm 2.8 ± 0.1 mm 0.45 mm x 0.9 mm 1.27 mm 2 mm 0.8 ± 0.1 mm Espressif Systems http://www.espressif.com 2.2 Pin Description 2.2 2 PIN DEFINITIONS Pin Description ESP-WROOM-32 has 38 pins. See pin definitions in Table 3. Table 3: ESP-WROOM-32 Pin Definitions Name No. Function GND Ground 3V3 Power supply. EN Chip-enable signal. Active high. SENSOR_VP GPI36, SENSOR_VP, ADC_H, ADC1_CH0, RTC_GPIO0 SENSOR_VN GPI39, SENSOR_VN, ADC1_CH3, ADC_H, RTC_GPIO3 IO34 GPI34, ADC1_CH6, RTC_GPIO4 IO35 GPI35, ADC1_CH7, RTC_GPIO5 IO32 IO33 IO25 10 GPIO25, DAC_1, ADC2_CH8, RTC_GPIO6, EMAC_RXD0 IO26 11 GPIO26, DAC_2, ADC2_CH9, RTC_GPIO7, EMAC_RXD1 IO27 12 GPIO27, ADC2_CH7, TOUCH7, RTC_GPIO17, EMAC_RX_DV IO14 13 IO12 14 GND 15 IO13 16 SHD/SD2 17 GPIO9, SD_DATA2, SPIHD, HS1_DATA2, U1RXD SWP/SD3 18 GPIO10, SD_DATA3, SPIWP, HS1_DATA3, U1TXD SCS/CMD 19 GPIO11, SD_CMD, SPICS0, HS1_CMD, U1RTS SCK/CLK 20 GPIO6, SD_CLK, SPICLK, HS1_CLK, U1CTS SDO/SD0 21 GPIO7, SD_DATA0, SPIQ, HS1_DATA0, U2RTS SDI/SD1 22 GPIO8, SD_DATA1, SPID, HS1_DATA1, U2CTS IO15 23 IO2 24 IO0 25 IO4 26 IO16 27 GPIO16, HS1_DATA4, U2RXD, EMAC_CLK_OUT IO17 28 GPIO17, HS1_DATA5, U2TXD, EMAC_CLK_OUT_180 IO5 29 GPIO5, VSPICS0, HS1_DATA6, EMAC_RX_CLK IO18 30 GPIO18, VSPICLK, HS1_DATA7 IO19 31 GPIO19, VSPIQ, U0CTS, EMAC_TXD0 NC 32 Espressif Systems GPIO32, XTAL_32K_P (32.768 kHz crystal oscillator input), ADC1_CH4, TOUCH9, RTC_GPIO9 GPIO33, XTAL_32K_N (32.768 kHz crystal oscillator output), ADC1_CH5, TOUCH8, RTC_GPIO8 GPIO14, ADC2_CH6, TOUCH6, RTC_GPIO16, MTMS, HSPICLK, HS2_CLK, SD_CLK, EMAC_TXD2 GPIO12, ADC2_CH5, TOUCH5, RTC_GPIO15, MTDI, HSPIQ, HS2_DATA2, SD_DATA2, EMAC_TXD3 Ground GPIO13, ADC2_CH4, TOUCH4, RTC_GPIO14, MTCK, HSPID, HS2_DATA3, SD_DATA3, EMAC_RX_ER GPIO15, ADC2_CH3, TOUCH3, MTDO, HSPICS0, RTC_GPIO13, HS2_CMD, SD_CMD, EMAC_RXD3 GPIO2, ADC2_CH2, TOUCH2, RTC_GPIO12, HSPIWP, HS2_DATA0, SD_DATA0 GPIO0, ADC2_CH1, TOUCH1, RTC_GPIO11, CLK_OUT1, EMAC_TX_CLK GPIO4, ADC2_CH0, TOUCH0, RTC_GPIO10, HSPIHD, HS2_DATA1, SD_DATA1, EMAC_TX_ER http://www.espressif.com 2.3 Strapping Pins 2 PIN DEFINITIONS Name No. Function IO21 33 GPIO21, VSPIHD, EMAC_TX_EN RXD0 34 GPIO3, U0RXD, CLK_OUT2 TXD0 35 GPIO1, U0TXD, CLK_OUT3, EMAC_RXD2 IO22 36 GPIO22, VSPIWP, U0RTS, EMAC_TXD1 IO23 37 GPIO23, VSPID, HS1_STROBE GND 38 Ground 2.3 Strapping Pins ESP32 has 6 strapping pins. Software can read the value of these 6 bits from the register ”GPIO_STRAPPING”. During the chip power-on reset, the latches of the strapping pins sample the voltage level as strapping bits of ”0” or ”1”, and hold these bits until the chip is powered down or shut down. Each strapping pin is connected with its internal pull-up/pull-down during the chip reset. Consequently, if a strapping pin is unconnected or the connected external circuit is high-impendence, the internal weak pull-up/pull-down will determine the default input level of the strapping pins. To change the strapping bit values, users can apply the external pull-down/pull-up resistances, or apply the host MCU’s GPIOs to control the voltage level of these pins when powering on ESP32. After reset, the strapping pins work as the normal functions pins. Refer to Table 4 for detailed boot modes configuration by strapping pins. Table 4: Strapping Pins Voltage of Internal LDO (VDD_SDIO) Pin Default MTDI Pull-down 3.3V 1.8V Booting Mode Pin Default SPI Flash Boot Download Boot GPIO0 Pull-up GPIO2 Pull-down Don’t-care Debugging Log on U0TXD During Booting Pin Default U0TXD Toggling U0TXD Silent MTDO Pull-up Timing of SDIO Slave Pin Default MTDO GPIO5 Falling-edge Input Falling-edge Input Rising-edge Input Rising-edge Input Falling-edge Output Rising-edge Output Falling-edge Output Rising-edge Output Pull-up Pull-up Note: Firmware can configure register bits to change the settings of ”Voltage of Internal LDO (VDD_SDIO)” and ”Timing of SDIO Slave” after booting. Espressif Systems http://www.espressif.com 3 FUNCTIONAL DESCRIPTION 3. Functional Description This chapter describes the modules and functions implemented in ESP-WROOM-32. 3.1 CPU and Internal Memory ESP32 contains two low-power Xtensa® 32-bit LX6 microprocessors. The internal memory includes: • 448 KBytes ROM for booting and core functions. • 520 KBytes on-chip SRAM for data and instruction. • 8 KBytes SRAM in RTC, which is called RTC SLOW Memory and can be accessed by the co-processor during the Deep-sleep mode. • 8 KBytes SRAM in RTC, which is called RTC FAST Memory and can be used for data storage and accessed by the main CPU during RTC Boot from the Deep-sleep mode. • 1 Kbit of EFUSE, of which 256 bits are used for the system (MAC address and chip configuration) and the remaining 768 bits are reserved for customer applications, including Flash-Encryption and Chip-ID. 3.2 External Flash and SRAM ESP32 supports 4 x 16 MBytes of external QSPI flash and SRAM with hardware encryption based on AES to protect developer’s programs and data. ESP32 accesses external QSPI flash and SRAM by the high-speed caches. Up to 16 MBytes of external flash are memory mapped into the CPU code space, supporting 8, 16 and 32-bit access. Code execution is supported. Up to 8 MBytes of external SRAM are memory mapped into the CPU data space, supporting 8, 16 and 32-bit access. Data read is supported on the flash and SRAM. Data write is supported on the SRAM. 3.3 Crystal Oscillators The frequencies of the main crystal oscillator supported include 40 MHz, 26 MHz and 24 MHz. The accuracy of crystal oscillators applied should be ±10 PPM, and the operating temperature range -40°C to 85°C. When using the downloading tools, remember to select the right crystal oscillator type. In circuit design, capacitors C1 and C2 that connect to the earth, are added to the input and output terminals of the crystal oscillator respectively. The values of the two capacitors can be flexible, ranging from 6 pF to 22 pF. However, the specific capacitive values of C1 and C2 depend on further testing and adjustment of the overall performance of the whole circuit. Normally, the capacitive values of C1 and C2 are within 10 pF if the crystal oscillator frequency is 26 MHz, while 10 pF3 MHz -50 dBm F = F0 - > 3 MHz -50 dBm ∆ f1avg 265 kHz ∆ f2max 247 kHz ∆ f2avg /∆ f1avg -0.92 ICFT -10 kHz Drift rate 0.7 kHz/50 µs Drift kHz Adjacent channel transmit power 4.6 Reflow Profile Table 13: Reflow Profile Item Value Ts max to TL (Ramp-up Rate) 3°C/second max Preheat Temperature Min. (Ts Min.) 150°C Temperature Typ. (Ts Typ.) 175°C Temperature Min. (Ts Max.) 200°C Time (Ts ) 60 ~ 180 seconds Ramp-up rate (TL to TP ) 3°C/second max Time maintained above: –Temperature (TL )/Time (TL ) 217°C/60 ~ 150 seconds Peak temperature (TP ) 260°C max, for 10 seconds Target peak temperature (TP Target) 260°C +0/-5°C Time within 5°C of actual peak (tP ) 20 ~ 40 seconds TS max to TL (Ramp-down Rate) 6°C/second max Tune 25°C to Peak Temperature (t) 8 minutes max Note: The 32 kHz crystal is internally connected to ESP32’s GPIO32 and GPIO33. To use ADC, Touch or GPIO functions of IO32 and IO33, please remove the 32 kHz crystal and its capacitors — C13 and C17, and solder the 0ohm resistors — R5 and R6. Espressif Systems 15 http://www.espressif.com
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.5 Linearized : No Page Count : 1 XMP Toolkit : XMP toolkit 2.9.1-13, framework 1.6 About : uuid:fecb0e76-a638-11f2-0000-02c7314339d4 Producer : GPL Ghostscript 9.18 Modify Date : 2017:07:21 13:56:51Z Create Date : 2017:07:21 13:56:51Z Creator Tool : UnknownApplication Document ID : uuid:fecb0e76-a638-11f2-0000-02c7314339d4 Format : application/pdf Title : UntitledEXIF Metadata provided by EXIF.tools