How can I interface an LCD with an STM32L412RBT6P microcontroller using SPI and DMA?
Hi,
I have an STM32L412RBT6P microcontroller and a CFAG12864T3-NFH LCD which uses an ST7565 controller. I want to use SPI to communicate with the LCD and leverage DMA to efficiently transfer data with lowest current consumption possible. Could someone provide an example code or any helping notes on how to set this up? Specifically, I'm looking for:
1. Initializing the SPI peripheral on the STM32L412RBT6P for communication with the ST7565 controller.
2. Configuring DMA to handle data transfers from memory to the SPI peripheral.
3. Sending initialization commands and data to the LCD with ST7565.
Any help would be greatly appreciated!

