Skip to content

Driving st7789 displays with STM32 and uGUI library, using hardware SPI and DMA(Optional), with several modifications for best performance.

Notifications You must be signed in to change notification settings

deividAlfa/ST7789-STM32-uGUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Driver for ST7789 displays using STM32 and uGUI library.

Using STM32's Hardware SPI to drive a ST7789 based IPS display.
Forked from Floyd-Fish
Added my modified uGUI version.
This fork is a lot faster, specially on filling with the DMA (13x faster).
Everything has been optimized, font drawing is also a lot better due pixel packing, counts the same-color consecutive pixels, then draw them in a single operation, thus removing a lot of overhead.
The projects works right away, use STM32 CUBE IDE (Import... Exiting project... Select any of the demos).
Tested on STM32F103 and STM32F411, using a 135x240 4-wire SPI screen.
It can achieve 60FPS with 32MHZ SPI clock.

Configuration is done in st7780.h

For more information, check the Original ST7789 project and uGUI page.
To convert fonts, use my modified ttf2uGUI version. I've also compiled it for windows (ttf2ugui-win.zip).
Bitmaps can be converted withLcd image converter, use 16 bit packing, Little endian.

About

Driving st7789 displays with STM32 and uGUI library, using hardware SPI and DMA(Optional), with several modifications for best performance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.8%
  • Other 0.2%