stm32_tiny_monitor
stm32_tiny_monitor copied to clipboard
Speed
What is the bottleneck? I thought that these displays could refresh faster! And stm32 has JPEG codec.
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.