Hi,
The application template for the STM32G0 board available in TouchGFX may help you, it has an SPI display. When you will create a project with this application template or with one of the corresponding online application, a fully configured project will be generated and can be used as a source of inspiration.
These two articles in the documentation may help you as well: "partial frame buffer with SPI" and "FMC and SPI display interfaces"
/Romain