In the previous chapter, software was developed to drive the OLED using master-mode SPI transactions. The STM32 platform does, however, support a DMA (direct memory access) controller, which can be exploited to perform the I/O operations and leave more cycles available for the CPU. This chapter will explore how to set up and use that DMA controller to drive the OLED device.
13. OLED Using DMA
Get Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.