【正文】
腳描述 電源 :(VCCA,VCCD) 為使噪聲最小 ,芯片的模擬和數(shù)字電路使用不同的電源總線 ,并且分別引到外封裝的 不同管腳上 ,模擬和數(shù)字電源端最好分別走線 ,盡可能在靠近供電端處相連 ,而去耦電容應(yīng)盡量靠近器件。 BFSX初始化數(shù)據(jù)傳輸過程。 BCLKR 能夠被設(shè)置為輸入或輸出。 INT0 ~ INT3 可以通過中斷標(biāo)志寄存器( IFR)進(jìn) 行查詢和復(fù)位。圖 1 為TMS320C5402DSP 的內(nèi)部硬件組成框圖。要求實(shí)現(xiàn)功能:錄音、放音、快進(jìn)、擦除、音量控制。本文以 TMS320C54x 系列的 TMS320VC5402 為例,說明語音錄放芯片ISD4004 應(yīng)用在 DSP 系統(tǒng)的設(shè)計(jì)方法。SPI II Abstract Speech signal processing is a subject to study how to produce, transmit and obtain speech information effectively. The thesis starts with a literature review about the development of speech signal processing and provides an expectation for the future. Next. an analysis is carried out on production mechanism of speech signal,setting up a simple and feasible mathematic model to analyze the physical significance of speech characteristic parameter and how to determine it. From the aspect of its hardware, a designing project of the speech processing system is established on the basis of TMS320VC5402 . The project first gives a brief introduction about the position of DSP system and then displays its basic framework. Next ,all elaboration is provided for the parts like selection of chip,module of audio frequency switch, extended memorizer, UART data munication and power voltage switch. The technology of DSP is applied in the designing process. From the aspect of software. the thesis starts with an introduction about CCS. and then about DSP software developing flow. At last, a detailed elaboration is given respectively to the designing and analysis of initialization of DSP collection of audio frequency and parallel boot load procedure of TMS320VC5402 The study in the thesis touches upon a part of a speech identification system. A profound exploration has been conducted on the areas like development and research statement of speech processing, capability parameter of TMS320VC5402 chip, knowledge about software and hardware, as well as the designing and developing flow of DSP system. Key words: speech signal processing, characteristic parameter, Digital signal processor, information storage devices 4004 (ISD4004),Serial Peripheral Interface(SPI 1 目錄 摘要 ................................................................ I Abstract........................................................... II 第 1 章緒論 .......................................................... 1 引 言 ........................................................ 1 系統(tǒng)設(shè)計(jì)的意義 ............................................... 2 系統(tǒng)設(shè)計(jì)的目的 .............................................. 2 系統(tǒng)采用的實(shí)現(xiàn)方法 .......................................... 3 第 2 章 DSP 控制技術(shù)和開發(fā)環(huán)境介紹 ................................... 4 DSP 核心芯片 TMS320C5402 引腳的介紹 ........................... 4 概述 ................................................... 4 主要性能參數(shù) ................................ 4 引腳功能說明 ................................ 4 CCS 開發(fā)環(huán)境和建立工程 ....................................... 7 CCS 簡(jiǎn)介 ............................................... 7 CCS 的組成 ............................................. 7 CCS 的主要功能 ......................................... 8 ISD4004 介紹 ................................................ 9 性能簡(jiǎn)述和引腳圖 ....................................... 9 引腳描述 ............................................... 9 SPI(串行外設(shè)接口) ........................................ 11 協(xié)議介紹 .............................................. 11 信息管理 .............................................. 11 ISD4004 與 DSP 的 SPI 時(shí)序配合 .......................... 13 語音芯片的內(nèi)部信息尋址機(jī)制 ..................... 14 第三章系統(tǒng)硬件設(shè)計(jì) ................................................. 15 系統(tǒng)硬件總體框圖 ............................................ 15 硬件電路圖 .................................................. 15 PCB 設(shè)計(jì) .................................................... 18 第四章系統(tǒng)軟件設(shè)計(jì) ................................................. 19 程序流程圖 .................................................. 19 系統(tǒng)關(guān)鍵程序設(shè)計(jì) ............................................ 20 TMS320VC5402 McBSP 初始化程序 ......................... 20 錄音子程序 ..................................... 21 ISD4004 放音子程序 .................................... 24 第五章 系統(tǒng)測(cè)試 .................................................... 26 測(cè)試內(nèi)容 ................................................... 26 第六章 總結(jié) ........................................................ 28 參考文獻(xiàn) ........................................................... 29 附錄 ............................................................... 30 附錄一 系統(tǒng)硬件 PCB 3D 視圖 ..................................... 30 2 附錄二 軟件設(shè)計(jì)主程序 ......................................... 31 致 謝 ............................................................. 35 1 第 1 章緒論 引 言 語音,作為一種典型的非平穩(wěn)隨機(jī)信號(hào),是人類交流信息最自然、最有效、最方便的手段,在人類文明和社會(huì)進(jìn)步中起著重要的作用。在設(shè)計(jì)中應(yīng)用到了數(shù)字信號(hào)處理器 (DSP)技術(shù)。進(jìn)入 90年代以來,語音信號(hào)處理在實(shí)用化方面取得了許多實(shí)質(zhì)性的進(jìn)展。 對(duì)于語音信號(hào),數(shù)字處理比模擬處理具有更多的優(yōu)點(diǎn)。 主要性能參數(shù) TMS320C5402 是 TI 公司于 1996 年推出的一種定點(diǎn) DSP 芯片 ,采用先進(jìn)的修正哈佛結(jié)構(gòu)和 8 總線結(jié)構(gòu) ,使處理器的性能大大提高??偩€保持功能使未使用管腳上無需外接偏置電阻,當(dāng) 5402 不驅(qū)動(dòng)數(shù)據(jù)總線時(shí),總線保持引腳上處于先前的邏輯電平。執(zhí)行 XC指令,是在流水線的譯碼階段采樣 BIO ,執(zhí)行其他條件指令時(shí),是在流水線的讀操作數(shù)階段采樣 BIO 。 BCLKX作為 McBSP發(fā)送器的串行移位時(shí)鐘。 圖 22 CCS 的組成 CCS 的開發(fā)系統(tǒng)主要由以下組件構(gòu)成: ①TMS320VC54X 集成代碼產(chǎn)生工具; 8 ②CCS 集成開發(fā)環(huán)境; ③DSP/BIOS 實(shí)時(shí)內(nèi)核插件及其應(yīng)用程序接口 API; ④ 實(shí)時(shí)數(shù)據(jù)交換的 RTDX 插件以及相應(yīng)的程序接口 API; ⑤ 由 TI 公司以外的第三方提供的各種應(yīng)用模塊插件。 串行輸入 (MO