單片機(jī)作為一種微型計(jì)算機(jī),其內(nèi)部具有一定的存儲(chǔ)單元(8031除外),但由于其內(nèi)部存儲(chǔ)單元及端口有限,很多情況下難以滿足實(shí)際需求。為此介紹一種新的擴(kuò)展方法,將數(shù)據(jù)線與地址線合并使用,通過軟件控制的方法實(shí)現(xiàn)數(shù)據(jù)線與地址線功能的分時(shí)轉(zhuǎn)換,數(shù)據(jù)線不僅用于傳送數(shù)據(jù)信號(hào),還可作為地址線、控制線,用于傳送地址信號(hào)和控制信號(hào),從而實(shí)現(xiàn)單片機(jī)與存儲(chǔ)器件的有效連接。以單片機(jī)片外256KB數(shù)據(jù)存儲(chǔ)空間的擴(kuò)展為例,通過該擴(kuò)展方法,僅用10個(gè)I/O端口便可實(shí)現(xiàn),與傳統(tǒng)的擴(kuò)展方法相比,可節(jié)約8個(gè)I/O端口。
Abstract:
As a micro-computer,the SCM internal memory has a certain units(except8031),but because of its internal storage units and the ports are limited,in many cases it can not meet the actual demand.So we introduced a new extension method,the data line and address lines combined through software-controlled approach to realize the time-conversion functions of data lines and address lines,so the data lines not only transmited data signals,but also served as address lines and control lines to transmit address signals and control signals,in order to achieve an effective connection of microcontroller and memory chips.Take microcontroller chip with256KB of data storage space expansion as example,through this extension method,with only10I/O ports it was achieved,compared with the traditional extension methods,this method saves8I/O ports.
標(biāo)簽:
單片機(jī)
P0口
數(shù)據(jù)存儲(chǔ)器
擴(kuò)展
上傳時(shí)間:
2014-12-26
上傳用戶:adada
產(chǎn)品描述:
MSP430是TI公司的一個(gè)超低功耗微控制器系列,片內(nèi)組合了不同功能模塊,可適應(yīng)不同應(yīng)用層次的需求,在硬件架構(gòu)上,提供架構(gòu)上,提供了五種低功耗模式,可最大限度的延長手持設(shè)備的電池壽命.MSP430系列的CPU采用16位精簡指令集,集成了16個(gè)通用寄存器和常數(shù)發(fā)生器,極大的提高了代碼的執(zhí)行效率,它的數(shù)字可控振蕩器(DCO)可在LUS內(nèi)由低功耗模式切換到活動(dòng)模式.
標(biāo)簽:
430F
MSP
430
21X
上傳時(shí)間:
2013-11-12
上傳用戶:fklinran