I've started a little project that involves playing back audio samples from an SD card.
It uses an XMega32E5 and my thinking at the moment is to use an 8 kHz timer as a trigger for DMA to copy the next two-byte sample to the DAC - essentially playing back a "block" of audio in the background (the system will be double-buffered, so the next block is read in the foreground from the SD card while background DMA is playing the current one).
Anybody done this before? Anyone see anything stunningly wrong with this plan?