Ping Pong Buffers
If you havenโt heard of ping pong buffers or double buffering, read this. They arenโt difficult and you will wish you knew the right words during your interview.
Read MoreIf you havenโt heard of ping pong buffers or double buffering, read this. They arenโt difficult and you will wish you knew the right words during your interview.
Read MoreNeed to move big amounts of dirt? You could use a tea spoon or something designed for the job, like a dump truck, or a really big dump truck.
In our programs, occasionally, we have to move large blocks of data. We can move it item by item, or bring out the data moving dump truck of computing, DMA.
This week, Andrei presents two examples of using DMA (with code included).
Read MoreDo you need to shoot out a block of data to your SD card and polling is getting you down? Is your system getting crushed by UART interrupts? Direct Memory Access (DMA) is the answer.
DMA is really useful, but it's treated like computer voodoo by many. This week Andrei introduces us to the concepts behind DMA and gives a few examples.
Read More