Page 1 of 1

[M487] Record AMR File to MicroSD Card

Posted: 06 May 2022, 09:54
by chhsieh3
  • Application: This example code uses the M487 microcontroller and external audio codec NAU88L25 to record sound in AMR format into a MicroSD card.
  • BSP Version: M480_BSP_CMSIS_V3.05.003
  • Hardware: NuMaker-PFM-M487 V3.0
This example code uses external audio codec NAU88L25 to record sound from headphone mic, encode it by an AMR codec library, and store it in a MicroSD card. The default file name “rec.amr” is located at a root directory of MicroSD card.

The recorder AMR file supports mono mode. The data length is 16 bits and sampling rate is 8 kHz.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0429114324