An open API service indexing awesome lists of open source software.

https://github.com/vadrov/esp32_display_spi_dma_low_layer_driver_jpeg_rendering

ESP32 low layer driver for spi displays (esp-idf-v5.1.2). Optimized JPEG decoder. Demonstration of line-by-line graphics rendering running on two cpu cores.
https://github.com/vadrov/esp32_display_spi_dma_low_layer_driver_jpeg_rendering

display dma esp32 ili9341 jpeg jpeg-decoder jpg rendering spi st7789

Last synced: 16 days ago
JSON representation

ESP32 low layer driver for spi displays (esp-idf-v5.1.2). Optimized JPEG decoder. Demonstration of line-by-line graphics rendering running on two cpu cores.

Awesome Lists containing this project

README

          

*Copyright (C) 2019-2024, VadRov, all right reserved.*

* ESP32 low layer driver for spi displays (esp-idf-v5.1.2)
* Optimized JPEG decoder.
* Demonstration of line-by-line graphics rendering running on two cpu cores.

# How to use?
Open main.c and define connection settings. Select display module (st7789, ili9341). Select the number of cores to demonstrate the operation of graphic line rendering.
```c
//--------------------------------------------- User defines ---------------------------------------------
#define CS_PIN 17 // -1 if not used
#define DC_PIN 21
#define RST_PIN 19
#define BCKL_PIN 5
#define SPI_ SPI3 //SPI2 (GPIO13 -> MOSI, GPIO14 -> CLK)
//SPI3 (GPIO23 -> MOSI, GPIO18 -> CLK)
#define DMA_ch 1 //DMA channel 1 or 2, 0 - if DMA not used

#define ACT_DISPLAY ST7789 //ST7789 or ILI9341
#define HI_SPEED //if uncommented f_clk spi = 80 MHz, else 40 MHz

#define RENDER_USE_TWO_CORES //Use two esp32 cores for graphics rendering.
//Comment out if using one core.
#define RENDER_BUFFER_LINES 8
//--------------------------------------------------------------------------------------------------------
```
![Image](https://github.com/user-attachments/assets/a1d1e251-addf-43d6-b90f-d268907fe3f1)

[![Watch the video](https://img.youtube.com/vi/yXXlYOSYgoo/hqdefault.jpg)](https://youtu.be/yXXlYOSYgoo)

* https://www.youtube.com/@VadRov
* https://dzen.ru/vadrov
* https://vk.com/vadrov
* https://t.me/vadrov_channel
* Donate: [donate.yoomoney](https://yoomoney.ru/to/4100117522443917)