CHAPTER 9

Frame Processing

When it comes to processing frames of data (for example, in doing FFT and block convolution), triple buffering is an efficient data frame handling mechanism. While samples of the current frame are being collected by the CPU in an input array via an ISR, samples of the previous frame in an intermediate array can get processed during the time left between samples. At the same time, the DMA can be used to send out samples of a previously processed frame available in an output array. In this manner, the CPU is used to set up the input array and process the intermediate array while the DMA is used to move processed data from the output array. At the end of each frame or the start of a new frame, the roles of these arrays ...

Get Real-Time Digital Signal Processing 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.