© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
W. GayBeginning STM32Maker Innovations Serieshttps://doi.org/10.1007/979-8-8688-0199-0_13

13. OLED Using DMA

Warren Gay1  
(1)
St. Catharines, ON, Canada
 

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.

Challenges

This project will challenge us a little bit because our OLED device requires some special handling. The main challenges are as ...

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.