Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Waveshare ESP32 P4 #11345

ITstreet1 started this conversation in Question - Community Help
May 8, 2025 · 2 comments · 11 replies
Discussion options

I just noticed that Waveshare made a few P4 boards that look promising.

https://www.waveshare.com/esp32-p4-nano.htm?sku=29026

https://www.waveshare.com/esp32-p4-module-dev-kit.htm?sku=30560

I wonder if this could be programmed by just selecting the ESP32-P4 board?

You must be logged in to vote

Replies: 2 comments 11 replies

Comment options

If they used the same pins for the C6 WiFi module, then yes. Custom pin selection will come in 3.3.0

You must be logged in to vote
8 replies
Comment options

Hi,

I ordered Waveshare ESP32-P4-Module-DEV-KIT in which ESP32-P4 extends its WIFI functionality by connecting to an ESP32-C6 module via SDIO (ESP32-C6 acts as a slave for ESP32-P4 as host).

Could you please advise (or share a piece of Arduino IDE code) how to program this combo to connect to and use WiFi?

For VSCode they say to add two components to make things done (https://www.waveshare.com/wiki/ESP32-P4-Module-DEV-KIT-StartPage#WIFI_Networking_Demo):

// In a WIFI project, add the following two components through the ESP-IDF component management tool
idf.py add-dependency "espressif/esp_wifi_remote"
idf.py add-dependency "espressif/esp_hosted"

PS. I am on ver. 3.3.0-Alpha1

Comment options

Not easy. Needs custom board definition to specify the pins used for the C6. You can have a look at the one for our P4 board

Comment options

Not easy. Needs custom board definition to specify the pins used for the C6. You can have a look at the one for our P4 board

Do you mean this definition in ...\Arduino15\packages\esp32\hardware\esp323円.3.0-alpha1\variants\esp32p4\pins_arduino.h ?

//WIFI - ESP32C6
#define BOARD_HAS_SDIO_ESP_HOSTED
#define BOARD_SDIO_ESP_HOSTED_CLK 18
#define BOARD_SDIO_ESP_HOSTED_CMD 19
#define BOARD_SDIO_ESP_HOSTED_D0 14
#define BOARD_SDIO_ESP_HOSTED_D1 15
#define BOARD_SDIO_ESP_HOSTED_D2 16
#define BOARD_SDIO_ESP_HOSTED_D3 17
#define BOARD_SDIO_ESP_HOSTED_RESET 54

No additional libraries are needed?

Comment options

yes, but keep in mind this will be overwritten next time you install new core

Comment options

The waveshare p4 nano board uses the same GPIOs to connect the C6 as the espressif p4 eval board. So the p4 nano board will work with the Arduino examples without any changes.

Comment options

Ok, so I dug deeper into this board.
GPIO works, WiFi works, etc
However, I tried to use it with a DSI display and got this error:
E lcd.dsi.dpi: can't fetch data from external memory fast enough, underrun happens

The examples I used are Waveshare's.
https://www.waveshare.com/wiki/ESP32-P4-Nano-StartPage#Demo_2

I tried HelloWorld example and only changed this line to a 7" display.
#define CURRENT_SCREEN SCREEN_7_DSI_TOUCH_A

The display I use is:
https://www.aliexpress.com/item/1005008005536155.html

The display works great with RPi.

I have set PSRAM and Flash for this board. What else?

You must be logged in to vote
3 replies
Comment options

will be fixed in 3.3.1. In a mean time you can drop to 3.2.1

Comment options

Now, I don't get an error, but I have nothing on the screen.
Could it be the driver problem?

This is the only change I have made:

#ifndef CURRENT_SCREEN
#define CURRENT_SCREEN SCREEN_7_DSI_TOUCH_A
#endif

Could it be I need to set a thing or two in addition?

Comment options

Tried other examples.

GFX_ESPWiFiAnalzyer returns this:

Arduino_GFX Hello World example
sdio_mempool_create free:34099496 min-free:34099068 lfb-def:33030132 lfb-8bit:33030132

But nothing on the screen.

AsciiTable example uploads, but again, nothing on the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /