- Application: A MP3 player demo using internal codec to play MP3 file stored in internal SPI flash
- BSP Version: NUC505 Series BSP CMSIS V3.02.000
- Hardware: NuTiny-EVB-NUC505 V1.6
This sample code uses NUC505 internal codec to play MP3 file stored in internal SPI flash. User needs to store MP3 file first and then modify MP3_address to set MP3 file storage address and modify MP3File_Size to set MP3 file size in config.h. Please note that the MP3 file cannot exceed the NUC505 memory location. This sample code will check MP3 file header to verify correctness of MP3 file.
This sample code supports mono/stereo mode, data length is 16 bits and sampling rates is 8k, 11025, 12k, 16k, 22050, 24k, 32k, 44100 and 48k. It will automatically set the APLL value according to different sampling rates.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0913134609
|