Initial: knowledge base

This commit is contained in:
2026-08-05 17:25:09 +08:00
parent bfabe83832
commit 5700eb4115
35 changed files with 5140 additions and 11 deletions
+46
View File
@@ -0,0 +1,46 @@
# ESP32-C2 Specifications
> **芯片:esp32-c2** | **类别:specs** | **信源:** [Espressif 官方文档](https://docs.espressif.com)
## 1. Core Architecture
- **CPU:** Single-core RISC-V, 120 MHz — 全系列最低主频之一
- **Wireless:** 802.11 b/g/n (Wi-Fi 4), BLE 5.0
- **Application:** Cost-sensitive IoT nodes, direct ESP8266 replacement, 极致低成本
## 2. Memory
- **SRAM:** 272 KB internal16 KB 保留为 Cache
- **ROM:** 576 KB
- **外部 Flash:** SiP 封装内集成 4 MB(部分型号无内置 Flash)
- **无 PSRAM 支持**
## 3. Peripheral Mapping
- **GPIO Count:** 芯片 21 个(GPIO020),SiP Flash 型号可用 14 个(GPIO1117 被 Flash 占用)
- **ADC:** 1 个 ADC15 通道(GPIO04),12-bit,最高 100 Ksps
- **DAC:** **None**
- **Touch:** **None**
- **USB:** USB Serial/JTAGGPIO18/19
- **Hardware PWM:** LEDC6 通道)
- **UART:** 1 个(UART0 默认 GPIO20/21)— 注意只有 1 个 UART
- **I2C:** 1 个(可映射到任意 GPIO
- **SPI:** 2 个(SPI0/1 FlashSPI2 不可用,无通用 SPI
- **I2S:** **None** — 无音频接口
## 4. Hardware Safety & Constraints
- **ADC/WiFi Conflict:** **None** — C2 只有 ADC1RISC-V 架构无冲突
- **Flash Pins:** GPIO1117SiP Flash 型号内部占用,不可用)
- **Strapping Pins:** GPIO8, GPIO9
- **供电:** 3.03.6V,推荐 3.3V
- **Deep-sleep:** ~5 µA
- **工作温度:** 40°C ~ +85°C / +105°C
- **封装:** QFN244×4 mm)或 QFN325×5 mm
## 5. RTC 唤醒限制
- **Deep-sleep 可唤醒:** GPIO05
- **仅 Light-sleep 可唤醒:** GPIO620
## 6. 定位:ESP8266 的继任者
- CPUESP8266=Xtensa L106 80/160MHz, ESP32-C2=RISC-V 120MHz
- SRAMESP8266=160 KB, ESP32-C2=272 KB
- GPIOESP8266=17, ESP32-C2=14SiP
- ADCESP8266=1ch 10-bit, ESP32-C2=5ch 12-bit
- BLEESP8266=❌, ESP32-C2=✅ 5.0
- 封装:ESP8266=QFN32 5x5, ESP32-C2=QFN24 4x4