STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Gaps when playing audio file with DAC

I'm trying to play a sound file with raw PCM data using the DAC:uint8_t buffer[16384]; // 4-aligned uint8_t *bufptr[2] = {buffer, buffer + sizeof(buffer) / 2}; int curr_buffer = 0; volatile int audio_dma_half_complete = 0;   f_read(fh, buffer, sizeo...

0690X000008ASjiQAG.png