【正文】
西南科技大學(xué)本科生畢業(yè)論文 i 基于 SOPC的電子音樂相冊(cè) 設(shè)計(jì) 摘要: 嵌入式系統(tǒng)是當(dāng)今 IT 界最熱門的概念之一 。 隨著 ARM 技術(shù)的不斷推廣,如今 人們的日常生活中,嵌入式系統(tǒng)的應(yīng)用 早已滲入了其中 。 可以說嵌入式系統(tǒng)現(xiàn)在已經(jīng)廣泛應(yīng)用于軍事、工業(yè)、商業(yè)、醫(yī)療、個(gè)人家庭等的方方面面 ,并且正在高速發(fā)展著 。 尤其是 電子數(shù)碼產(chǎn)品 ,其 更新?lián)Q代迅速,從最初的分立元件到現(xiàn)在的集成芯片,產(chǎn)品的體積越來(lái)越小,而所展現(xiàn)出來(lái)的功能卻是越來(lái)越強(qiáng)大。 本設(shè)計(jì)采用 DE2 開發(fā)板作為主板,提出了一種基于 Nios II 的數(shù)碼音樂相冊(cè)。 主要實(shí)現(xiàn)了通過對(duì) SD 卡存放的音頻和圖片文件的讀取操作, 經(jīng)過構(gòu)建的 Nios 處理器控制,將音頻信息傳送至音頻模塊播放,將圖片信息傳送至 TFT 液晶顯示,同時(shí)全程使用觸摸操作的功能。硬件部分主要負(fù)責(zé)完成對(duì) Nios 處理器的構(gòu)建,音頻模塊和液晶部分的焊接。軟件部分主要負(fù)責(zé) SD 卡、 TFT 液晶、觸摸芯片和音頻模塊的底層驅(qū)動(dòng)程序以及整個(gè)應(yīng)用程序的編寫。 通過完成軟、硬件的工作,最終實(shí)現(xiàn)基于 SOPC 電子音樂相冊(cè)的設(shè)計(jì)。 關(guān)鍵詞: SOPC; Nios II; SD 卡; TFT 液晶;觸摸芯片; VS1003 音頻模塊 西南科技大學(xué)本科生畢業(yè)論文 i Smart Home Energy Monitor Abstract: Embedded system is one of the most popular the concept of IT. With the continuous promotion of ARM technology, and now people39。s daily life, the application of embedded systems which have already infiltrated. Can be said that embedded systems are now widely used in military, industrial, mercial, medical, personal and family aspects, and it is fast developing. Especially the electronic digital products, and its replacement quickly, which from the initial discrete ponents to the current integrated chip, and the product is smaller and smaller, but exhibited by the function is more powerful. This design uses DE2 development board as the main board, and presented digital music albums which based on the Nios II. Mainly realized on the SD card through the audio and image files stored in a read operation, after controlling the construction of the Nios processor, the audio information is transmitted to the audio module player, the picture information transmitted to the TFT LCD display, while using the touch operation of the whole Function. Hardware is mainly responsible for the construction pletion of the Nios processor, the audio module and the LCD part of the welding. Software ponent is mainly responsible for SD card, TFT LCD, touch the bottom of the chip, the audio module drivers and write the entire application. Through the pletion of hardware and software, finally pleted design that the album of electronic music which based on the SOPC. Key words: SOPC, Nios II, SD card, TFT LCD, touch chip, VS1003 Audio Module 西南科技大學(xué)本科生畢業(yè)論文 1 目 錄 第 1 章 緒 論 ............................................................................................................ 1 項(xiàng)目研究背景 ........................................................................................... 1 主要研究?jī)?nèi)容 ........................................................................................... 1 第 2 章 系統(tǒng)總體方案設(shè)計(jì)以及原理 ........................................................................ 3 電子音樂相冊(cè)簡(jiǎn)介 ................................................................................... 3 電子音樂相冊(cè)整體方案 ........................................................................... 3 第 3 章 基于 FPGA的 SOPC系統(tǒng)構(gòu)建 ................................................................... 4 SOPC 系統(tǒng)整體設(shè)計(jì) ................................................................................ 4 SOPC 技術(shù)簡(jiǎn)介 ........................................................................................ 4 NIOS II 嵌入式軟核微處理器介紹 ........................................................ 5 Altera DE2 開發(fā)平臺(tái) ............................................................................... 6 Altera DE2 開發(fā)平臺(tái)簡(jiǎn)介 ................................................................ 6 FPGA 芯片 ........................................................................................ 7 外部存儲(chǔ)器 ........................................................................................ 7 配置電路 ............................................................................................ 8 SOPC 系統(tǒng)構(gòu)建 ........................................................................................ 8 第 4 章 硬件驅(qū)動(dòng)程序設(shè)計(jì) ...................................................................................... 10 SD 卡驅(qū)動(dòng)程序設(shè)計(jì) .............................................................................. 10 SD 卡簡(jiǎn)介 ....................................................................................... 10 SD 卡硬件接口 ............................................................................... 10 SD 卡通信協(xié)議 ............................................................................... 12 SD 卡驅(qū)動(dòng)程序 ............................................................................... 12 音頻芯片驅(qū)動(dòng)程序設(shè)計(jì) ......................................................................... 17 VS1003B 簡(jiǎn)介 ................................................................................. 17 VS1003B 硬件接口 ......................................................................... 17 VS1003B 驅(qū)動(dòng)時(shí)序 ......................................................................... 18 VS1003B 驅(qū)動(dòng)程序 ......................................................................... 19 TFT 液晶驅(qū)動(dòng)程序設(shè)計(jì) ........................................................................ 20 TFT 液晶以及 HX8347 簡(jiǎn)介 .......................................................... 20 HX8347 硬件接口 ........................................................................... 20 HX8347 驅(qū)動(dòng)時(shí)序 ........................................................................... 21 HX8347 驅(qū)動(dòng)程序 ........................................................................... 22 觸摸芯片驅(qū)動(dòng)程序設(shè)計(jì) ......................................................................... 24 觸摸技術(shù)簡(jiǎn)介 .................................................................................. 24 UH7843 硬件接口 ........................................................................... 24 UH7843 驅(qū)動(dòng)時(shí)序 ........................................................................... 25 UH7843 驅(qū)動(dòng)程序 ........................................................................... 25 第 5 章 音頻知識(shí)及 BMP圖片格式 ....................................................................... 27 音頻知識(shí) ......................................