牛卧堂MCU技术交流

标题: [NUC505] WAV Player from internal Flash [打印本页]

作者: admin    时间: 2023-8-30 11:38
标题: [NUC505] WAV Player from internal Flash

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.

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





欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) Powered by Discuz! X3.2