版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、<p><b> 中文2330字</b></p><p> THE MICROPROCESSOR SYSTEM</p><p> A microprocessor system can be described at a number of different levels of complexity. The least complex from i
2、s that of a simple block diagram describing the interconnection and flow of information functional blocks and will be used to examine the operation of a microprocessor system.</p><p> All microprocessor sys
3、tems contain a central processing unit(CPU),program and</p><p> data memory and input(I/O) devices.Fig.4-4 show a block diagram of a typical</p><p> embedded microprocessor system in which eac
4、h block corresponds roughly to the individual integrated circuit(chip) used in the system.</p><p> The memory section contains both non-volatile read only memory(ROM) as program memory and volatile random a
5、ccess memory(RAM) as read/write data memory .For each type of memory there are a number of different types of devices ,such as erasable ROMs and static or dynamic RAMs, each of which is chosen for an application based on
6、 its cost and function. </p><p> Four different I/O functions are shown in Fig.4-4.An analogue input channel to the microprocessor system is provided by the analogue to digital(A/D) converter and may be use
7、d to connect a device such as an analogue to digital(A/D) converter and may be used to connect a device such as an analogue sensor. An analogue output channel is provided by the digital to analogue(D/A) converter and cou
8、ld be used to control an output transducer such as an electric motor, The parallel I/O device provides a nu</p><p> The level and power specifications of the interfacing signals of the microprocessor system
9、 are frequently incompatible with the signal specifications of the devices which are to be interfaced to it .For example, the output voltage of a D/A converter may typically be in the range 0-5 volts and be capable of su
10、pplying only a few milliamperes of current,</p><p> Fig.4-4 Block diagram of a typical embedded microprocessor system</p><p> while the electric motor may require a control voltage range of pl
11、us and minus 12 volts at a maximum current of 1 ampere. Consequently, additional analogue interface circuitry is often necessary to perform functions such as signal level shifting, amplification and filtering.</p>
12、<p> Fig.4-4 also shows there peripheral circuits: an input control unit(ICU),a programmable counter/timer, and a direct memory access unit(DMA).All this devices are interfaced to the CPU by means of a system bus
13、which is itself made up from an address bus and a control bus. Physically, a bus is simple a collection of parallel interconnections between to or more devices. The number of lines contained in each bus is dependent on t
14、he type of microprocessor used in the system and the function of the bus</p><p> The concepts of address and data are fundamental to the operation of a stored program computer and form a feature of all micr
15、oprocessors and computers. The memory will consist of a number of memory locations capable of storing data written to them by the CPU over the data bus .Each memory location is uniquely identified to the CPU by a number
16、called its address. The CPU controls the address and control bus lines in order to write or read information to or form the memory or I/O devices. For exam</p><p> A similar procedure would be used if the C
17、PU was then to read a memory address, except this the flow of data would be from the memory to the CPU. After the CPU had placed the address of the required memory location on to the address bus .it would indicate to the
18、 memory that it wished to read the value by activating the relevant line in the control bus .The memory would respond by placing the contents of the memory location ad data on to the data bus ,and this would then be read
19、 by the CPU.</p><p> Within the system bus, the address bus is an output bus from the CPU and an input bus to the other devices. The control bus consists of a number of lines, each of which may be either a
20、control output from the CPU or a control input to the CPU. The data bus however acts as both an input bus and an output bus depending on whether the CPU is reading or writing data.Fig.4-4 shows that all devices in the sy
21、stem are connected together by the data bus and this means that, potentially at least, the outp</p><p> In the example of Fig.4-4 the data bus has eight lines, and hence the range of values which a single i
22、tem of data can take is restricted to that which can be represented by 8 binary digits or bits. Eight bits are referred to as a byte, and can represent a decimal number from 0 to 255;Likewise the address bus ,consisting
23、of sixteen lines, can represent an address number in the range 0 to 65535.This number is usually abbreviated to the binary equivalent of the decimal number and expressed as 64K,w</p><p> The CPU will contai
24、n a number of registers which are used to manipulate the data and its addresses. In the example chosen, these data registers will be 8 bit registers and all data manipulations will be performed on 8 bit quantities. The C
25、PU is therefore referred to as an 8 bit CPU, However, registers which support address manipulations need to be 16 bit registers because of the 16 bit address bus. The size of the address bus is independent of the size of
26、 the data bus ,so that 16 bit or 32 bit C</p><p> It is normal when working with microprocessors to represent binary numbers as hexadecimal (base 16) values, because a single hexadecimal hex)digit correspon
27、ds to a group of four consecutive binary <digits.>The hexadecimal number is easier to read and write than its binary equivalent, and it requires only simple mental calculation in order to translate from hexadecimal
28、 to binary and back again. Hexadecimal numbers and digits are identified in the text by prefixing them with Ox, which is the conve</p><p> It is not necessary for the hardware designer to make use of the en
29、tire address range of the CPU, and the physical memory required can be implemented anywhere within the address space of the CPU. In addition, the I/O devices will contain registers through which the I\O devices may be co
30、nfigured, and which provide addresses through which the CPU can read and write data into and out of the system. These registers appear to the CPU. as normal memory location. And so occupy parts of the address spac</p&
31、gt;<p> The memory map will be designed to meet the requirements of the application, and will be used by the hardware designer to partition the address space so that the address range of the memory devices in the
32、 system corresponds to the address range specified by the memory map. This is achieved by means of the address decoder. Shown in Fig.19-1,this uses lines from the address bus as its input and produces individual chip sel
33、ect signals for each chip which contributes to the memory map of the system.</p><p> RAM enable =A.15 A.14 A13.A12=A15+A14+A13+A12 (4-4) </p><p> as in Fig.4-5b.</p><p> From<
34、;Technical English for mechanical engineering>.Direction Editor Zhangyue. China machine press.1.2003</p><p><b> 參考譯文 :</b></p><p><b> 微機(jī)系統(tǒng)</b></p><p>
35、微機(jī)系統(tǒng)可在許多復(fù)雜的層面上進(jìn)行描述。最簡(jiǎn)單的形式是用簡(jiǎn)單的方塊圖來(lái)描述內(nèi)部的連接以及各功能塊間的信息流,并用來(lái)分析微機(jī)系統(tǒng)的工作情況。</p><p> 所有微機(jī)系統(tǒng)包含一個(gè)中央處理單元(CPU)、程序和數(shù)據(jù)存儲(chǔ)器以及輸入、輸出(I/O)設(shè)備。圖4-4表示了一個(gè)典型的嵌入式微機(jī)系統(tǒng)的方框圖,該圖中每個(gè)方塊大致上對(duì)應(yīng)于該系統(tǒng)中所用的單個(gè)集成電路(芯片)。</p><p> 存儲(chǔ)器部分包
36、含了用作程序存儲(chǔ)器的掉電不易失信息的只讀存儲(chǔ)器(ROM)和用作讀/寫的掉電易失的隨機(jī)訪問(wèn)數(shù)據(jù)存儲(chǔ)器(RAM),每種存儲(chǔ)器都有許多不同類型的元件,如可擦寫的ROM以及靜態(tài)或動(dòng)態(tài)RAM,應(yīng)用時(shí),根據(jù)價(jià)格、功能來(lái)選擇。</p><p> 圖4-4表示四種不同的I/O功能,微機(jī)系統(tǒng)的模擬信道由模數(shù)(A/D)轉(zhuǎn)換提供,可以連接如模擬輸入傳感器這樣的器件。模擬輸入信道由數(shù)模(D/A)轉(zhuǎn)換器提供,可以用于控制像電動(dòng)機(jī)這樣的動(dòng)
37、力輸出轉(zhuǎn)換器。并行I/O元件提供許多獨(dú)立的輸入/輸出端口線,在輸出方式下,這些端口可以通過(guò)編程提供邏輯電平1或0來(lái)驅(qū)動(dòng)二進(jìn)制(開(kāi)/關(guān))設(shè)備如燈泡。在 輸入方式下,微處理器可允許讀入開(kāi)關(guān)及其他的二進(jìn)制設(shè)備的狀態(tài)。串行I/O設(shè)備用于與其他的微機(jī)系統(tǒng)或不同操作模式的操作控制臺(tái)之間進(jìn)行通信。</p><p> 微機(jī)系統(tǒng)接口信號(hào)的電平和功率大小,常常與連接的元器件不匹配,例如,一個(gè)D/A轉(zhuǎn)換器典型的輸出電壓是0~5V ,
38、并僅能提供毫安培級(jí)電流,而電動(dòng)機(jī)可能要求的控制電壓范圍為-12V~+12V,最大電流1A。為此需相應(yīng)的增加模擬接口電路實(shí)現(xiàn)信號(hào)電平轉(zhuǎn)換、放大和濾波。圖4-4中還表示了三個(gè)外圍電路:中斷控制單元(ICU)、可編程計(jì)數(shù)/定時(shí)器以及直接存儲(chǔ)器訪問(wèn)單元(DMA)。</p><p> 所有這些元件都通過(guò)系統(tǒng)總線和CPU接口。系統(tǒng)總線由地址總線、數(shù)據(jù)總線和控制總線構(gòu)成。實(shí)際上,總線只是兩個(gè)元件間并行連接線的集合。每個(gè)總線包
39、含的引線由系統(tǒng)使用的微處理器的型號(hào)以及總線的功能來(lái)確定,如圖4-4所示,我們假設(shè)地址總線為16根,數(shù)據(jù)總線為8根,控制總線數(shù)目不確定,這要由CPU提供的功能而定。</p><p> 地址和數(shù)據(jù)是運(yùn)行計(jì)算機(jī)所儲(chǔ)存的程序、形成所有微處理器和計(jì)算機(jī)特征的基礎(chǔ)。存儲(chǔ)器由許多能由CPU通過(guò)數(shù)據(jù)總線寫入數(shù)據(jù)的存儲(chǔ)單元構(gòu)成。每個(gè)存儲(chǔ)單元具體位置由CPU用地址來(lái)唯一標(biāo)識(shí)。為了從存儲(chǔ)器或I/O口設(shè)備中寫或讀信息,CPU控制著地址
40、和控制總線,如CPU希望將二進(jìn)制信息01010101寫入地址為0000000000001111的存儲(chǔ)單元,CPU首先將該地址送到地址總線上,然后將01010101作為數(shù)據(jù)送到數(shù)據(jù)總線上,控制總線中的控制線激活,啟動(dòng)數(shù)字寫入適當(dāng)?shù)拇鎯?chǔ)單元。相類似的情況用于CPU只讀存儲(chǔ)單元的地址的過(guò)程,這時(shí)數(shù)據(jù)流不是從存儲(chǔ)器到CPU,那么在CPU將要求的存儲(chǔ)單元的地址送到地址總線上后,CPU通過(guò)啟動(dòng)控制總線相關(guān)的控制線,指示存儲(chǔ)器要讀數(shù)據(jù),存儲(chǔ)器則做出反
41、應(yīng),將該存儲(chǔ)單元的內(nèi)容當(dāng)作數(shù)據(jù),送上數(shù)據(jù)總線,然后CPU讀取到該數(shù)據(jù)。</p><p> 在系統(tǒng)總線中,地址總線對(duì)CPU來(lái)說(shuō)是輸出總線,但對(duì)其他設(shè)備是輸入總線,控制總線包含許多線,它們或者是CPU輸出控制線,或者是輸入控制線。數(shù)據(jù)總線既當(dāng)作輸入總線,又作輸出總線,這要看CPU是讀還是寫數(shù)據(jù),圖4-4,表示了系統(tǒng)中所有元件都通過(guò)數(shù)據(jù)總線連在一起,這意味著,最低限度上存儲(chǔ)器和I/O設(shè)備的 輸出是連在一起的。如果實(shí)際
42、情況是這樣,則將引起所有連接的元件中幾個(gè)或全部元件被破壞,因?yàn)橐恍┰骷⒃噲D驅(qū)動(dòng)總線到邏輯1狀態(tài),而其他一些則試圖驅(qū)動(dòng)其為0狀態(tài)。為了避免這個(gè)問(wèn)題,連接到每個(gè)元件的數(shù)據(jù)總線有第三種狀態(tài)即高阻態(tài),在這種狀態(tài)下元件對(duì)總線不再有負(fù)載的影響,這就使連接到數(shù)據(jù)總線上的其他元件在需要時(shí)能將數(shù)據(jù)送上數(shù)據(jù)總線,這也就意味著在某一時(shí)刻僅有一個(gè)元件與數(shù)據(jù)總線相通。一個(gè)元件處于數(shù)據(jù)總線的邏輯1、邏輯0或高阻態(tài)稱為三態(tài)。這是共享相同的數(shù)據(jù)總線的設(shè)備很重要的特
43、性。</p><p> 在圖4-4的例子中,數(shù)據(jù)總線為8根,因此能得到的單個(gè)數(shù)據(jù)被8位二進(jìn)制數(shù)所限制,八位指一個(gè)字節(jié),能代表從0~2555的十進(jìn)制數(shù);同樣地,地址總線包含16根線,能代表的地址范圍從0~65535,這個(gè)數(shù)字常常被縮寫成與二進(jìn)制等價(jià)的十進(jìn)制數(shù),表示成64K,1K在二進(jìn)制系統(tǒng)中等于1024,對(duì)于CPU而言,系統(tǒng)就像一連串的64K的連續(xù)的存儲(chǔ)單元,每個(gè)單元可存放一個(gè)八位二進(jìn)制數(shù)。</p>
44、<p> CPU包含許多寄存器,他們用于處理數(shù)據(jù)和地址,在所選擇的例子中,這些數(shù)據(jù)寄存器為8位的寄存器,所有的數(shù)據(jù)操作都是8位,因此CPU就指8位COU,但是支持地址操作的寄存器需16位,因?yàn)榈刂房偩€是16位的。地址總線的寬度是獨(dú)立的,因此16位或32位CPU典型的有16位、24位或32位地址總線。</p><p> 通常對(duì)微處理操作時(shí)用16進(jìn)制(基于16)值代表二進(jìn)制數(shù),因?yàn)橐粋€(gè)十六進(jìn)制(hex
45、)數(shù)與四位連續(xù)的二進(jìn)制數(shù)相對(duì)應(yīng)。十六進(jìn)制數(shù)比相等的二進(jìn)制數(shù)易讀寫,并且只需簡(jiǎn)單的換算就能將十六進(jìn)制數(shù)與二進(jìn)制數(shù)互譯,十六進(jìn)制元數(shù)在文本中是用前綴ox標(biāo)識(shí),這是在C編程語(yǔ)言中所采用的,例如,16位二進(jìn)制數(shù)1111110100111001寫成十六進(jìn)制的形式為oxFD39。</p><p> 硬件設(shè)計(jì)者沒(méi)有必要利用CPU的整個(gè)地址空間,所要求的物理存儲(chǔ)器可以在CPU的地址空間中任何一處。另外,I/O設(shè)備包含寄存器,通
46、過(guò)它們可對(duì)I/O設(shè)備進(jìn)行設(shè)置,并為CPU提供讀寫數(shù)據(jù)的地址。這些寄存器對(duì)CPU來(lái)說(shuō)就是普通的存儲(chǔ)單元,因此要占用地址空間。存儲(chǔ)器和I/O地址在地址空間中的安排,用系統(tǒng)存儲(chǔ)映相圖來(lái)描述,圖4-5a給出了一例。</p><p> 設(shè)計(jì)存儲(chǔ)映相圖是為滿足應(yīng)用要求,也被硬件設(shè)計(jì)者用于劃分地址空間以便使系統(tǒng)中存儲(chǔ)設(shè)備的地址范圍與存儲(chǔ)映相圖詳細(xì)列出的地址相一致。這是由地址譯碼器完成的,如圖4-4所示,用地址總線的地址線作譯
47、碼器的輸入,產(chǎn)生出片選信號(hào),從而成了系統(tǒng)的存儲(chǔ)映相圖。如圖4-5a所示,所考慮的特定系統(tǒng)的RAM從ox1000到ox1FF單元,這是一個(gè)地址范圍為4K字節(jié)的存儲(chǔ)器,要求地址總線的低12根地址線A11~A0連接到4K RAM上,剩下的四個(gè)高位位址A15~A12被連接到地址譯碼器上,當(dāng)A15~A12為0001時(shí),譯碼器針對(duì)相應(yīng)的RAM輸出1個(gè)片選信號(hào)。因此地址譯碼器實(shí)現(xiàn)的布爾方程為:</p><p> RAM en
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫(kù)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 微機(jī)控制外文翻譯
- 外文翻譯----微機(jī)發(fā)展簡(jiǎn)史
- 微機(jī)發(fā)展簡(jiǎn)史外文翻譯
- 外文翻譯---微機(jī)發(fā)展簡(jiǎn)史
- 微機(jī)電系統(tǒng)的未來(lái)(mems)外文文獻(xiàn)翻譯@中英文翻譯@外文翻譯
- 外文翻譯---簡(jiǎn)易微機(jī)電系統(tǒng)設(shè)備的無(wú)線供電方案
- 外文翻譯---簡(jiǎn)易微機(jī)電系統(tǒng)設(shè)備的無(wú)線供電方案
- 外文翻譯--微機(jī)電系統(tǒng)的未來(lái)(mems) 英文版
- 外文翻譯(中文)---簡(jiǎn)易微機(jī)電系統(tǒng)設(shè)備的無(wú)線供電方案
- 外文翻譯(中文)---簡(jiǎn)易微機(jī)電系統(tǒng)設(shè)備的無(wú)線供電方案.doc
- 外文翻譯(中文)---簡(jiǎn)易微機(jī)電系統(tǒng)設(shè)備的無(wú)線供電方案.doc
- 有關(guān)單片機(jī)外文翻譯---微機(jī)發(fā)展簡(jiǎn)史
- 計(jì)算機(jī)專業(yè)外文資料翻譯----微機(jī)發(fā)展簡(jiǎn)史
- 外文翻譯-機(jī)械模具自動(dòng)化【期刊】微機(jī)電系統(tǒng)的未來(lái)(mems)-中英全
- 鍋爐系統(tǒng)外文翻譯
- 外文翻譯--系統(tǒng)芯片
- 空調(diào)系統(tǒng)外文翻譯
- 外文翻譯--博客系統(tǒng)
- 外文翻譯--制動(dòng)系統(tǒng)
- 液壓系統(tǒng)外文翻譯
評(píng)論
0/150
提交評(píng)論