使用J-LinkV8
MDKKeil版本4.71
调试串口波特率:115200
基于MDKK70-EK_T70硬件平台
关键词: Freescale 飞思卡尔 Kinetis Cortex-M4 K70 MDKK70 核心板 开发板 例程 SGTL5000 SDHC MQX I2S
实验现象:
串口输出:
Setting up time......................[OK]
Initializing audio codec.............[OK]
Creating shell task..................[OK]
Creating SD card task................[OK]
Audio driver demo application
Shell (build: Dec 5 2013)
Copyright (c) 2008 Freescale Semiconductor;
shell>
shell>
SD card installed to "a:"
shell>help
Available commands:
cd <directory>
del <file>
dir [<filespec>] [<attr>]]
exit
help [<command>]
mkdir <directory>
ren <oldname> <newname>
rmdir <directory>
play <device> <filename>
record <device> <filename> <format>
?
shell> dir
A.WAV 441044 12-06-2013 11:35:56 A A.WAV
BB.WAV 4399198 12-06-2013 14:17:12 A BB.WAV
shell> play sai: a:/bb.wav
Playback information
Sampling frequency: 22050 Hz
Bit depth: 16 bits
Channels: mono
Data rate: 44 kbyte/s
----------------------------------------------
Playing a file...DONE
----------------------------------------------
Playback stats
Total interrupts: 549934
Bytes requested for transmit: 4399154
Bytes transmitted: 4399154
Underruns of hardware FIFO: 0
Software buffer empty: 39
----------------------------------------------
shell>
该K70音频例程基于MQX操作系统,仅支持wav文件播放,文件放置于SD/TF卡中并插到K70EK上,更多信息请参考MQX例程。
|