Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-P4 support status (IDFGH-11914) #12996

Open
igrr opened this issue Jan 17, 2024 · 35 comments
Open

ESP32-P4 support status (IDFGH-11914) #12996

igrr opened this issue Jan 17, 2024 · 35 comments
Labels
Status: In Progress Work is in progress

Comments

@igrr
Copy link
Member

igrr commented Jan 17, 2024

ESP32-P4 support status in ESP-IDF

ESP-IDF v5.3, currently in development, will include initial support for the mass production version of the ESP32-P4 chip.

In the list below, supported features are marked with a checked checkbox, unsupported features have an unchecked checkbox. An internal issue reference (such as "IDF-1234") is listed at the end of the feature description to help us keep this list up to date:

  • ⏳ Unsupported feature (IDF-1234)
  • ✅ Supported feature

This list will be updated as the support for ESP32-P4 is being developed.

Reporting issues about ESP32-P4

If you have an issue to report about any of the ESP32-P4 features, please create a separate issue. This issue is only intended for announcements of ESP32-P4 support status.


  • Low Power System
    • ✅ Low Power Core (RISC-V)
    • ⏳ Low-power ADC (IDF-6875)
    • ✅ Low-power GPIO
    • ✅ Low-power I2C Master
    • ⏳ Low-power I2S (IDF-7537)
      • ⏳ Voice Activity Detection (IDF-6517)
    • ✅ Low-power SPI
    • ⏳ Low-power Temperature Sensor (IDF-7535)
    • ✅ Low-power Timer
    • ✅ Low-power UART
    • ✅ Low-power Watchdog Timer
  • Peripherals
    • ADC
      • ⏳ ADC Calibration (IDF-7467)
      • ✅ ADC continuous mode driver
        • ADC continuous mode digital monitor
      • ✅ ADC oneshot mode driver
      • ⏳ Support Low Power ADC instance (IDF-7468)
    • ⏳ Bit Scrambler (IDF-6877)
    • ⏳ Camera (IDF-10743)
      • ✅ ISP DVP
      • ✅ LCD_CAM DVP
      • ✅ MIPI CSI
    • DMA (Direct Memory Access)
      • ✅ DMA-2D
      • ✅ DW_GDMA
      • ✅ GDMA
    • Ethernet driver
      • ✅ SPI Ethernet driver
      • ✅ internal MAC driver
    • ✅ Event Task Matrix
    • ✅ GPIO driver
      • ✅ Analog Comparator
      • ✅ GPIO ETM
      • ✅ Glitch Filter
      • ✅ RTC IO (LP IO) driver
    • ✅ GPIO sigma delta driver
    • GPSPI
      • SPI Master driver
      • ✅ SPI Slave HD driver
      • ✅ SPI Slave driver
      • ⏳ Support Low Power SPI instance (IDF-7504)
    • ✅ GPTimer driver
    • I2C
      • ✅ I2C master driver
        • ⏳ Support Low Power I2C instance (IDF-7490)
      • ✅ I2C slave driver
    • I2S
      • ✅ I2S driver
        • I2S PDM rx mode
        • I2S PDM tx mode
        • I2S STD mode
        • I2S TDM mode
      • ✅ I2S legacy driver
    • I3C
      • ⏳ I3C Master Driver (IDF-6871)
      • ⏳ I3C Slave Driver (IDF-6872)
    • ⏳ Image Signal Processor (IDF-6503)
    • JPEG
      • ✅ JPEG Decoder Driver
      • ✅ JPEG Encoder Driver
    • ⏳ LCD driver (IDF-7465)
      • I2C LCD driver
      • ✅ MIPI DSI (New)
      • RGB LCD driver
      • SPI LCD driver
      • i80 LCD driver
    • ✅ LEDC driver
      • Gamma Curve Generation
    • ✅ MCPWM driver
    • ✅ PCNT driver
    • PSRAM
      • ✅ .bss/.noinit PSRAM
      • ✅ PSRAM Device Driver
      • ✅ XIP PSRAM
    • Parallel IO
      • ✅ Parallel IO RX Driver
      • ✅ Parallel IO TX Driver
    • ✅ Pixel Processing Accelorator Driver
    • ✅ RMT driver
    • SD/SDIO/MMC driver
      • ✅ SDMMC Host driver
        • ⏳ UHS-I support (IDF-6874)
      • ✅ SDSPI Host driver
    • ✅ SPI Flash driver
    • Systimer driver
      • ✅ Esptimer implementation over systimer
      • ✅ OS tick port over systimer
    • ✅ TWAI driver
    • ✅ Temperature Sensor driver
    • ✅ Touch Sensor driver
    • UART
      • ✅ Support Low Power UART instance
      • ✅ UART FIFO mode driver
      • ⏳ UHCI (UART DMA mode) driver (IDF-7507)
    • USB OTG
      • ✅ USB Device (TinyUSB) driver
        • ✅ USB 2.0 Device Support
      • ✅ USB Host driver
        • ✅ USB 2.0 Host Support
    • ✅ USB Serial JTAG
  • Power management
    • ✅ Auto Light Sleep
    • ✅ Deep Sleep
    • ✅ Dynamic Frequency Switch
    • ✅ Light Sleep
  • Security Features
    • ✅ AES accelerator
    • ✅ Digital Signature driver
    • ✅ ECC accelerator
    • ⏳ ECDSA driver (IDF-10280)
    • ✅ Flash encryption
    • ✅ HMAC driver
    • ⏳ HUK Generator (IDF-10280)
    • ⏳ Key Manager (IDF-10280)
    • ✅ RNG
    • ✅ RSA hardware accelerator driver
    • ✅ SHA accelerator
    • ✅ Secure boot
  • System Features
    • ✅ Bootloader Support
    • ✅ Brownout Detector
    • Cache
      • ✅ Cache Driver
    • ✅ Clock Glitch Detector
    • ✅ Console
    • ✅ Cxx Component
    • ✅ ESP Event
    • ✅ ESP ROM
    • ✅ ESP Ringbuffer
    • ✅ ESP Timer
    • ✅ Efuse controller driver
    • ✅ Floating Point Unit
    • ✅ FreeRTOS
    • ✅ MMU
    • MSPI
      • ✅ MSPI tuning (Flash & PSRAM DDR and/or over 80 MHz)
      • ✅ SPI Flash auto suspend
    • ✅ POSIX Threads
    • Panic Handling Features
      • ✅ Core Dump
      • ✅ Debug Watchpoint
      • ✅ GDB Stub
      • ✅ Panic Handler
      • ✅ Stack Guard
    • ✅ Ram App
    • ✅ TCM
    • ✅ Watch Dog Timers
    • ⏳ app trace (IDF-8107)
    • ✅ newlib
  • Wireless Expansion
    • ✅ Wi-Fi Host(IDF-7865)
    • ✅ Bluedroid Host
    • ✅ NimBLE Host
    • ✅ ESP8689 SDIO/SPI driver
    • ✅ Coexistence
