Espressif ESP32-P4 – A 400 MHz general-purpose dual-core RISC-V microcontroller

Espressif ESP32-P4 is a general-purpose dual-core RISC-V microcontroller clocked at up to 400 MHz with AI instructions extension, numerous I/Os, and security features.

It also happens to be the first microcontroller from Espressif Systems without wireless connectivity, and as such, it should probably be seen as an alternative to STM32F7/H7 or NXP i.RT Arm Cortex-M7 microcontrollers/crossover processors, and likely offered at a significantly lower cost. It should also offer lower power consumption than other ESP32 chips thanks in part to a third RISC-V core clocked at 40 MHz that can keep the system running while the other two high-performance cores are down.


ESP32-P4 key features and specifications:

  • MCU subsystems
    • Dual-core RISC-V HP (High-performance) CPU @ up to 400 MHz with AI instructions extension and single-precision FPU, 768KB of on-chip SRAM
    • Single-RISC-V LP (Low-power) MCU core @ up to 40 MHz with 8KB of zero-wait TCM RAM
  • Memory & Storage I/F – Support for external PSRAM and flash
  • GPU – 2D Pixel Processing Accelerator (PPA)
  • VPU – H.264 and JPEG codecs support
  • HP peripherals
    • Display I/F – MIPI DSI and parallel LCD display interface
    • Camera I/F – MIPI-CSI with integrated ISP and parallel camera interface
    • Audio – I2S with PDM
    • Networking – Ethernet
    • USB – USB OTG 2.0 HS, USB 1.1 FS Serial/JTAG
    • ADC, DAC
    • SDIO Host 3.0 for high-speed connectivity.
    • Up to 50x GPIOs
    • General-purpose timers, watchdog timers, system timers
  • LP peripherals
    • SPI, UART, I2C
    • I2S with VAD (for wake word detection)
    • Touch control
    • Temperature sensor
  • Security
    • Secure Boot
    • Flash Encryption
    • Cryptographic accelerators for ECC, SHA, AES, RSA, ECDSA
    • TRNG
    • Digital Signature Peripheral
    • Dedicated Key Management Unit
    • Access permission management
    • PMA and PMP

ESP32-P4 RISC-V microcontroller

As noted in the second paragraph the “big-little” architecture will enable ultra-low-power applications which may occasionally require high computing with the HP cores turned off for most of the time in order to save power. Support for 2D graphics acceleration, H.264 & JPEG codecs will make it suitable for human-machine interfaces with machine learning capability and the requirements for a larger number of I/O are made available by current ESP32 chips.

It’s still possible to add wireless connectivity to the ESP32-P4 with one of the ESP-Hosted or ESP-AT solutions, where the ESP32-P4 acts as a host MCU and the other ESP32 chip provides WiFi, Bluetooth, or Zigbee. Espressif will support the new ESP32-P4 through the usual ESP-IDF framework. The new RISC-V microcontroller is not available just yet, but the company tells us to stay tuned for more detailed information in the coming weeks.

Thanks to Adam for the tip.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

36 Replies to “Espressif ESP32-P4 – A 400 MHz general-purpose dual-core RISC-V microcontroller”

  1. Considering stm32f7 costs about $20, this will surely be a lot more cost-effective. And being able to use esp-hosted to add wireless is a really good selling point. Also, espressif’s API is arguably better than ST’s.
    The only thing st platforms have is free access to WYSIWYG gui programming

    1. $20?! that is one more reason to use RT instead, why are people even bothering with STM32x7 at this point?

  2. Having integrated WiFi would be preferable. Also some specs like H.264 encoder are a bit outdated. Currently H.265 devices are deployed. I really hope they updated the peripherals as well. In the previous editions most of them are limited to 40 MHz speed, very slow for some applications.

      1. Exactly. h.264 is a spectacularly high-end feature for an MCU. Normally you’d expect MJPEG if there’s a video codec at all! The point of a video codec on an MCU is to reduce the lion’s share of the video data bandwidth so that it can communicate it with a low-power bus. If you want modern low-data-rate codecs, you’re talking about an IMU, GPU, or very heavy application CPU, not a bargain-basedment MCU.

  3. I didn’t notice at first that it came without a radio, that’s so uncommon from Espressif! It definitely indicates they’re considering a move towards more general purpose MCUs!

    1. Same. The only reason I’d pay any attention to this is because of their wireless history. As soon as I saw ‘no wireless’, and as the rest of the features scrolled by, I realized this chip wasn’t anything I had any need for. Not my market segment I’m afraid. Bully for Espressif for branching out, but just not for me.

  4. The H264 hardware codec definitely came as a big surprise for me. Can’t wait to see further specs on this thing

  5. The addition of all the video-related stuff (CSI, DSI, H264…) and the return of Ethernet makes it look a little bit more like a general purpose CPU/SoC (similar to those from Allwinner or Amlogic for instance, though it still lacks a GPU), but it will be interesting to see exactly what kind of support for larger amounts of external RAM they are planing and the resolutions they will support. Despite the removal of wireless capabilities, I wouldn’t be completely surprised if this one were to be more expensive, not less, than other ESP32 variants.

    1. I haven’t seen any other mcus that even remotely compares in performance and peripherals, but stmf7 costs about 20usd each, and this device would blow it out of the water even at the same price.

  6. I wonder if they’ll also push a version for safety, with HP cores in dual-lockstep and lp as checker core.

        1. I think CAN Bus requires a license. TWAI looks to be trademarked too, so I’m not sure what’s the advantage unless the license is cheaper.

          1. Oh, now I can see a thread on GitHub about that very topic.
            The CAN Bus API is deprecated in the ESP-IDF, and replaced by the TWAI API.

            One of the commenters explains it all:

            The reason is lawyers and intellectual property, do you want to pay more to call it CAN? I don’t

            It looks like TWAI does not support CAN FD however.

          2. If you call it TWAI you don’t have to pay a CAN license fee to Bosch for every part you sell.

  7. This article doesn’t mention which RISC-V extensions will be implemented or even whether it is 32- or 64-bit wide. I think that’s because the press release omits this information.

    There is a standardized way of referring to RISC-V implementations. I bet that this is RV32I plus a few extensions. M? It does have single precision floating point, so I guess F. There are surely more but they are less easy to guess.

  8. Could be quite intersting on what Esspressif deliver as a dev kit as maybe the might release a dual chip esp32-p4 and another esp32 using ESP-Hosted on single board and wondering how they might choose to implement that?

  9. The ESP32-P4 should become available very soon . Espressif has been showing an ESP32-P4 board and teasing the new MCU on their social network in the last few days.
    Still no product page or purchase links though. But people who contact them directly might be able to get beta samples.

Leave a Reply

Your email address will not be published. Required fields are marked *

Khadas VIM4 SBC
Khadas VIM4 SBC