Abstract: This application note describes how to build, debug, and run applications on the on-board MAXQ622microcontroller to interface with the DS8005 dual smart card interface. This is demonstrated in both IAREmbedded Workbench and the Rowley CrossWorks IDE, using sample code provided with the kit.
標(biāo)簽: 8005 DS 評(píng)估套件
上傳時(shí)間: 2013-10-29
上傳用戶:ddddddd
本書分三部分介紹在美國(guó)廣泛應(yīng)用的、高功能的M68HC11系列單片機(jī)(8位機(jī) ,Motorola公司)。內(nèi)容包括M68HC11的結(jié)構(gòu)與其基本原理、開發(fā)工具EVB(性能評(píng)估板)以及開發(fā)和應(yīng)用技術(shù)。本書在介紹單片機(jī)硬、軟件的基礎(chǔ)上,進(jìn)一步介紹了在美國(guó)實(shí)驗(yàn)室內(nèi),如何應(yīng)用PC機(jī)及EVB來(lái)進(jìn)行開發(fā)工作。通過(guò)本書的介紹,讀者可了解這種單片機(jī)的原理并學(xué)會(huì)開發(fā)和應(yīng)用方法。本書可作為大專院校單片機(jī)及其實(shí)驗(yàn)的教材(本科、短訓(xùn)班)。亦可供開發(fā)、應(yīng)用單片機(jī)的各專業(yè)(計(jì)算機(jī)、機(jī)電、化工、紡織、冶金、自控、航空、航海……)有關(guān)技術(shù)人員參考。 第一部分 M68HC11 結(jié)構(gòu)與原理Motorola單片機(jī) 1 Motorla單片機(jī) 1.1 概述 1.1.1 Motorola 單片機(jī)發(fā)展概況(3) 1.1.2 Motorola 單片機(jī)結(jié)構(gòu)特點(diǎn)(4) 1.2 M68HC11系列單片機(jī)(5) 1.2.1 M68HC11產(chǎn)品系列(5) 1.2.2 MC68HC11E9特性(6) 1.2.3 MC68HC11E9單片機(jī)引腳說(shuō)明(8) 1.3 Motorola 32位單片機(jī)(14) 1.3.1中央處理器(CPU32)(15) 1.3.2 定時(shí)處理器(TPU)(16) 1.3.3 串行隊(duì)列模塊(QSM)(16) 1.3.4 系統(tǒng)集成模塊 (SIM)(16) 1.3.5 RAM(17) 2 系統(tǒng)配置與工作方式 2.1 系統(tǒng)配置(19) 2.1.1 配置寄存器CONFIG(19) 2.1.2 CONFIG寄存器的編程與擦除(20) 2?2 工作方式選擇(21) 2.3 M68HC11的工作方式(23) 2.3.1 普通單片工作方式(23) 2.3.2 普通擴(kuò)展工作方式(23) 2.3.3 特殊自舉方式(27) 2.3.4 特殊測(cè)試方式(28) 3 中央處理器(CPU)與片上存儲(chǔ)器 3.1 CPU寄存器(31) 3?1?1 累加器A、B和雙累加器D(32) 3.1.2 變址寄存器X、Y(32) 3.1.3 棧指針SP(32) 3.1.4 程序計(jì)數(shù)器PC(33) 3.1.5 條件碼寄存器CCR(33) 3.2 片上存儲(chǔ)器(34) 3.2.1 存儲(chǔ)器分布(34) 3.2.2 RAM和INIT寄存器(35) 3.2.3 ROM(37) 3.2.4 EEPROM(37) 3.3 M68HC11 CPU的低功耗方式(39) 3.3.1 WAIT方式(39) 3.3.2 STOP方式(40) 4 復(fù)位和中斷 4.1 復(fù)位(41) 4.1.1 M68HC11的系統(tǒng)初始化條件(41) 4.1.2 復(fù)位形式(43) 4.2 中斷(48) 4.2.1 條件碼寄存器CCR中的中斷屏蔽位(48) 4.2.2 中斷優(yōu)先級(jí)與中斷矢量(49) 4.2.3 非屏蔽中斷(52) 4.2.4 實(shí)時(shí)中斷(53) 4.2.5 中斷處理過(guò)程(56) 5 M68HC11指令系統(tǒng) 5.1 M68HC11尋址方式(59) 5.1.1 立即尋址(IMM)(59) 5.1.2 擴(kuò)展尋址(EXT)(60) 5.1.3 直接尋址(DIR)(60) 5.1.4 變址尋址(INDX、INDY)(61) 5.1.5 固有尋址(INH)(62) 5.1.6 相對(duì)尋址(REL)(62) 5.1.7 前置字節(jié)(63) 5.2 M68HC11指令系統(tǒng)(63) 5.2.1 累加器和存儲(chǔ)器指令(63) 5.2.2 棧和變址寄存器指令(68) 5.2.3 條件碼寄存器指令(69) 5.2.4 程序控制指令(70) 6 輸入與輸出 6.1 概述(73) 6.2 并行I/O口(74) 6.2.1 并行I/O寄存器(74) 6.2.2 應(yīng)答I/O子系統(tǒng)(76) 6?3 串行通信接口SCI(82) 6.3.1 基本特性(83) 6.3.2 數(shù)據(jù)格式(83) 6.3.3 SCI硬件結(jié)構(gòu)(84) 6.3.4 SCI寄存器(86) 6.4 串行外圍接口SPI(92) 6.4.1 SPI特性(92) 6.4.2 SPI引腳信號(hào)(92) 6.4.3 SPI結(jié)構(gòu)(93) 6.4.4 SPI寄存器(95) 6.4.5 SPI系統(tǒng)與外部設(shè)備進(jìn)行串行數(shù)據(jù)傳輸(99) 7 定時(shí)器系統(tǒng)與脈沖累加器 7.1 概述(105) 7.2 循環(huán)計(jì)數(shù)器(107) 7.2.1 時(shí)鐘分頻器(107) 7.2.2 計(jì)算機(jī)正常工作監(jiān)視功能(110) 7.2.3 定時(shí)器標(biāo)志的清除(110) 7.3 輸入捕捉功能(111) 7.3.1 概述(111) 7.3.2 定時(shí)器輸入捕捉鎖存器(TIC1、TIC2、TIC3) 7.3.3 輸入信號(hào)沿檢測(cè)邏輯(113) 7.3.4 輸入捕捉中斷(113) 7.4 輸出比較功能(114) 7.4.1 概述(114) 7.4.2 輸出比較功能使用的寄存器(116) 7.4.3 輸出比較示例(118) 7.5 脈沖累加器(119) 7.5.1 概述(119) 7.5.2 脈沖累加器控制和狀態(tài)寄存器(121) 8 A/D轉(zhuǎn)換系統(tǒng) 8.1 電荷重新分布技術(shù)與逐次逼近算法(125) 8.1.1 基本電路(125) 8.1.2 A/D轉(zhuǎn)換逐次逼近算法原理(130) 8.2 M68HC11中A/D轉(zhuǎn)換的實(shí)現(xiàn)方法(131) 8.2.1 逐次逼近A/D轉(zhuǎn)換器(131) 8.2.2 控制寄存器(132) 8.2.3 系統(tǒng)控制邏輯(135)? 9 單片機(jī)的內(nèi)部操作 9.1 用立即> 圖書前言 美國(guó)Motorola公司從80年代中期開始推出的M68HC11系列單片機(jī)是當(dāng)今功能最強(qiáng)、性能/價(jià)格比最好的八位單片微計(jì)算機(jī)之一。在美國(guó),它已被廣泛地應(yīng)用于教學(xué)和各種工業(yè)控制系統(tǒng)中。? 該單片機(jī)有豐富的I/O功能,完善的系統(tǒng)保護(hù)功能和軟件控制的節(jié)電工作方式 。它的指令系統(tǒng)與早期Motorola單片機(jī)MC6801等兼容,同時(shí)增加了91條新指令。其中包含16位乘法、除法運(yùn)算指令等。 為便于用戶開發(fā)和應(yīng)用M68HC11單片機(jī),Motorola公司提供了多種開發(fā)工具。M68HC11 EVB (Evaluation Board)性能評(píng)估板就是一種M68HC11系列單片機(jī)的廉價(jià)開發(fā)工具。它既可用來(lái) 調(diào)試用戶程序,又可在仿真方式下運(yùn)行。為方便用戶,M68HC11 EVB可與IBM?PC連接 ,借助于交叉匯編、通信程序等軟件,在IBM?PC上調(diào)試程序。? 本書分三部分(共15章)介紹了M68HC11的結(jié)構(gòu)和基本原理、開發(fā)工具-EVB及開發(fā)應(yīng)用實(shí)例等。第一部分(1~9章),介紹M68HC11的結(jié)構(gòu)和基本原理。包括概述,系統(tǒng)配置與工作方式、CPU和存儲(chǔ)器、復(fù)位和中斷、指令系統(tǒng)、I/O、定時(shí)器系統(tǒng)和脈沖累加器、A/D轉(zhuǎn)換系統(tǒng)、單片機(jī)的內(nèi)部操作等。第二部分(10~11章),介紹M68HC11 EVB的原理和技術(shù)特性以及EVB的應(yīng)用。第三部分(12~15章),介紹M68HC11的開發(fā)與應(yīng)用技術(shù)。包括基本的編程練習(xí)、應(yīng)用程序設(shè)計(jì)、接口實(shí)驗(yàn)、接口設(shè)計(jì)及應(yīng)用等。 讀者通過(guò)學(xué)習(xí)本書,不僅可了解M68HC11的硬件、軟件,而且可了解使用EVB開發(fā)和應(yīng)用M68HC11單片機(jī)的方法。在本書的第三部分專門提供了一部分實(shí)驗(yàn)和應(yīng)用程序。? 本書系作者張寧作為高級(jí)訪問(wèn)學(xué)者,應(yīng)邀在美國(guó)馬薩諸塞州洛厄爾大學(xué)(University of Massachusetts Lowell)工作期間完成的。全書由張寧執(zhí)筆。在編著過(guò)程中,美國(guó)洛厄爾大學(xué)的R·代克曼教授?(Professor Robert J. Dirkman)多次與張寧一起討論、研究,并提供部分資料及實(shí)驗(yàn)數(shù)據(jù)。參加編寫和審校等工作的還有王云霞、孫曉芳、劉安魯、張籍、來(lái)安德、張楊等同志。? 為將M68HC11系列單片機(jī)盡快介紹給我國(guó),美國(guó)Motorola公司的Terrence M.S.Heng先生曾大力支持本書的編著和出版。在此表示衷心感謝。
上傳時(shí)間: 2013-10-27
上傳用戶:rlgl123
本Demo Board 采用HOLTEK 公司最新推出的VFD MCU 系列(HT49CVX),該系列產(chǎn)品可以直接驅(qū)動(dòng)VFD,由MCU 的引腳和VFD 的引腳直接相連,而不需要外加任何的驅(qū)動(dòng)芯片。本DMEO BOARD 除有鍵盤操控顯示以外,還附加了紅外線遙控接收裝置,使用極為方便。 功能 所使用MCU 之功能為紅外線遙控接收,根據(jù)按鍵的選擇進(jìn)入不同的顯示模式,附帶還有A/D 轉(zhuǎn)換和溫度測(cè)量功能,而使用的MCU 為HT49CV5 DEMO BOARD 外觀 為了方便使用者了解和開發(fā)使用,本DEMO BOARD 提供了三種使用方式,即MCU 方式、HT49CVX 母體+ROM LESS 方式和仿真器方式,其中MCU 方式和HT49CVX 母體+ROM LESS 方式向使用者展示了DEMO BOARD 的具體工作情況;而仿真器方式則提供給使用者自行開發(fā)產(chǎn)品。
上傳時(shí)間: 2013-12-29
上傳用戶:Artemis
The P89LPC912/913/914 are single-chip microcontrollers in low-cost 14-pin packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system level functions have been incorporated into the P89LPC912/913/914 in order to reduce component count, board space, and system cost.
上傳時(shí)間: 2013-10-12
上傳用戶:司令部正軍級(jí)
為了提高PCB板制作的效率,改變傳統(tǒng)的化學(xué)腐蝕制板工藝,使用機(jī)械仿形銑制作電路板的方法,設(shè)計(jì)了以ATMEGA16單片機(jī)為核心部件的PCB板雕刻機(jī)控制系統(tǒng)。其中包括PCB雕刻機(jī)的基本功能、主要硬件電路設(shè)計(jì)和軟件的實(shí)現(xiàn)流程,并給出了相關(guān)設(shè)計(jì)電路。重點(diǎn)分析了雕刻機(jī)步進(jìn)電機(jī)的驅(qū)動(dòng)電路以及主軸電機(jī)的驅(qū)動(dòng)電路,該雕刻機(jī)經(jīng)實(shí)際運(yùn)行,系統(tǒng)工作良好,可有效提高PCB板的制作效率。 Abstract: In order to improve the efficiency of production of PCB board and change the traditional chemical etching plates, using of mechanical copying milling method makes circuit boards,this paper introduces the PCB engraving machine control system used ATMEGA16 microcomputer as the core components. It includes basic function, the hardware circuit design and software realization process, and gives the corresponding circuit design.It analyses the drive circuit of engrawing machine stepper motor and spindle motor in detail. This engraving machine by practical operation, the system works well, which can effectively improve the production efficiency of PCB board.
上傳時(shí)間: 2013-10-17
上傳用戶:liangliang123
Designing Boards with Atmel AT89C51,AT89C52, AT89C1051, and AT89C2051 for Writing Flash at In-Circuit Test. Recent improvements in chips and testers have made it possible for the tester to begin taking over the role tradi-tionally assigned to the PROM program-mer. Instead of having a PROM pro- grammer write nonvolatile memories before assembling the board, the in-cir- cuit tester writes them during in-circuit testing operations. Many Teradyne Z18- series testers are now in use loading code into nonvolatile memories, micro- controllers and in-circuit programmable logic devices. The purpose of this note is to explain how the Z18 approaches the writing task for Atmel AT89C series IC’s, so that designers of boards using these chips can get the best results.
上傳時(shí)間: 2013-11-17
上傳用戶:xiaozhiqban
介紹基于ISA總線與KH-9300的數(shù)據(jù)采集板卡的設(shè)置,詳細(xì)說(shuō)明8254定時(shí)計(jì)數(shù)器及8259中斷控制器的結(jié)構(gòu)特點(diǎn)、工作方式、控制字等,探討中斷類型、中斷處理程序、中斷矢量表及其填寫。重點(diǎn)講述使用TorboC編寫中斷服務(wù)程序的方法,應(yīng)注意的主要問(wèn)題及程序測(cè)試的結(jié)果。 Abstract: The settings of KH-9300 data acquisition board based on the ISA bus is introduced,the structural characteristics,working methods,control characters of the timing counter 8254 and interruptioncontroller 8259 are explained in detail.The interruption type,interrupt handling programs,interruption vector table and its filling also are discussed.Further,great emphasis is put on the method of interrupt service program compiled by Torbo C,the main issues that should be noted,and the results of program testing.
上傳時(shí)間: 2013-11-14
上傳用戶:qq527891923
介紹了基于單片機(jī)航空交流電參數(shù)測(cè)試儀的系統(tǒng)設(shè)計(jì)。以Silicon Labs公司的C8051F005單片機(jī)為核心設(shè)計(jì)出數(shù)據(jù)采集板,通過(guò)RS-232串口與上位機(jī)通訊。運(yùn)用Lab Windows/CVI編寫的上位機(jī)軟件實(shí)現(xiàn)信號(hào)的檢測(cè)以及波形和數(shù)據(jù)的顯示,給出了測(cè)試儀硬件電路的組成和軟件流程圖。本系統(tǒng)具有硬件結(jié)構(gòu)簡(jiǎn)單、容易實(shí)現(xiàn)和成本低等特點(diǎn),在實(shí)際應(yīng)用中其穩(wěn)定性、精確性均能滿足客戶要求。 Abstract: The design of aeronautics AC parameters tester based on the single-chip is introduced.The core component of data acquisition board is C8051F005 single chip of Silicon Labs Company,and communication with PC through RS-232. The signal processing software programmed with LabWindows/CVI can be used successfully to fulfill inspection of signal and display of the waveform and data. The hardware and software configuration of test instrument are provided.The hardware of the system is simple, and can be easily realized.The stability and precision of the measurement instrument are enough to meet the requirements.
標(biāo)簽: C8051F005 單片機(jī) 儀的設(shè)計(jì) 參數(shù)測(cè)試
上傳時(shí)間: 2013-11-18
上傳用戶:wang5829
The MSP-FET430PIF is a Parallel Port interface (does not include target board) that is used to program and debug MSP430 FET tools and test boards through the JTAG interface. This interface is included in our FET tools, but sold without the development board. This interface uses a Parallel PC Port to communicate to the Debugger Software (IAR Kickstart software included) running on the PC. The interface uses the standard 14 pin header to communicate to the MSP430 device using the standard JTAG protocol. The flash memory can be erased and programmed in seconds with only a few keystrokes, and since the MSP430 flash is extremely low power, no external power supply is required. The tool has an integrated software environment and connects directly to the PC which greatly simplifies the set-up and use of the tool. The flash development tool supports development with all MSP430 flash parts. Features MSP430 debugging interface to connect a MSP430-Flash-device to a Parallel port on a PC Supports JTAG debug protocol (NO support for Spy-Bi-Wire (2-wire JTAG) debug protocol, Spy-Bi-Wire (2-wire JTAG) is supported by MSP-FET430UIF) Parallel Port cable and a 14-conductor target cable Full documentation on CD ROM Integrated IAR Kickstart user interface which includes: Assembler Linker Limulator Source-level debugger Limited C-compiler Technical specifications: Backwardly compatable with existing FET tool boards.
上傳時(shí)間: 2013-10-26
上傳用戶:fengweihao158@163.com
HT45R35在觸控按鍵中的應(yīng)用(使用C語(yǔ)言) HT45R35 Demo Board包含12個(gè)Touch Switch,這是一種電容式的非接觸式觸摸按鍵,它可以用來(lái)取代任何的機(jī)械式按鍵。由于C語(yǔ)言具有良好的可讀性、可移植性等優(yōu)點(diǎn),本文將介紹如何使用Holtek C語(yǔ)言來(lái)完成HT45R35 12Key Touch Switch Demo Board的軟件設(shè)計(jì).
上傳時(shí)間: 2013-10-10
上傳用戶:bjgaofei
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1