3.1 Code Example - PDMIC
The following code example demonstrates the steps to record mono audio data using a PDMIC interface at a 48 kHz sample rate for 10 seconds, with a sample size being signed 16-bit. A PDM microphone is connected to the PDMIC interface through I/O pins PB26 (PDMIC_DAT) and PB27 (PDMIC_CLK). The converted data is stored in a buffer in the DDR memory on the SAMA5D2 Xplained board.
