Search found 13 matches

by fcipaq
Sat Apr 04, 2026 8:50 pm
Forum: ESP-IDF
Topic: Driving tall LCD (720x1280) with DPI peripheral
Replies: 2
Views: 252

Re: Driving tall LCD (720x1280) with DPI peripheral

Hi, it's me again :)

Turns out I was wrong and it can be done after all!
In fact, when midframe, you must not wait for an IRQ from the RGB state machine but instead rely on the callback from the DMA when the transfer completes. This way, you can interrupt the state machine just in time. However ...
by fcipaq
Sun Mar 22, 2026 2:52 pm
Forum: ESP-IDF
Topic: Driving tall LCD (720x1280) with DPI peripheral
Replies: 2
Views: 252

Re: Driving tall LCD (720x1280) with DPI peripheral

In answer to my own question: It is possible, but there are some major caveats.

Espressif's chpi designers made LCD_CAM_LCD_HT_WIDTH 12 bits wide and LCD_CAM_LCD_VT_HEIGHT 10 bits wide. This leaves you with a theoretical maximum resolution of 4096 x 1024. I don't know why they didn't go with 2048 x ...
by fcipaq
Wed Mar 11, 2026 8:54 pm
Forum: ESP-IDF
Topic: Driving tall LCD (720x1280) with DPI peripheral
Replies: 2
Views: 252

Driving tall LCD (720x1280) with DPI peripheral

Hi,

I designed a small PCB around an ESP32-P4 to which I want to attach a 720x1280 parallel (DPI/RGB) LCD. However, I had to find out that the maximum vertical resolution is 1024 (since the register LCD_CAM_LCD_VT_HEIGHT is 10 bits wide) minus the sync overhead. Now, I have been poking in the LCD ...
by fcipaq
Sat Aug 31, 2024 10:28 am
Forum: ESP-IDF
Topic: PSRAM-less framebuffer strategy
Replies: 10
Views: 5227

Re: PSRAM-less framebuffer strategy

Thanks and I hope it's useful for someone.
by fcipaq
Fri Aug 30, 2024 4:42 pm
Forum: ESP-IDF
Topic: PSRAM-less framebuffer strategy
Replies: 10
Views: 5227

Re: PSRAM-less framebuffer strategy

Thanks for your suggestion. It already got the PSRAM running at 200 MHz. However to write the PSRAM I used the CPU (in a loop, hoping the cache would speed that up), because I wanted to stretch the image - so the data would be scattered and I'm not sure if the DMA is capable of doing that, I haven't ...
by fcipaq
Fri Aug 30, 2024 3:16 pm
Forum: ESP-IDF
Topic: PSRAM-less framebuffer strategy
Replies: 10
Views: 5227

Re: PSRAM-less framebuffer strategy

The approach worked out. You can watch the results on Youtube: https://youtu.be/osw1QMM4Avs?feature=shared

In the link there's also a description to the Github Repo. Beware: it's hacky... :)
by fcipaq
Wed Aug 28, 2024 12:39 pm
Forum: ESP-IDF
Topic: PSRAM-less framebuffer strategy
Replies: 10
Views: 5227

Re: PSRAM-less framebuffer strategy

Ok, I poked around in the esp_lcd driver a little. And I think this might be a feasible solution:

In esp_lcd_panel_dpi.c it is implemented that after a DMA transfer from the screen buffer to the display has completed, dma_trans_done_cb gets called back, which then rearms the DMA.
And I think it ...
by fcipaq
Tue Aug 27, 2024 2:58 pm
Forum: ESP-IDF
Topic: PSRAM-less framebuffer strategy
Replies: 10
Views: 5227

Re: PSRAM-less framebuffer strategy

Yeah, that's exactly what I had in mind (since I stumbled across this https://www.esp32.com/viewtopic.php?f=12&t=26793&start=10 thread a couple of days ago...
Maybe I'll just wait for the camera app example to get published (I was unable to find it). I mean, in that example the whole screen is ...
by fcipaq
Mon Aug 26, 2024 6:33 pm
Forum: ESP-IDF
Topic: PSRAM-less framebuffer strategy
Replies: 10
Views: 5227

Re: PSRAM-less framebuffer strategy

Sure, I'll upload on Github in a couple of days (pretty busy week). It's based on github.com/ducalex/retro-go with very minor adjustments.

About LVGL: Thank you for the input, I'm however not using LVGL, just the driver that came with ESP-IDF.
by fcipaq
Mon Aug 26, 2024 5:11 pm
Forum: ESP-IDF
Topic: PSRAM-less framebuffer strategy
Replies: 10
Views: 5227

PSRAM-less framebuffer strategy

Hi everyone,

I am very happy that I was able to grab on of the engineering-sample-ESP32-P4-Function-EV-Boards. And I am quite impressed by the power of the new uC.

I was able to get snes9x (a SNES emulator) running with ESP-IDF. While I got ~22 fps on an S3 (without frame dropping), I get around ...

Go to advanced search