@igrr igrr pinned this issue Jan 17, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jan 17, 2024
@github-actions github-actions bot changed the title ESP32-P4 support status ESP32-P4 support status (IDFGH-11914) Jan 17, 2024
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Jan 17, 2024
@diplfranzhoepfinger
Copy link
Contributor

when do you expect first P4 Docs and Samples ?

@Alvin1Zhang
Copy link
Collaborator

Alvin1Zhang commented Feb 2, 2024

Update on Feb. 2nd, 2024: support of MIPI DSI, 2DDMA, ESP-ROM, I2S legacy driver have been added.

@Alvin1Zhang
Copy link
Collaborator

when do you expect first P4 Docs and Samples ?

Thanks for asking and sorry for reply late, please help write to https://www.espressif.com/en/contact-us/sales-questions for more support. Thanks.

@Alvin1Zhang
Copy link
Collaborator

Update on Feb. 20th, 2024: support of USB 2.0 Device Support, USB 2.0 Host Support, Low-power GPIO and Low-power Timer have been added.

@Alvin1Zhang
Copy link
Collaborator

Update on March 12th, 2024: support of Console, as well as SPI Ethernet driver have been added.

@TD-er
Copy link
Contributor

TD-er commented Mar 25, 2024

when do you expect first P4 Docs and Samples ?

Thanks for asking and sorry for reply late, please help write to https://www.espressif.com/en/contact-us/sales-questions for more support. Thanks.

I have seen similar references to the Espressif site like these as a reply on questions to get samples, but you can't apply for non-released samples on that site and also not on the linked sample distributors.
The P4/C5/C61 are not present as an option, nor some generic "pre-production" label.

@Alvin1Zhang
Copy link
Collaborator

Update on March 27th, 2024: support of Light Sleep, Dynamic Frequency Switch, AES Accelerator, Low-power UART, Stack Guard, Glitch Filter, Low-power I2C Master have been added.

@Espressif-yangxi
Copy link

