基于FPGA的音频编解码芯片控制器设计

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

摘要

现如今随着可编程逻辑器件及相关技术的不断发展和完善,其技术在现代电子技术领域表现出的明显技术领先性,具有传统方法无可比拟的优越性。近几年,嵌入式数字音频产品受到越来越多消费者的青睐。在MP3、手机等电子产品中,音频处理功能已成为不可或缺的重要组成部分,而高质量的音效是当前发展的重要趋势。

数字语音集成电路与嵌入式微处理器相结合,既实现了系统的小型化、低功耗,又降低了产品开发成本,提高了设计的灵活性,具有体积小、扩展方便等诸多特点,具有广泛的发展前景。

本设计基于SOPC技术,利用Verilog HDL硬件描述语言开发的基于FPGA 的音频编解码芯片控制器,以实现对音频编解码芯片WM8731的控制。并根据Verilog HDL可移植性和不依赖器件的特点。经过适当的修改,该控制器可以移植到各类FPGA中,以控制兼容I2C和I2S总线的音频编解码芯片。避免了重复开发,这样既缩短了设计周期又降低了设计成本,可大大提高设计的效率。系统在功能扩展上具有极大的潜力,有很好的应用前景和科研价值。

关键词:WM8731,FPGA,I2C总线,音频控制器

The design of audio codec chip controller based by FPGA

Abstract

Nowadays, with the programmable logic devices and related technologies continue to develop and improve its technology in the field of modern electronic technology was demonstrated technology leadership, has incomparable superiority of traditional methods. In recent years, embedded digital audio products are more and more consumers of all ages. In MP3, mobile phones and other electronic products, audio processing features have become an indispensable part of the current development of high-quality audio is an important trend.

Digital voice integrated circuits and embedded microprocessors, which not only realized the system's small size, low power consumption, and reduced product development costs and improve design flexibility, small size, easy expansion, and many other features, a broad prospects for development.

The design is based on SOPC technology, the use of Verilog HDL hardware description language developed FPGA-based audio codec chip controller, to achieve the WM8731 audio codec chip control. Verilog HDL based on portability and does not rely on the device characteristics. After appropriate modifications, the controller can be ported to a variety of FPGA,

to control I2C and I2S bus compatible audio codec chip. Avoid duplication of development, then it will shorten the design cycle and reducing design cost, can greatly improve design efficiency. Extensions on the system has great potential, there are good prospects, and scientific value.

Keywords: WM8731, FPGA, I2C Bus, Audio controller

目录

1 绪论 (1)

1.1研究的背景及意义 (1)

1.2本设计的主要目的 (2)

2 器件介绍 (3)

2.1 语音编/解码芯片WM8731 (3)

2.2 FPGA器件EP2C35F672C6 (4)

3 协议介绍 (6)

3.1 I2C总线 (6)

3.1.1 I2C总线的数据的有效性 (6)

3.1.2 I2C总线的数据格式及时序 (7)

3.1.3 I2C总线的寻址方式 (7)

3.2 I2S总线 (8)

3.1.1 I2S总线的数据格式及时序 (8)

3.1.2 I2S总线的数据采样率 (9)

4 硬件设计 (10)

4.1 硬件方框图 (10)

4.2 ED-2 开发板 (11)

4.3 语音芯片WM8731 外围电路 (11)

5 硬件模块设计与实现 (12)

5.1 开发环境 (12)

5.1.1 Quartus II (12)

相关文档
最新文档