83+ FPS Update Without DMA #3651
KaliAssistant
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
SPI_FREQUENCY 80E6
andSPI_READ_FREQUENCY 60E6
on a recently purchased Waveshare ESP32S3-GEEK board, which has an ST7789 240x135 RGB565 TFT LCD.By leveraging FreeRTOS, I created a task that continuously refreshes the TFT LCD at a stable 85 Hz. Due to vTask timing precision being limited to 1 ms, the actual refresh rate becomes 83.33 Hz.
Additionally, I implemented an SD card streaming system that reads an RGB565 video file at 60 FPS. The video was generated using OpenCV, where I converted each frame to PNG, then transformed them into RGB565 format and merged them into a single
video.bin
file.Surprisingly, I am able to consistently achieve this high frame rate without using DMA. I am unsure why the performance remains so stable.
I will include code snippets and a video demonstration for reference.
Would love to hear thoughts or explanations on this!
IMG_5774-2.mp4
code
Setup303_WaveShare_ESP32S3_GEEK.h
libfb.cpp
main.cpp
Beta Was this translation helpful? Give feedback.
All reactions