when do you expect first P4 Docs and Samples ?

Thanks for asking and sorry for reply late, please help write to https://www.espressif.com/en/contact-us/sales-questions for more support. Thanks.

I have seen similar references to the Espressif site like these as a reply on questions to get samples, but you can't apply for non-released samples on that site and also not on the linked sample distributors. The P4/C5/C61 are not present as an option, nor some generic "pre-production" label.

@TD-er We are pleased to take your feedback into account. The new product options ESP32-P4/C5/C61 has been released on the page_contact us. If you are interested in these products and would like to request samples or obtain more information, please don't hesitate to reach out to Espressif customer support team through this link. We are ready to provide support. Thank you.

@edbek
Copy link

edbek commented Apr 12, 2024

What will be the consumption of the ESP32-P4 processor in BLE mode? Will the same large 40mA remain or will it be within 5mA, like Nordic?
What consumption ESP32-P4 is planned in deep-sleep mode?

@igrr
Copy link
Member Author

igrr commented Apr 12, 2024

@edbek ESP32-P4 doesn't include any wireless peripherals (Wi-Fi or BLE). Regarding the deep sleep current, please wait a bit for the details, they will be available when the datasheet is published.

@Alvin1Zhang
Copy link
Collaborator

Update on April 15th, 2024: support of Panic Handler, MIPI CSI (New), JPEG Decoder Driver, Deep Sleep, SHA Accelerator, Debug Watchpoint, Auto Light Sleep and RNG have been added.

@Alvin1Zhang
Copy link
Collaborator

Update on May 7th, 2024: support of JPEG Encoder Driver and TCM have been added.

@jstoefer
Copy link

Update on April 15th, 2024: ... MIPI CSI (New) ...
Does the ISP of the P4 have support for stitching HDR ?
Will there be support for HDR ?

@ginkgm
Copy link
Collaborator

ginkgm commented May 29, 2024

Update on April 15th, 2024: ... MIPI CSI (New) ...
Does the ISP of the P4 have support for stitching HDR ?
Will there be support for HDR ?

No I think the ISP doesn't support HDR.

@Alvin1Zhang
Copy link
Collaborator

Alvin1Zhang commented Jun 14, 2024

Update on June 14th, 2024: support of Parallel IO RX Driver, USB Serial JTAG, Brownout Detector, XIP PSRAM, Pixel Processing Accelerator Driver, USB 2.0 Device Support, SPI Flash auto suspend, ADC oneshot mode driver, ADC continuous mode driver, H264 Encoder (New) and Touch Sensor driver have been added.

@Alvin1Zhang
Copy link
Collaborator

Alvin1Zhang commented Jun 25, 2024

Update on June 25th, 2024: support of GDB Stub, NimBLE Host, ESP8689 SDIO/SPI driver and Coexistence have been added.

@Alvin1Zhang
Copy link
Collaborator

Update on July 3rd, 2024: support of Low-power SPI has been added.

@Alvin1Zhang
Copy link
Collaborator

Update on July 22nd, 2024: support of Clock Glitch Detector and .bss PSRAM have been added.

@AndyDevLat
Copy link

Update on Feb. 20th, 2024: support of USB 2.0 Device Support, USB 2.0 Host Support, Low-power GPIO and Low-power Timer have been added.

Does it mean we can already create applications using USB high speed host but full speed host support is still pending?

@tore-espressif
Copy link
Collaborator

Does it mean we can already create applications using USB high speed host but full speed host support is still pending?

The ESP32-P4 has two USB-OTG peripherals, with 2 dedicated PHYs. One peripheral (USB_HS) support High-Speed and Full-Speed host, while the other one (USB_FS) only supports Full-Speed host.

Only USB_HS peripheral is supported now. (We have a know issue with Low-Speed devices not working ATM).

Just for completeness Low-Speed only USB host is not allowed by the USB specification

@AndyDevLat
Copy link

AndyDevLat commented Aug 14, 2024

Noted, thank you. And USB_FS peripheral not supported just in host mode? I mean can it be used for device mode via tinyusb?

@tore-espressif
Copy link
Collaborator

Noted, thank you. And USB_FS peripheral not supported just in host mode? I mean can it be used for device mode via tinyusb?

USB_FS not supported at all at the moment :/

@AndyDevLat
Copy link

Ok, I will wait for updates;)

@Alvin1Zhang
Copy link
Collaborator

Update on August 15th, 2024: support of MIPI CSI, ISP DVP, LCD_CAM DVP, Low-power I2S and Wi-Fi Host have been added.

