How to write code to use DMA to send data over SPI to LCD12864 with U8G2 API Libs. We are using Hardware SPI, STM32F103 bluepill, and STM32CubeIDE. Before use DMA, the speed is slow, because the LCD is slow SPI interface is slow, we can only make 12FPS. but we can improve the speed by using DMA to send data to SPI, and free up CPU time. We have to modify two u8g2 source files to make it LCD st7920 to work with DMA.
For detail code changes and source code, check this post.
https://superdiyprojects.blogspot.com...