Esp8684 Datasheet en
Esp8684 Datasheet en
Esp8684 Datasheet en
Datasheet
Including:
ESP8684H1
ESP8684H2
ESP8684H4
Version v1.4
Espressif Systems
Copyright © 2023
www.espressif.com
Product Overview
ESP8684 series of SoCs is an ultra-low-power and highly-integrated MCU-based SoC solution that supports 2.4
GHz Wi-Fi and Bluetooth® Low Energy (Bluetooth LE). The block diagram of ESP8684 series is shown
below.
RF Synthesizer
Transmitter
2.4 GHz
Bluetooth LE Link
Cache SRAM Controller
Bluetooth LE
JTAG ROM Baseband
Peripherals RTC
Solution Highlights
• A complete WiFi subsystem that complies • Storage capacity ensured by 272 KB of SRAM
with IEEE 802.11b/g/n protocol and supports (16 KB for cache) and 576 KB of ROM on the
Station mode, SoftAP mode, SoftAP + Station chip.
mode, and promiscuous mode
• Reliable security features ensured by
• A Bluetooth LE subsystem that supports – Cryptographic hardware accelerators that
features of Bluetooth 5, central role and support ECC, Hash and secure boot
peripheral role
– Random number generator
• Stateoftheart power and RF performance
– External memory encryption and decryption
• 32bit RISCV singlecore processor with a
• Rich set of peripheral interfaces and GPIOs,
four-stage pipeline that operates at up to 120
ideal for various scenarios and complex
MHz
applications
• Speed: 125 kbps, 500 kbps, 1 Mbps, 2 Mbps – 1 × 54-bit general-purpose timer
Security
CPU and Memory
• Secure boot
• 32-bit RISC-V single-core processor, up to 120
MHz • Flash encryption
– Logger toys and proximity sensing toys • Generic Low-power IoT Data Loggers
Contents
Product Overview 1
Solution Highlights 1
Features 2
Applications 3
2 Pin Definition 9
2.1 Pin Layout 9
2.2 Pin Description 9
2.3 Power Scheme 10
2.4 Strapping Pins 12
3 Functional Description 14
3.1 Radio and Wi-Fi 14
3.1.1 2.4 GHz Receiver 14
3.1.2 2.4 GHz Transmitter 14
3.1.3 Clock Generator 14
3.1.4 Wi-Fi Radio and Baseband 15
3.1.5 Wi-Fi MAC 15
3.1.6 Networking Features 15
3.2 Bluetooth LE 15
3.2.1 Bluetooth LE Radio and PHY 16
3.2.2 Bluetooth LE Link Layer Controller 16
3.3 CPU and Memory 16
3.3.1 CPU 16
3.3.2 Internal Memory 17
3.3.3 Address Mapping Structure 17
3.3.4 Cache 17
3.4 System Clocks 18
3.4.1 CPU Clock 18
3.4.2 RTC Clock 18
3.5 Digital Peripherals 18
3.5.1 General Purpose Input / Output Interface (GPIO) 18
3.5.2 Serial Peripheral Interface (SPI) 20
3.5.3 Universal Asynchronous Receiver Transmitter (UART) 20
3.5.4 I2C Interface 20
3.5.5 LED PWM Controller 21
3.5.6 General DMA Controller 21
3.6 Analog Peripherals 21
3.6.1 Analog-to-Digital Converter (ADC) 21
4 Electrical Characteristics 25
4.1 Absolute Maximum Ratings 25
4.2 Recommended Operating Conditions 25
4.3 DC Characteristics (3.3 V, 25 °C) 25
4.4 ADC Characteristics 26
4.5 Current Consumption 27
4.5.1 RF Current Consumption in Active Mode 27
4.5.2 Current Consumption in Other Modes 27
4.6 Reliability 28
4.7 Wi-Fi Radio 28
4.7.1 Wi-Fi RF Transmitter (TX) Specifications 28
4.7.2 Wi-Fi RF Receiver (RX) Specifications 29
4.8 Bluetooth LE Radio 30
4.8.1 Bluetooth LE RF Transmitter (TX) Specifications 30
4.8.2 Bluetooth LE RF Receiver (RX) Specifications 32
5 Package Information 35
Revision History 37
List of Tables
1 ESP8684 Series Member Comparison 8
2 Pin Description 9
3 Description of ESP8684 Series Power-up and Reset Timing Parameters 12
4 Strapping Pins 12
5 Parameter Descriptions of Setup and Hold Times for the Strapping Pins 13
6 IO MUX Pin Functions 19
7 Power-Up Glitches on Pins 20
8 Peripheral Pin Configurations 23
9 Absolute Maximum Ratings 25
10 Recommended Operating Conditions 25
11 DC Characteristics (3.3 V, 25 °C) 25
12 ADC Characteristics 26
13 ADC Calibration Results 26
14 Current Consumption for Wi-Fi (2.4 GHz) in Active Mode 27
15 Current Consumption for Bluetooth LE in Active Mode 27
16 Current Consumption in Low-Power Modes 27
17 Current Consumption in Modem-sleep Mode 27
18 Reliability Qualifications 28
19 Wi-Fi Frequency 28
20 TX Power with Spectral Mask and EVM Meeting 802.11 Standards 28
21 TX EVM Test 29
22 RX Sensitivity 29
23 Maximum RX Level 30
24 RX Adjacent Channel Rejection 30
25 Bluetooth LE Frequency 30
26 Transmitter General Characteristics 30
27 Transmitter Characteristics - Bluetooth LE 1 Mbps 30
28 Transmitter Characteristics - Bluetooth LE 2 Mbps 31
29 Transmitter Characteristics - Bluetooth LE 125 Kbps 31
30 Transmitter Characteristics - Bluetooth LE 500 Kbps 32
31 Receiver Characteristics - Bluetooth LE 1 Mbps 32
32 Receiver Characteristics - Bluetooth LE 2 Mbps 32
33 Receiver Characteristics - Bluetooth LE 125 Kbps 33
34 Receiver Characteristics - Bluetooth LE 500 Kbps 33
List of Figures
1 Functional block diagram of ESP8684 1
2 ESP8684 Series Nomenclature 8
3 ESP8684 Pin Layout (Top View) 9
4 ESP8684 Series Power Scheme 11
5 ESP8684 Series Power-up and Reset Timing 11
6 Setup and Hold Times for the Strapping Pins 13
7 Address Mapping Structure 17
8 QFN24 (4×4 mm) Package 35
ESP8684 H x
Flash
Flash temperature
H: High temperature
Chip series
1.2 Comparison
2 Pin Definition
22 XTAL_N
23 XTAL_P
19 U0RXD
20 U0TXD
24 VDDA
21 VDDA
ANT 1 18 GPIO18
VDDA3P3 2 17 VDD3P3_CPU
VDDA3P3 3 16 GPIO10
GPIO0 4 15 GPIO9
ESP8684
GPIO1 5 14 GPIO8
25 GND
GPIO2 6 13 MTDO
MTDI 10
VDD3P3_RTC 11
MTCK 12
7
9
CHIP_EN
GPIO3
MTMS
• VDD3P3_CPU
• VDD3P3_RTC
VDD3P3_CPU is the input power supply for digital IO and digital system.
VDD3P3_RTC is the input power supply for RTC, RTC IO, and digital system.
Notes on CHIP_EN:
Figure 5 shows the power-up and reset timing of ESP8684 series. Details about the parameters are listed in
Table 3.
t0 t1
2.8 V
VDDA,
VDDA3P3,
VDD3P3_RTC,
VDD3P3_CPU
VIL_nRST
CHIP_EN
Min
Parameter Description (µs)
Time between bringing up the VDDA, VDDA3P3, VDD3P3_RTC, and
t0 50
VDD3P3_CPU rails, and activating CHIP_EN
Duration of CHIP_EN signal level < VIL_nRST (refer to its value in
t1 50
Table 11) to reset the chip
• GPIO8
• GPIO9
Software can read the values of GPIO8 and GPIO9 from GPIO_STRAPPING field in GPIO_STRAP_REG register.
For register description, please refer to Section GPIO Matrix Register Summary in
ESP8684 Technical Reference Manual.
During the chip’s power-on reset, RTC watchdog reset, and brownout 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.
By default, GPIO9 is connected to the internal weak pull-up resistor. If GPIO9 is not connected or connected to
an external high-impedance circuit, the latched bit value will be ”1”.
To change the strapping bit values, you can apply the external pull-down/pull-up resistances, or use the host
MCU’s GPIOs to control the voltage level of these pins when powering on ESP8684.
Booting Mode 1
Pin Default SPI Boot Joint Download Boot2
GPIO8 N/A Don’t care 1
Internal weak
GPIO9 1 0
pull-up
Enabling/Disabling ROM Messages Print During Booting
Pin Default Functionality
When the value of eFuse field EFUSE_UART_PRINT_CONTROL is
0 (default), print is enabled and not controlled by GPIO8.
GPIO8 N/A 1, if GPIO8 is 0, print is enabled; if GPIO8 is 1, it is disabled.
2, if GPIO8 is 0, print is disabled; if GPIO8 is 1, it is enabled.
3, print is disabled and not controlled by GPIO8.
1
The strapping combination of GPIO8 = 0 and GPIO9 = 0 is invalid and will trigger unexpected be-
havior.
2
Joint Download Boot mode supports UART Download Boot download method. In addition to SPI
Boot and Joint Download Boot modes, ESP8684 also supports SPI Download Boot mode. For
details, please see ESP8684 Technical Reference Manual > Chapter Chip Boot Control.
Figure 6 shows the setup and hold times for the strapping pins before and after the CHIP_EN signal goes high.
Details about the parameters are listed in Table 5.
t0 t1
VIL_nRST
CHIP_EN
VIH
Strapping pin
Table 5: Parameter Descriptions of Setup and Hold Times for the Strapping Pins
Min
Parameter Description (ms)
t0 Setup time before CHIP_EN goes from low to high 0
t1 Hold time after CHIP_EN goes high 3
3 Functional Description
This chapter describes the functions of ESP8684.
• clock generator
Additional calibrations are integrated to cancel any radio imperfections, such as:
• carrier leakage
• baseband nonlinearities
• RF nonlinearities
• antenna matching
These built-in calibration routines reduce the cost, time, and specialized equipment required for product
testing.
The clock generator has built-in calibration and self-test circuits. Quadrature clock phases and phase noise are
optimized on chip with patented calibration algorithms which ensure the best performance of the receiver and the
transmitter.
• 802.11b/g/n
• antenna diversity
ESP8684 series supports antenna diversity with an external RF switch. This switch is controlled by one or
more GPIOs, and used to select the best antenna to minimize the effects of channel imperfections.
The ESP8684 series Wi-Fi MAC applies the following low-level protocol functions automatically:
• infrastructure BSS in Station mode, SoftAP mode, Station + SoftAP mode, and promiscuous mode
3.2 Bluetooth LE
ESP8684 series includes a Bluetooth Low Energy subsystem that integrates a hardware link layer controller, an
RF/modem block and a feature-rich software protocol stack. It supports the core features of Bluetooth 5.
• 1 Mbps PHY
• coded PHY for longer range (125 Kbps and 500 Kbps)
• LE advertising extensions, to enhance broadcasting capacity and broadcast more intelligent data
• LE privacy 1.2
• LE Ping
• RV32IMC ISA
• up to 2 hardware breakpoints/watchpoints
• 272 KB of onchip SRAM: for data and instructions, running at a configurable frequency of up to 120
MHz. Of the 272 KB SRAM, 16 KB is configured for cache.
• 1 Kbit of eFuse: 256 bits are reserved for your data, such as encryption key and device ID.
Note:
The memory space with gray background is not available for use.
3.3.4 Cache
ESP8684 series has an four-way set associative cache. This cache is read-only and has the following
features:
• size: 16 KB
• PLL clock
The application can select the clock source from the three clocks above. The selected clock source drives the
CPU clock directly, or after division, depending on the application. Once the CPU is reset, the default clock
source would be the external main crystal clock divided by 2.
Note:
ESP8684 is unable to operate without an external main crystal clock.
• internal fast RC oscillator divided clock (derived from the fast RC oscillator divided by 256)
• external slow clock (clock signal input through GPIO0, and typically about 32.768 kHz)
The RTC fast clock is used for RTC peripherals and sensor controllers. It has two possible sources:
• internal fast RC oscillator clock (typically about 17.5 MHz, and adjustable)
All GPIOs have selectable internal pull-up or pull-down, or can be set to high impedance. When these GPIOs are
configured as an input, the input value can be read by software through the register. Input GPIOs can also be set
to generate edge-triggered or level-triggered CPU interrupts. All digital IO pins are bi-directional, non-inverting
and tristate, including input and output buffers with tristate control. These pins can be multiplexed with other
functions, such as the UART, SPI, etc. For low-power operations, the GPIOs can be set to holding state.
The IO MUX and the GPIO matrix are used to route signals from peripherals to GPIO pins. Together they provide
highly configurable I/O. Using GPIO Matrix, peripheral input signals can be configured from any IO pins while
peripheral output signals can be configured to any IO pins. Table 6 shows the IO MUX functions of each pin. For
more information about IO MUX and GPIO matrix, please refer to Chapter IO MUX and GPIO Matrix (GPIO,
IO_MUX) in ESP8684 Technical Reference Manual.
Reset
We recommend pulling high or low GPIO pins in high impedance state to avoid unnecessary power
consumption. You may add pull-up and pull-down resistors in your PCB design referring to Table 11, or enable
internal pull-up and pull-down resistors during software initialization.
Notes
In SPI memory mode, SPI0 and SPI1 interface with in-package flash. Data is transferred in bytes. Up to
four-line STR reads and writes are supported. The clock frequency is configurable to a maximum of 60
MHz in STR mode.
When SPI2 acts as a general-purpose SPI, it can operate in master and slave modes. SPI2 supports
two-line full-duplex communication and single-/two-/four-line half-duplex communication in both master
and slave modes. The host’s clock frequency of SPI2 is configurable. Data is transferred in bytes. The
clock polarity (CPOL) and phase (CPHA) are also configurable. The SPI2 interface can connect to GDMA.
In master or slave mode, the clock frequency is 40 MHz at most, and the four modes of SPI transfer format
are supported.
You can configure instruction registers to control the I2C interface for more flexibility.
• Six identical, independent PWM generators (i.e. channels) that generate digital waveforms
• Automatic duty cycle fading - gradual increase/decrease of PWM duty cycle, which is useful for the LED
RGB color-gradient generator.
The GDMA controller controls data transfer using linked lists. It allows peripheral-to-memory and
memory-to-memory data transfer at a high speed. All channels can access internal RAM.
Peripherals on ESP8684 series with DMA feature are SPI2 and SHA.
The temperature sensor has a range of –40 °C to 125 °C. It is designed primarily to sense the temperature
changes inside the chip. The temperature value depends on factors like microcontroller clock frequency or I/O
load. Generally, the chip’s internal temperature is higher than the operating ambient temperature.
3.7 Timers
3.7.1 General Purpose Timer
ESP8684 series is embedded with a 54-bit general-purpose timer, which is based on a 16-bit prescaler and a
54-bit auto-reload-capable up/down-timer.
During the flash boot process, RWDT and MWDT are enabled automatically in order to detect and recover from
booting errors.
• four stages, each with a programmable timeout value. Each stage can be configured, enabled and
disabled separately
• interrupt, CPU reset, or core reset for MWDT upon expiry of each stage; interrupt, CPU reset, core reset, or
system reset for RWDT upon expiry of each stage
• write protection, to prevent RWDT and MWDT configuration from being altered inadvertently
• Active mode: CPU and chip radio are powered on. The chip can receive, transmit, or listen.
• Modem-sleep mode: The CPU is operational and the clock speed can be reduced. Wireless base band,
and radio are disabled, but wireless connection can remain active.
• Light-sleep mode: The CPU is paused. Any wake-up events (MAC,RTC timer, or external interrupts) will
wake up the chip. Wireless connection can remain active.
• Deep-sleep mode: CPU and most peripherals are powered down. Only the PMU in RTC power
management unit is powered on. For more details, please refer to Figure 1.
For power consumption in different power modes, please refer to Current Consumption.
• ECC
• Secure boot feature uses a hardware root of trust to ensure only signed firmware can be booted.
• The clock glitch filter can filter the glitches on the external main crystal clock, so as to prevent the chip from
being attacked by clock glitches.
4 Electrical Characteristics
ESP-IDF provides a couple of calibration methods for ADC. Results after calibration using hardware + software
calibration are shown in Table 13. For higher accuracy, users may apply other calibration methods provided in
ESP-IDF, or implement their own.
RX current consumption is rated when the peripherals are disabled and the CPU idle.
Table 14: Current Consumption for WiFi (2.4 GHz) in Active Mode
4.6 Reliability
Table 20: TX Power with Spectral Mask and EVM Meeting 802.11 Standards
Espressif
AdjacentSystems
channel selectivity C/I 33 ESP8684 Datasheet (Version v1.4)
Submit Documentation Feedback
4 Electrical Characteristics
5 Package Information
Note:
• The pins of the chip are numbered in a clockwise direction from Pin 1 in the top view;
• Please go to Chipsets to view the recommended PCB package source file (asc). The source file can be imported
using software such as PADS or AD (Altium Designer);
• For information about tape, reel, and product marking, please refer to Espressif Chip-Packing Information.
Developer Zone
• ESP-IDF Programming Guide for ESP8684 – Extensive documentation for the ESP-IDF development framework.
• ESP-IDF and other development frameworks on GitHub.
https://github.com/espressif
• ESP32 BBS Forum – Engineer-to-Engineer (E2E) Community for Espressif products where you can post questions,
share knowledge, explore ideas, and help solve problems with fellow engineers.
https://esp32.com/
• The ESP Journal – Best Practices, Articles, and Notes from Espressif folks.
https://blog.espressif.com/
• See the tabs SDKs and Demos, Apps, Tools, AT Firmware.
https://espressif.com/en/support/download/sdks-demos
Products
• ESP8684 Series SoCs – Browse through all ESP8684 SoCs.
https://espressif.com/en/products/socs?id=ESP8684
• ESP8684 Series Modules – Browse through all ESP8684-based modules.
https://espressif.com/en/products/modules?id=ESP8684
• ESP8684 Series DevKits – Browse through all ESP8684-based devkits.
https://espressif.com/en/products/devkits?id=ESP8684
• ESP Product Selector – Find an Espressif hardware product suitable for your needs by comparing or applying filters.
https://products.espressif.com/#/product-selector?language=en
Contact Us
• See the tabs Sales Questions, Technical Enquiries, Circuit Schematic & PCB Design Review, Get Samples
(Online stores), Become Our Supplier, Comments & Suggestions.
https://espressif.com/en/contact-us/sales-questions
Revision History
• Updated table 1
• Renamed ”SiP Flash” to ”In-package Flash” to keep term consistency
2023-07-25 v1.3 • Added information about clock glitch filter in Section Physical Security Fea-
tures
• Added SRAM clock frequency in Section Internal Memory.
Added table ”power-up glitches on pins” for General Purpose Input / Output Inter-
2022-07-12 v0.7
face (GPIO)
2022-06-30 v0.6 Updated Current Consumption in Other Modes
2022-05-05 v0.5 Updated Wi-Fi Radio and Bluetooth LE Radio
2022-01-28 v0.4 Updated Electrical Characteristics and Package Information
2021-12-22 v0.2 Updated section Applications
2021-11-30 v0.1 Preliminary release