I'm trying to capture sound over ADC and play it through codec. But the code ends up in a hard fault error while initialization. Can anyone help me out?
I'm capturing sound through an external microphone and converting it to digital with ADC. I pass the data over DMA and when initializing the audio codec, it runs into a hardfault error.