Espressif Systems ESP32 Series Hardware Design Manuallines

Espressif Systems ESP32 Series Hardware Design Manuallines

Hide thumbs Also See for ESP32 Series:
Table of Contents

Advertisement

ESP32
Hardware Design Guidelines
www.espressif.com
Version 2.7
Espressif Systems
Copyright © 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Espressif Systems ESP32 Series

  • Page 1 ESP32 Hardware Design Guidelines Version 2.7 Espressif Systems Copyright © 2019 www.espressif.com...
  • Page 2 About This Document The guidelines outline recommended design practices when developing standalone or add-on systems based on the ESP32 series of products, including ESP32 SoCs, ESP32 modules and ESP32 development boards. Revision History For the revision history of this document, please refer to the last page.
  • Page 3: Table Of Contents

    Contents 1 Overview 2 Schematic Checklist and PCB Layout Design Schematic Checklist 2.1.1 Power Supply 2.1.1.1 Digital Power Supply 2.1.1.2 Analog Power Supply 2.1.2 Power-on Sequence and System Reset 2.1.2.1 Power-on Sequence 2.1.2.2 Reset 2.1.3 Flash 2.1.4 Crystal Oscillator 2.1.4.1 External Clock Source (Compulsory) 2.1.4.2 RTC (Optional) 2.1.5 RF 2.1.6 ADC...
  • Page 4 Revision History...
  • Page 5 List of Figures ESP32 Schematics (ESP32-D0WD used as an example for all illustrations in this section) ESP32 Digital Power Supply Pins ESP32 Analog Power Supply Pins ESP32 Flash ESP32 Crystal Oscillator Schematic for ESP32’s External Crystal (RTC) Schematic of External Oscillator ESP32 RF Matching Schematics ESP32 External Capacitor ESP32 UART...
  • Page 6: Overview

    As such, the mass production of ESP32 solutions does not require expensive and specialized Wi-Fi test equipment. The ESP32 series of chips include ESP32-D0WDQ6, ESP32-D0WD, ESP32-D2WD and ESP32-S0WD. For details of part number and ordering information, please refer to ESP32 Datasheet.
  • Page 7: Schematic Checklist And Pcb Layout Design

    Figure 1: ESP32 Schematics (ESP32-D0WD used as an example for all illustrations in this section) CON1 Any basic ESP32 circuit design may be broken down into eight major sections: • Power supply • Power-on sequence and system reset • Flash • Crystal oscillator Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 8: Power Supply

    SWP/SD3 SHD/SD2 SWP/SD3 VDET_1 SD_DATA_3 /HOLD GPIO35 SHD/SD2 VDET_2 SD_DATA_2 GPIO32 GPIO17 FLASH 32K_XP GPIO17 GPIO33 32K_XN VDD_SDIO GPIO25 GPIO16 GPIO25 GPIO16 VDD_SDIO ESP32-D0WD VDD33 0.1uF Figure 2: ESP32 Digital Power Supply Pins Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 9: Analog Power Supply

    CHIP_PU serves as the reset pin of ESP32. The input level (V ) for resetting the chip should be low enough IL_nRST and remain so for a period of time. More details can be found in section Power Scheme in ESP32 Datasheet. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 10: Flash

    It is recommended that users reserve a series resistor of 0 Ω on the XTAL_P clock trace to reduce the drive strength of the crystal, as well as to minimize the impact of crystal harmonics on RF performance. Note that the accuracy of the selected crystal is ±10 ppm. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 11: Rtc (Optional)

    ESP32 supports an external 32.768 kHz crystal or an external 32.768 kHz signal (e.g., an oscillator) to act as the RTC sleep clock. Figure shows the schematic for the external 32.768 kHz crystal. VDET_1 GPIO35 VDET_2 GPIO32 32K_XP GPIO33 32K_XN GPIO25 GPIO25 32.768KHz Figure 6: Schematic for ESP32’s External Crystal (RTC) Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 12: Adc

    It is recommended that users add a 0.1 µF filter capacitor to a pad when using the ADC function. • Pins SENSOR_VP or SENSOR_VN will trigger an input glitch lasting for 80 ns once SARADC1, or SARADC2, or Hall sensor is initialized. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 13: External Capacitor

    Users need to connect a 499 Ω resistor to the U0TXD line in order to suppress the 80 MHz harmonics. 499R U0TXD U0RXD GPIO22 Figure 10: ESP32 UART 2.2 PCB Layout Design This chapter introduces the key points of designing ESP32 PCB layout with the example of ESP32-WROOM- 32D. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 14: Standalone Esp32 Module

    • The first layer is the TOP layer for traces and components. • The second layer is the BOTTOM layer. Please do not place any components on this layer and keep traces to a minimum. Ideally, it should be a complete GND plane. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 15: Positioning A Esp32 Module On A Base Board

    If the positions recommended are not suitable, please make sure that the module is not covered by any metal shell. The antenna area of the module and the area 15 mm outside the antenna should be kept clean, (namely no copper, routing, components on it) as shown in Figure 13: Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 16: Power Supply

    The diameter of the drill should exceed the width of the power traces. The diameter of the via pad should be 1.5 times that of the drill. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 17: Crystal Oscillator

    The larger the copper area on the top layer is, the better. • As the crystal oscillator is a sensitive component, do not place any magnetic components nearby that may cause interference, for example, power-switching converter components or unshielded inductors. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 18: Esp32 Crystal Oscillator Layout

    PCB layers. Other good practices for routing RF traces in four-layer PCB designs still apply to two-layer board designs. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 19: External Rc

    The series resistor on the U0TXD line needs to be placed as close to the chip as possible. The U0TXD and U0RXD traces on the top layer should be as short as possible. Employ vias around the traces for isolation. Figure below shows an example of UART design. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 20: Touch Sensor

    Large size or irregular shape might lead to incorrect responses from nearby electrodes. Note: The examples illustrated in Figure are not of actual scale. It is suggested that users use a human fingertip as reference. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 21: Esp32 As A Slave Device

    When ESP32 works as a slave device in a system, the user needs to pay more attention to signal integrity in the PCB design. It is important to keep ESP32 away from the interferences caused by the complexity of the system Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 22: Typical Layout Problems And Solutions

    ESP32 is in the normal working mode. The ripple increases when the power gets high in a different mode. Generally, the peak-to-peak value of the ripple should be <80 mV when ESP32 sends MCS7@11n packets, and <120 mV when ESP32 sends 11b/11m packets. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 23: Q: The Power Ripple Is Small, But Rf Tx Performance Is Poor

    Keep the antenna away from crystal oscillators. Do not route high-frequency signal traces close to the RF trace. High performance digital circuitry should be placed away from the RF block on large board designs. Please see section for details. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 24: Hardware Development

    • The serial tool cannot be used for both the log-print and flash-download tools simultaneously. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 25: Applications

    4.1 ESP32 Smart Audio Platform 4.1.1 ESP32-LyraT Audio Development Board ESP32-LyraT is an open-source development board for Espressif Systems’ Audio Development Framework, ESP-ADF. It is designed for smart speakers and smart-home applications. The dev board consists of the ESP32-WROVER/ESP32- WROVER-B module, a Micro SD card, expansion interfaces, touch buttons and several function keys. It facilitates...
  • Page 26: Esp32-Lyratd-Msc Audio Development Board

    • A variety of network configurations, such as Smartconfig, BLE, and Air-kiss. • Wi-Fi 802.11b/g/n, Classic BT and BLE in the 2.4GHz band. • Multiple audio formats including M4A, AAC, FLAC, OGG, OPUS, MP3, AMR. ESP32-LyraTD-MSC’s layout is shown in Figure 26. Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 27: Esp32 Touch Sensor Application-Esp32-Sense Kit

    Users can design and add their own daughterboards for special usage cases. The following image shows the whole ESP32-Sense development kit. Figure 27: ESP32-Sense Kit Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 28: Esp-Mesh Application-Esp32-Meshkit

    In addition, the ESP32-MeshKit-Sense development board is a low-power sensing solution that can be used to detect the current consumption of ESP32 modules in a normal operation state or in sleep mode, when connected to different peripherals. Figure shows an ESP32-MeshKit-Sense development board. Figure 29: ESP32-MeshKit-Sense Development Board Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 29 External Clock Source (Compulsory); 2017.06 V1.8 Added a link to ESP32 Pin Lists; Added Documentation Change Notification. 2017.05 V1.7 Added a note to Section ESP32-WROOM-32 Overview. Updated Figure ESP32-WROOM-32 Pin Layout; 2017.05 V1.6 Espressif Systems ESP32 Hardware Design Guidelines V2.7...
  • Page 30 Updated Section Power Supply; 2017.03 V1.2 Updated Section RF; Updated Figure ESP32-WROOM-32 Pin Layout; Updated Table ESP32-WROOM-32 Pin Definitions; Updated Section Notes. 2016.12 V1.1 Updated Table UART to Wi-Fi Smart Device. 2016.12 V1.0 First release. Espressif Systems ESP32 Hardware Design Guidelines V2.7...

This manual is also suitable for:

Esp32-d2wdEsp32-s0wdEsp32-d0wdq6Esp32-d0wd

Table of Contents