Smooth video playback on STM32 and ST7735 @cbm80amiga
Smooth video playback on STM32 and ST7735  @cbm80amiga
Uploaded December 2019 | Updated November 2026, 1 day ago
Parts:
- cheap "bluepill" STM32 ($1.50)
- 160x128 ST7735 LCD ($2.60)
- SD card

Comments:
- SD uses faster STM32 SPI1 interface which supports 36 Mbps
- Not all SD cards work at 36MBps
- Slow card at 18Mbps gives 22-23fps
- Fast card at 18Mbps gives 25-26fps
- Fast card at 36Mbps gives 33-34fps
- SdFat library uses DMA mode for SPI transfer
- Big buffer in RAM is used to speed up SPI/DMA transfer from SD
- SPI1 is shared between LCD and SD card
- Demo videos used here are taken from my older video and are not optimal (200x120 resolution - only 160x120 part is displayed on LCD)
- Raw/uncompressed video data can be prepared using FFMPEG

Follow-up video:
youtu.be/6Uh5Iu-erO0

Older video playback examples:
youtube.com/watch?v=9n9LHX6vwKc
youtube.com/watch?v=7-NHFz5MuoQ

Demo code - at my GitHub:
github.com/cbm80amiga/ST7735_SDVideoPlayback

If you find it useful and you want to buy me a coffee or a beer:
paypal.me/cbm80amiga
Smooth video playback on STM32 and ST7735Blackview MP100 Ryzen 5825U Mini PC Unboxing and Benchmarks2x24 RGB LED Stereo VU MeterXiaomi Mi Temperature and Humidity Monitor reading with Arduino and nRF24L01Swinth Demo on Arduino and ILI9163C LCD 😊Baseus 65W GaN Mini Quick Travel Charger - unboxing and testsBudget rechargeable RTU/LSD NiMH AA IKEA LADDA 1000mAh - unboxing and real capacity testingLowPower Arduino Countdown Timer with HX1230 LCDGauges and progress bars for color displays - Arduino and ILI9163CVici VC99 external display and data loggerMulti Boing Balls demo on STM32 and ST7735Portable  SD card tester and CID analyzer with STM32 and ST7735 LCD
cbm80amiga |

Smooth video playback on STM32 and ST7735

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER