This is an old revision of the document!
RISC-V
Reduced Instruction Set Computing 5
RISC-V is based on the Reduced Instruction Set Computing (RISC) design principle, which emphasizes simplicity and modularity in instruction set architecture.
Reduced Instruction Set Computing (RISC) has always been the go-to for power sipping yet powerful cpu designs, going back to the reign of Sun Microsystems Workstations (cpu pictured left)
The RISC-V instruction set architecture (ISA) is an open-source, free-to-use, and royalty-free architecture for computer processors. Developed by the University of California, Berkeley's Computer Science Division. Development of RISC-V began in 2009 as a research project to create a low-power, high-performance processor that could be used in a wide range of applications. The initial goal was to create an architecture that could be easily modified and customized for specific use cases. Today, RISC-V is widely adopted across various industries, including embedded systems, data centers, and mobile devices.
The core principles of RISC-V include:
- Load-store architecture: Data is loaded into registers before performing arithmetic operations.
- Fixed-length instructions: Instructions have a fixed length, making them easier to decode and execute.
- Instruction-level parallelism: Instructions can be executed in parallel, improving performance.
RISC-V's Relationship with the ESP32 Family The ESP32 family of microcontrollers, developed by Espressif Systems, uses the RISC-V architecture for its processor core. Specifically:
- ESP32-S2: single-core 16-bit RISC-V processor.
- ESP32-C3: dual-core 32-bit RISC-V processor.
- ESP32-C6: dual-core 32-bit RISC-V processor.
The use of RISC-V in the ESP32 family provides several benefits, including:
- Low power consumption: RISC-V's design emphasizes low power usage, making it suitable for battery-powered devices.
- Flexibility: RISC-V can be easily modified and customized to suit specific requirements.
- Open-source nature: The open-source license allows developers to contribute to the architecture and create custom extensions.
- Lower licensing costs: As RISC-V is royalty-free, manufacturers can save on licensing fees.
- Increased customization: The open-source nature allows for easier modification and customization of the architecture.
- Improved security: RISC-V's design principles emphasize secure execution, making it more resistant to attacks.

