【分享】K70例程——I2S音频驱动

2020-02-21 21:04发布

使用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例程。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
27条回答
liliuqun
1楼-- · 2020-02-22 02:04
 精彩回答 2  元偷偷看……
oner
2楼-- · 2020-02-22 02:13
K70都出来了。Mark。前排。谢谢楼主分享。
Ai_evan
3楼-- · 2020-02-22 07:21
收下了,谢谢分享
zhudadragon
4楼-- · 2020-02-22 12:14
K70例程——I2S音频驱动,mark
abszy
5楼-- · 2020-02-22 15:55
谢谢分享  收下了
DiaoMao_Huang
6楼-- · 2020-02-22 19:05
 精彩回答 2  元偷偷看……

一周热门 更多>