【正文】
的電源模塊是整個(gè)系統(tǒng)能 夠穩(wěn)定工作的先 巢湖學(xué)院 2022 屆本科畢業(yè)論文(設(shè)計(jì)) 5 決條件。應(yīng)用電路主要就是 I/O口與 LCD 的連接。該系統(tǒng)設(shè)計(jì)從大體上可分為以數(shù)字信號處理芯片 TMS320F2812 為主要芯片的最小系統(tǒng)與應(yīng)用電路兩個(gè)部分。 (4) 在 CCS 環(huán)境的 Debug 模式下,運(yùn)行程序并注意液晶模塊的顯示效果,如果顯示達(dá)到要求則繼續(xù),否則就返回修改程序并調(diào)試 。 軟件部分的設(shè)計(jì)步驟主要有: (1) 根據(jù)設(shè)計(jì)的需要用 C 語言編寫程序 (2) 在 的軟件開發(fā)環(huán)境中,編譯調(diào)試程序。設(shè)計(jì)的主要步驟如圖21: 圖 21 設(shè)計(jì)的大致步驟圖 該系統(tǒng)的設(shè)計(jì)主要步驟如圖 21 所示,在整個(gè)系統(tǒng)設(shè)計(jì)的過程中總體可分為硬件設(shè)計(jì)與軟件設(shè)計(jì)兩大方向,其中,硬件設(shè)計(jì)部分的設(shè)計(jì)步驟主要有 : (1) 硬件設(shè)計(jì)部分的實(shí)現(xiàn),就是依據(jù)系統(tǒng)設(shè)計(jì)所需的性能指標(biāo)、功能要求等 基于 DSP 芯片的 LCD 模塊設(shè)計(jì) 4 條件來 確定一個(gè)比較好的硬件部分的實(shí)現(xiàn)方法。 巢湖學(xué)院 2022 屆本科畢業(yè)論文(設(shè)計(jì)) 3 2 系統(tǒng)總體設(shè)計(jì) 在本章節(jié)中主 要是介紹本系統(tǒng)設(shè)計(jì)使用的設(shè)計(jì)方法與設(shè)計(jì)原理,并介紹了在本系統(tǒng)設(shè)計(jì)中各硬件模塊的功能。 在本系統(tǒng)設(shè)計(jì)中使用的主要芯片是 TMS320F2812,編寫程序使用的語言是 C 語言。 DSP 憑借著其優(yōu)化的硬件配置和高效的系統(tǒng)指令等特點(diǎn),在實(shí)時(shí)的系統(tǒng)中得到廣泛 的使用。人們在各領(lǐng)域?qū)σ壕У男枨?,已成為推?dòng)液晶發(fā)展的主要?jiǎng)恿?。在日常生活中,用液晶作為顯示器件可以說是非常普遍的。 隨著目前集成電子產(chǎn)品的迅速發(fā)展,液晶顯示屏作為電子顯示設(shè)備的一種, 基于 DSP 芯片的 LCD 模塊設(shè)計(jì) 2 以其特有的優(yōu)點(diǎn)正在廣泛的應(yīng)用于各種電子儀器儀表設(shè)備中去。另外在數(shù)字消費(fèi)領(lǐng)域,數(shù)碼產(chǎn)品市場的快速增長也不斷的推動(dòng)著 DSP 市場的發(fā)展。 課題研究的現(xiàn)狀 近年來,隨著低價(jià)格、高性能的 DSP 芯片的出現(xiàn), DSP 應(yīng)用的迅速發(fā)展為數(shù)字產(chǎn)品帶來了十分廣闊的發(fā)展空間。而數(shù)字信號處理芯片有著處理大量數(shù)據(jù)的能力和十分高的運(yùn)行速度,從性能上極大地滿足了目前消費(fèi)電子產(chǎn)業(yè)的需求。 在顯示屏中 LCD 液晶以其自身顯示的直觀性與操作便捷等特點(diǎn)被廣泛應(yīng)用于各種儀器儀表的顯示模塊中。并且它還是一種可供開發(fā)者自己編寫程序的處理器。 關(guān)鍵詞: DSP 芯片; LCD; CCS 環(huán)境; II The LCD module design based on DSP chip Abstract With the rapid development of electronic products,DSP technology is also applied more widely, from everyday life to the aerospace industry producing countries and the military, has DSP technology technology and theory has bee the basic theory and core areas of IT and electronics , the DSP technology and theory to teaching practice is usually necessary. In the current integration under the trend of rapid development of electronic products, LCD display, as a kind of electronic display equipment, with its own unique advantages are widely used in various electronic instrumentation equipment, as a text or image display device. The system is designed from the digital signal processing chip TMS320F2812,ST7920 LCD controller with builtfertility loose electrons LCD module QC12864B an example,The use of the C programming language, to introduce how to achieve munication between the DSP chip and LCD module,And the use of DSP chip to control the realization of LCD graphic part of the system design process to pile and debug environment were carried out at CCS. Keyword: DSP chip, LCD, CCS setting 目 錄 摘 要 .......................................................................................................................... I Abstract .......................................................................................................................... II 1 緒論 ............................................................................................................................ 1 課題研究背景 .................................................................................................. 1 課題研究的現(xiàn)狀 .............................................................................................. 1 本課題研究的主要內(nèi)容 .................................................................................. 2 2 系統(tǒng)總體設(shè)計(jì) ............................................................................................................ 3 系統(tǒng)的設(shè)計(jì)方法 .............................................................................................. 3 系統(tǒng)設(shè)計(jì)的總體功能框圖 .............................................................................. 4 系統(tǒng)各功能模塊介紹 ...................................................................................... 4 電源模塊 ................................................................................................ 4 復(fù)位電路模塊 ........................................................................................ 5 時(shí)鐘電路模塊 ........................................................................................ 6 JTAG電路模塊 ........................................................................................ 7 顯示模 塊 ................................................................................................ 8 TMS320F2812介紹 ........................................................................................... 8 3 LCD模塊硬件設(shè)計(jì) ................................................................................................... 11 設(shè)計(jì)原理 ........................................................................................................ 11 擴(kuò)展 IO 接口 ........................................................................................ 11 液晶顯示模塊的訪問與控制 .............................................................. 12 液晶的顯示控制方法 .......................................................................... 13 液晶控制芯片 ST7920 介紹 ........................................................................ 14 ...................................................................................................... 15 4 軟件設(shè)計(jì) .................................................................................................................. 17 CCS(Code Composer Studio)簡介 .................................................................. 17 CCS 常用指令簡介 .............................................................................. 17 DSP 的 C 語言程序開發(fā)流程 ...................................................................... 18 LCD液晶 12864的控制命令 ........................................................................... 19 液晶文字及圖片的顯示 ................................................................................ 21 5 系統(tǒng)硬件實(shí)現(xiàn) .......................................................................................................... 22 硬件實(shí)現(xiàn)要到達(dá)的效果 .............................................................................