ESP32-P4 released, support? #555
Replies: 6 comments 7 replies
-
Some additional info, esp32-p4 datasheet: https://www.erlendervik.no/ESP32-C5%20Beta_ESP32-P4_ESP8686_ESP32-C3FH4X/ESP32_P4_Chip_Datasheet_V0.1_PRELIMINARY_EN.pdf |
Beta Was this translation helpful? Give feedback.
-
hi esp32-p4 support will be considered as soon as v5.3 hits the support matrix |
Beta Was this translation helpful? Give feedback.
-
followup for the Olimex ESP32-P4-DevKit: SSD1306: although there are some warnings, I2C seems to work ILI9341:
All this and ESP32-P4 being a little endian chip probably means a dedicated Bus_SPI class for ESP32-P4 is needed. |
Beta Was this translation helpful? Give feedback.
-
Just seconding my interest on this - I've got some S3 projects I'd love to move over to the P4. |
Beta Was this translation helpful? Give feedback.
-
btw there's a MIPI-DSI panel profile for M5Stack Tab5 (ESP32-P4 + ILI9881C) in M5GFX source tree |
Beta Was this translation helpful? Give feedback.
-
followup for the Olimex ESP32-P4-DevKit + Bus_SPI + ILI9341: panel started working with current develop branch apparently Bus_SPI is masking pin numbers with here's the config I'm using: [edit] added touch class Olimex_P4_SPI_ILI9341 : public lgfx::LGFX_Device
{
lgfx::Panel_ILI9341 _panel_instance;
lgfx::Bus_SPI _bus_instance;
lgfx::Light_PWM _light_instance;
public:
Olimex_P4_SPI_ILI9341()
{
{
auto cfg = _bus_instance.config();
cfg.freq_write = 80000000;
cfg.freq_read = 16000000;
cfg.pin_mosi = GPIO_NUM_23;
cfg.pin_miso = GPIO_NUM_22;
cfg.pin_sclk = GPIO_NUM_5;
cfg.spi_host = SPI2_HOST;
cfg.pin_dc = GPIO_NUM_21;
cfg.spi_mode = 0 ;
_bus_instance.config(cfg);
_panel_instance.bus(&_bus_instance);
}
{
auto cfg = _panel_instance.config();
cfg.pin_cs = GPIO_NUM_6;
cfg.pin_rst = GPIO_NUM_4;
_panel_instance.config(cfg);
}
{
auto cfg = _touch_instance.config();
auto buscfg = _bus_instance.config();
cfg.bus_shared = true;
cfg.pin_mosi = buscfg.pin_mosi;
cfg.pin_miso = buscfg.pin_miso;
cfg.pin_sclk = buscfg.pin_sclk;
cfg.spi_host = buscfg.spi_host;
cfg.pin_cs = GPIO_NUM_20;
_touch_instance.config(cfg);
_panel_instance.setTouch(&_touch_instance);
}
{
auto cfg = _light_instance.config();
cfg.pin_bl = GPIO_NUM_2 ; // Backlight pin
//cfg.invert = false;
_light_instance.config(cfg);
_panel_instance.setLight(&_light_instance);
}
setPanel(&_panel_instance);
}
}; |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon! ESP32-P4 chip has been released.
It is still difficult to buy it on the free market, but already some companies seem to be able to buy the first revisions and build modules based on these chips.
Beta Was this translation helpful? Give feedback.
All reactions