Sign In
Upload
Manuals
Brands
Espressif Systems Manuals
Microcontrollers
ESP32 Series
Espressif Systems ESP32 Series Manuals
Manuals and User Guides for Espressif Systems ESP32 Series. We have
9
Espressif Systems ESP32 Series manuals available for free PDF download: Technical Reference Manual, Faq, Instruction Set, Hardware Design Manuallines, Manual, Design Manuallines
Espressif Systems ESP32 Series Technical Reference Manual (735 pages)
Brand:
Espressif Systems
| Category:
Single board computers
| Size: 9 MB
Table of Contents
About this Manual
2
Document Updates
2
Revision History
2
Table of Contents
16
List of Tables
16
List of Figures
19
Functional Description
26
Embedded Memory
26
Address Mapping
26
Internal ROM
27
Internal SRAM
27
Embedded Memory Address Mapping
27
External Memory
29
Module with DMA
29
External Memory Address Mapping
29
Peripheral Address Mapping
31
Memory Speed
33
Interrupt Matrix Structure
34
CPU Interrupts
37
Reset Source
39
System Reset
39
PRO_CPU and APP_CPU Reset Reason Values
39
System Clock
40
Clock Source
41
CPU Clock
41
CPU_CLK Derivation
41
Peripheral Clock Usage
42
CPU_CLK Source
43
Apb_Clk
43
Ref_Tick
43
RTC Clock
44
Register Summary
44
Peripheral Input Via IO_MUX, GPIO Matrix
49
ESP32 I/O Pad Power Sources (QFN 6*6, Top View)
54
ESP32 I/O Pad Power Sources (QFN 5*5, Top View)
54
Register Summary
61
Functional Description
92
Register Summary
94
DMA Controller (DMA)
120
Functional Description
120
DMA Engine Architecture
120
Spi Dma
123
SPI Architecture
125
SPI Features
126
7.3 Gpspi
126
SPI Data Buffer
128
Clock Polarity and Phase, and Corresponding SPI Register Values for SPI Master
129
Clock Polarity and Phase, and Corresponding SPI Register Values for SPI Slave
129
Parallel QSPI
131
SPI Interrupts
132
DMA Interrupts
132
Communication Format of Parallel QSPI
132
Register Summary
133
Spi_Inlink_Dscr_Reg
156
Spi_Inlink_Dscr_Bf0_Reg
156
Spi_Inlink_Dscr_Bf1_Reg
156
Spi_Out_Eof_Bfr_Des_Addr_Reg
156
Spi_Out_Eof_Des_Addr_Reg
156
Spi_Outlink_Dscr_Reg
157
Spi_Outlink_Dscr_Bf0_Reg
157
Spi_Outlink_Dscr_Bf1_Reg
157
Functional Description
159
SDIO Slave Block Diagram
159
Register Access
160
CMD53 Content
160
Output Timing Diagram
165
SD/MMC Controller Topology
192
SD/MMC Controller External Interface Signals
193
Functional Description
193
Descriptor Chain
198
The Structure of a Linked List
198
SD/MMC Timing Requirements
202
Register Summary
203
Clock Phase Selection
203
Ethernet MAC Functionality Overview
223
Ethernet Block Diagram
225
Transmit Operation
225
Transmit Flow Control
225
Receive Operation
226
Reception Protocol
227
Receive Flow Control
227
MAC Address Filtering
228
Destination Address Filtering
229
Source Address Filtering
230
PHY Interface
231
MII Interface
232
MII Clock
233
RMII Interface
234
RMII Clock
235
RMII Timing - Transmitting Data
236
Timing Parameters - Transmitting Data
236
Transmit Descriptors
236
Transmit Descriptor
236
Transmit Descriptor 0 (TDES0)
237
Receive Descriptors
241
Transmit Descriptor 1 (TDES1)
241
Transmit Descriptor 2 (TDES2)
241
Transmit Descriptor 3 (TDES3)
241
Receive Descriptor 0 (RDES0)
242
Receive Descriptor
242
Receive Descriptor 1 (RDES1)
244
Receive Descriptor 2 (RDES2)
245
Receive Descriptor 3 (RDES3)
245
Receive Descriptor 4 (RDES4)
245
Register Summary
246
Functional Description
286
I2C Master Architecture
287
I2C Slave Architecture
287
I2C Bus Timing
288
I2C Sequence Chart
288
SCL Frequency Configuration
288
Structure of the I2C Command Register
289
Register Summary
297
I2S System Block Diagram
310
I2S Signal Bus Description
311
I2S Clock
312
Philips Standard
313
MSB Alignment Standard
313
Module Reset
314
FIFO Operation
314
PCM Standard
314
Sending Data
315
Tx FIFO Data Mode
315
Register Configuration
315
Send Channel Mode
315
Receiving Data
316
The First Stage of Receiving Data
316
Modes of Writing Received Data into FIFO and the Corresponding Register Configuration
317
The Register Configuration to Which the Four Modes Correspond
317
Modes of Writing Received Data into FIFO
317
PDM Transmitting Module
318
Upsampling Rate Configuration
319
PDM Sends Signal
319
PDM Receives Signal
319
PDM Receive Module
319
LCD Master Transmitting Mode
320
LCD Master Transmitting Data Frame, Form
321
Camera Slave Receiving Mode
321
ADC Interface of I2S0
322
DAC Interface of I2S
322
Data Input by I2S DAC Interface
322
Register Summary
323
Functional Description
344
UART Basic Structure
345
UART Shared RAM
346
UART Data Frame Structure
347
Flow Control
348
AT_CMD Character Format
348
Software Flow Control
349
Hardware Flow Control
349
UART Interrupts
350
UART Register Summary
351
UART Registers
355
LED_PWM Architecture
387
LED PWM Output Signal Diagram
389
Output Signal Diagram of Fading Duty Cycle
390
Register Summary
391
Functional Description
404
RMT Architecture
404
Data Structure
405
Register Summary
406
MCPWM Module Overview
413
Prescaler Submodule
415
Timer Submodule
415
Operator Submodule
416
Configuration Parameters of the Operator Submodule
417
Fault Detection Submodule
418
Capture Submodule
418
Submodules Inside the PWM Operator
425
Timing Events Used in PWM Generator
426
Timing Events Priority When PWM Timer Increments
427
Timing Events Priority When PWM Timer Decrements
427
Dead Time Generator Switches Control Registers
437
Options for Setting up the Dead Time Generator Submodule
437
Typical Dead Time Generator Operating Modes
438
Active High Complementary (AHC) Dead Time Waveforms
438
Active Low Complementary (ALC) Dead Time Waveforms
439
Active High (AH) Dead Time Waveforms
439
Active Low (AL) Dead Time Waveforms
440
Example of Waveforms Showing PWM Carrier Action
442
Possible Duty Cycle Settings for Sustaining Pulses in the PWM Carrier Submodule
444
Capture Channel
446
Register Summary
447
Functional Description
496
PULSE_CNT Architecture
496
PULSE_CNT Upcounting Diagram
498
PULSE_CNT Downcounting Diagram
498
Register Summary
499
Alarm Generation
508
Write Protection
519
System Parameters
520
BLOCK1/2/3 Encoding
523
Programming of System Parameters
524
Program Registers
524
Timing Configuration
526
Software Read Registers
527
Register Summary
528
The Bit Fields of Data Frames and Remote Frames
544
Data Frames and Remote Frames in SFF and EFF
545
Error Frame
546
Various Fields of an Error Frame
546
Overload Frame
547
The Bit Fields of an Overload Frame
547
Interframe Space
548
The Fields Within an Interframe Space
548
Error States
549
Error Counters
549
Segments of a Nominal Bit Time
550
Architectural Overview
551
Layout of a Bit
552
TWAI Overview Diagram
552
Bit Stream Processor
553
Functional Description
554
Bit Information of TWAI_CLOCK_DIVIDER_REG; TWAI Address 0X18
555
Bit Information of TWAI_BUS_TIMING_1_REG; TWAI Address 0X1C
555
Interrupt Management
555
Buffer Layout for Standard Frame Format and Extended Frame Format
557
Frame Information
558
TX/RX Frame Information (SFF/EFF) TWAI Address 0X40
558
Frame Data
559
TX/RX Identifier 1 (SFF); TWAI Address 0X44
559
TX/RX Identifier 2 (SFF); TWAI Address 0X48
559
TX/RX Identifier 1 (EFF); TWAI Address 0X44
559
TX/RX Identifier 2 (EFF); TWAI Address 0X48
559
TX/RX Identifier 3 (EFF); TWAI Address 0X4C
559
TX/RX Identifier 4 (EFF); TWAI Address 0X50
559
Acceptance Filter
560
Single Filter Mode
561
Error Management
562
Dual Filter Mode
562
Error State Transition
563
Bit Information of TWAI_ERR_CODE_CAP_REG; TWAI Address 0X30
564
Positions of Arbitration Lost Bits
565
Register Summary
565
Functional Description
580
Key Endianness
580
Operation Mode
580
AES Text Endianness
581
Register Summary
583
Random Number Generator (Rng)
601
Noise Source
601
Programming Procedure
602
Flash Encryption/Decryption Module Architecture
603
Key Generator
604
PID Controller
607
MPU and MMU Structure for Internal Memory
608
MPU for RTC FAST Memory
609
MPU for RTC SLOW Memory
609
Page Mode of MMU for the Remaining 128 KB of Internal SRAM0 and SRAM2
610
MMU Access Example
610
Page Boundaries for SRAM0 MMU
611
Page Boundaries for SRAM2 MMU
611
MPU for DMA
613
Virtual Address for External Memory
615
MMU Entry Numbers for PRO_CPU
616
MMU Entry Numbers for APP_CPU
616
Virtual Address Mode for External SRAM
617
Virtual Address for External SRAM ( Normal Mode )
618
Virtual Address for External SRAM ( Low-High Mode )
618
Virtual Address for External SRAM (Even-Odd Mode)
618
MMU Entry Numbers for External RAM
619
MPU for Peripheral
620
Functional Description
622
Interrupt Vector Entry Address
623
Interrupt Nesting
625
Register Summary
626
Touch Sensor
632
ESP32 Capacitive Sensing Touch Pads
633
Touch Sensor Structure
633
Touch Sensor Operating Flow
634
Touch FSM Structure
635
Outline of Function
636
SAR ADC Depiction
636
SAR ADC Outline of Function
637
Inputs of SAR ADC
638
ESP32 SAR ADC Controllers
638
Advertisement
Espressif Systems ESP32 Series Faq (191 pages)
Brand:
Espressif Systems
| Category:
Motherboard
| Size: 0 MB
Table of Contents
Table of Contents
2
Instruction
20
Question Search
20
Question Search Techniques
20
Question Classification Categories
21
Document Contribution
21
Commit Process
21
Create a New Branch
21
Branch Naming Conventions
22
Q&A Guidelines
22
Local Build Environment
23
Commit Message Standards
24
Submit a Merge Request
24
Development Environment
26
IDE Plugins
26
How to Add ESP32 Development Board on Arduino IDE
26
When Using the Arduino IDE Development Platform, How to Read the MAC Address of the Wi-Fi that Comes with ESP32
26
Debugging
26
How to Use the Flash Download Tool to Flash the bin File Generated by Arduino to ESP32
26
What Is the Serial Port Name of ESP Devices
27
How to Block Debugging Messages Sent through UART0 by Default in ESP32
27
How to Modify the Default Method of RF Calibration in ESP32
27
How to Modify the Default Method of RF Calibration in ESP8266
27
How to Troubleshoot in ESP32 Boot Mode
28
When Debugging with ESP32 JLINK, an ERROR Occurs As: no Symbols for Freertos
28
How Can I Resolve such Issue
28
How to Monitor the Free Space of the Task Stack
28
Is It Possible to Use JTAG to Debug with ESP32-S2
28
How to Modify the Log Output Without Changing the Output Level of Menuconfig
28
ESP8266 Enters Boot Mode (2,7) and Hits a Watchdog Reset. What Could be Wrong
29
When Using the ESP-WROVER-KIT Board with Openocd, an Error Occurred As: Can't
29
Find Board/Esp32-Wrover-Kit-3.3V.cfg. How Can I Resolve such Issue
29
The Rtc_Watch_Dog Keeps Resetting During ESP32 SPI Boot. What Could be the Reason
29
How to Obtain and Parse Coredump with ESP32
29
How to Do RF Performance Test with ESP32, ESP8266, and ESP32S2
30
My PC Cannot Recognize the Device Connected in Win10 System. What Could be the Reason
30
One Error Occurred with ESP32 As: Core 1 Paniced (Cache Disabled but Cache Memory Region Accessed). What Could be the Reason
30
How to Read the Flash Model Information of the Modules
30
How Can I Resolve such Issue
30
I Found a "Brownout Detector was Triggered"Failure on My ESP32. How to Resolve such Issue
31
After Imported the Protocol_Examples_Common.h Header File, How Come It Cannot be Found While Compling
31
When Using ESP8266 Nonos V3.0 SDK, the Following Error Occurred. What Could be the Reason
31
Environment Setup
31
When Setting up ESP32-S2 Environment Using Command Idf.py Set-Target
31
Be the Reason
31
When Installing ESP-IDF Version Master Using ESP-IDF Tools 2.3 in Windows System, an Error Occurred As: Installation Has Failed with Exit Code 2. What Could be the Reason
32
When Setting up Environment Using Esp-Idf-Tools-Setup-2.3.Exe on Windows, Errors Occurred When Make Menuconfig Is Executed
32
When Using Esp-Idf-Tools-Setup-2.2.Exe in Windows System, a Python Error Occurred During the Installation
32
What Should I Do if I Get Download Failed: Security Channel Support Error When Installing Build Environment in the Windows System
32
When Executing Export.bat in Windows System, What Should I Do if I Get Cmake and Gdbgui Version Errors
32
Errors Occurred When Using Idf.menuconfig and Idf.build after Updating the ESP- IDF Version from V3.3 to the Latest One
33
How to Configure PATH and IDF_PATH When Developing ESP32 and ESP8266 Simulta- Neously
33
Do I Need to Use Command Idf.py Set-Target Every Time When Switching to Another Project
33
How to Know the Version of ESP-IDF, Is It Recorded in a Certain Document
34
How to Optimize ESP-IDF Compilation in Windows Environment
34
Is There an Esptool that Can be Used Directly on Windows
34
Firmware Update
34
How Does the Host MCU Flash ESP32 Via Serial Interfaces
34
How to Download Firmware for ESP32 Series Modules Using the USB-Serial Tool
34
How to Flash Firmware in Macos and Linux Systems
35
Does ESP32 Support Programming Using JTAG Pins Directly
35
Does Esp_Flash_Downloader_Tool Support Customized Programming Control
35
Can I Enable the Security Boot Function for ESP32 Via OTA
35
How to Resolve the Following Error Occured When Flashing Firmware to ESP32-S2 Based on
35
ESP-IDF V4.1
36
How to Download Firmware Based on ESP-IDF Using Flash_Download_Tool
36
What Is the Communication Protocol for Flashing ESP Chips
36
How to Program ESP32-C3'S Firmware Offline
36
How Does ESP32 Set Flash SPI to QIO Mode
36
After Downloading Program and Powering on EPS8266, the Serial Port Printed the Following Log. What Is the Reason
36
What Are the Espressif Module Programming Tools
37
What Is the Difference between the Factory Mode and Developer Mode of the Flash Download Tool
37
Why Does the Programming Failed for the Jig with a 4-Port Hub in Factory Mode
37
Succeeded When Replacing the Module with ESP32-WEOVER-E, What Is the Reason
37
The Encrypted Device Cannot be Re-Flashed Via the Flash Download Tool. What Could be the
38
When Updating ESP32 Firmware through UART Interface Based on Esptool Serial Port Pro
38
Messages. What Could be the Reason
38
Why Does My USB Driver Failed to be Recognized by the Windows7 System
38
After Using the ESP32-WROVER-E Module to Download the Program, the Following Log Is Printed after Powered On. What Could be the Reason
38
When Using the Flash Download Tools to Flash ESP32-C3 Via USB, 8-Download Data Fail Occurs Repeatedly. How Can I Solve It
38
Application Solution
40
Android Application
40
Artificial Intelligence
40
What Types of Cameras Are Supported on AI Image Recognition Products
40
Which Versions of ESP-IDF Are Supported by ESP-WHO
40
Is There any Information about the Wechat Mini Program of ESP-EYE
40
What Languages Are Supported by the Esp-Skainet Demo
40
What Model Frameworks Does ESP-DL Support
41
Does ESP-DL Support All Models of the Three Platforms Mentioned above (Mxnet, Pytorch, and Tensorflow)
41
Can the Model Files of ESP-SKAINET be Stored in the SD Card
41
How to Customize Command Words in ESP-SKAINET
41
How to Reduce the System Footprint of AI Speech Models
41
What Is the Difference between a 16-Bit Quantization Model and an 8-Bit Quantization Model
41
How Does the AI Voice Model Modify the Number of Microphone Channels
41
How Do I Get the Actual Audio Captured in the Development Board
41
Do You Have Relevant Study Materials for ESP-SR Github
42
Do You Have Relevant Study Materials for ESP-DL
42
How Does ESP32-S3 Customize English Command Words for Recognition
42
Audio Development Framework
42
What Is the Maximum Power of Supported Speakers for ESP32 Series Audio Development Board
42
Does Alexa Solution Have Certain Requirements for Environmental Noise
42
There Is an aux Input on the ESP32 AI Development Board, Can MIC be Used to Pick up the Sound
42
When Using ESP32-WROVER-B Module + ES8311 to Design Audio Development Board, Which Pins Can be Selected for MCLK Clock
43
Can ESP32-WROVER-E Module Use One I2S Line to Realize Simultaneous Broadcasting and Recording
43
Do Espressif Modules Support Spotify Connect
43
When Running the Korvo_Du1906 Example on an ESP32-Korvo-DU1906 Board, a Reboot Caused the Following Error Message: Guru Meditation Error: Core 0 Panic'ed
43
Struction). Exception was Unhandled. How to Resolve such Issue
43
Can ESP-DSP Fft Run 4096, 8192 and more Samples
44
How to Connect a Microphone with ESP32
44
Does ESP32 Support Analog Audio Output or Digital Audio Output
44
What Audio Formats Does the ESP32 Chip Support
44
How to Use the ESP32 Chip to Decode Compressed Audio
44
Where Is the Code Example for ESP-LED-Strip
44
Does ESP32 Support Online Voice Recognition
44
BLE Mesh Development Framework
44
What Is the Maximum Data Transmission Load for Bluetooth® le (BLE) Mesh
45
Could You Provide an Example of Networking through ESP32 BLE-Mesh? What APP Can be Used for BLE-Mesh Networking
45
For Unprovisioned Device in BLE-MESH, the Default Name Is ESP-BLE-MESH, How to Modify this Name
45
How Many Node Devices Can Esp32'S BLE-MESH Application Connect to
45
How Can I Manually Reset a BLE Mesh Device Without the Mobile Provisioning App or Provisioning Device
45
Can Wi-Fi be Used with ESP-NOW at the same Time
52
How Do I Set the Rate at Which ESP-NOW Data Is Sent
52
ESP-NOW Allows Pairing with a Maximum of 20 Devices. Is There a Way to Control more Devices
52
What Is the Maximum Number of Devices that Can be Controlled by ESP-NOW
52
Do I Need to Connect a Router for Communication between ESP-NOW Devices
53
Why Does ESP-NOW Limit the Data Length of each Packet to 250 Bytes? Can It be Configured
53
What Should I Pay Attention to When Using ESP-NOW Applications
53
How Can I Reduce Power Consumption When Using ESP-NOW
53
In Addition to Wireless Communication through ESP-NOW, Is There any Other Better Way to Realize One-To-One and One-To-Many Communication
53
Do ESP-NOW Applications Support Sending Packets over each Wi-Fi Channel
54
Are There any Special Procedures Required if I Intend to Use ESP-NOW for Commercial
54
Rameters Including CSMA/CA, Modulation Method, and Bit Rate
54
I Tested the Application Esp-Idf/Examples/Wifi/Espnow Using ESP32. Does It Only Support Connecting to 7 Encrypted Devices at the Maximum
54
ESP Rainmaker Cloud Service
54
Ios Application
54
Third Party Cloud Service
54
Are There any Examples for OTA Upgrading
54
Does ESP Azure Library Support Azure Iot Central? Is There an Example
55
What Should I Do to Connect ESP32 to Alibaba Cloud Via ESP32 + Ethernet + MQTT
55
What Do Alexa LED States Indicate
55
ESP-WIFI-MESH Development Framework
55
What Is the Maximum Data Transmission Load for Wi-Fi Mesh
55
Does Esp32'S Wi-Fi Mesh Supports no Router Self-Networking
55
What Is the Maximum Number of Node Layers Allowed When ESP32 Uses Wi-Fi Mesh
55
When Using an ESP32 Development Board to Test the Esp
56
The Router, the Device Name in Connection Is "Espressif". How to Modify this Name
56
Can Wi-Fi Mesh Send Messages to Specific Nodes Via TCP Server
56
During the Operation of the ESP32 Wi-Fi Mesh Network, if the Root Node Is Lost, What Events will the System Report Back
56
But the Server DID Not Receive any Data. How to Transfer Data from Leaf Nodes to External Servers
56
How Do I Upgrade My ESP-MESH Device Via OTA after Networking
56
Can You Provide ESP-MESH Light Reference Design
56
What Is the Default Mode for ESP-MESH Nodes Without any Configuration
57
ESP-MESH Starts with AP+STA Mode Enabled, Can the Phone Search for Aps
57
Do I Need to Rescan for All the Newly Added Devices When the Original Device Has Already Been Networked
57
When Using an ESP32 as a Master Device to Synchronize Time for Multiple Slave Devices, Can the Time Error be Less than 2 Ms
57
How Do I Get the Type of the Node in ESP-MESH
57
Is There any Demo of ESP-Mesh Root Node Sending Messages to a Service Via Ethernet
57
Does the Esp-Mesh-Lite Solution Support the Applications Without Routers
57
When Esp-Wifi-Mesh Is Already Networked, Does the Root or Node Device Can also Enable Wi-Fi Scan to Scan Surrounding Available AP Information
58
How Can I Switch to a New Router for Networking When Using the Esp-Wifi-Mesh Router Solution
58
Software Framework
60
Bluetooth le & Bluetooth
60
When Porting Example Gatt_Server, an Error Occurred Indicating Head File Does Not Exist
60
What Could be the Reasons
60
Does ESP32 Support Bluetooth 5.0
60
After the Bluetooth® le Starts Advertising, Why some Mobile Phones Cannot Successfully Scan Them
60
Can I Process OTA through Bluetooth® on ESP32
61
How Do ESP32 Bluetooth® and Bluetooth® le Dual-Mode Coexist and How Can I Use this Coexistence Mode
61
What Is the Throughput of ESP32 Bluetooth® le
61
Does ESP32 Support Bluetooth® 4.2 DLE (Data Length Extension)
61
How Do ESP32 Bluetooth® and Wi-Fi Coexist
61
How Can I Get ESP32 Bluetooth® Compatibility Test Report
61
What Is the Transmit Power of ESP32 Bluetooth
62
Could ESP32 Realize Bridging between Wi-Fi and Bluetooth® le
62
What Is the Operating Current of ESP32 Bluetooth® le
62
What Kinds of Bluetooth® le Profiles Does ESP32 Support
62
How Do I Connect Mobile Phones and Play Music Using ESP32 Bluetooth
62
How Is the ESP32 SPP Performance
62
What Is the Maximum Transmission Rate for ESP32 Bluetooth® le
63
How Does ESP32 Bluetooth® le Enter Light-Sleep Mode
63
Are There any Documentation References for ESP32 Blufi Networking
63
What Is the Maximum Transmission Rate for ESP32 Classic Bluetooth® SPP
63
Is ESP32 Bluetooth® Compatible to Bluetooth® Ver2.1 + EDR Protocol
64
How Many Bluetooth® Clients Can be Connected to ESP32
64
How Can I Get the MAC Address of Bluetooth® Devices for ESP32
64
What Is the Default Bluetooth® Transmit Power for ESP32 SDK
64
Is It Possible to Use Wi-Fi Smartconfig and Bluetooth® le Mesh for ESP32 Simultaneously
64
What Is the Operating Current for ESP32 Classic Bluetooth
64
How Can I Modify the Transmit Power for ESP32 Bluetooth
65
How Is the Networking Compatibility of ESP32 Bluetooth® LE? Is It Open-Sourced
65
When I Execute Example Bt_Spp_Acceptor on ESP32, the IOS Device Cannot Find the ESP32 Device During Scanning. What Could be the Reasons
65
How Is the Security of ESP32 Bluetooth® Le/Bluetooth® Secure Simple Pairing (SSP)
65
Compared to Legacy Pairing
65
How Can I Confirm the MTU Size of ESP32 Bluetooth® le
65
When Advertising in ESP32 Bluetooth® le Mode, an Error Occurred as "W (17370) BT_BTM: Data Exceed Max Adv Packet Length". How Can I Resolve such Issue
65
Does ESP32 Bluetooth® le Support Client-Server Mode, in Which Gatt Server and Gatt Client Can Coexist
66
What Are the Risks if There Are over Six Devices Connected to ESP32 Bluetooth® le
66
When Using ESP32 Device as the Server of Bluetooth® LE, How Many Client Devices Can
66
Be Connected
66
How Can I Send Files Via Bluetooth® BR/EDR for ESP32
66
When I Download Example ESP_SPP_SERVER for ESP32, How Can I Modify the Name
66
Of the Bluetooth® Device
66
When I Use the "Blufi"Example to Configure Network for ESP32, the Wi-Fi Cannot be
67
The Application. What Is the Reason
67
How Can I Specify a BLE Connection/Transmit Operation to Run on Core 0 When I Use ESP32
67
When I Set Name for the Bluetooth of an ESP32 Device Using Chinese Characters, Messy Code Shows Instead. What Is the Reason
67
In One Packet, or Are There Other Solutions to Increase the Transmission Rate
67
What Profile Does Esp32'S Classic Bluetooth® Support
68
How Many Stable Connections Can be Reached for ESP32-C3'S Bluetooth® le (BLE)
68
How Can I Adjust the BLE Advertising Interval
68
How Can I Input the PIN Code Via Mobile Phone During ESP32' S Classic Bluetooth Pairing
68
How Much Memory Does ESP32 Bluetooth Occupy
68
When I Use the "Gattc_Gatts_Coex.C"Example on ESP32 to Test BLE Multi-Connection
69
Menuconfig to Five. What Is the Reason
69
Does ESP32-C3 BLE Support Master and Slave Mode at the same Time? What Is the Number
69
Of Connections in Master Mode and Slave Mode
69
What Is the Maximum MTU Size of ESP32 Classic Bluetooth
69
How Can I Resolve the Frequently Occurred Elxxx Error (such as Elx200) When Wi-Fi and
69
Ble Co-Exit
69
How Does BLE Capture Packets
69
When I Use an ESP32 Development Board to Test Several Versions of Bluefi Example under
70
ESP-IDF for Networking, the Following Error Kept Printing. What Is the Reason
70
When I Use ESP32, Can Light-Sleep Mode be Enabled for Bluetooth and Can Bluetooth be
70
Kept Connected in Light-Sleep Mode
70
How Can I Modify the Bluetooth Device Name of ESP32
70
What Is the Maximum Supported Broadcast Length of BLE 5.0 Broadcast after It Is Set to Legacy Mode
71
How Can I Set a BLE Broadcast Package as Unconnectable Package
71
How Can I Send Bluetooth HCI Commands Directly to ESP32-WROOM-32D Module through the Serial Port
71
Does ESP32 Support Transmitting Audio Stream Using A2DP
71
How Many Devices Can be Connected at the most as Suggested by the White List of ESP32 Bluetooth le
71
Can ESP32 Bluetooth le Use PSRAM
71
When Using ESP32-C3 BLE Scan, Can I Set It to Only Scan the Long Range Devices
72
Is There a Limit to the Name Length of ESP32 as a Bluetooth Device
72
How Do I Set the ESP32 BLE Scan to the Permanent Scan Without Generating a Timeout
72
How Can I Get RSSI of BLE Devices through ESP32
72
How Can I Increase the Transmission Distance of BLE5.0? How Can I Set BLE5.0 to Long- Range Mode
72
However, It Does Not Work on IOS Devices. the Device Name Is Still the Default Bluetooth Name. How Can I Make It Work on Apple Devices as Well
73
I Want to Use Two ESP32 Development Boards to Test the Bluetooth Connection. How Can I Set the Specified Key to Automatically Connect Them with Gatt_Security_Client and
73
Gatt_Security_Server Examples
73
After Setting Gatt_Security_Server to ESP_IO_CAP_OUT Mode and Setting
73
However, the Two Development Boards Can Still be Connected. What Is the Reason
73
Does ESP32-C3/ESP32-C6/ESP32-S3 Support Bluetooth AOA/AOD
73
What Is the Maximum Length of Data in a BLE Advertising Packet Supported by ESP32-C3
74
With the BLE5.0 Feature
74
Does ESP32 Have any API to Check Whether BLE Advertising Has Started or Stopped
74
Ethernet
74
When Building an Example on ESP32 Ethernet Development Board, an Error Occurred as "Emac: Reset EMAC Timeout". What Could be the Reasons
74
When ESP32 Connected to LAN8720 Externally, with GPIO0 Providing CLK, the Initialization of Ethernet Example Failed. How to Resolve such Issue
74
When Using the Ethernet Example in ESP-IDF, an Error Occurred as "Timed out Waiting
75
Resolve such Issue
75
When Using ESP-IDF V4.1, How to Set the Static IP for ESP32 Ethernet
75
Is There any Impact on Ethernet Functionality if Replacing the Module of ESP32-Ethernet-Kit with ESP32-WROOM-32D
76
When Using ESP32 to Design a Self-Developed Ethernet Board, after Downloaded the Official Esp-Idf/Examples/Ethernet Example, Errors Are Reported as Follows, What Is the Reason
76
When Ethernet and Wi-Fi Co-Exist, Is Ethernet Prioritized to Transfer Data
77
Does ESP32 Ethernet Support MII Interface
77
Is It Possible to Connect ESP32-S2 to Ethernet Externally
77
Espressif Systems ESP32 Series Instruction Set (103 pages)
AT Instruction Set and Examples
Brand:
Espressif Systems
| Category:
Single board computers
| Size: 4 MB
Table of Contents
Table of Contents
3
1 Overview
7
User-Defined at Commands
7
Downloading at Firmware into Flash
7
2 Command Description
9
3 Basic at Commands
10
Overview
10
Commands
10
AT-Tests at Startup
10
AT+RST-Restarts the Module
10
AT+GMR-Checks Version Information
11
AT+GSLP-Enters Deep-Sleep Mode
11
ATE-AT Commands Echoing
11
AT+RESTORE-Restores the Factory Default Settings
11
AT+UART_CUR-Current UART Configuration, Not Saved in Flash
12
AT+UART_DEF-Default UART Configuration, Saved in Flash
13
AT+SLEEP-Sets the Sleep Mode
14
AT+SYSRAM-Checks the Remaining Space of RAM
14
AT+SYSFLASH-Set User Partitions in Flash
14
AT+FS-Filesystem Operations
15
AT+RFPOWER-Set RF TX Power
17
4 Wi-Fi at Commands
18
Overview
18
Commands
18
AT+CWMODE-Sets the Wi-Fi Mode (Station/Softap/Station+Softap)
18
AT+CWJAP-Connects to an AP
20
AT+CWLAPOPT-Sets the Configuration for the Command AT+CWLAP
21
AT+CWLAP-Lists the Available Aps
22
AT+CWQAP-Disconnects from the AP
22
AT+CWSAP-Configuration of the ESP32 Softap
23
AT+CWLIF-IP of Stations to Which the ESP32 Softap Is Connected
24
AT+CWDHCP-Enables/Disables DHCP
24
AT+CWDHCPS-Sets the IP Address Allocated by ESP32 Softap DHCP (the Configuration Is Saved in Flash.)
25
AT+CWAUTOCONN-Auto-Connects to the AP or Not
25
AT+CWSTARTSMART-Starts Smartconfig
26
AT+CWSTOPSMART-Stops Smartconfig
26
AT+WPS-Enables the WPS Function
27
AT+CWHOSTNAME-Configures the Host Name of ESP32 Station
27
AT+MDNS-Configures the MDNS Function
27
5 TCP/IP-Related at Commands
29
Overview
29
Commands
30
AT+CIPSTATUS-Gets the Connection Status
30
AT+CIPDOMAIN-DNS Function
30
AT+CIPDNS-Sets User-Defined DNS Servers; Configuration Saved in the Flash
30
AT+CIPSTAMAC-Sets the MAC Address of the ESP32 Station
31
AT+CIPAPMAC-Sets the MAC Address of the ESP32 Softap
31
AT+CIPSTA-Sets the IP Address of the ESP32 Station
32
AT+CIPAP-Sets the IP Address of the ESP32 Softap
32
AT+CIPSTART-Establishes TCP Connection, UDP Transmission or SSL Connection
33
AT+CIPSSLCCONF-Set Configuration of SSL Client
35
AT+CIPSEND-Sends Data
36
AT+CIPSENDEX-Sends Data
37
AT+CIPCLOSE-Closes TCP/UDP/SSL Connection
37
AT+CIFSR-Gets the Local IP Address
38
AT+CIPMUX-Enables/Disables Multiple Connections
38
AT+CIPSERVER-Deletes/Creates TCP or SSL Server
39
AT+CIPSERVERMAXCONN-Set the Maximum Connections Allowed by Server
39
AT+CIPMODE-Configures the Transmission Mode
40
AT+SAVETRANSLINK-Saves the Transparent Transmission Link in Flash
41
AT+CIPSTO-Sets the TCP Server Timeout
42
AT+CIPSNTPCFG-Sets the Time Zone and the SNTP Server
43
AT+CIPSNTPTIME-Queries the SNTP Time
43
AT+CIUPDATE-Updates the Software through Wi-Fi
43
AT+CIPDINFO-Shows the Remote IP and Port with "+IPD
44
IPD-Receives Network Data
44
AT+PING-Ping Packets
45
6 BLE-Related at Commands
46
Overview
46
Commands
48
AT+BLEINIT-BLE Initialization
48
AT+BLEADDR-Sets BLE Device's Address
48
AT+BLENAME-Sets BLE Device's Name
49
AT+BLESCANPARAM-Sets Parameters of BLE Scanning
49
AT+BLESCAN-Enables BLE Scanning
50
AT+BLESCANRSPDATA-Sets BLE Scan Response
51
AT+BLEADVPARAM-Sets Parameters of Advertising
52
AT+BLEADVDATA-Sets Advertising Data
53
AT+BLEADVSTART-Starts Advertising
53
AT+BLEADVSTOP-Stops Advertising
53
AT+BLECONN-Establishes BLE Connection
54
AT+BLECONNPARAM-Updates Parameters of BLE Connection
54
AT+BLEDISCONN-Ends BLE Connection
55
AT+BLEDATALEN-Sets BLE Data Packet Length
55
AT+BLECFGMTU-Sets GATT MTU Length
56
AT+BLEGATTSSRVCRE-GATTS Creates Services
56
AT+BLEGATTSSRVSTART-GATTS Starts Services
57
AT+BLEGATTSSRVSTOP-GATTS Stops Services
57
AT+BLEGATTSSRV-GATTS Discovers Services
57
AT+BLEGATTSCHAR-GATTS Discovers Characteristics
58
AT+BLEGATTSNTFY-GATTS Notifies of Characteristics
58
AT+BLEGATTSIND-GATTS Indicates Characteristics
59
AT+BLEGATTSSETATTR-GATTS Sets Characteristic
60
AT+BLEGATTCPRIMSRV-GATTC Discovers Primary Services
61
AT+BLEGATTCINCLSRV-GATTC Discovers Included Services
61
AT+BLEGATTCCHAR-GATTC Discovers Characteristics
62
AT+BLEGATTCRD-GATTC Reads a Characteristic
62
AT+BLEGATTCWR-GATTC Writes Characteristic
63
AT+BLESPPCFG-Configures BLE SPP
64
AT+BLESPP-Enables BLE SPP
66
AT+BLESECPARAM-Set Parameters of BLE SMP
67
AT+BLEENC-Starts a Pairing Request
68
AT+BLEENCRSP-Sets a Pairing Response
69
AT+BLEKEYREPLY-Reply to a Pairing Key
69
AT+BLECONFREPLY-Reply to a Pairing Result
69
AT+BLEENCDEV-Lists All Devices that Bonded
70
AT+BLEENCCLEAR-Unbind Device
70
Advertisement
Espressif Systems ESP32 Series Technical Reference Manual (126 pages)
Brand:
Espressif Systems
| Category:
Computer Hardware
| Size: 1 MB
Table of Contents
Internal ROM
2
Internal SRAM
2
Table of Contents
3
System and Memory
9
Introduction
9
Features
9
Functional Description
11
Address Mapping
11
Embedded Memory
11
Internal ROM
12
Embedded Memory Address Mapping
12
Internal SRAM
13
Internal SRAM
14
Dma
14
RTC FAST Memory
14
RTC SLOW Memory
14
External Memory
14
Module with DMA
14
Peripherals
15
External Memory Address Mapping
15
Asymmetric PID Controller Peripheral
16
Non-Contiguous Peripheral Memory Ranges
16
Memory Speed
17
Interrupt Matrix
18
Introduction
18
Features
18
Functional Description
18
Peripheral Interrupt Source
18
Interrupt Matrix Structure
18
CPU Interrupt
21
Allocate Peripheral Interrupt Sources to Peripheral Interrupt on CPU
21
CPU Interrupts
21
CPU NMI Interrupt Mask
22
Query Current Interrupt Status of Peripheral Interrupt Source
22
Reset and Clock
23
System Reset
23
Introduction
23
Reset Source
23
PRO_CPU and APP_CPU Reset Reason Values
23
System Clock
24
Introduction
24
Clock Source
25
CPU Clock
25
Peripheral Clock
26
Peripheral Clock Usage
26
Peripheral Input Via IO_MUX, GPIO Matrix
30
RMT Architecture
82
Data Structure
83
Operation Mode
112
Key Endianness
113
Espressif Systems ESP32 Series Hardware Design Manuallines (44 pages)
Brand:
Espressif Systems
| Category:
Computer Hardware
| Size: 4 MB
Table of Contents
Table of Contents
2
About this Document
6
Introduction
6
Latest Version of this Document
6
Product Overview
8
Schematic Checklist
10
Power Supply
11
Digital Power Supply
11
Analog Power Supply
12
RTC Power Supply
14
Chip Power-Up and Reset Timing
14
Flash and PSRAM
15
In-Package Flash and PSRAM
15
Off-Package Flash and PSRAM
16
Clock Source
16
External Crystal Clock Source (Compulsory)
16
RTC Clock Source (Optional)
17
RF Circuit
18
RF Tuning
19
Uart
19
Strapping Pins
20
Gpio
21
Adc
22
External Capacitor
22
Sdio
23
Touch Sensor
23
PCB Layout Design
24
General Principles of PCB Layout
24
Positioning a Module on a Base Board
25
Power Supply
26
General Guidelines
26
Power Layout
27
Analog Power Layout
27
Two-Layer PCB Design
27
Crystal
27
RF Layout on Four-Layer PCB
29
RF Layout on Two-Layer PCB
31
Flash and PSRAM
31
External RC
31
Uart
32
Sdio
32
Touch Sensor
33
Electrode Pattern
33
PCB Layout
33
Typical Layout Problems and Solutions
35
The Voltage Ripple Is Not Large, but the TX Performance of RF Is Rather Poor
35
When ESP32 Sends Data Packages, the Voltage Ripple Is Small, but RF TX Performance Is Poor
35
When ESP32 Sends Data Packages, the Power Value Is Much Higher or Lower than the Target Power Value, and the EVM Is Relatively Poor
35
TX Performance Is Not Bad, but the RX Sensitivity Is Low
35
Hardware Development
36
Espressif Systems ESP32 Series Hardware Design Manuallines (32 pages)
Brand:
Espressif Systems
| Category:
Microcontrollers
| Size: 0 MB
Table of Contents
Table of Contents
3
1 Overview
7
2 Schematic Checklist and PCB Layout Design
8
Schematic Checklist
8
ESP32 Schematics
8
Power Supply
9
Digital Power Supply
9
Analog Power Supply
9
Power-On Sequence and System Reset
10
Power-On Sequence
10
Reset
11
Flash
11
Crystal Oscillator
11
External Clock Source (Compulsory)
11
ESP32 Flash
11
ESP32 Crystal Oscillator
12
RTC (Optional)
13
Adc
13
ESP32 Crystal Oscillator (RTC)
13
External Capacitor
14
Uart
14
Esp32 Uart
14
PCB Layout Design
15
Standalone ESP32 Module
15
General Principles of PCB Layout
15
Positioning a ESP32 Module on a Base Board
16
Power Supply
17
Crystal Oscillator
18
ESP32 Crystal Oscillator Layout
19
ESP32 RF Layout
19
External RC
20
Uart
20
Touch Sensor
20
ESP32 as a Slave Device
21
Electrode Pattern Requirements
21
Typical Layout Problems and Solutions
22
Q: the Current Ripple Is Not Large, but the Tx Performance of RF Is Rather Poor
22
Q: the Power Ripple Is Small, but RF Tx Performance Is Poor
23
Q: When ESP32 Sends Data Packages, the Power Value Is Much Higher or Lower than the Target Power Value, and the EVM Is Relatively Poor
23
Q: Tx Performance Is Not Bad, but the Rx Sensitivity Is Low
23
3 Hardware Development
24
ESP32-PICO-D4 Module
24
ESP32-WROOM-32(ESP-WROOM-32) Module
24
ESP32-WROOM-32D(ESP-WROOM-32D) Module
25
ESP32-WROOM-32U Module
25
ESP32-WROOM-32(ESP-WROOM-32) Module
25
ESP32-WROVER Module
26
ESP32-WROOM-32U Module
26
Notes on Using Modules
27
ESP32-Devkitc Development Board
27
ESP-WROVER-KIT Development Board
28
Applications
30
Espressif Systems ESP32 Series Manual (29 pages)
Brand:
Espressif Systems
| Category:
Microcontrollers
| Size: 11 MB
Table of Contents
Table of Contents
3
Overview
7
Basic Protocols
7
Wi-Fi
7
Bluetooth
7
Application
8
Function Block Diagram
9
Pin Definitions
10
Pin Layout
10
Pin Description
10
Strapping Pins
12
Schematics and PCB Layout Design
14
Schematics
14
ESP32 Schematics
14
Power Supply
15
Digital Power Supply
15
Analog Power Supply
15
Power-On Sequence and Reset
16
Power-On Sequence
16
Reset
16
Flash
16
Crystal Oscillator
17
External Clock Source (Compulsory)
17
ESP32 Flash
17
ESP32 Crystal Oscillator
17
RTC (Optional)
18
ESP32 Crystal Oscillator (RTC)
18
Esp32 Rf
18
Sensor External Sampling Capacitor
19
External Capacitor
19
PCB Layout
19
Standalone ESP32 Module
20
General Principles of PCB Layout
20
Power Supply
20
Crystal Oscillator
20
ESP32 Crystal Oscillator
21
ESP32 as a Slave Device
22
Typical Layout Problems and Solutions
22
Q: the Current Ripple Is Not Large, but the Tx Performance of RF Is Rather Poor
22
Q: the Power Ripple Is Small, but RF Tx Performance Is Poor
23
Q: When ESP32 Sends Data Packages, the Power Value Is Much Higher or Lower than the Target Power Value, and the EVM Is Relatively Poor
23
Q: Tx Performance Is Not Bad, but the Rx Sensitivity Is Low
23
Hardware Development
24
ESP-WROOM-32 Module
24
Overview
24
Pin Definition
25
Notes
26
ESP32-Devkitc
27
Overview
27
Schematics
28
Espressif Systems ESP32 Series Hardware Design Manuallines (30 pages)
Brand:
Espressif Systems
| Category:
Microcontrollers
| Size: 6 MB
Table of Contents
Table of Contents
3
1 Overview
6
2 Schematic Checklist and PCB Layout Design
7
Schematic Checklist
7
ESP32 Schematics (ESP32-D0WD Used as an Example for All Illustrations in this Section)
7
Power Supply
8
Digital Power Supply
8
Analog Power Supply
9
Power-On Sequence and System Reset
9
Power-On Sequence
9
Reset
9
Flash
10
Crystal Oscillator
10
External Clock Source (Compulsory)
10
ESP32 Flash
10
RTC (Optional)
11
ESP32 Crystal Oscillator
11
Adc
12
External Capacitor
13
Uart
13
PCB Layout Design
13
Esp32 Uart
13
Standalone ESP32 Module
14
General Principles of PCB Layout
14
Positioning a ESP32 Module on a Base Board
15
Power Supply
16
ESP32 Power Traces in a Four-Layer PCB Design
16
Crystal Oscillator
17
ESP32 Power Traces in a Two-Layer PCB Design
17
ESP32 Crystal Oscillator Layout
18
External RC
19
Uart
19
ESP32 RF Layout in a Four-Layer PCB Design
19
ESP32 RF Layout in a Two-Layer PCB Design
19
Touch Sensor
20
ESP32 as a Slave Device
21
Electrode Pattern Requirements
21
Typical Layout Problems and Solutions
22
Q: the Current Ripple Is Not Large, but the TX Performance of RF Is Rather Poor
22
Q: the Power Ripple Is Small, but RF TX Performance Is Poor
23
Q: When ESP32 Sends Data Packages, the Power Value Is Much Higher or Lower than the Target Power Value, and the EVM Is Relatively Poor
23
Q: TX Performance Is Not Bad, but the RX Sensitivity Is Low
23
3 Hardware Development
24
4 Applications
25
ESP32 Smart Audio Platform
25
ESP32-Lyrat Audio Development Board
25
ESP32-Lyratd-MSC Audio Development Board
26
ESP32 Touch Sensor Application-ESP32-Sense Kit
27
ESP32-Lyratd-MSC
27
ESP32-Sense Kit
27
ESP-Mesh Application-ESP32-Meshkit
28
ESP32-Meshkit-Light
28
ESP32-Meshkit-Sense Development Board
28
Espressif Systems ESP32 Series Design Manuallines (22 pages)
Brand:
Espressif Systems
| Category:
Recording Equipment
| Size: 4 MB
Table of Contents
Table of Contents
3
1 Schematic Design
4
Power Supply and GND Plane
4
Usb/Battery Power Scheme
4
Power Scheme for Peripherals
5
Ground Plane Splitting Scheme
5
Design Rules for Audio Chip
6
Pin Configuration of ESP32
7
Module Power Supply
7
Module Enable
7
Input-Only Pins
7
Dedicated Pins
8
Strapping Pins and Other Special Pins
9
2 PCB Layout Design
11
General Principles of PCB Layout
11
PCB Layers
11
General Guidelines for Routing Traces
11
Key Points of PCB Layout Design
12
Positioning an ESP32 Module on a Baseboard
12
Positioning Plug-In Components
14
Positioning Chip Components
16
Power Traces, Ground Traces, and Signal Traces
17
Power Traces Routing
17
Ground Traces Routing
18
Signal Traces Routing
20
Advertisement
Related Products
Espressif Systems ESP32-D2WD
Espressif Systems ESP32-S0WD
Espressif Systems ESP32-D0WDQ6
Espressif Systems ESP32-D0WD
Espressif Systems ESP32-C3 Series
Espressif Systems ESP32-C3-WROOM-1
Espressif Systems ESP32-C3-WROOM-02
Espressif Systems ESP32-C3FH4
Espressif Systems ESP32-C3-MINI-1-N4
Espressif Systems ESP32-C6 Series
Espressif Systems Categories
Microcontrollers
Control Unit
Computer Hardware
Motherboard
Single board computers
More Espressif Systems Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL