SRAM/FSMC Framebuffer -> 8080 LCD FSMC DMA transfers example
Hi! After some struggle I got my SSD1963 LCD working. It's very basic right now, I still don't have resistive touch and SPI flash for storage working.
I'm using an STM32F407 168MHz chinese development board. SDRAM is only 1MB 16-bit and my display resolution is 800x480 16-bit, which doesn't allow for a double buffer setup. I don't have any FPS measurement system yet, but screen refreshes are very slow.
I'm coming from Atmel AVR 8-bit and still learning how to work with the way more complex STM32 ARM MCUs. I was able to make my driver for this display and initialize it, transfer data to it and make it work with TouchGFX, which is really nice. Now I understand the basics of GPIO, NVIC, FSMC, how to interface to LCD though it, how a RTOS work, etc.
I'm curious to test using DMA to transfer data from external SRAM framebuffer (accessible by the address 0x68000000) to my display internal framebuffer (0x6C000000) and see how much offloading the CPU would help on getting faster transfers and higher framerates. I guess it would be done using memory-to-memory DMA transfers (found it snooping at MX/.ioc file DMA options) but I don't know how it should be done. Are there any example of this?
I'm really lost in here and any help would be very appreciated. Thanks in advance!
