【正文】
ly 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 主要研究內(nèi)容 ........................................................................................... 1 第 2 章 系統(tǒng)總體方案設(shè)計(jì)以及原理 ........................................................................ 3 電子音樂相冊簡介 ................................................................................... 3 電子音樂相冊整體方案 ........................................................................... 3 第 3 章 基于 FPGA的 SOPC系統(tǒng)構(gòu)建 ................................................................... 4 SOPC 系統(tǒng)整體設(shè)計(jì) ................................................................................ 4 SOPC 技術(shù)簡介 ........................................................................................ 4 NIOS II 嵌入式軟核微處理器介紹 ........................................................ 5 Altera DE2 開發(fā)平臺 ............................................................................... 6 Altera DE2 開發(fā)平臺簡介 ................................................................ 6 FPGA 芯片 ........................................................................................ 7 外部存儲器 ........................................................................................ 7 配置電路 ............................................................................................ 8 SOPC 系統(tǒng)構(gòu)建 ........................................................................................ 8 第 4 章 硬件驅(qū)動程序設(shè)計(jì) ...................................................................................... 10 SD 卡驅(qū)動程序設(shè) 計(jì) ............................................................................... 10 SD 卡簡介 ....................................................................................... 10 SD 卡硬件接口 ............................................................................... 10 SD 卡通信協(xié)議 ............................................................................... 12 SD 卡驅(qū)動程序 ............................................................................... 12 音頻芯片驅(qū)動程序設(shè)計(jì) ......................................................................... 17 VS1003B 簡介 ................................................................................. 17 VS1003B 硬件接口 ......................................................................... 17 VS1003B 驅(qū)動時(shí)序 ......................................................................... 18 VS1003B 驅(qū)動程序 ......................................................................... 19 TFT 液晶驅(qū)動程序設(shè)計(jì) ......................................................................... 20 TFT 液晶以及 HX8347 簡介 .......................................................... 20 HX8347 硬件接口 ........................................................................... 20 HX8347 驅(qū)動時(shí)序 ........................................................................... 21 HX8347 驅(qū)動程序 ........................................................................... 22 觸摸芯片驅(qū)動程序設(shè)計(jì) ......................................................................... 24 觸摸技術(shù)簡介 .................................................................................. 24 UH7843 硬件接口 ........................................................................... 24 UH7843 驅(qū)動時(shí)序 ........................................................................... 25 UH7843 驅(qū)動程序 ........................................................................... 25 第 5 章 音頻知識及 BMP圖片格式 ....................................................................... 27 音頻知識 ................................................................................................. 27 音頻介紹 .......................................................................................... 27 音頻編碼格式 .................................................................................. 27 西南科技大學(xué)本科生畢業(yè)論文 2 BMP 圖片 ............................................................................................... 28 BMP 位圖介紹 ................................................................................ 28 BMP 圖片存儲結(jié)構(gòu) ........................................................................ 29 第 6 章 FAT32文件系統(tǒng) .......................................................................................... 31 FAT32 文件 系統(tǒng)簡介 ............................................................................. 31 FAT32 文件系統(tǒng)結(jié)構(gòu) ............................................................................. 31 第 7 章 系統(tǒng)軟件程序設(shè)計(jì) ...................................................................................... 33 系統(tǒng)整體軟件流程圖