Showing how to get fast SPI transfer and optimized algorithm handling the ST7735 display driver.
Speeding up dat transfer from 100ms to less than 7ms per a full screen frame, from more than 1ms to less than 150ns per character written over the display, from 200 to 52 ns per line drawing.
00:00 intro: summary
01:28 intro: selecting the display for a project
02:26 intro: downloading a sw library for STM32
04:25 setup a performance test for the sw library
06:09 moving sw library from polling mode to DMA and interrupt and testing it
10:53 measuring SPI data transfer via a digital logic analyzer
14:27 a plan to opimize data flow and drawing algorithm
17:47 why a need for a double data buffer?
19:42 first tests with the logic analzer after sw improvement
20:52 polling mode or DMA? Use them BOTH!
22:47 final considerations: which SPI baud rate for the ST7735 driver?
23:52 final considerations: sizing the display buffer
25:14 final considerations: dimming backlight
26:00 final considerations: moving to STM fonts
Documentation:
ST7735S datasheet: www.lcdwiki.com/res/MSP1803/ST...
1.8 inch TFT LCD datasheet (for backlight powering): www.lcdwiki.com/res/MSP1803/QD...
This software Github page: github.com/maudeve-it/ST7735S...
My playlist about SPI TFT-LCD displays handling: • My playlist about SPI ...
Негізгі бет Ғылым және технология STM32 and ST7735 1.8 TFT LCD display
Пікірлер: 20