September 2025
Intermediate to advanced
570 pages
13h 21m
English
In the last chapter, we explored the trade-offs between different drivers for transferring data using a UART. We discovered that we could use ISRs instead of polling to improve the overall efficiency of the driver’s usage of processor bandwidth. We also looked at the difference between a queue-based approach and the use of buffers.
In this chapter, we’ll attempt to further improve the efficiency of our driver by using direct memory access (DMA). After that, we’ll explore how drivers interact with the rest of the system, and we’ll take a look at another FreeRTOS feature – stream buffers. Throughout this chapter, we’ll keep a close eye on overall system-performance, using SystemView. By the end, you should have ...
Read now
Unlock full access