【正文】
摘 要 本文提出了基于 TMS320vc5402 芯片的語音處理板的設(shè)計與實現(xiàn),整個語音處理板的設(shè)計都以 TMS320c5402 為核心電路進行設(shè)計,本語音處理平臺的語音采集與輸出模塊采用的是 TI 公司推出的一款高性能的立體聲音頻 Codec 芯片TLV320A23,內(nèi)置耳機輸出放大器,支持 MIC和 LINE IN 兩種輸入方式,且對輸入和輸出都具有可編程增益調(diào)節(jié), A/D 和 D/A都高度集成在此芯片內(nèi) 。 本系統(tǒng)所選用的程序存儲器和數(shù)據(jù)存儲器是芯片 SSTS39VF400,它是一個低功耗 FLASH,工作在 至 電 壓下,存儲容量位 256k,其中的數(shù)據(jù)可以保持 100 年以上,可重復編程次數(shù)高達 10 萬次 。 該系統(tǒng)為了擴大數(shù)據(jù)存儲空間,在平臺上還擴展一片 Cypress 公司的 64k SRAM。 整個系統(tǒng)平臺的邏輯時序控制由 CPLD 電路來實現(xiàn) 。 穩(wěn)定,可靠的電源是所有電子系統(tǒng)的最有力支柱,因此,本語音處理平臺選用了 TI 公司的 TPS767D318 電源方案 。 關(guān)鍵詞 : 語音處理 ; TMS320vc5402 芯片 ABSTRACT In this paper, based on TMS320vc5402 chip voice processing board design and implementation, the entire speech processing board designed to TMS320c5402 as the core circuit design, voice processing platform for the voice output module acquisition and use of the TI is the pany launched a high Performance stereo audio Codec chip TLV320A23, builtin headphone output amplifier, and support the MIC LINE IN both input and the input and output have a programmable gain conditioning, A / D and D / A are highly integrated in the chip Within. The system chosen by the program memory and data memory chip is SSTS39VF400, it is a lowpower FLASH, work in the v to v voltage, the storage capacity of 256 k, the data can be maintained more than 100 years, can be programmed to repeat The number as high as 10 million. In order to expand the system of data storage space, the platform is also an extension of Cypress39。s 64 k SRAM. The logic of the system as a whole platform timing control circuit to achieve by the CPLD. Stable and reliable power supply all the electronic system is the most powerful pillar, therefore, the voice processing platform selected TI39。s TPS767D318 power programme. Key words: Voice Processing ; TMS320vc5402 chip 目 錄 緒 論 ............................................................................................................................ 1 概 述 .................................................................................................................. 1 語音處理技術(shù)的發(fā)展歷史和發(fā)展現(xiàn)狀 .......................................................... 1 本語音處理板的工作原理 .............................................................................. 2 本語音處理板具有的特點 .............................................................................. 2 本文的內(nèi)容安排 .............................................................................................. 3 2 系統(tǒng)方案設(shè)計 .......................................................................................................... 4 設(shè)計構(gòu)思 .......................................................................................................... 4 硬件接口和工作方式設(shè)計 .............................................................................. 5 音頻信號處理與實現(xiàn) ...................................................................................... 7 系統(tǒng)硬件方案設(shè)計 .......................................................................................... 8 3 主要芯片介紹 .......................................................................................................... 9 TMS320VC5402 功能介紹 ................................................................................. 9 TLC320AIC23 音頻 Codec............................................................................. 12 復雜可編程邏輯器件 .................................................................................... 13 JTAG 接口電路概述及相關(guān)原理。 ............................................................... 13 掃描鏈 ............................................................................................ 13 寄存器 和引腳 ................................................................................ 14 TAP 控制器 .................................................................................... 14 TPS767D318 的主要特點及引腳功能 .......................................................... 15 TPS767D318 的特點 ...................................................................... 15 TPS767D318 的引腳功能 .............................................................. 15 4 硬件各模塊實現(xiàn) .................................................................................................... 17 語音采集與輸出模塊 .................................................................................... 17 語音處理 DSP模塊 ........................................................................................ 18 程序存儲器、數(shù)據(jù) FALSH 模塊 .................................................................... 19 數(shù)據(jù)存儲器 SRAM 模塊 .................................................................................. 20 CPLD 時序邏 輯控制電路 ............................................................................... 21 電源電路設(shè)計 ................................................................................................ 22 設(shè)計完整電路原理圖 .................................................................................... 26 5 本系統(tǒng)的軟件設(shè)計 ................................................................................................ 27 存儲器配置程序( ) ........................................................................ 27 中斷向量表程序( ) ................................................................ 28 應(yīng)用程序 ........................................................................................................ 31 語音芯片初始化程序 ......................................................................... 34 6 系統(tǒng)設(shè)計中應(yīng)注意的問題 .................................................................................... 39 7 總結(jié) ........................................................................................................................ 40 致謝 .............................................................................................................................. 41 參考文獻 ................................................................................................................