stm32_tiny_monitor icon indicating copy to clipboard operation
stm32_tiny_monitor copied to clipboard

Speed

Open tomass2077 opened this issue 2 years ago • 1 comments

What is the bottleneck? I thought that these displays could refresh faster! And stm32 has JPEG codec.

tomass2077 avatar Sep 26 '23 05:09 tomass2077

STM32F1 microcontrollers have no jpeg decoder.

The main bottleneck is capturing image from PC and transferring it to MCU. Here I'm not compressing the image. The captured screenshot is converted to raw RGB565 pixels and sent to MCU. So that the stm32 doesn't have to do any processing. It's simply sending the received pixels to display over SPI using DMA.

Taking screenshot, converting each pixel to RGB565, and sending them over USB is causing bottleneck here.

abhra0897 avatar Oct 03 '23 12:10 abhra0897