MC68HC908QY4 MC68HC908QT4 MC68HC908QY2 MC68HC908QT2 MC68HC908QY1 MC68HC908QT1
|
|
- Brett James
- 5 years ago
- Views:
Transcription
1 MC68HC908QY MC68HC908QT MC68HC908QY MC68HC908QT MC68HC908QY1 MC68HC908QT1 Data Sheet M68HC08 Microcontrollers MC68HC908QY/D Rev. 6 0/010 freescale.com
2
3 MC68HC908QY MC68HC908QT MC68HC908QY MC68HC908QT MC68HC908QY1 MC68HC908QT1 Data Sheet To provide the most up-to-date information, the revision of our documents on the World Wide Web will be the most current. Your printed copy may be an earlier revision. To verify you have the latest information available, refer to: Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. This product incorporates SuperFlash technology licensed from SST. Freescale Semiconductor, Inc., All rights reserved. Freescale Semiconductor
4 Revision History The following revision history table summarizes changes contained in this document. For your convenience, the page number designators have been linked to the appropriate location. Revision History (Sheet 1 of ) Date September, 00 December, 00 January, 00 Revision Level Description Page Number(s) N/A Initial release N/A Features Added 8-pin dual flat no lead (DFN) packages to features list. 19 Figure 1-. MCU Pin Assignments Figure updated to include DFN packages. 1 Figure -1. Memory Map Clarified illegal address and unimplemented memory. 7 Figure -. Control, Status, and Data Registers Corrected bit definitions for Port A Data Register (PTA) and Data Direction Register A (DDRA). 7 Table 1-. Interrupt Sources Corrected vector addresses for keyboard interrupt and ADC conversion complete interrupt. 118 Chapter 1 System Integration Module (SIM) Removed reference to break status register as it is duplicated in break module Internal Oscillator and Internal Oscillator Trimming Clarified oscillator trim option ordering information and what to expect with untrimmed 9 device. Figure 11-. Oscillator Trim Register (OSCTRIM) Bit 1 designation corrected. 98 Figure 1-1. Monitor Mode Circuit (Internal Clock, No High Voltage) Diagram updated for clarity. 10 Figure 1-1. I/O Port Register Summary Corrected bit definitions for PTA7, DDRA7, and DDRA6. 99 Figure 1-. Port A Data Register (PTA) Corrected bit definition for PTA Figure 1-. Data Direction Register A (DDRA) Corrected bit definitions for DDRA7 and DDRA Figure 1-6. Port B Data Register (PTB) Corrected bit definition for PTB1 10 Chapter 9 Keyboard Interrupt Module (KBI) Section reworked after deletion of auto wakeup for clarity. 8 Chapter Auto Wakeup Module (AWU) New section added for clarity. 9 Figure LVI Module Block Diagram Corrected LVI stop representation. 87 Chapter 16 Electrical Specifications Extensive changes made to electrical specifications Pin Dual Flat No Lead (DFN) Package (Case #1) Added case outline drawing for DFN package. 177 Chapter 17 Ordering Information and Mechanical Specifications Added ordering information for DFN package Features Corrected third bulleted item. 9 Freescale Semiconductor
5 Revision History (Sheet of ) Date August, 00 October, 00 January, 00 Revision Level Description Reformatted to meet latest M68HC08 documentation standards Page Number(s) Figure 1-1. Block Diagram Diagram redrawn to include keyboard interrupt module and TCLK pin designator. 0 Figure 1-. MCU Pin Assignments Added TCLK pin designator. 1 Table 1-. Pin Functions Added TCLK pin description. Table 1-. Function Priority in Shared Pins Revised table for clarity and to add TCLK. Figure -1. Memory Map Corrected names for the IRQ status and control register (INTSCR) bits ADC Input Clock Register Clarified bit description for the ADC clock prescaler bits. 7. Functional Description Updated periodic wakeup request values. 1 Figure 6-1. COP Block Diagram Reworked for clarity 9 Chapter 8 External Interrupt (IRQ) Corrected bit names for MODE, IRQF, ACK, and IMASK Chapter 1 Timer Interface Module (TIM) Added TCLK function Monitor Module (MON) Updated with additional data. 17 Chapter 16 Electrical Specifications Updated with additional data Figure -. Control, Status, and Data Registers Deleted unimplemented areas from $FFB0 $FFBD and $FFC $FFCF as they are actually available. 7 Also corrected $FFBF designation from unimplemented to reserved. Figure 6-1. COP Block Diagram Reworked for clarity STOP Instruction Added subsection Active Resets from Internal Sources Reworked notes for clarity. 111 Table 1-. Reset Recovery Timing Replaced previous table with new information. 11 Chapter 1 Timer Interface Module (TIM) Updated with additional data. 11 Figure 1-. Break I/O Register Summary Corrected bit designators for the BRKAR register 1 1. Monitor Module (MON) Clarified seventh bullet. 17 Table MC Order Numbers Corrected temperature and package designators. 17 Figure -. Control, Status, and Data Registers Corrected reset state for the FLASH Block Protect Register at address location $FFBE and the Internal Oscillator Trim Value at $FFC0. Figure -. FLASH Block Protect Register (FLBPR) Restated reset state for clarity. 8 N/A Freescale Semiconductor
6 Revision History Revision History (Sheet of ) Date November, 00 July, 00 March, 010 Revision Level Description Reformatted to meet current documentation standards Throughout 6..1 BUSCLKX Clarified description of BUSCLKX 8 Chapter 7 Central Processor Unit (CPU) In 7.7 Instruction Set Summary: Reworked definitions for STOP instruction Added WAIT instruction Page Number(s) SIM Reset Status Register Clarified SRSR flag setting TIM Status and Control Register Added information to TSTOP note V Oscillator Characteristics Added values for deviation from trimmed inernal oscillator V Oscillator Characteristics Added values for deviation from trimmed inernal oscillator 18 Figure -. Configuration Register 1 (CONFIG1) Clarified bit definitions for COPRS. Chapter 8 External Interrupt (IRQ) Reworked for clarification RC Oscillator Improved RC oscillator wording Introduction Added note pertaining to non-bonded port pins Package Dimensions Updated package information. 16 6, 7, 1, 6.0 Clarify internal oscillator trim register information.,, 8, 91, Freescale Semiconductor
7 List of Chapters Chapter 1 General Description Chapter Memory Chapter Analog-to-Digital Converter (ADC) Chapter Auto Wakeup Module (AWU) Chapter Configuration Register (CONFIG) Chapter 6 Computer Operating Properly (COP) Chapter 7 Central Processor Unit (CPU) Chapter 8 External Interrupt (IRQ) Chapter 9 Keyboard Interrupt Module (KBI) Chapter 10 Low-Voltage Inhibit (LVI) Chapter 11 Oscillator Module (OSC) Chapter 1 Input/Output Ports (PORTS) Chapter 1 System Integration Module (SIM) Chapter 1 Timer Interface Module (TIM) Chapter 1 Development Support Chapter 16 Electrical Specifications Chapter 17 Ordering Information and Mechanical Specifications Freescale Semiconductor 7
8 List of Chapters 8 Freescale Semiconductor
9 Table of Contents Chapter 1 General Description 1.1 Introduction Features MCU Block Diagram Pin Assignments Pin Functions Pin Function Priority Chapter Memory.1 Introduction Unimplemented Memory Locations Reserved Memory Locations Input/Output (I/O) Section Random-Access Memory (RAM) FLASH Memory (FLASH) FLASH Control Register FLASH Page Erase Operation FLASH Mass Erase Operation FLASH Program Operation FLASH Protection FLASH Block Protect Register Wait Mode Stop Mode Chapter Analog-to-Digital Converter (ADC).1 Introduction Features Functional Description ADC Port I/O Pins Voltage Conversion Conversion Time Continuous Conversion Accuracy and Precision Interrupts Low-Power Modes Wait Mode Stop Mode Freescale Semiconductor 9
10 Table of Contents.6 Input/Output Signals Input/Output Registers ADC Status and Control Register ADC Data Register ADC Input Clock Register Chapter Auto Wakeup Module (AWU).1 Introduction Features Functional Description Wait Mode Stop Mode Input/Output Registers Port A I/O Register Keyboard Status and Control Register Keyboard Interrupt Enable Register Chapter Configuration Register (CONFIG).1 Introduction Functional Description Chapter 6 Computer Operating Properly (COP) 6.1 Introduction Functional Description I/O Signals BUSCLKX STOP Instruction COPCTL Write Power-On Reset Internal Reset COPD (COP Disable) COPRS (COP Rate Select) COP Control Register Interrupts Monitor Mode Low-Power Modes Wait Mode Stop Mode COP Module During Break Mode Freescale Semiconductor
11 Chapter 7 Central Processor Unit (CPU) 7.1 Introduction Features CPU Registers Accumulator Index Register Stack Pointer Program Counter Condition Code Register Arithmetic/Logic Unit (ALU) Low-Power Modes Wait Mode Stop Mode CPU During Break Interrupts Instruction Set Summary Opcode Map Chapter 8 External Interrupt (IRQ) 8.1 Introduction Features Functional Description MODE = MODE = Interrupts Low-Power Modes Wait Mode Stop Mode IRQ Module During Break Interrupts I/O Signals IRQ Input Pins (IRQ) Registers Chapter 9 Keyboard Interrupt Module (KBI) 9.1 Introduction Features Functional Description Keyboard Operation Keyboard Initialization Wait Mode Stop Mode Keyboard Module During Break Interrupts Freescale Semiconductor 11
12 Table of Contents 9.7 Input/Output Registers Keyboard Status and Control Register Keyboard Interrupt Enable Register Chapter 10 Low-Voltage Inhibit (LVI) 10.1 Introduction Features Functional Description Polled LVI Operation Forced Reset Operation Voltage Hysteresis Protection LVI Trip Selection LVI Status Register LVI Interrupts Low-Power Modes Wait Mode Stop Mode Chapter 11 Oscillator Module (OSC) 11.1 Introduction Features Functional Description Internal Oscillator Internal Oscillator Trimming Internal to External Clock Switching External Oscillator XTAL Oscillator RC Oscillator Oscillator Module Signals Crystal Amplifier Input Pin (OSC1) Crystal Amplifier Output Pin (OSC/PTA/BUSCLKX) Oscillator Enable Signal (SIMOSCEN) XTAL Oscillator Clock (XTALCLK) RC Oscillator Clock (RCCLK) Internal Oscillator Clock (INTCLK) Oscillator Out (BUSCLKX) Oscillator Out (BUSCLKX) Low Power Modes Wait Mode Stop Mode Oscillator During Break Mode CONFIG Options Input/Output (I/O) Registers Oscillator Status Register Oscillator Trim Register (OSCTRIM) Freescale Semiconductor
13 Chapter 1 Input/Output Ports (PORTS) 1.1 Introduction Port A Port A Data Register Data Direction Register A Port A Input Pullup Enable Register Port B Port B Data Register Data Direction Register B Port B Input Pullup Enable Register Chapter 1 System Integration Module (SIM) 1.1 Introduction RST and IRQ Pins Initialization SIM Bus Clock Control and Generation Bus Timing Clock Start-Up from POR Clocks in Stop Mode and Wait Mode Reset and System Initialization External Pin Reset Active Resets from Internal Sources Power-On Reset Computer Operating Properly (COP) Reset Illegal Opcode Reset Illegal Address Reset Low-Voltage Inhibit (LVI) Reset SIM Counter SIM Counter During Power-On Reset SIM Counter During Stop Mode Recovery SIM Counter and Reset States Exception Control Interrupts Hardware Interrupts SWI Instruction Interrupt Status Registers Interrupt Status Register Interrupt Status Register Interrupt Status Register Reset Break Interrupts Status Flag Protection in Break Mode Low-Power Modes Wait Mode Stop Mode Freescale Semiconductor 1
14 Table of Contents 1.8 SIM Registers SIM Reset Status Register Break Flag Control Register Chapter 1 Timer Interface Module (TIM) 1.1 Introduction Features Pin Name Conventions Functional Description TIM Counter Prescaler Input Capture Output Compare Unbuffered Output Compare Buffered Output Compare Pulse Width Modulation (PWM) Unbuffered PWM Signal Generation Buffered PWM Signal Generation PWM Initialization Interrupts Wait Mode TIM During Break Interrupts Input/Output Signals TIM Clock Pin (PTA/TCLK) TIM Channel I/O Pins (PTA0/TCH0 and PTA1/TCH1) Input/Output Registers TIM Status and Control Register TIM Counter Registers TIM Counter Modulo Registers TIM Channel Status and Control Registers TIM Channel Registers Chapter 1 Development Support 1.1 Introduction Break Module (BRK) Functional Description Flag Protection During Break Interrupts TIM During Break Interrupts COP During Break Interrupts Break Module Registers Break Status and Control Register Break Address Registers Break Auxiliary Register Break Status Register Break Flag Control Register Low-Power Modes Freescale Semiconductor
15 1. Monitor Module (MON) Functional Description Normal Monitor Mode Forced Monitor Mode Monitor Vectors Data Format Break Signal Baud Rate Commands Security Chapter 16 Electrical Specifications 16.1 Introduction Absolute Maximum Ratings Functional Operating Range Thermal Characteristics V DC Electrical Characteristics Typical -V Output Drive Characteristics V Control Timing V Oscillator Characteristics V DC Electrical Characteristics Typical.0-V Output Drive Characteristics V Control Timing V Oscillator Characteristics Supply Current Characteristics Analog-to-Digital Converter Characteristics Timer Interface Module Characteristics Memory Characteristics Chapter 17 Ordering Information and Mechanical Specifications 17.1 Introduction MC Order Numbers Package Dimensions Freescale Semiconductor 1
16 Table of Contents 16 Freescale Semiconductor
17 Chapter 1 General Description 1.1 Introduction The MC68HC908QY is a member of the low-cost, high-performance M68HC08 Family of 8-bit microcontroller units (MCUs). The M68HC08 Family is a Complex Instruction Set Computer (CISC) with a Von Neumann architecture. All MCUs in the family use the enhanced M68HC08 central processor unit (CPU08) and are available with a variety of modules, memory sizes and types, and package types. Device 0. Table 1-1. Summary of Device Variations FLASH Memory Size Analog-to-Digital Converter Pin Count MC68HC908QT1 16 bytes 8 pins MC68HC908QT 16 bytes ch, 8 bit 8 pins MC68HC908QT 096 bytes ch, 8 bit 8 pins MC68HC908QY1 16 bytes 16 pins MC68HC908QY 16 bytes ch, 8 bit 16 pins MC68HC908QY 096 bytes ch, 8 bit 16 pins 1. Features Features include: High-performance M68HC08 CPU core Fully upward-compatible object code with M68HC0 Family -V and -V operating voltages (V DD ) 8-MHz internal bus operation at V, -MHz at V Trimmable internal oscillator. MHz internal bus operation 8-bit trim capability allows 0.% accuracy (1) ± % untrimmed Auto wakeup from STOP capability Configuration (CONFIG) register for MCU configuration options, including: Low-voltage inhibit (LVI) trip point In-system FLASH programming FLASH security () 1. The oscillator frequency is guaranteed to ±% over temperature and voltage range after trimming.. No security feature is absolutely secure. However, Freescale s strategy is to make reading or copying the FLASH difficult for unauthorized users. Freescale Semiconductor 17
18 General Description On-chip in-application programmable FLASH memory (with internal program/erase voltage generation) MC68HC908QY and MC68HC908QT 096 bytes MC68HC908QY, MC68HC908QY1, MC68HC908QT, and MC68HC908QT1 16 bytes 18 bytes of on-chip random-access memory (RAM) -channel, 16-bit timer interface module (TIM) -channel, 8-bit analog-to-digital converter (ADC) on MC68HC908QY, MC68HC908QY, MC68HC908QT, and MC68HC908QT or 1 bidirectional input/output (I/O) lines and one input only: Six shared with keyboard interrupt function and ADC Two shared with timer channels One shared with external interrupt (IRQ) Eight extra I/O lines on 16-pin package only High current sink/source capability on all port pins Selectable pullups on all ports, selectable on an individual bit basis Three-state ability on all port pins 6-bit keyboard interrupt with wakeup feature (KBI) Low-voltage inhibit (LVI) module features: Software selectable trip point in CONFIG register System protection features: Computer operating properly (COP) watchdog Low-voltage detection with reset Illegal opcode detection with reset Illegal address detection with reset External asynchronous interrupt pin with internal pullup (IRQ) shared with general-purpose input pin Master asynchronous reset pin (RST) shared with general-purpose input/output (I/O) pin Power-on reset Internal pullups on IRQ and RST to reduce external components Memory mapped I/O registers Power saving stop and wait modes MC68HC908QY, MC68HC908QY, and MC68HC908QY1 are available in these packages: 16-pin plastic dual in-line package (PDIP) 16-pin small outline integrated circuit (SOIC) package 16-pin thin shrink small outline package (TSSOP) MC68HC908QT, MC68HC908QT, and MC68HC908QT1 are available in these packages: 8-pin PDIP 8-pin SOIC 8-pin dual flat no lead (DFN) package 18 Freescale Semiconductor
19 MCU Block Diagram Features of the CPU08 include the following: Enhanced HC0 programming model Extensive loop control functions 16 addressing modes (eight more than the HC0) 16-bit index register and stack pointer Memory-to-memory data transfers Fast 8 8 multiply instruction Fast 16/8 divide instruction Binary-coded decimal (BCD) instructions Optimization for controller applications Efficient C language support 1. MCU Block Diagram Figure 1-1 shows the structure of the MC68HC908QY. 1. Pin Assignments The MC68HC908QT, MC68HC908QT, and MC68HC908QT1 are available in 8-pin packages and the MC68HC908QY, MC68HC908QY, and MC68HC908QY1 in 16-pin packages. Figure 1- shows the pin assignment for these packages. Freescale Semiconductor 19
20 General Description PTA0/AD0/TCH0/KBI0 PTA1/AD1/TCH1/KBI1 PTA/IRQ/KBI/TCLK PTA/RST/KBI PTA DDRA CLOCK GENERATOR (OSCILLATOR) PTA/OSC/AD/KBI PTA/OSC1/AD/KBI PTB0 PTB1 PTB PTB PTB PTB PTB6 PTB7 PTB DDRB M68HC08 CPU SYSTEM INTEGRATION MODULE SINGLE INTERRUPT MODULE BREAK MODULE POWER-ON RESET MODULE 8-BIT ADC 18 BYTES RAM MC68HC908QY AND MC68HC908QT 096 BYTES MC68HC908QY, MC68HC908QY1, MC68HC908QT, AND MC68HC908QT1: 16 BYTES USER FLASH KEYBOARD INTERRUPT MODULE 16-BIT TIMER MODULE COP MODULE POWER SUPPLY V DD V SS MONITOR ROM RST, IRQ: Pins have internal (about 0K Ohms) pull up PTA[0:]: High current sink and source capability PTA[0:]: Pins have programmable keyboard interrupt and pull up PTB[0:7]: Not available on 8-pin devices MC68HC908QT1, MC68HC908QT, and MC68HC908QT (see note in 1.1 Introduction) ADC: Not available on the MC68HC908QY1 and MC68HC908QT1 Figure 1-1. Block Diagram 0 Freescale Semiconductor
21 Pin Assignments V DD 1 8 V SS V DD 1 8 V SS PTA/OSC1/KBI 7 PTA0/TCH0/KBI0 PTA/OSC1/AD/KBI 7 PTA0/AD0/TCH0/KBI0 PTA/OSC/KBI 6 PTA1/TCH1/KBI1 PTA/OSC/AD/KBI 6 PTA1/AD1/TCH1/KBI1 PTA/RST/KBI PTA/IRQ/KBI/TCLK PTA/RST/KBI PTA/IRQ/KBI/TCLK 8-PIN ASSIGNMENT MC68HC908QT1 PDIP/SOIC 8-PIN ASSIGNMENT MC68HC908QT AND MC68HC908QT PDIP/SOIC V DD 1 16 V SS V DD 1 16 V SS PTB7 1 PTB0 PTB7 1 PTB0 PTB6 1 PTB1 PTB6 1 PTB1 PTA/OSC1/KBI 1 PTA0/TCH0/KBI0 PTA/OSC1/AD/KBI 1 PTA0/AD0/TCH0/KBI0 PTA/OSC/KBI 1 PTA1/TCH1/KBI1 PTA/OSC/AD/KBI 1 PTA1/AD1/TCH1/KBI1 PTB 6 11 PTB PTB 6 11 PTB PTB 7 10 PTB PTB 7 10 PTB PTA/RST/KBI 8 9 PTA/IRQ/KBI/TCLK PTA/RST/KBI 8 9 PTA/IRQ/KBI/TCLK 16-PIN ASSIGNMENT MC68HC908QY1 PDIP/SOIC 16-PIN ASSIGNMENT MC68HC908QY AND MC68HC908QY PDIP/SOIC PTA0/TCH0/KBI0 PTB1 PTB0 V SS V DD PTB7 PTB6 PTA/OSC1/KBI PTA1/TCH1/KBI1 PTB PTB PTA/IRQ/KBI/TCLK PTA/RST/KBI PTB PTB PTA/OSC/KBI PTA0/AD0/TCH0/KBI0 PTB1 PTB0 V SS V DD PTB7 PTB6 PTA/OSC1/AD/KBI PTA1/AD1/TCH1/KBI1 PTB PTB PTA/IRQ/KBI/TCLK PTA/RST/KBI PTB PTB PTA/OSC/AD/KBI 16-PIN ASSIGNMENT MC68HC908QY1 TSSOP 16-PIN ASSIGNMENT MC68HC908QY AND MC68HC908QY TSSOP PTA0/TCH0/KBI0 1 8 PTA1/TCH1/KBI1 PTA0/AD0/TCH0/KBI0 1 8 PTA1/AD1/TCH1/KBI1 V SS 7 PTA/IRQ/KBI/TCLK V SS 7 PTA/IRQ/KBI/TCLK V DD 6 PTA/RST/KBI V DD 6 PTA/RST/KBI PTA/OSC1/KB1 PTA/OSC/KBI PTA//OSC1/AD/KB1 PTA/OSC/AD/KBI 8-PIN ASSIGNMENT MC68HC908QT1 DFN 8-PIN ASSIGNMENT MC68HC908QT AND MC68HC908QT DFN Figure 1-. MCU Pin Assignments Freescale Semiconductor 1
22 General Description 1. Pin Functions Table 1- provides a description of the pin functions. Table 1-. Pin Functions Pin Name Description Input/Output V DD Power supply Power V SS Power supply ground Power PTA0 PTA1 PTA PTA PTA PTA PTA0 General purpose I/O port AD0 A/D channel 0 input TCH0 Timer Channel 0 I/O KBI0 Keyboard interrupt input 0 PTA1 General purpose I/O port AD1 A/D channel 1 input TCH1 Timer Channel 1 I/O KBI1 Keyboard interrupt input 1 PTA General purpose input-only port IRQ External interrupt with programmable pullup and Schmitt trigger input KBI Keyboard interrupt input TCLK Timer clock input PTA General purpose I/O port RST Reset input, active low with internal pullup and Schmitt trigger KBI Keyboard interrupt input PTA General purpose I/O port OSC XTAL oscillator output (XTAL option only) RC or internal oscillator output (OSCEN = 1 in PTAPUE register) AD A/D channel input KBI Keyboard interrupt input PTA General purpose I/O port OSC1 XTAL, RC, or external oscillator input AD A/D channel input KBI Keyboard interrupt input Input/Output Input Input/Output Input Input/Output Input Input/Output Input Input Input Input Input Input/Output Input Input Input/Output Output Output Input Input Input/Output Input Input Input PTB[0:7] (1) 8 general-purpose I/O ports Input/Output 1. The PTB pins are not available on the 8-pin packages (see note in 1.1 Introduction). Freescale Semiconductor
23 1.6 Pin Function Priority Table 1- is meant to resolve the priority if multiple functions are enabled on a single pin. NOTE Upon reset all pins come up as input ports regardless of the priority table. Table 1-. Function Priority in Shared Pins Pin Function Priority Pin Name PTA0 PTA1 PTA PTA PTA PTA Highest-to-Lowest Priority Sequence AD0 TCH0 KBI0 PTA0 AD1 TCH1 KBI1 PTA1 IRQ KBI TCLK PTA RST KBI PTA OSC AD KBI PTA OSC1 AD KBI PTA Freescale Semiconductor
24 General Description Freescale Semiconductor
25 Chapter Memory.1 Introduction The central processor unit (CPU08) can address 6 Kbytes of memory space. The memory map, shown in Figure -1, includes: 096 bytes of user FLASH for MC68HC908QT and MC68HC908QY 16 bytes of user FLASH for MC68HC908QT, MC68HC908QT1, MC68HC908QY, and MC68HC908QY1 18 bytes of random access memory (RAM) 8 bytes of user-defined vectors, located in FLASH 16 bytes of monitor read-only memory (ROM) 16 bytes of FLASH program and erase routines, located in ROM. Unimplemented Memory Locations Accessing an unimplemented location can have unpredictable effects on MCU operation. In Figure -1 and in register figures in this document, unimplemented locations are shaded.. Reserved Memory Locations Accessing a reserved location can have unpredictable effects on MCU operation. In Figure -1 and in register figures in this document, reserved locations are marked with the word Reserved or with the letter R. Freescale Semiconductor
26 Memory $0000 $00F $000 $007F $0080 $00FF $0100 $7FF $800 $DFF $E00 $EDFF $EE00 $FDFF $FE00 $FE01 $FE0 $FE0 $FE0 $FE0 $FE06 $FE07 $FE08 $FE09 I/O REGISTERS 6 BYTES RESERVED (1) 6 BYTES RAM 18 BYTES UNIMPLEMENTED (1) 998 BYTES AUXILIARY ROM 16 BYTES UNIMPLEMENTED (1) 91 BYTES FLASH MEMORY MC68HC908QT AND MC68HC908QY 096 BYTES BREAK STATUS REGISTER (BSR) RESET STATUS REGISTER (SRSR) BREAK AUXILIARY REGISTER (BRKAR) BREAK FLAG CONTROL REGISTER (BFCR) INTERRUPT STATUS REGISTER 1 (INT1) INTERRUPT STATUS REGISTER (INT) INTERRUPT STATUS REGISTER (INT) RESERVED FOR FLASH TEST CONTROL REGISTER (FLTCR) FLASH CONTROL REGISTER (FLCR) BREAK ADDRESS HIGH REGISTER (BRKH) $FE0A BREAK ADDRESS LOW REGISTER (BRKL) $FE0B BREAK STATUS AND CONTROL REGISTER (BRKSCR) $FE0C LVISR $FE0D RESERVED FOR FLASH TEST BYTES $FE0F $FE10 MONITOR ROM 16 BYTES $FFAF $FFB0 FLASH 1 BYTES $FFBD $FFBE FLASH BLOCK PROTECT REGISTER (FLBPR) $FFBF RESERVED FLASH $FFC0 INTERNAL OSCILLATOR TRIM VALUE (VDD =.0 V) $FFC1 INTERNAL OSCILLATOR TRIM VALUE (VDD =.0 V) $FFC $FFCF $FFD0 $FFFF FLASH 1 BYTES USER VECTORS 8 BYTES Figure -1. Memory Map Note 1. Attempts to execute code from addresses in this range will generate an illegal address reset. UNIMPLEMENTED 171 BYTES FLASH MEMORY 16 BYTES MC68HC908QT1, MC68HC908QT, MC68HC908QY1, and MC68HC908QY Memory Map $E00 $F7FF $F800 $FDFF 6 Freescale Semiconductor
27 Input/Output (I/O) Section. Input/Output (I/O) Section Addresses $0000 $00F, shown in Figure -, contain most of the control, status, and data registers. Additional I/O registers have these addresses: $FE00 Break status register, BSR $FE01 Reset status register, SRSR $FE0 Break auxiliary register, BRKAR $FE0 Break flag control register, BFCR $FE0 Interrupt status register 1, INT1 $FE0 Interrupt status register, INT $FE06 Interrupt status register, INT $FE07 Reserved $FE08 FLASH control register, FLCR $FE09 Break address register high, BRKH $FE0A Break address register low, BRKL $FE0B Break status and control register, BRKSCR $FE0C LVI status register, LVISR $FE0D Reserved $FFBE FLASH block protect register, FLBPR $FFC0 Internal OSC trim value (factory programmed, VDD =.0 V) $FFC1 Internal OSC trim value (factory programmed, VDD =.0 V) $FFFF COP control register, COPCTL Addr. Register Name Bit Bit 0 Port A Data Register Read: AWUL PTA R PTA PTA PTA PTA1 PTA0 $0000 (PTA) Write: See page 98. Reset: Unaffected by reset Port B Data Register Read: PTB7 PTB6 PTB PTB PTB PTB PTB1 PTB0 $0001 (PTB) Write: See page 100. Reset: Unaffected by reset $000 Unimplemented $000 Unimplemented $000 $000 Data Direction Register A (DDRA) See page 98. Data Direction Register B (DDRB) See page 101. Read: 0 R R DDRA DDRA DDRA Write: DDRA1 DDRA0 Reset: Read: Write: DDRB7 DDRB6 DDRB DDRB DDRB DDRB DDRB1 DDRB0 Reset: = Unimplemented R = Reserved U = Unaffected Figure -. Control, Status, and Data Registers (Sheet 1 of ) Freescale Semiconductor 7
28 Memory Addr. Register Name Bit Bit 0 $0006 $000A Unimplemented Unimplemented $000B $000C $000D $0019 Port A Input Pullup Enable Register (PTAPUE) See page 99. Port B Input Pullup Enable Register (PTBPUE) See page 10. Unimplemented Read: 0 OSCEN Write: PTAPUE PTAPUE PTAPUE PTAPUE PTAPUE1 PTAPUE0 Reset: Read: Write: PTBPUE7 PTBPUE6 PTBPUE PTBPUE PTBPUE PTBPUE PTBPUE1 PTBPUE0 Reset: $001A $001B Keyboard Status and Control Register (KBSCR) See page 8. Keyboard Interrupt Enable Register (KBIER) See page 8. $001C Unimplemented Read: KEYF 0 IMASKK MODEK Write: ACKK Reset: Read: 0 AWUIE KBIE KBIE KBIE KBIE KBIE1 KBIE0 Write: Reset: $001D $001E $001F $000 $001 IRQ Status and Control Register (INTSCR) See page 77. Configuration Register (CONFIG) (1) See page. Configuration Register 1 (CONFIG1) (1) See page. TIM Status and Control Register (TSC) See page 17. TIM Counter Register High (TCNTH) See page 18. Read: IRQF 0 Write: ACK IMASK Reset: Read: Write: MODE IRQPUD IRQEN R OSCOPT1 OSCOPT0 R R RSTEN Reset: () 1. One-time writable register after each reset.. RSTEN reset to 0 by a power-on reset (POR) only. Read: Write: COPRS LVISTOP LVIRSTD LVIPWRD LVIOR SSREC STOP COPD Reset: () One-time writable register after each reset.. LVIOR reset to 0 by a power-on reset (POR) only. Read: TOF 0 0 TOIE TSTOP Write: 0 TRST PS PS1 PS0 Reset: Read: Bit 1 Bit 1 Bit 1 Bit 1 Bit 11 Bit 10 Bit 9 Bit 8 Write: Reset: = Unimplemented R = Reserved U = Unaffected Figure -. Control, Status, and Data Registers (Sheet of ) 8 Freescale Semiconductor
29 Input/Output (I/O) Section Addr. Register Name Bit Bit 0 $00 $00 $00 $00 $006 $007 $008 $009 $00A $00B $00 TIM Counter Register Low (TCNTL) See page 18. TIM Counter Modulo Register High (TMODH) See page 19. TIM Counter Modulo Register Low (TMODL) See page 19. TIM Channel 0 Status and Control Register (TSC0) See page 10. TIM Channel 0 Register High (TCH0H) See page 1. TIM Channel 0 Register Low (TCH0L) See page 1. TIM Channel 1 Status and Control Register (TSC1) See page 10. TIM Channel 1 Register High (TCH1H) See page 1. TIM Channel 1 Register Low (TCH1L) See page 1. Unimplemented Read: Bit 7 Bit 6 Bit Bit Bit Bit Bit 1 Bit 0 Write: Reset: Read: Write: Bit 1 Bit 1 Bit 1 Bit 1 Bit 11 Bit 10 Bit 9 Bit 8 Reset: Read: Write: Bit 7 Bit 6 Bit Bit Bit Bit Bit 1 Bit 0 Reset: Read: CH0F Write: 0 CH0IE MS0B MS0A ELS0B ELS0A TOV0 CH0MAX Reset: Read: Write: Reset: Read: Write: Reset: Read: Bit 1 Bit 1 Bit 1 Bit 1 Bit 11 Bit 10 Bit 9 Bit 8 Indeterminate after reset Bit 7 Bit 6 Bit Bit Bit Bit Bit 1 Bit 0 CH1F Write: 0 CH1IE 0 Indeterminate after reset MS1A ELS1B ELS1A TOV1 CH1MAX Reset: Read: Write: Reset: Read: Write: Reset: Bit 1 Bit 1 Bit 1 Bit 1 Bit 11 Bit 10 Bit 9 Bit 8 Indeterminate after reset Bit 7 Bit 6 Bit Bit Bit Bit Bit 1 Bit 0 Indeterminate after reset $006 Oscillator Status Register (OSCSTAT) See page 96. Read: Write: $007 Unimplemented Read: R R R R R R ECGON Reset: ECGST $008 Oscillator Trim Register (OSCTRIM) See page 96. Read: Write: TRIM7 TRIM6 TRIM TRIM TRIM TRIM TRIM1 TRIM0 Reset: = Unimplemented R = Reserved U = Unaffected Figure -. Control, Status, and Data Registers (Sheet of ) Freescale Semiconductor 9
30 Memory Addr. Register Name Bit Bit 0 $009 $00B Unimplemented $00C ADC Status and Control Register (ADSCR) See page. $00D Unimplemented Read: COCO AIEN ADCO CH CH CH CH1 CH0 Write: R Reset: $00E $00F $FE00 ADC Data Register (ADR) See page 7. ADC Input Clock Register (ADICLK) See page 7. Break Status Register (BSR) See page 17. Read: Bit 7 Bit 6 Bit Bit Bit Bit Bit 1 Bit 0 Write: Reset: Indeterminate after reset Read: ADIV ADIV1 ADIV0 Write: Reset: Read: SBSW R R R R R R R Write: See note 1 Reset: 0 1. Writing a 0 clears SBSW. $FE01 $FE0 $FE0 $FE0 $FE0 $FE06 SIM Reset Status Register (SRSR) See page 117. Break Auxiliary Register (BRKAR) See page 17. Break Flag Control Register (BFCR) See page 18. Interrupt Status Register 1 (INT1) See page 77. Interrupt Status Register (INT) See page 77. Interrupt Status Register (INT) See page 77. Read: POR PIN COP ILOP ILAD MODRST LVI 0 Write: POR: Read: Write: Reset: Read: Write: Reset: 0 BCFE R R R R R R R Read: 0 IF IF IF 0 IF1 0 0 Write: R R R R R R R R Reset: Read: IF Write: R R R R R R R R Reset: BDCOP Read: IF1 Write: R R R R R R R R Reset: $FE07 Reserved R R R R R R R R = Unimplemented R = Reserved U = Unaffected Figure -. Control, Status, and Data Registers (Sheet of ) 0 Freescale Semiconductor
31 Input/Output (I/O) Section Addr. Register Name Bit Bit 0 $FE08 $FE09 $FE0A $FE0B $FE0C $FE0D $FE0F FLASH Control Register (FLCR) See page. Break Address High Register (BRKH) See page 16. Break Address low Register (BRKL) See page 16. Break Status and Control Register (BRKSCR) See page 16. LVI Status Register (LVISR) See page 87. Read: Write: HVEN MASS ERASE PGM Reset: Read: Write: Bit 1 Bit 1 Bit 1 Bit 1 Bit 11 Bit 10 Bit 9 Bit 8 Reset: Read: Write: Bit 7 Bit 6 Bit Bit Bit Bit Bit 1 Bit 0 Reset: Read: Write: BRKE BRKA Reset: Read: LVIOUT R Write: Reset: Reserved for FLASH Test R R R R R R R R $FFBE FLASH Block Protect Register (FLBPR) See page 9. Read: Write: Reset: BPR7 BPR6 BPR BPR BPR BPR BPR1 BPR0 Unaffected by reset $FFBF Reserved R R R R R R R R $FFC0 $FFC1 Internal Oscillator Trim (Factory Programmed, VDD =.0 V) Internal Oscillator Trim (Factory Programmed, VDD =.0 V) Read: Write: Reset: Read: Write: Reset: TRIM7 TRIM6 TRIM TRIM TRIM TRIM TRIM1 TRIM0 Unaffected by reset TRIM7 TRIM6 TRIM TRIM TRIM TRIM TRIM1 TRIM0 Unaffected by reset $FFFF COP Control Register (COPCTL) See page 9. Read: Write: Reset: LOW BYTE OF RESET VECTOR WRITING CLEARS COP COUNTER (ANY VALUE) Unaffected by reset = Unimplemented R = Reserved U = Unaffected Figure -. Control, Status, and Data Registers (Sheet of ) Freescale Semiconductor 1
32 Memory. Table -1. Vector Addresses Vector Priority Vector Address Vector Lowest $FFDE ADC conversion complete vector (high) IF1 $FFDF ADC conversion complete vector (low) IF1 $FFE0 Keyboard vector (high) $FFE1 Keyboard vector (low) IF1 IF6 Not used IF $FFF TIM overflow vector (high) $FFF TIM overflow vector (low) IF $FFF TIM Channel 1 vector (high) $FFF TIM Channel 1 vector (low) IF $FFF6 TIM Channel 0 vector (high) $FFF7 TIM Channel 0 vector (low) IF Not used IF1 $FFFA IRQ vector (high) $FFFB IRQ vector (low) $FFFC SWI vector (high) $FFFD SWI vector (low) $FFFE Reset vector (high) Highest $FFFF Reset vector (low). Random-Access Memory (RAM) Addresses $0080 $00FF are RAM locations. The location of the stack RAM is programmable. The 16-bit stack pointer allows the stack to be anywhere in the 6-Kbyte memory space. NOTE For correct operation, the stack pointer must point only to RAM locations. Before processing an interrupt, the central processor unit (CPU) uses five bytes of the stack to save the contents of the CPU registers. NOTE For M680, M1680, and M68HC0 compatibility, the H register is not stacked. During a subroutine call, the CPU uses two bytes of the stack to store the return address. The stack pointer decrements during pushes and increments during pulls. NOTE Be careful when using nested subroutines. The CPU may overwrite data in the RAM during a subroutine or during the interrupt stacking operation. Freescale Semiconductor
33 FLASH Memory (FLASH).6 FLASH Memory (FLASH) This subsection describes the operation of the embedded FLASH memory. The FLASH memory can be read, programmed, and erased from a single external supply. The program and erase operations are enabled through the use of an internal charge pump. The FLASH memory consists of an array of 096 or 16 bytes with an additional 8 bytes for user vectors. The minimum size of FLASH memory that can be erased is 6 bytes; and the maximum size of FLASH memory that can be programmed in a program cycle is bytes (a row). Program and erase operations are facilitated through control bits in the FLASH control register (FLCR). Details for these operations appear later in this section. The address ranges for the user memory and vectors are: $EE00 $FDFF; user memory, 096 bytes: MC68HC908QY and MC68HC908QT $F800 $FDFF; user memory, 16 bytes: MC68HC908QY, MC68HC908QT, MC68HC908QY1 and MC68HC908QT1 $FFD0 $FFFF; user interrupt vectors, 8 bytes. NOTE An erased bit reads as a 1 and a programmed bit reads as a 0. A security feature prevents viewing of the FLASH contents. (1).6.1 FLASH Control Register The FLASH control register (FLCR) controls FLASH program and erase operations. Address: $FE08 Bit Bit 0 Read: Write: HVEN MASS ERASE PGM Reset: = Unimplemented Figure -. FLASH Control Register (FLCR) HVEN High Voltage Enable Bit This read/write bit enables high voltage from the charge pump to the memory for either program or erase operation. It can only be set if either PGM =1 or ERASE =1 and the proper sequence for program or erase is followed. 1 = High voltage enabled to array and charge pump on 0 = High voltage disabled to array and charge pump off MASS Mass Erase Control Bit This read/write bit configures the memory for mass erase operation. 1 = Mass erase operation selected 0 = Mass erase operation unselected 1. No security feature is absolutely secure. However, Freescale s strategy is to make reading or copying the FLASH difficult for unauthorized users. Freescale Semiconductor
M68HC08. Microcontrollers MC68HC908QY4 MC68HC908QT4 MC68HC908QY2 MC68HC908QT2 MC68HC908QY1 MC68HC908QT1. Data Sheet MOTOROLA.
MC68HC908QY MC68HC908QT MC68HC908QY2 MC68HC908QT2 MC68HC908QY1 MC68HC908QT1 Data Sheet M68HC08 Microcontrollers MC68HC908QY/D Rev 0.1, 12/2002 MOTOROLA.COM/SEMICONDUCTORS MC68HC908QY MC68HC908QT MC68HC908QY2
More informationMC68HC908KX8 MC68HC908KX2 MC68HC08KX8. Technical Data M68HC08. Microcontrollers. MC68HC908KX8/D Rev. 1, 2/2002
MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Technical Data M68HC08 Microcontrollers MC68HC908KX8/D Rev. 1, 2/2002 WWW.MOTOROLA.COM/SEMICONDUCTORS MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Technical Data To provide
More informationMC68HC908JB8 MC68HC08JB8 MC68HC08JT8
MC68HC908JB8 MC68HC08JB8 MC68HC08JT8 Technical Data M68HC08 Microcontrollers MC68HC908JB8/D Rev. 2.3 9/2005 freescale.com MC68HC908JB8 MC68HC08JB8 MC68HC08JT8 Technical Data To provide the most up-to-date
More informationM68HC08. Microcontrollers MC68HC908RF2. Data Sheet. Freescale Semiconductor, I. MC68HC908RF2/D Rev. 4 5/2004
nc. M68HC08 Microcontrollers MC68HC908RF2 Data Sheet MC68HC908RF2/D Rev. /200 nc. nc. MC68HC908RF2 Data Sheet To provide the most up-to-date information, the revision of our documents on the World Wide
More informationMC68HC908GR8A MC68HC908GR4A Data Sheet
MC68HC908GR8A MC68HC908GRA Data Sheet M68HC08 Microcontrollers MC68HC908GR8A Rev. 5 0/2007 freescale.com MC68HC908GR8A MC68HC908GRA Data Sheet To provide the most up-to-date information, the revision
More informationFreescale Semiconductor, I
nc. Data Sheet Summary MC68HC98QYSM/D Rev.., / MC68HC98QY, MC68HC98QT, MC68HC98QY, MC68HC98QT, MC68HC98QY, MC68HC98QT Introduction General Description This document provides an overview of the MC68HC98QY,
More informationMC68HC908GR16 Data Sheet
MC68HC908GR16 Data Sheet M68HC08 Microcontrollers MC68HC908GR16 Rev. 5.0 0/2007 freescale.com MC68HC908GR16 Data Sheet To provide the most up-to-date information, the revision of our documents on the
More informationMC68HC908GR8 MC68HC908GR4. Technical Data M68HC08. Microcontrollers. MC68HC908GR8/D Rev. 4, 6/2002
MC68HC908GR8 MC68HC908GR Technical Data M68HC08 Microcontrollers MC68HC908GR8/D Rev., 6/2002 WWW.MOTOROLA.COM/SEMICONDUCTORS MC68HC908GR8 MC68HC908GR Technical Data Rev.0 Motorola reserves the right to
More informationM68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1
M68HC08 Microcontroller The MC68HC908GP32 Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor Design General Description The
More informationTutorial Introduction
Tutorial Introduction PURPOSE: - To explain MCU processing of reset and and interrupt events OBJECTIVES: - Describe the differences between resets and interrupts. - Identify different sources of resets
More informationMC68HC08KH12 Data Sheet
MC68HC08KH12 Data Sheet M68HC08 Microcontrollers Rev. 1.1 MC68HC08KH12/H July 15, 2005 freescale.com Advance Information MC68HC(7)08KH12 List of Sections Section 1. General Description... 23 Section 2.
More informationMC68HC908AS60/D REV 1 8M68HC08M HC08M68HC. MC68HC908AS60 Technical Data. HCMOS Microcontroller Unit
68HC08M6 HC08M68HC MC68HC908AS60/D REV 1 8M68HC08M MC68HC908AS60 Technical Data HCMOS Microcontroller Unit Motorola reserves the right to make changes without further notice to any products herein. Motorola
More informationMC68HC05J1A/D Rev. 1.0 HC 5 MC68HC05J1A MC68HCL05J1A MC68HSC05J1A. HCMOS Microcontroller Units TECHNICAL DATA
MC68HC0J1A/D Rev. 1.0 HC MC68HC0J1A MC68HCL0J1A MC68HSC0J1A HCMOS Microcontroller Units TECHNICAL DATA Technical Data Motorola reserves the right to make changes without further notice to any products
More informationThe Freescale MC908JL16 Microcontroller
Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Freescale MC908JL16 Microcontroller by Allan G. Weber 1 Introduction The Freescale MC908JL16 (also called
More informationSECTION 5 RESETS AND INTERRUPTS
SECTION RESETS AND INTERRUPTS Resets and interrupt operations load the program counter with a vector that points to a new location from which instructions are to be fetched. A reset immediately stops execution
More informationChapter 7 Central Processor Unit (S08CPUV2)
Chapter 7 Central Processor Unit (S08CPUV2) 7.1 Introduction This section provides summary information about the registers, addressing modes, and instruction set of the CPU of the HCS08 Family. For a more
More informationAN-HK-32. In-Circuit Programming of FLASH Memory in the MC68HC908GP32. nc... Freescale Semiconductor, I. PART 1 Introduction
Order this document by AN-HK-32/H Rev. 2.0 AN-HK-32 In-Circuit Programming of FLASH Memory in the MC68HC908GP32 By T.C. Lun Applications Engineering Microcontroller Division Hong Kong PART 1 Introduction
More informationAN-HK-33. In-Circuit Programming of FLASH Memory in the MC68HC908JL3. Roger Fan Applications Engineering Microcontroller Division Hong Kong
Order this document by AN-HK-33/H Rev. 1 AN-HK-33 In-Circuit Programming of FLASH Memory in the MC68HC908JL3 By Roger Fan Applications Engineering Microcontroller Division Hong Kong This application note
More informationHC08AZ32TS/D Rev. 1.1 HC08AZ0 HC08AZ16 HC08AZ24 HC08AZ32 HC08AB0 HC08AB16 HC08AB24 HC08AB32. HCMOS Microcontroller Unit TECHNICAL SUMMARY
HC08AZ32TS/D Rev.. HC08AZ0 HC08AZ6 HC08AZ24 HC08AZ32 HC08AB0 HC08AB6 HC08AB24 HC08AB32 HCMOS Microcontroller Unit TECHNICAL SUMMARY HC08AZ32 HCMOS MICROCONTROLLER UNIT Motorola reserves the right to make
More informationFreescale Semiconductor, I
nc. Application ote 03/2004 Low Frequency EEPROM Emulation on the MC68HLC908Q4 By Alan Devine 8/16-Bit Division East Kilbride, Scotland Introduction To avoid the cost of using external EEPROM devices,
More informationModule Introduction. PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events.
Module Introduction PURPOSE: The intent of this module is to explain MCU processing of reset and interrupt exception events. OBJECTIVES: - Describe the difference between resets and interrupts. - Identify
More informationHC05 MC68HC05P18 MC68HC805P18. Advance Information. Freescale Semiconductor, Inc. Archived Order this document by MC68HC805P18/D Rev. 2.
Archived 200. Order this document by MC68HC80P18/D Rev. 2.0. HC0 MC68HC0P18 MC68HC80P18 ARCHIVED 200 Advance Information This document contains information on a new product. Specifications and information
More informationAN-HK-33. Motorola Semiconductor Application Note. In-Circuit Programming of FLASH Memory in the MC68HC908JL3. PART 1 Introduction
Motorola Semiconductor Application Note Order this document by AN-HK-33/H Rev. 1 AN-HK-33 In-Circuit Programming of FLASH Memory in the MC68HC908JL3 By Roger Fan Applications Engineering Microcontroller
More informationMC68HC05SR3 MC68HC705SR3
MC68HC705SR3 Technical Data M68HC05 Microcontrollers D/H Rev. 2.1 08/2005 freescale.com GENERAL DESCRIPTION PIN DESCRIPTIONS INPUT/OUTPUT PORTS MEMORY AND REGISTERS RESETS AND INTERRUPTS TIMER ANALOG
More informationME 4447 / ME 6405: Introduction to Mechatronics
ME 4447 / ME 6405: Introduction to Mechatronics Interrupts and Resets Rohan Bansal Edward Chyau Anirudh Rudraraju Interrupts and Resets 1 Telephone Analogy How do we know if someone is calling? Use polling
More informationMicrocomputer Architecture and Programming
IUST-EE (Chapter 1) Microcomputer Architecture and Programming 1 Outline Basic Blocks of Microcomputer Typical Microcomputer Architecture The Single-Chip Microprocessor Microprocessor vs. Microcontroller
More informationInfineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an
Microcontroller Basics MP2-1 week lecture topics 2 Microcontroller basics - Clock generation, PLL - Address space, addressing modes - Central Processing Unit (CPU) - General Purpose Input/Output (GPIO)
More informationZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B
ZMD400-A01 ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE 802.15.4 Standard DATA SHEET Version B Quan International Co., Ltd., ZMD400 Features Fully compliant 802.15.4 Standard
More informationFreescale Semiconductor, Inc.
nc. M68HC08 Microcontrollers Building an USB-DDC ICP Interface Board Hardware Designer Reference Manual DRM041/D Rev. 0, 6/2003 MOTOROLA.COM/SEMICONDUCTORS nc. nc. Building an USB-DDC ICP Interface Board
More informationAN1770. Motorola Semiconductor Application Note. In-Circuit Programming of FLASH Memory in the MC68HC908GP20. Introduction
Order this document by AN1770/D Rev. 1.0 Motorola Semiconductor Application Note AN1770 In-Circuit Programming of FLASH Memory in the MC68HC908GP20 By Grant Whitacre Microcontroller Division Austin, Texas
More informationAN-HK-32. Motorola Semiconductor Application Note. In-Circuit Programming of FLASH Memory in the MC68HC908GP32. PART 1 Introduction
Motorola Semiconductor Application Note Order this document by AN-HK-32/H Rev. 2.0 AN-HK-32 In-Circuit Programming of FLASH Memory in the MC68HC908GP32 By T.C. Lun Applications Engineering Microcontroller
More informationEmbedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester
Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,
More informationQuestion Bank Microprocessor and Microcontroller
QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to
More informationMicrocontrollers. Microcontroller
Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and
More informationTutorial Introduction
Tutorial Introduction PURPOSE - To explain how to configure and program the 68HC08 family FLASH memory OBJECTIVES: - Describe the features and uses of FLASH memory - Identify the steps to perform erase
More information8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52
Features Compatible with MCS -51 Products 8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz
More informationAN1298. Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications. Introduction
Order this document by /D Variations in the Motorola MC68HC(7)05Cx Family By Joanne Field CSIC Applications East Kilbride, Scotland Introduction The Freescale MC68HC05 C Family of 8-bit microcontrollers
More informationn/a PIC12F629-I/P (RC) n/a PIC12F629-I/SN (RC) n/a PIC12F675-I/P (RC) n/a PIC12F675-I/SN MICROCONTROLLER (RC)
DATA SHEET PIC Microcontrollers Order code Manufacturer code Description 73-36 n/a PICF69-I/P (RC) 73-364 n/a PICF69-I/SN (RC) 73-34 n/a PICF675-I/P (RC) 73-36 n/a PICF675-I/SN MICROCONTROLLER (RC) PIC
More informationControl Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.
Unit I 8085 and 8086 PROCESSOR Introduction to microprocessor A microprocessor is a clock-driven semiconductor device consisting of electronic logic circuits manufactured by using either a large-scale
More informationM68HC08. Microcontrollers. USB Security Key Reference Design. Designer Reference Manual. Freescale Semiconductor, I MOTOROLA.
nc. M68HC08 Microcontrollers USB Security Key Reference Design Designer Reference Manual DRM013/D Rev. 0.0, 3/2003 MOTOROLA.COM/SEMICONDUCTORS nc. nc. USB Security Key Reference Design Designer Reference
More information2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.
DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in
More informationEEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture
Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin
More informationModule 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1
Module 2 Embedded Processors and Memory Version 2 EE IIT, Kharagpur 1 Lesson 11 Embedded Processors - II Version 2 EE IIT, Kharagpur 2 Signals of a Typical Microcontroller In this lesson the student will
More information8051 Microcontroller
8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many
More informationECE 372 Microcontroller Design Parallel IO Ports - Interrupts. ECE 372 Microcontroller Design Parallel IO Ports - Interrupts
Interrupts An interrupt can be compared with a phone call interrupting your task which you will resume when the call is finished You can mask an interrupt just as you can decide not to answer any phone
More informationIntroduction to Mechatronics. Fall Instructor: Professor Charles Ume. Interrupts and Resets
ME645 Introduction to Mechatronics Fall 24 Instructor: Professor Charles Ume Interrupts and Resets Reason for Interrupts You might want instructions executed immediately after internal request and/or request
More informationAddendum for New QFN Package Migration
Freescale Semiconductor Addendum Document Number: QFN_Addendum Rev. 0, 07/014 Addendum for New QFN Package Migration This addendum provides the changes to the 98A case outline numbers for products covered
More informationEE4390 Microprocessors. Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System
EE4390 Microprocessors Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System 1 Overview 68HC12 hardware overview Subsystems Memory System 2 68HC12 Hardware Overview "Copyright of Motorola,
More informationFlashFlex MCU SST89E54RD2A/RDA / SST89E58RD2A/RDA
Introduction This document provides instructions to help programming vendors qualify the SST FlashFlex microcontrollers. Functional Blocks 8051 CPU Core ALU, ACC, B-Register, Instruction Register, Program
More informationIntroduction to Embedded Systems
Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems
More informationUNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.
UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip
More informationPIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:
PIC16F7X 2/40-pin -Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F7 PIC16F74 PIC16F76 PIC16F77 Microcontroller Core Features: High-performance RISC CPU Only 5 single word instructions
More informationFredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт.
SECOND шт. Assembly and С Programming forthefreescalehcs12 Microcontroller Fredrick M. Cady Department of Electrical and Computer Engineering Montana State University New York Oxford Oxford University
More information1) A/D MODULE (REV D) G23V ONLY 2) LATCH-UP G23V AND G49V ONLY 3) MSCAN MODULE (REV A) G23V AND G49V ONLY 4) MSCAN MODULE (REV A) G23V AND G49V ONLY
MOTOROLA SEMICONDUCTOR TECHNICAL INFORMATION 68HC08AZ32MSE1 Rev 2.0 Mask Set Errata 1 MC68HC08AZ32 8-Bit Microcontroller Unit INTRODUCTION This document describes the errata identified on mask sets: G23V,
More informationCMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing
CMS-8GP32 A Motorola MC68HC908GP32 Microcontroller Board xiom anufacturing 2000 717 Lingco Dr., Suite 209 Richardson, TX 75081 (972) 994-9676 FAX (972) 994-9170 email: Gary@axman.com web: http://www.axman.com
More informationDERTS Design Requirements (1): Microcontroller Architecture & Programming
Lecture (5) DERTS Design Requirements (1): Microcontroller Architecture & Programming Prof. Kasim M. Al-Aubidy Philadelphia University 1 Lecture Outline: Features of microcomputers and microcontrollers.
More informationProgramming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs
Freescale Semiconductor Application Note AN2900 Rev. 0, 01/2005 Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs by: Gabriel Sanchez Barba RTAC Americas Mexico Overview This document is
More informationUnderstanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,
Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and
More informationAVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.
AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful
More information1. Internal Architecture of 8085 Microprocessor
1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within up to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the
More information1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.
(1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic
More informationFlashFlex MCU SST89C58RC
Introduction This document provides the instructions to help programming vendors qualify SST FlashFlex microcontrollers. Functional Blocks 051 CPU Core ALU, ACC, B-Register, Instruction Register, Program
More informationMicroprocessors/Microcontrollers
Microprocessors/Microcontrollers A central processing unit (CPU) fabricated on one or more chips, containing the basic arithmetic, logic, and control elements of a computer that are required for processing
More informationFreescale Semiconductor, I
nc. 11/2003 I 2 C Slave on the HC908QT/QY Family MCU By Stanislav Arendarik Freescale Czech System Application Laboratory Roznov pod Radhostem, Czech Republic Introduction I 2 C Overview The I 2 C (inter-integrated
More informationMicrocontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.
Ajit Pal Microcontrollers Principles and Applications +5 V 2K 8 8 bit dip switch P2 8 Reset switch Microcontroller AT89S52 100E +5 V +5 V 2.2K 10 uf RST 7 Segment common anode LEDs P1(0-6) & P3(0-6) 7
More informationAli Karimpour Associate Professor Ferdowsi University of Mashhad
AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar
More informationThe Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families
The Microcontroller Lecture Set 3 Architecture of the 8051 Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and I/O ports. In most cases, all that is
More informationSH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5)
SH69P48A EVB Application Notes for SH69P48A EVB The SH69P48A EVB is used to evaluate the SH69P48A chip's function for the development of application program. It contains of a SH69V48A chip to evaluate
More informationAnalog, Mixed-Signal and Power Management
Analog, Mixed-Signal and Power Management MM912_637 Applications Battery Current / Voltage / Temperature Monitoring Battery State of Charge Monitoring Battery State of Health Monitoring Xtrinsic Integrated
More information8-bit Microcontroller with 8K Bytes Programmable Flash AT90C8534. Preliminary
Features Utilizes the AVR RISC Architecture AVR High-performance and Low-power RISC Architecture 118 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General-purpose Working Registers Up
More informationChapter. Computer Architecture
Chapter 4 Computer Architecture Figure 4.1 Input device Central processing unit Main memory Output device Bus Data flow Control Figure 4.2 Central processing unit () Status bits ( ) Accumulator ( ) Index
More informationM68HC11E Family. Data Sheet M68HC11. Microcontrollers M68HC11E/D Rev. 5 6/2003 MOTOROLA.COM/SEMICONDUCTORS
M68HCE Family Data Sheet M68HC Microcontrollers M68HCE/D Rev. 5 6/23 MOTOROLA.COM/SEMICONDUCTORS MC68HCE Family Data Sheet To provide the most up-to-date information, the revision of our documents on
More informationAm186ER/Am188ER AMD continues 16-bit innovation
Am186ER/Am188ER AMD continues 16-bit innovation 386-Class Performance, Enhanced System Integration, and Built-in SRAM Am186ER and Am188ER Am186 System Evolution 80C186 Based 3.37 MIP System Am186EM Based
More informationPIC Microcontroller Introduction
PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.
More information8051 microcontrollers
8051 microcontrollers Presented by: Deepak Kumar Rout Synergy Institute of Engineering and Technology, Dhenkanal Chapter 2 Introduction Intel MCS-51 family of microcontrollers consists of various devices
More information538 Lecture Notes Week 5
538 Lecture Notes Week 5 (October 4, 2017) 1/18 538 Lecture Notes Week 5 Announements Midterm: Tuesday, October 25 Answers to last week's questions 1. With the diagram shown for a port (single bit), what
More informationFreescale Semiconductor, I
Order this document by /D CONFIG Register Issues Concerning the M68HC11 Family Introduction Discussion of Concerns Some customers and field representatives have expressed concerns about the reliability
More informationApproximately half the power consumption of earlier Renesas Technology products and multiple functions in a 14-pin package
Renesas Technology to Release R8C/Mx Series of Flash MCUs with Power Consumption Among the Lowest in the Industry and Powerful On-Chip Peripheral Functions Approximately half the power consumption of earlier
More information8-bit Microcontroller with 1K Byte of In-System Programmable Flash AT90S1200
Features Utilizes the AVR RISC Architecture AVR High-performance and Low-power RISC Architecture 89 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General-purpose Working Registers Up to
More informationDigital Thermometer and Thermostat
General Description The DS75 digital thermometer and thermostat provides 9, 10, 11, or 12-bit digital temperature readings over a -55 C to +125 C range with ±2 C accuracy over a -25 C to +100 C range.
More informationApplication Note. Interfacing the CS5525/6/9 to the 68HC05. By Keith Coffey MOSI (PD3) SDO MISO (PD2) SCLK. Figure 1. 3-Wire and 4-Wire Interfaces
Application Note Interfacing the CS5525/6/9 to the 68HC05 By Keith Coffey INTRODUCTION This application note details the interface of Crystal Semiconductor s CS5525/6/9 Analog-to-Digital Converter (ADC)
More informationCourse Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes
Course Introduction Purpose: This course provides an overview of the Direct Memory Access Controller and the Interrupt Controller on the SH-2 and SH-2A families of 32-bit RISC microcontrollers, which are
More informationENE 334 Microprocessors
Page 1 ENE 334 Microprocessors Lecture 7: MCS-51 Architecture I : Dejwoot KHAWPARISUTH http://webstaff.kmutt.ac.th/~dejwoot.kha/ ENE 334 MCS-51 Architecture I Page 2 Outlines: 8051 Microcontroller Hardware
More informationFreescale Semiconductor, I
nc. Engineering Bulletin Rev. 1, 3/2002 TOF Considerations when Measuring a Long Input Capture Event By Donnie Garcia and Gianni Filippi Microcontroller Applications Engineering Austin, Texas Introduction
More information8051 Microcontroller
8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit
More informationThese three counters can be programmed for either binary or BCD count.
S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.
More informationStarter Kit LJ12EVB User s Manual
Starter Kit LJ12EVB User s Manual Rev 1.0 Brno November 2002 Content Introduction---------------------------------------------------------------------------------------------- 5 Who is Beta Control------------------------------------------------------------------------------------
More informationDS75 Digital Thermometer and Thermostat
www.maxim-ic.com FEATURES Temperature Measurements Require No External Components Measures Temperatures from -55 C to +125 C (-67 F to +257 F) 2 C Accuracy Over a -25 C to +100 C Range Thermometer Resolution
More informationCHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution
CHAPTER 1 MICROCOMPUTER SYSTEMS 1.1 Introduction The term microcomputer is used to describe a system that includes a microprocessor, program memory, data memory, and an input/output (I/O). Some microcomputer
More information538 Lecture Notes Week 5
538 Lecture Notes Week 5 (Sept. 30, 2013) 1/15 538 Lecture Notes Week 5 Answers to last week's questions 1. With the diagram shown for a port (single bit), what happens if the Direction Register is read?
More informationEngineering Bulletin. Introduction and Background. Definition of Early TOF EB389/D 11/2001
Engineering Bulletin EB389/D 11/2001 TOF Considerations when Measuring a Long Input Capture Event By Donnie Garcia and Gianni Filippi Microcontroller Applications Engineering Austin, Texas Introduction
More informationEC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I
EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes
More informationEXCEPTIONS ON THE 9S12
EXCEPTIONS ON THE 9S12 Exceptions are the way a processor responds to things other than the normal sequence of instructions in memory. Exceptions consist of such things as Reset and Interrupts. Interrupts
More informationIntroduction to the MC9S12 Hardware Subsystems
Setting and clearing bits in C Using pointers in C o Program to count the number of negative numbers in an area of memory Introduction to the MC9S12 Hardware Subsystems o The MC9S12 timer subsystem Operators
More informationWhat Happens When You Reset the MC9S12?
What Happens When You Reset the MC9S12? What happens to the MC9S12 when you turn on power or push the reset button? How does the MC9S12 know which instruction to execute first? On reset the MC9S12 loads
More information8-bit Microcontroller with 1K Bytes Flash. ATtiny10 ATtiny11 ATtiny12. Preliminary. Features. Pin Configuration
Features Utilizes the AVR RISC Architecture High-performance and Low-power 8-bit RISC Architecture 90 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers
More informationMicroprocessor Architecture
Microprocessor - 8085 Architecture 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration
More informationChapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware
More informationAT89S4D12. 8-Bit Microcontroller with 132K Bytes Flash Data Memory AT89S4D12. Features. Description. Pin Configurations
Features Compatible with MCS-51 Products 128K Bytes of In-System Reprogrammable Flash data memory and 4K Bytes of Downloadable Flash Program Memory Endurance: 1,000 Write/Erase Cycles per Sector Data Retention:
More informationComputer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers
Lecture (4) Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers Prof. Kasim M. Al-Aubidy Philadelphia University-Jordan DERTS-MSc, 2015 Prof. Kasim Al-Aubidy 1 Lecture Outline:
More information