單片機(jī)作為一種微型計(jì)算機(jī),其內(nèi)部具有一定的存儲單元(8031除外),但由于其內(nèi)部存儲單元及端口有限,很多情況下難以滿足實(shí)際需求。為此介紹一種新的擴(kuò)展方法,將數(shù)據(jù)線與地址線合并使用,通過軟件控制的方法實(shí)現(xiàn)數(shù)據(jù)線與地址線功能的分時(shí)轉(zhuǎn)換,數(shù)據(jù)線不僅用于傳送數(shù)據(jù)信號,還可作為地址線、控制線,用于傳送地址信號和控制信號,從而實(shí)現(xiàn)單片機(jī)與存儲器件的有效連接。以單片機(jī)片外256KB數(shù)據(jù)存儲空間的擴(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ù)存儲器 擴(kuò)展
上傳時(shí)間: 2014-12-26
上傳用戶:adada
首先研究CAN總線和SAE J1939協(xié)議,提出一種基于MC9S12HZ256微控制器的總線式汽車數(shù)字儀表解決方案。詳細(xì)介紹SAE J1939協(xié)議的報(bào)文幀格式及應(yīng)用層協(xié)議中發(fā)動(dòng)機(jī)相關(guān)參數(shù)的定義,以及步進(jìn)電機(jī)及其驅(qū)動(dòng)和車速信號的處理方法。該數(shù)字儀表系統(tǒng)硬件平臺由微處理器和信號采集和信息處理及顯示等模塊組成。軟件設(shè)計(jì)部分編程實(shí)現(xiàn)了對CAN總線和各傳感器數(shù)據(jù)的讀取、處理。該系統(tǒng)能夠?qū)崟r(shí)反映車輛工況。 Abstract: In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.
上傳時(shí)間: 2013-10-20
上傳用戶:huannan88
介紹一種基于CAN總線的牽引變電站自動(dòng)化系統(tǒng)通訊規(guī)約的設(shè)計(jì),CAN通訊規(guī)約采用標(biāo)準(zhǔn)幀,報(bào)文采用主動(dòng)發(fā)送和發(fā)送查詢兩種處理形式。該設(shè)計(jì)在城市輕軌與地鐵牽引變電站中的應(yīng)用表明:可實(shí)現(xiàn)間隔層和通訊處理層的數(shù)據(jù)快速、可靠的交換,提高牽引變電站的安全性和穩(wěn)定性 。 Abstract: This paper firstly presents a kind of design dealing with communicational protocol to the traction substation automation system based on CAN bus,and then comes up with the ideas that all frames of CAN communicational protocol should adopt the standard frame,and that messages be processed by two ways:sending initiatively and sending quiries.Subway and light rail application shows that the use of the CAN bus is possible to exchange data quickly and reliably between the layers of the middle and the communicational processing,hence to improve the safety and stability of traction substations.
上傳時(shí)間: 2013-11-07
上傳用戶:bs2005
對于瀝青混凝土攤鋪機(jī)自動(dòng)找平控制系統(tǒng)來說,數(shù)字式控制系統(tǒng)的研制是目前的一個(gè)方向。介紹了一種基于CAN總線的數(shù)字式自動(dòng)找平控制系統(tǒng)。該系統(tǒng)以CAN總線作為通信方式,PWM控制信號通過C8051F040單片機(jī)內(nèi)部PCA可編程計(jì)數(shù)器陣列產(chǎn)生,并具有結(jié)構(gòu)簡單、信號穩(wěn)定、實(shí)時(shí)性強(qiáng)、易擴(kuò)展的特點(diǎn)。通過硬件實(shí)現(xiàn)和系統(tǒng)運(yùn)行達(dá)到了比較理想的控制效果,驗(yàn)證了系統(tǒng)的可行性。 Abstract: A digital auto-leveling control system based on CAN Bus is introduced.It uses CAN Bus as the method of communication and creates PWM signals by programmable counter array in C8051F040 microcontroller. The system is simple, stable, real-time and expansive.
標(biāo)簽: CAN 總線 數(shù)字式 控制系統(tǒng)設(shè)計(jì)
上傳時(shí)間: 2013-10-09
上傳用戶:ligi201200
介紹了一種基于MSP430系列單片機(jī)和ADXL203加速度傳感器的數(shù)字式傾角儀,它不僅可以實(shí)現(xiàn)水平度檢測,而且可以測量00~3600范圍內(nèi)的任意傾角,分辨率可達(dá)O.1。。此外,由于該傾角儀輸出為數(shù)字結(jié)果,因此它也可以與其他的數(shù)字設(shè)備結(jié)合起來,組合成一個(gè)功能更加強(qiáng)大的儀器。該數(shù)字傾角儀可廣泛應(yīng)用于建筑、機(jī)械、道路、橋梁、石油、煤礦和地質(zhì)勘探等各種需要測量重力參考系下傾角的場合。關(guān)鍵詞:MSP430F133單片機(jī);力敏傳感器;ADXL203加速度計(jì);角度測量 Abstract:This paper presents a new style digital inclinometer which is developed on the basis of the MSP430F133 MCU and the ADXL203 dual axis aeeelerometer.This inclinometer not only can test levelness,but also can measure any angle between 0。and 360。with an accuracy of 0.1 O.In addition,its output is a digital result,which makes it possible to integrate itself with other digital devices to form a more functional unit.This inclinometer can be widely used in any construction site,oil field,coal-mine or geologic survey and SO on where it will provide the working people with convenience to measure any angles.Key words:MSP430F133 MCU;force sensor;ADXL203 accelerometer;angle measurement
上傳時(shí)間: 2013-11-14
上傳用戶:lizhizheng88
STM32-EVAL 完整的STM32硬件評估板 所有的I/O端口和外設(shè)都被引出, 供客戶測試評估 預(yù)裝了自檢測程序,USB、CAN、
上傳時(shí)間: 2014-12-27
上傳用戶:199311
The SN65LBC170 and SN75LBC170 aremonolithic integrated circuits designed forbidirectional data communication on multipointbus-transmission lines. Potential applicationsinclude serial or parallel data transmission, cabledperipheral buses with twin axial, ribbon, ortwisted-pair cabling. These devices are suitablefor FAST-20 SCSI and can transmit or receivedata pulses as short as 25 ns, with skew lessthan 3 ns.These devices combine three 3-state differentialline drivers and three differential input linereceivers, all of which operate from a single 5-Vpower supply.The driver differential outputs and the receiverdifferential inputs are connected internally to formthree differential input/output (I/O) bus ports thatare designed to offer minimum loading to the buswhenever the driver is disabled or VCC = 0. Theseports feature a wide common-mode voltage rangemaking the device suitable for party-lineapplications over long cable runs.
上傳時(shí)間: 2013-10-13
上傳用戶:ytulpx
議程1.瑞薩汽車業(yè)務(wù)概述2.儀表盤MCU解決方案3.CAN/LIN(車身)MCU解決方案
上傳時(shí)間: 2013-10-20
上傳用戶:王成林。
常用主板I/O芯片簡介
上傳時(shí)間: 2013-11-10
上傳用戶:yupw24
選擇了芯片后,就可以圍繞該芯片確定相應(yīng)的開發(fā)工具。開發(fā)工具的好壞往往是決定一個(gè)系統(tǒng)成敗的關(guān)鍵,下面是對CAN-BUS開發(fā)系統(tǒng)組成的一些建議:
上傳時(shí)間: 2013-11-02
上傳用戶:yueguizhilin
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1