标题: [NUC505] WAV Player from internal Flash [打印本页] 作者: admin 时间: 2023-8-30 11:38 标题: [NUC505] WAV Player from internal Flash
Application: A WAV player demo using internal codec to play WAV 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 WAV file stored in internal SPI flash. User needs to store WAV file first and then modify WAVFile_address from config.h to set WAV file storage address. Please note that the WAV file cannot exceed the NUC505 memory location. This sample code will check WAV file header to verify correctness of WAV 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.