Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Like if i m sampling at 8000Hz, i will have 8000 samples. How can i allocate this 8000 samples for FFT analysis? --- Quote End --- The most simple way is to store them in FPGA internal RAM. Once having the data there, you can transfer them to the PC with a Quartus tool, the In-System-Memory Editor, if the RAM has been generated with a respective interface. To make the codec sample the audio stream, you have to modify the setup from the demonstration projects, and decode the serial data stream into parallel data. As far as I'm aware of, the demonstration projects don't yet use the ADC function of the codec.But it's basically easy, similar to converting parallel to serial data as in the SD-card audio application, but the other way around.