Transcription of ESP32C3 Series - Espressif
1 ESP32 C3 SeriesDatasheetUltra Low Power SoC with RISC V Single Core CPUS upporting IEEE ( GHz Wi Fi) and Bluetooth 5 (LE)Including:ESP32-C3 ESP32-C3FN4 ESP32-C3FH4 ESP32-C3FH4 AZVersion SystemsCopyright OverviewESP32-C3 Series of SoCs is an ultra-low-power and highly-integrated MCU-based solution that supports Wi-Fi and Bluetooth Low Energy (Bluetooth LE). The block diagram of ESP32-C3 is shown SystemWireless MAC and BasebandWi-Fi MAC Wi-Fi BasebandBluetooth LE Link ControllerBluetooth LE BasebandRISC-V32-bitMicroprocessorJTAGC achePeripherals Espressif s ESP32-C3 Wi-Fi + Bluetooth Low Energy SoCROMSRAMUSB Serial/JTAGGPIOUARTTWAI General-purpose TimersI2SI2 CLED PWMSPI0/1 RMTSPI2 DIG ADC ControllerSystem TimerRTC GPIOT emperature SensorRTC Watchdog Timer Modules having power in specific power modes:ActiveActive and Modem-sleepAll modesActive, Modem-sleep, and Light-sleep;optional in Light-sleep GDMA Main System Watchdog GHz Balun + GHz GHz TransmitterRF SynthesizerRFRTC Super Watchdog TimereFuse ControllerSecurityFlash EncryptionRSARNGD igital SignatureSHAAESHMACS ecure BootRTC MemoryPMURTC Brownout DetectorFigure 1.
2 Block Diagram of ESP32 C3 Solution Highlights A complete Wi Fi subsystemthat complieswith IEEE protocol and supportsStation mode, SoftAP mode, SoftAP + Stationmode, and promiscuous mode A Bluetooth LE subsystemthat supportsfeatures of Bluetooth 5 and Bluetooth mesh 32 bit RISC V single core processorwith afour-stage pipeline that operates at up to 160 MHz State of the art power and RF performance Storage capacitiesensured by 400 KB ofSRAM (16 KB for cache) and 384 KB of ROM onthe chip, and SPI, Dual SPI, Quad SPI, and QPIinterfaces that allow connection to external flash Reliable security featuresensured by Cryptographic hardware accelerators thatsupport AES-128/256, Hash, RSA, HMAC,digital signature and secure boot Random number generator Permission control on accessing internalEspressif Systems2 Submit Documentation FeedbackESP32-C3 Series Datasheet , external memory, and peripherals External memory encryption and decryption Rich set of peripheral interfaces and GPIOs,ideal for various scenarios and complexapplicationsFeaturesWi Fi IEEE b/g/n-compliant Supports 20 MHz, 40 MHz bandwidth in band 1T1R mode with data rate up to 150 Mbps Wi-Fi Multimedia (WMM) TX/RX A-MPDU, TX/RX A-MSDU Immediate Block ACK Fragmentation and defragmentation Transmit opportunity (TXOP) Automatic Beacon monitoring (hardware TSF)
3 4 virtual Wi-Fi interfaces Simultaneous support for Infrastructure BSS inStation mode, SoftAP mode, station + SoftAPmode, and promiscuous modeNote that when ESP32-C3 scans in station mode,the SoftAP channel will change along with theStation channel Antenna diversity FTMB luetooth Bluetooth LE: Bluetooth 5, Bluetooth mesh High power mode (21 dBm) Speed: 125 Kbps, 500 Kbps, 1 Mbps, 2 Mbps Advertising extensions Multiple advertisement sets Channel selection algorithm #2 Internal co-existence mechanism between Wi-Fiand Bluetooth to share the same antennaCPU and Memory 32-bit RISC-V single-core processor, up to 160 MHz CoreMark score: 1 core at 160 MHz: CoreMark; 384 KB ROM 400 KB SRAM (16 KB for cache) 8 KB SRAM in RTC Embedded flash (see details in Chapter1 ESP32-C3 Series Comparison) SPI, Dual SPI, Quad SPI, and QPI interfaces thatallow connection to multiple external flash Access to flash accelerated by cache Supports flash in-Circuit Programming (ICP)Advanced Peripheral Interfaces 22 or 16 programmable GPIOs Digital interfaces: 3 SPI 2 UART 1 I2C 1 I2S Remote control peripheral, with 2 transmitchannels and 2 receive channels LED PWM controller, with up to 6 channels Full-speed USB Serial/JTAG controller General DMA controller (GDMA), with 3transmit channels and 3 receive channels 1 TWAI controller compatible with ISO11898-1 (CAN Specification ) Analog interfaces: Espressif Systems3 Submit Documentation FeedbackESP32-C3 Series Datasheet 2 12-bit SAR ADCs, up to 6 channels 1 temperature sensor Timers.
4 2 54-bit general-purpose timers 3 digital watchdog timers 1 analog watchdog timer 1 52-bit system timerLow Power Management Power Management Unit with four power modesSecurity Secure boot Flash encryption 4096-bit OTP, up to 1792 bits for use Cryptographic hardware acceleration: AES-128/256 (FIPS PUB 197) Permission Control SHA Accelerator (FIPS PUB 180-4) RSA Accelerator Random Number Generator (RNG) HMAC Digital signatureApplications (A Non exhaustive List)With ultra-low power consumption, ESP32-C3 is an ideal choice for IoT devices in the following areas: SmartHome Light control Smart button Smart plug Indoor positioning IndustrialAutomation Industrial robot Mesh network Human machine interface (HMI) Industrial field bus HealthCare Health monitor Baby monitor ConsumerElectronics Smart watch and bracelet Over-the-top (OTT) devices Wi-Fi speaker Logger toys and proximity sensing toys Smart Agriculture Smart greenhouse Smart irrigation Agriculture robot Retail and Catering POS machines Service robot Audio Device Internet music players Live streaming devices Internet radio players Generic Low-power IoT Sensor Hubs Generic Low-power IoT Data LoggersEspressif Systems4 Submit Documentation FeedbackESP32-C3 Series Datasheet Overview2 Solution Highlights2 Features3 Applications41 ESP32 C3 Series ESP32-C3 Series Comparison92 Pin Pin Pin Power Strapping Pins143 Functional CPU and Internal External Address Mapping System CPU RTC Analog Analog-to-Digital Converter (ADC)
5 Temperature Digital General Purpose Input / Output Interface (GPIO) Serial Peripheral Interface (SPI) Universal Asynchronous Receiver Transmitter (UART) I2C I2S Remote Control LED PWM General DMA USB Serial/JTAG TWAI Radio and GHz GHz Clock Generator26 Espressif Systems5 Submit Documentation FeedbackESP32-C3 Series Datasheet Wi-Fi Radio and Wi-Fi Networking Bluetooth Bluetooth LE Radio and Bluetooth LE Link Layer Low Power General Purpose System Watchdog Cryptographic Hardware Physical Security Peripheral Pin Configurations304 Electrical Absolute Maximum Recommended Operating VDD_SPI Output DC Characteristics ( V, 25 C) ADC Current RF Current Consumption in Active Current Consumption in Other Wi-Fi Wi-Fi RF Transmitter (TX) Wi-Fi RF Receiver (RX) Bluetooth LE Bluetooth LE RF Transmitter (TX) Bluetooth LE RF Receiver (RX) Specifications405 Package Information436 Related Documentation and Resources44 Revision History45 Espressif Systems6 Submit Documentation FeedbackESP32-C3 Series Datasheet of TablesList of Tables1 ESP32-C3 Series Comparison92 Pin Description113 Description of ESP32-C3 Power-up and Reset Timing Parameters144 Strapping Pins155 Parameter Descriptions of Setup and Hold Times for the Strapping Pins166 IO MUX Pin Functions207 Power-Up Glitches on Pins228 Mapping of SPI Signals and Chip Pins239 Connection Between ESP32-C3 and External Flash2310 Peripheral Pin Configurations3011 Absolute Maximum Ratings3312 Recommended Operating Conditions3313 VDD_SPI Output Characteristics3314 DC Characteristics ( V, 25 C)
6 3415 ADC Characteristics3416 ADC Calibration Results3517 Current Consumption Depending on RF Modes3518 Current Consumption in Modem-sleep Mode3519 Current Consumption in Low-Power Modes3620 Reliability Qualifications3621 Wi-Fi Frequency3622 TX Power with Spectral Mask and EVM Meeting Standards3723 TX EVM Test3724 RX Sensitivity3725 Maximum RX Level3826 RX Adjacent Channel Rejection3827 Bluetooth LE Frequency3928 Transmitter Characteristics - Bluetooth LE 1 Mbps3929 Transmitter Characteristics - Bluetooth LE 2 Mbps3930 Transmitter Characteristics - Bluetooth LE 125 Kbps4031 Transmitter Characteristics - Bluetooth LE 500 Kbps4032 Receiver Characteristics - Bluetooth LE 1 Mbps4133 Receiver Characteristics - Bluetooth LE 2 Mbps4134 Receiver Characteristics - Bluetooth LE 125 Kbps4235 Receiver Characteristics - Bluetooth LE 500 Kbps42 Espressif Systems7 Submit Documentation FeedbackESP32-C3 Series Datasheet of FiguresList of Figures1 Block Diagram of ESP32-C322 ESP32-C3 Series Nomenclature93 ESP32-C3 Pin Layout (Top View, Excluding ESP32-C3FH4AZ)104 ESP32-C3FH4AZ Pin Layout (Top View)115 ESP32-C3 Power Scheme136 ESP32-C3 Power-up and Reset Timing147 Setup and Hold Times for the Strapping Pins158 Address Mapping Structure189 QFN32 (5 5 mm) Package43 Espressif Systems8 Submit Documentation FeedbackESP32-C3 Series Datasheet ESP32-C3 Series C3 Series C3 Series NomenclatureESP32-C3FH 1xChip seriesFlashFlash temperatureH: High temperatureN: Normal temperatureOther Identification Code AZFlash VL]H 0% Figure 2: ESP32 C3 Series 1: ESP32 C3 Series ComparisonOrdering CodeEmbedded FlashAmbient Temperature ( C)Package (mm)GPIO 40 105 QFN32 (5*5)22 ESP32-C3FN44 MB 40 85 QFN32 (5*5)22 ESP32-C3FH44 MB 40 105 QFN32 (5*5)22 ESP32-C3FH4AZ24 MB 40 105 QFN32 (5*5)161 ESP32-C3 requires an external SPI ESP32-C3FH4AZ, SPI0/SPI1 pins for flash connection are not bonded.
7 For details, see Note 7under Table2 Pin Systems9 Submit Documentation FeedbackESP32-C3 Series Datasheet Pin Layout1234567817181920212223249101112131 415162728293031322625 GPIO10 GPIO9 GPIO8 MTDOMTCKVDD3P3_RTCMTDIMTMSGPIO3 CHIP_ENGPIO2 XTAL_32K_NXTAL_32K_PVDD3P3 VDD3P3 LNA_INVDDAVDDAXTAL_PXTAL_NU0 TXDU0 RXDGPIO19 GPIO18 SPIDSPICLKSPICS0 SPIWPSPIHDVDD_SPIVDD3P3_CPUESP32-C333 GNDSPIQF igure 3: ESP32 C3 Pin Layout (Top View, Excluding ESP32 C3FH4AZ) Espressif Systems10 Submit Documentation FeedbackESP32-C3 Series Datasheet Pin Definition123456781718192021222324910111 2131415162728293031322625 GPIO10 GPIO9 GPIO8 MTDOMTCKVDD3P3_RTCMTDIMTMSGPIO3 CHIP_ENGPIO2 XTAL_32K_NXTAL_32K_PVDD3P3 VDD3P3 LNA_INVDDAVDDAXTAL_PXTAL_NU0 TXDU0 RXDGPIO19 GPIO18 NCNCNCNCNCVDD_SPIVDD3P3_CPUESP32-C3FH4AZ 33 GNDNCF igure 4: ESP32 C3FH4AZ Pin Layout (Top View) DescriptionTable 2: Pin DomainFunctionLNA_IN1I/O RF input and outputVDD3P32PA Analog power supplyVDD3P33PA Analog power supplyXTAL_32K_P4I/O/TVDD3P3_RTCGPIO0,AD C1_CH0, XTAL_32K_PXTAL_32K_N5I/O/TVDD3P3_RTCGPIO 1,ADC1_CH1, XTAL_32K_NGPIO26I/O/TVDD3P3_RTCGPIO2,ADC 1_CH2, FSPIQCHIP_EN7 IVDD3P3_RTCHigh: on, enables the : off, the chip powers.
8 Do not leave the CHIP_EN pin Systems11 Submit Documentation FeedbackESP32-C3 Series Datasheet Pin DomainFunctionGPIO38I/O/TVDD3P3_RTCGPIO3 ,ADC1_CH3 MTMS9I/O/TVDD3P3_RTCGPIO4,ADC1_CH4, FSPIHD,MTMSMTDI10I/O/TVDD3P3_RTCGPIO5,AD C2_CH0, FSPIWP,MTDIVDD3P3_RTC11PD Input power supply for RTCMTCK12I/O/TVDD3P3_CPUGPIO6,FSPICLK,MT CKMTDO13I/O/TVDD3P3_CPUGPIO7,FSPID,MTDOG PIO814I/O/TVDD3P3_CPUGPIO8 GPIO915I/O/TVDD3P3_CPUGPIO9 GPIO1016I/O/TVDD3P3_CPUGPIO10,FSPICS0 VDD3P3_CPU17PD Input power supply for CPU IOVDD_SPI18I/O/T/PDVDD3P3_CPUGPIO11,outp ut power supply for flash6 SPIHD19I/O/TVDD3P3_CPUGPIO12,SPIHDSPIWP2 0I/O/TVDD3P3_CPUGPIO13,SPIWPSPICS021I/O/ TVDD3P3_CPUGPIO14,SPICS0 SPICLK22I/O/TVDD3P3_CPUGPIO15,SPICLKSPID 23I/O/TVDD3P3_CPUGPIO16,SPIDSPIQ724I/O/T VDD3P3_CPUGPIO17,SPIQGPIO1825I/O/TVDD3P3 _CPUGPIO18,USB_D GPIO1926I/O/TVDD3P3_CPUGPIO19,USB_D+U0 RXD27I/O/TVDD3P3_CPUGPIO20,U0 RXDU0 TXD28I/O/TVDD3P3_CPUGPIO21,U0 TXDXTAL_N29 External crystal outputXTAL_P30 External crystal inputVDDA31PA Analog power supplyVDDA32PA Analog power supplyGND33G Ground1PA: analog power supply; PD: power supply for RTC IO; I: input; O: output; T: high functions in bold font are the default pin functions in SPI boot of embedded flash correspond to pins of ESP32-C3FN4 and ESP32-C3FH4 as follows: CS# = SPICS0 IO0/DI = SPID IO1/DO = SPIQ CLK = SPICLK IO2/WP# = SPIWP IO3/HOLD# = SPIHDT hese pins are not recommended for other the data port connection between ESP32-C3 and external flash please refer to PeripheralInterface (SPI).
9 5 The pin function in this table refers only to some fixed settings and do not cover all cases for signals that can beinput and output through the GPIO matrix. For more information on the GPIO matrix, please refer to Chapter IOMUX and GPIO Matrix (GPIO, IO_MUX) inESP32-C3 Technical Reference default VDD_SPI is the power supply pin for embedded flash or external flash. It can only be used as GPIO11only when the chip is connected to an external flash, and this flash is powered by an external power ESP32-C3FH4AZ, pins within the frame (namely pin 19 pin 24) are not bonded, and are labelled as notconnected . Espressif Systems12 Submit Documentation FeedbackESP32-C3 Series Datasheet Pin SchemeESP32-C3 has four input power pins: VDDA1 VDDA2 VDD3P3_RTC VDD3P3_CPUAnd one input/output power pin: VDD_SPIVDDA1 and VDDA2 are the input power supply for the analog working as an output power supply, VDD_SPI can be powered by VDD3P3_CPU via RSP I(nominal V).VDD_SPI can be powered off via software to minimize the current leakage of flash in Deep-sleep IO is powered from RTC domain is powered from Low Power Voltage Regulator, which is powered from Digital System domain is powered from Digital System Voltage Regulator, which is powered fromVDD3P3_CPU and VDD3P3_RTC at the same IO is powered from power scheme diagram is shown in 5: ESP32 C3 Power SchemeEspressif Systems13 Submit Documentation FeedbackESP32-C3 Series Datasheet Pin DefinitionNotes on CHIP_EN:Figure6shows the power-up and reset timing of ESP32-C3.
10 Details about the parameters are listed in , VDD3P3,VDD3P3_RTC, VFigure 6: ESP32 C3 Power up and Reset TimingTable 3: Description of ESP32 C3 Power up and Reset Timing ParametersMinParameterDescription( s)t0 Time between bringing up the VDDA, VDD3P3, VDD3P3_RTC, andVDD3P3_CPU rails, and activating CHIP_EN50t1 Duration of CHIP_EN signal level < VIL_nRST(refer to its value inTable14) to reset the PinsESP32-C3 has three strapping pins: GPIO2 GPIO8 GPIO9 Software can read the values of GPIO2, GPIO8 and GPIO9 from GPIO_STRAPPING field in GPIO_STRAP_REGregister. For register description, please refer to Section GPIO Matrix Register Summary inESP32-C3 Technical Reference the chip s system 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 of system reset include: power-on reset RTC watchdog reset brownout reset analog super watchdog reset crystal clock glitch detection resetEspressif Systems14 Submit Documentation FeedbackESP32-C3 Series Datasheet Pin DefinitionBy default, GPIO9 is connected to the internal weak pull -up resistor.