Hi @Snara.2 ,
PCM data is defined by sample speed (8kHz in your case) and bit depth, for example 16 bits (or 12 bits for the ADC resolution). This means that, for a N.1 minute acquisition, you need 8kHz * 12bit * 60 sec = 5760 kbit = 720kByte.
The STM32L4R9 on the Sensortile.box has:
- 2-Mbyte Flash, 2 banks read-while-write, proprietary code readout protection
- 640 Kbytes of SRAM including 64 Kbytes with hardware parity check
You might use the internal flash, but there is the concrete risk you'll saturate it.
So it's better you process your audio stream second by second, not minute by minute, at least if you want to do it in real-time. Otherwise you should find a memory for storage, such as a flash or the onboard SD card, but the processing will be no more in real-time.
-Eleon