在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
芯片精品文章合集(500篇!)    创芯人才网--重磅上线啦!
查看: 2356|回复: 4

[原创] 【K70例程】022I2S音频驱动_SGTL5000_SDHC_MQX_K70EKT7

[复制链接]
发表于 2014-1-9 18:35:20 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
使用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例程。
 楼主| 发表于 2014-1-9 18:35:48 | 显示全部楼层
串口输出.jpg
 楼主| 发表于 2014-1-9 18:36:28 | 显示全部楼层
022.rar (4.98 MB, 下载次数: 4 )
发表于 2014-6-4 08:33:17 | 显示全部楼层
下下来学习
发表于 2016-9-8 20:50:24 | 显示全部楼层
太好了,谢谢老板啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-6-9 03:40 , Processed in 0.022382 second(s), 10 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表