@TiKoESoPe
Copy link

Helklo, is there any news when the RGB LCD driver will be ready for the controller?

@sukesh-ak
Copy link

Helklo, is there any news when the RGB LCD driver will be ready for the controller?

Have you checked the P4 BSP yet?
https://components.espressif.com/components/espressif/esp32_p4_function_ev_board/versions/3.0.1

@TiKoESoPe
Copy link

Yes, I checked there, but there is only the MIPI interface in use for the board and no RGB LCD interface. In the ESP-IDF I did not see the SOC_LCD_RGB_SUPPORTED for the ESP32-P4 set and was confused whether it is not yet implemented or will not be supported at all. Since it is listed here, I guess it is just not implemented yet.

@tom-borcin
Copy link
Collaborator

Hello @TiKoESoPe, support for RGB LCD Driver is in progress right now. Once the support is done, we will update the status

@torntrousers
Copy link

Update on Feb. 2nd, 2024: support of MIPI DSI, 2DDMA, Key Manager, HUK Generator, ESP-ROM, I2S legacy driver have been added.

Hello @Alvin1Zhang / @igrr - interested in the Key Management Unit on the P4 and from that comment back in Feb about "Key Manager" support i hoped there was some support, but asking over here it seems not yet - https://esp32.com/viewtopic.php?f=2&t=41800

Could you give any update on the Key Management Unit ?

Thanks!

@TiKoESoPe
Copy link

Hello @tom-borcin, thanks for the info. I will wait. 👍

@AdityaHPatwardhan
Copy link
Collaborator

Hello @Alvin1Zhang / @igrr - interested in the Key Management Unit on the P4 and from that comment back in Feb about "Key Manager" support i hoped there was some support, but asking over here it seems not yet - https://esp32.com/viewtopic.php?f=2&t=41800

Could you give any update on the Key Management Unit ?

Thanks!

Hi @torntrousers,
There were some performance issues of the Key Management Unit on the currently available revisions of ESP32-P4 SoC, hence it has been marked as not supported for now.
Once a new revision that fixes the issue is available then the support shall be enabled in the ESP-IDF.

@torntrousers
Copy link

torntrousers commented Sep 16, 2024

Hello @Alvin1Zhang / @igrr - interested in the Key Management Unit on the P4 and from that comment back in Feb about "Key Manager" support i hoped there was some support, but asking over here it seems not yet - https://esp32.com/viewtopic.php?f=2&t=41800
Could you give any update on the Key Management Unit ?
Thanks!

Hi @torntrousers, There were some performance issues of the Key Management Unit on the currently available revisions of ESP32-P4 SoC, hence it has been marked as not supported for now. Once a new revision that fixes the issue is available then the support shall be enabled in the ESP-IDF.

Thanks for the reply @AdityaHPatwardhan . Do you mean a new hardware revision? I bought a couple of the P4 EV kits especially to try the Key Management Unit so i guess they are no good for this now? Could maybe put a note on the shop page - all it says presently is that its all good except that the ADC is uncalibrated :( Could you post back here when the new rev boards are available?

@TD-er
Copy link
Contributor

TD-er commented Sep 16, 2024

Yep, which silicon revision should have it?
And which revisions can be found out there ?

@AdityaHPatwardhan
Copy link
Collaborator

AdityaHPatwardhan commented Sep 16, 2024

@torntrousers @TD-er, The work to fix is already on-going, I can only confirm when a new revision is available and has been tested. Ideally it should be the very next revision of ESP32-P4 (which is ECO2). Just to prevent users from accidentally configuring the feature we have disabled the support from ESP-IDF and also marked it as non-supported in the above status link.

@ESP32DE
Copy link
Contributor

ESP32DE commented Sep 20, 2024

@torntrousers @TD-er, The work to fix is already on-going, I can only confirm when a new revision is available and has been tested. Ideally it should be the very next revision of ESP32-P4 (which is ECO2). Just to prevent users from accidentally configuring the feature we have disabled the support from ESP-IDF and also marked it as non-supported in the above status link.

@AdityaHPatwardhan FWIK the ESP32-P4-Function-EV-Board is Rev0.0. The ECO1 which has reactivated pin which is nc in the Rev0.0 ( got from a live stream talk between the lines ) and is the upcomming revision. I understand that the KM is done in this.
Now you talk from ECO2 ? :) Is this a typo or reality that we can not use KM in the upcomming ECO1 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress Work is in progress
Projects
None yet
Development

No branches or pull requests