MC68HC908KX8 MC68HC908KX2 MC68HC08KX8. Technical Data M68HC08. Microcontrollers. MC68HC908KX8/D Rev. 1, 2/2002
|
|
- David Foster
- 5 years ago
- Views:
Transcription
1 MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Technical Data M68HC08 Microcontrollers MC68HC908KX8/D Rev. 1, 2/2002
2
3 MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Technical Data 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: 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. Motorola and are registered trademarks of Motorola, Inc. DigitalDNA is a trademark of Motorola, Inc. Motorola, Inc., 2002 MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA 3
4 Technical Data Date April, 2001 February, 2002 Revision Level Revision History Description Page Number(s) Label for pin 9 corrected in Figure 1-1 and Figure , 33 $FF is the erase state of the FLASH, not $00. 82, 252, 255 First bulleted paragraph under the subsection 16.5 Interrupts reworded for clarity Revision to the description of the CHxMAX bit and the note that follows that description Forced monitor mode information added to Table In Figure 18-1, resistor value for connection between V TST and IRQ1 changed from 10 kω to 1 kω. 7.3 Features Corrected third bullet ICG Trim Register Corrected description of the TRIM7:TRIM0 bits 15.3 Features Corrected divide by factors in first bullet 216 Figure Timebase Block Diagram Corrected divide-by-2 blocks Table Timebase Divider Selection Corrected last divider tap entry Section 16. Timer Interface Module (TIM) Timer discrepancies corrected throughout this section 20.5 Thermal Characteristics Corrected SOIC thermal resistance and maximum junction temperature Vdc DC Electrical Characteristics and Vdc DC Electrical Characteristics Corrected footnote for V DD supply current in stop mode Appendix B. MC68HC08KX8 Overview Added to supply exception information for the MC68HC08KX8 Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev and MOTOROLA
5 Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 List of Sections Section 1. General Description Section 2. Memory Map Section 3. Random-Access Memory (RAM) Section. FLASH Memory Section 5. Central Processor Unit (CPU) Section 6. System Integration Module (SIM) Section 7. Internal Clock Generator Module (ICG) Section 8. Low-Voltage Inhibit (LVI) Section 9. Configuration Register (CONFIG) Section 10. Input/Output (I/O) Ports Section 11. Computer Operating Properly Module (COP) Section 12. External Interrupt (IRQ) Section 13. Keyboard Interrupt Module (KBI) Section 1. Serial Communications Interface Module (SCI) Section 15. Timebase Module (TBM) Section 16. Timer Interface Module (TIM) Section 17. Analog-to-Digital Converter (ADC) MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA List of Sections 3
6 List of Sections Section 18. Monitor ROM (MON) Section 19. Break (BRK) Module Section 20. Electrical Specifications Section 21. Mechanical Specifications Section 22. Ordering Information Appendix A. MC68HC908KX2 Overview Appendix B. MC68HC08KX8 Overview Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 List of Sections MOTOROLA
7 Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Section 1. General Description Table of Contents 1.1 Contents Introduction Features MCU Block Diagram Pin Assignments Supply Pins (V DD and V SS ) Oscillator Pins (OSC1 and OSC2) External Interrupt Pin (IRQ1) Port A Input/Output (I/O) Pins (PTA/KBD PTA0/KBD0) Analog Reference Pin (V REFH ) Port B Input/Output (I/O) Pins (PTB7/(OSC2)/RST PTB0/AD0) Section 2. Memory Map 2.1 Contents Introduction I/O Registers Monitor ROM Section 3. Random-Access Memory (RAM) 3.1 Contents Introduction Functional Description MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Table of Contents 7
8 Table of Contents Section. FLASH Memory.1 Contents Introduction Functional Description FLASH Control Register FLASH Page Erase Operation FLASH Mass Erase Operation FLASH Program/Read Operation FLASH Block Protection FLASH Block Protect Register Wait Mode Stop Mode Section 5. Central Processor Unit (CPU) 5.1 Contents 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 Instruction Set Summary Opcode Map Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev Table of Contents MOTOROLA
9 Table of Contents Section 6. System Integration Module (SIM) 6.1 Contents Introduction SIM Bus Clock Control and Generation Bus Timing Clock Startup from POR or LVI Reset Clocks in Stop Mode and Wait Mode Reset and System Initialization Active Resets from Internal Sources Power-On Reset Computer Operating Properly (COP) Reset Illegal Opcode Reset Illegal Address Reset Forced Monitor Mode Entry Reset (MENRST) Low-Voltage Inhibit (LVI) Reset SIM Counter SIM Counter During Power-On Reset SIM Counter During Stop Mode Recovery SIM Counter and Reset States Program Exception Control Interrupts Hardware Interrupts SWI Instruction Reset Low-Power Modes Wait Mode Stop Mode SIM Registers SIM Reset Status Register Interrupt Status Registers Interrupt Status Register Interrupt Status Register Interrupt Status Register MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Table of Contents 9
10 Table of Contents Section 7. Internal Clock Generator Module (ICG) 7.1 Contents Introduction Features Functional Description Clock Enable Circuit Internal Clock Generator Digitally Controlled Oscillator Modulo N Divider Frequency Comparator Digital Loop Filter External Clock Generator External Oscillator Amplifier External Clock Input Path Clock Monitor Circuit Clock Monitor Reference Generator Internal Clock Activity Detector External Clock Activity Detector Clock Selection Circuit Clock Selection Switches Clock Switching Circuit Usage Notes Switching Clock Sources Enabling the Clock Monitor Using Clock Monitor Interrupts Quantization Error in DCO Output Digitally Controlled Oscillator Binary Weighted Divider Variable-Delay Ring Oscillator Ring Oscillator Fine-Adjust Circuit Switching Internal Clock Frequencies Nominal Frequency Settling Time Settling to Within 15 Percent Settling to Within 5 Percent Total Settling Time Trimming Frequency on the Internal Clock Generator Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev Table of Contents MOTOROLA
11 Table of Contents 7.6 Low-Power Modes Wait Mode Stop Mode CONFIG or MOR Options External Clock Enable (EXTCLKEN) External Crystal Enable (EXTXTALEN) Slow External Clock (EXTSLOW) Oscillator Enable In Stop (OSCENINSTOP) Input/Output (I/O) Registers ICG Control Register ICG Multiplier Register ICG Trim Register ICG DCO Divider Register ICG DCO Stage Register Section 8. Low-Voltage Inhibit (LVI) 8.1 Contents 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 MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Table of Contents 11
12 Table of Contents Section 9. Configuration Register (CONFIG) 9.1 Contents Introduction Functional Description Section 10. Input/Output (I/O) Ports 10.1 Contents 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 Section 11. Computer Operating Properly Module (COP) 11.1 Contents Introduction Block Diagram Functional Description I/O Signals CGMXCLK STOP Instruction COPCTL Write Power-On Reset Internal Reset Reset Vector Fetch COPD (COP Disable) COPRS (COP Rate Select) COP Control Register Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev Table of Contents MOTOROLA
13 Table of Contents 11.7 Interrupts Monitor Mode Low-Power Modes Wait Mode Stop Mode Section 12. External Interrupt (IRQ) 12.1 Contents Introduction Features Functional Description IRQ1 Pin IRQ Status and Control Register Section 13. Keyboard Interrupt Module (KBI) 13.1 Contents Introduction Features Functional Description Keyboard Initialization Low-Power Modes Wait Mode Stop Mode I/O Registers Keyboard Status and Control Register Keyboard Interrupt Enable Register Section 1. Serial Communications Interface Module (SCI) 1.1 Contents Introduction MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Table of Contents 13
14 Table of Contents 1.3 Features Pin Name Conventions Functional Description Data Format Transmitter Character Length Character Transmission Break Characters Idle Characters Inversion of Transmitted Output Transmitter Interrupts Receiver Character Length Character Reception Data Sampling Framing Errors Baud Rate Tolerance Receiver Wakeup Receiver Interrupts Error Interrupts Low-Power Modes Wait Mode Stop Mode I/O Signals TxD (Transmit Data) RxD (Receive Data) I/O Registers SCI Control Register SCI Control Register SCI Control Register SCI Status Register SCI Status Register SCI Data Register SCI Baud Rate Register Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev Table of Contents MOTOROLA
15 Table of Contents Section 15. Timebase Module (TBM) 15.1 Contents Introduction Features Functional Description Interrupts TBM Interrupt Rate Low-Power Modes Wait Mode Stop Mode Timebase Control Register Section 16. Timer Interface Module (TIM) 16.1 Contents Introduction Features 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 Low-Power Modes Wait Mode Stop Mode I/O Signals I/O Registers MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Table of Contents 15
16 Table of Contents TIM Status and Control Register TIM Counter Registers TIM Counter Modulo Registers TIM Channel Status and Control Registers TIM Channel Registers Section 17. Analog-to-Digital Converter (ADC) 17.1 Contents 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 I/O Signals ADC Analog Power and ADC Voltage Reference Pins ADC Voltage In (ADCVIN) I/O Registers ADC Status and Control Register ADC Data Register ADC Input Clock Register Section 18. Monitor ROM (MON) 18.1 Contents Introduction Features Functional Description Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev Table of Contents MOTOROLA
17 Table of Contents 18.5 Monitor Mode Entry Normal Monitor Mode Forced Monitor Mode Monitor Mode Vectors Data Format Break Signal Baud Rate Force Monitor Mode Normal Monitor Mode Commands Security Section 19. Break (BRK) Module 19.1 Contents Introduction Features Functional Description Flag Protection During Break Interrupts CPU During Break Interrupts TIM1 and TIM2 During Break Interrupts COP During Break Interrupts Low-Power Modes Wait Mode Stop Mode Break Module Registers Break Status and Control Register Break Address Registers Break Status Register Break Flag Control Register Break Auxiliary Register MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Table of Contents 17
18 Table of Contents Section 20. Electrical Specifications 20.1 Contents Introduction Absolute Maximum Ratings Functional Operating Range Thermal Characteristics Vdc DC Electrical Characteristics Vdc DC Electrical Characteristics Internal Oscillator Characteristics External Oscillator Characteristics Trimmed Accuracy of the Internal Clock Generator Volt to 3.3-Volt Trimmed Internal Clock Generator Characteristics Volt to 5.5-Volt Trimmed Internal Clock Generator Characteristics Analog-to-Digital Converter (ADC) Characteristics Memory Characteristics Section 21. Mechanical Specifications 21.1 Contents Introduction Pin Plastic Dual In-Line Package (PDIP) Pin Small Outline Package (SOIC) Section 22. Ordering Information 22.1 Contents Introduction MC Order Numbers Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev Table of Contents MOTOROLA
19 Table of Contents Appendix A. MC68HC908KX2 Overview A.1 Contents A.2 Introduction A.3 Functional Description Appendix B. MC68HC08KX8 Overview B.1 Contents B.2 Introduction B.3 FLASH x ROM Module Changes B.3.1 FLASH for ROM Substitution B.3.2 Partial Use of FLASH-Related Module B. Configuration Register Programming B.5 Electrical Specifiations B.5.1 Absolute Maximum Ratings B.5.2 Functional Operating Range B.5.3 Thermal Characteristics B Vdc DC Electrical Characteristics B Vdc DC Electrical Characteristics B.5.6 Internal Oscillator Characteristics B.5.7 External Oscillator Characteristics B.5.8 Trimmed Accuracy of the Internal Clock Generator B Volt to 3.3-Volt Trimmed Internal Clock Generator Characteristics B Volt to 5.5-Volt Trimmed Internal Clock Generator Characteristics B.5.9 Analog-to-Digital Converter (ADC) Characteristics B.5.10 Memory Characteristics MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Table of Contents 19
20 Table of Contents Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev Table of Contents MOTOROLA
21 Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 List of Figures Figure Title Page 1-1 MC68HC908KX8 MCU Block Diagram PDIP and SOIC Pin Assignments Power Supply Bypassing Memory Map Control, Status, and Data Registers FLASH Control Register (FLCR) FLASH Programming Flowchart FLASH Block Protect Register (FLBPR) FLASH Block Protect Start Address CPU Registers Accumulator (A) Index Register (H:X) Stack Pointer (SP) Program Counter (PC) Condition Code Register (CCR) SIM Block Diagram SIM I/O Register Summary System Clock Signals Sources of Internal Reset Internal Reset Timing POR Recovery Interrupt Entry Interrupt Recovery Interrupt Processing Interrupt Recognition Example MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA List of Figures 21
22 List of Figures Figure Title Page 6-11 Wait Mode Entry Timing Wait Recovery from Interrupt Wait Recovery from Internal Reset Stop Mode Entry Timing Stop Mode Recovery from Interrupt SIM Reset Status Register (SRSR) Interrupt Status Register 1 (INT1) Interrupt Status Register 2 (INT2) Interrupt Status Register 3 (INT3) ICG Module Block Diagram Internal Clock Generator Block Diagram External Clock Generator Block Diagram Clock Monitor Block Diagram Internal Clock Activity Detector External Clock Activity Detector Clock Selection Circuit Block Diagram Code Example for Switching Clock Sources Code Example for Enabling the Clock Monitor ICG Module I/O Register Summary ICG Control Register (ICGCR) ICG Multiplier Register (ICGMR) ICG Trim Register (ICGTR) ICG DCO Divider Control Register (ICGDVR) ICG DCO Stage Control Register (ICGDSR) LVI Module Block Diagram LVI Status Register (LVISR) Configuration Register 2 (CONFIG2) Configuration Register 1 (CONFIG1) I/O Port Register Summary Port A Data Register (PTA) Data Direction Register A (DDRA) Port A I/O Circuit Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev List of Figures MOTOROLA
23 List of Figures Figure Title Page 10-5 Port A Input Pullup Enable Register (PTAPUE) Port B Data Register (PTB) Data Direction Register B (DDRB) Port B I/O Circuit COP Block Diagram COP Control Register (COPCTL) IRQ Block Diagram IRQ Status and Control Register (ISCR) Keyboard Module Block Diagram I/O Register Summary Keyboard Status and Control Register (KBSCR) Keyboard Interrupt Enable Register (KBIER) SCI Module Block Diagram SCI I/O Register Summary SCI Data Formats SCI Transmitter Break Characters SCI Receiver Block Diagram Receiver Data Sampling Slow Data Fast Data SCI Control Register 1 (SCC1) SCI Control Register 2 (SCC2) SCI Control Register 3 (SCC3) SCI Status Register 1 (SCS1) Flag Clearing Sequence SCI Status Register 2 (SCS2) SCI Data Register (SCDR) SCI Baud Rate Register (SCBR) Timebase Block Diagram Timebase Control Register (TBCR) MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA List of Figures 23
24 List of Figures Figure Title Page 16-1 TIM Block Diagram TIM I/O Register Summary PWM Period and Pulse Width TIM Status and Control Register (TSC) TIM Counter Registers (TCNTH and TCNTL) TIM Counter Modulo Registers (TMODH and TMODL) TIM Channel Status and Control Registers (TSC0 and TSC1) CHxMAX Latency TIM Channel Registers (TCH0H/L and TCH1H/L) ADC Block Diagram ADC Status and Control Register (ADSCR) ADC Data Register (ADR) ADC Input Clock Register (ADICLK) Normal Monitor Mode Circuit Monitor Data Format Break Transaction Read Transaction Write Transaction Stack Pointer at Monitor Mode Entry Monitor Mode Entry Timing Break Module Block Diagram I/O Register Summary Break Status and Control Register (BRKSCR) Break Address Register High (BRKH) Break Address Register Low (BRKL) SIM Break Status Register (SBSR) SIM Break Flag Control Register (SBFCR) Break Auxiliary Register (BRKAR) Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev List of Figures MOTOROLA
25 List of Figures Figure Title Page 20-1 Example of Frequency Variation Across Temperature, Trimmed at Nominal 3 Volts, 25 C, and N = Example of Frequency Variation Across Temperature, Trimmed at Nominal 3 Volts, 25 C, and N = Example of Frequency Variation Across Temperature, Trimmed at Nominal 5 Volts, 25 C, and N = Example of Frequency Variation Across Temperature, Trimmed at Nominal 5 Volts, 25 C, and N = A-1 MC68HC908KX2 Memory Map B-1 M68HC08KX8 MCU Block Diagram B-2 Mask Option Register 2 (MOR2) B-3 Mask Option Register 1 (MOR1) MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA List of Figures 25
26 List of Figures Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev List of Figures MOTOROLA
27 Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 List of Tables Table Title Page 2-1 Vector Locations Protect Start Address Examples Instruction Set Summary Opcode Map Signal Name Conventions Interrupt Sources Correction Sizes from DLF to DCO Quantization Error in ICLK Typical Settling Time Examples ICG Module Register Bit Interaction Summary LVIOUT Bit Indication External Clock Option Settings Port A Pin Functions Port B Pin Functions Pin Name Conventions Start Bit Verification Data Bit Recovery Stop Bit Recovery Character Format Selection SCI Baud Rate Prescaling MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA List of Tables 27
28 List of Tables Table Title Page 1-7 SCI Baud Rate Selection SCI Baud Rate Selection Examples Timebase Divider Selection Prescaler Selection Mode, Edge, and Level Selection Mux Channel Select ADC Clock Divide Ratio Monitor Mode Entry Monitor Mode Vector Relocation Normal Monitor Mode Baud Rate Selection READ (Read Memory) Command WRITE (Write Memory) Command IREAD (Indexed Read) Command IWRITE (Indexed Write) Command READSP (Read Stack Pointer) Command RUN (Run User Program) Command MC Order Numbers Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev List of Tables MOTOROLA
29 Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 1.1 Contents 1.2 Introduction Section 1. General Description 1.2 Introduction Features MCU Block Diagram Pin Assignments Supply Pins (V DD and V SS ) Oscillator Pins (OSC1 and OSC2) External Interrupt Pin (IRQ1) Port A Input/Output (I/O) Pins (PTA/KBD PTA0/KBD0) Analog Reference Pin (V REFH ) Port B Input/Output (I/O) Pins (PTB7/(OSC2)/RST PTB0/AD0) The MC68HC908KX8 is a member of the low-cost, high-performance M68HC08 Family of 8-bit microcontroller units (MCU). The M68HC08 Family is based on the customer-specified integrated circuit (CSIC) design strategy. 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. The information contained is this document pertains to the MC68HC908KX2 and the MC68HC08KX8 with the exceptions found in: Appendix A. MC68HC908KX2 Overview Appendix B. MC68HC08KX8 Overview MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA General Description 29
30 General Description 1.3 Features Features of the MC68HC908KX8 MCU include: High-performance M68HC08 architecture Fully upward-compatible object code with M6805, M16805, and M68HC05 Families Maximum internal bus frequencies of: 8 MHz at 5.0 V MHz at 3.0 V Internal oscillator requiring no external components: Software selectable bus frequencies 25 percent accuracy with trim capability to 2 percent Clock monitor Option to allow use of external clock source or external crystal/ceramic resonator Eight Kbytes of on-chip, in-circuit programmable FLASH memory FLASH program memory security (1) On-chip programming firmware for use with host personal computer which does not require high voltage for entry 192 bytes of on-chip random-access memory (RAM) 16-bit, 2-channel timer interface (TIM) module -channel, 8-bit, analog-to-digital converter (ADC) with highvoltage reference (V REFH ) double bonded to V DD pin Serial communications interface (SCI) module 5-bit keyboard interrupt (KBI) with wakeup feature 13 general-purpose input/output (I/O) ports: Five shared with KBI and TIM, with 15-mA source/15-ma sink capabilities and with programmable pullups on generalpurpose input ports Four shared with ADC Two shared with SCI 1. No security feature is absolutely secure. However, Motorola s strategy is to make reading or copying the FLASH difficult for unauthorized users. Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev General Description MOTOROLA
31 General Description MCU Block Diagram 1. MCU Block Diagram Low-voltage inhibit (LVI) module with software selectable trip points, 2.6-V or.3-v trip point Timebase module (TBM) with Clock prescalar for eight user-selectable, periodic real-time interrupts Active clock source in stop mode for periodic wakeup from stop using external crystal or internal oscillator External asynchronous interrupt pin with internal pullup (IRQ1) System protection features: Computer operating properly (COP) reset Low-voltage detection with reset Illegal opcode detection with reset Illegal address detection with reset 16-pin plastic dual in-line (PDIP) or small outline (SOIC) package Low-power design fully static with stop and wait modes Internal power-up reset circuit requiring no external pins 0 C to +125 C operation Features of the CPU08 include: Enhanced HC05 programming model Extensive loop control functions 16 addressing modes, eight more than the M68HC05 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 Third party C language support Figure 1-1 shows the structure of the MC68HC908KX8 MCU. MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA General Description 31
32 32 General Description MOTOROLA Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0,5 V DD V SS CPU REGISTERS M68HC08 CPU ARITHMETIC/LOGIC UNIT CONTROL AND STATUS REGISTERS 78 BYTES USER FLASH 7680 BYTES USER RAM 192 BYTES MONITOR ROM 295 BYTES USER FLASH VECTOR SPACE 36 BYTES FLASH BURN-IN ROM 102 BYTES INTERNAL CLOCK GENERATOR MODULE 62)7:$5(Ã6(/(&7$%/( POWER SYSTEM INTEGRATION MODULE IRQ MODULE INTERNAL BUS POWER-ON RESET MODULE SECURITY MODULE COMPUTER OPERATING PROPERLY MODULE LOW-VOLTAGE INHIBIT MODULE 2-CHANNEL TIMER INTERFACE MODULE KEYBOARD INTERRUPT MODULE ANALOG-TO-DIGITAL CONVERTER MODULE SERIAL COMMUNICATION INTERFACE MODULE PROGRAMMABLE TIME BASE MODULE BREAK MODULE Notes: 1. Pin contains integrated pullup resistor 2. High-current source/sink pin 3. Pin contains software selectable pullup resistor if general function I/O pin is configured as input.. Pins are used for external clock source or crystal/ceramic resonator option. Figure 1-1. MC68HC908KX8 MCU Block Diagram DDRB DDRA PTB PTA PTB0/AD0 PTB1/AD1 PTB2/AD2 PTB3/AD3 PTB/RxD PTB5/TxD PTB6/(OSC1) () PTB7/(OSC2)/RST () PTA0/KBD0 (2), (3) (2), (3) PTA1/KBD1 PTA2/KBD2/TCH0 (2), (3) (2), (3) PTA3/KBD3/TCH1 PTA/KBD (2), (3) General Description
33 General Description Pin Assignments 1.5 Pin Assignments Supply Pins (V DD and V SS ) Oscillator Pins (OSC1 and OSC2) Figure 1-2 shows the pin assignments for MC68HC908KX8. V SS PTA1/KBD1 PTA0/KBD0 IRQ1 PTB0/AD0 PTB1/AD1 PTB2/AD2 PTB3/AD PTA/KBD PTA3/KBD3/TCH1 PTA2/KBD2/TCH0 PTB/RxD PTB5/TxD PTB6/(OSC1) PTB7/(OSC2)/RST Figure 1-2. PDIP and SOIC Pin Assignments V DD and V SS are the power supply and ground pins. The MCU operates from a single power supply. Fast signal transitions on MCU pins place high, short-duration current demands on the power supply. To prevent noise problems, take special care to provide power supply bypassing at the MCU as shown in Figure 1-3. Place the bypass capacitors as close to the MCU power pins as possible. Use high-frequency response ceramic capacitors for C Bypass. C Bulk are optional bulk current bypass capacitors for use in applications that require the port pins to source high-current levels. The OSC1 and OSC2 pins are available through programming options in the configuration register. These pins then become the connections to an external clock source or crystal/ceramic resonator. PTB7 and PTB6 are not available for the crystal/ceramic resonator option and PTB6 is unavailable for the external clock source option V DD MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA General Description 33
34 General Description External Interrupt Pin (IRQ1) Figure 1-3. Power Supply Bypassing IRQ1 is an asynchronous external interrupt pin with an internal pullup resistor. See Section 12. External Interrupt (IRQ) Port A Input/Output (I/O) Pins (PTA/KBD PTA0/KBD0) 9 '' PTA/KBD PTA0/KBD0 is a 5-bit special-function port that shares its pins with the keyboard interrupt (KBI) module and the 2-channel timer module (TIM). Any or all of the port A pins can be programmed to serve as keyboard interrupt pins. The respective pin utilizes an internal pullup resistor when enabled. See Section 13. Keyboard Interrupt Module (KBI). Each port A pin contains a software selectable internal pullup resistor when the general-function I/O port is configured as an input. See Section 10. Input/Output (I/O) Ports. The pullup resistor is automatically disabled once a TIM special function is enabled for that pin. All port A pins are high-current source/sink pins. Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 V DD MCU C Bypass 0.1 µf + C Bulk Note: Component values shown represent typical applications. V SS 3 General Description MOTOROLA
35 General Description Pin Assignments NOTE: Analog Reference Pin (V REFH ) Any unused inputs and I/O ports should be tied to an appropriate logic level (either V DD or V SS ). Although the I/O ports of the MC68HC908KX8 do not require termination, termination is recommended to reduce the possibility of static damage. The V REFH pin is the analog reference voltage for the analog-to-digital converter (ADC) module. The voltage is supplied through a double-bond to the V DD pin. See Section 20. Electrical Specifications for ADC parameters Port B Input/Output (I/O) Pins (PTB7/(OSC2)/RST PTB0/AD0) PTB7/(OSC2)/RST PTB0/AD0 are general-purpose bidirectional I/O port pins, all sharing special functions. PTB7 and PTB6 share with the on-chip oscillator circuit through configuration options. See 7..3 External Clock Generator. PTB5 and PTB share with the SCI module. See Section 1. Serial Communications Interface Module (SCI). PTB3 PTB0 share with the ADC module. See Section 17. Analog-to-Digital Converter (ADC). MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA General Description 35
36 General Description Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev General Description MOTOROLA
37 Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 2.1 Contents 2.2 Introduction Section 2. Memory Map 2.2 Introduction I/O Registers Monitor ROM The central processor unit (CPU08) can address 6 Kbytes of memory space. The memory map, shown in Figure 2-1, includes: 7680 bytes of FLASH memory 192 bytes of random-access memory (RAM) 36 bytes of user-defined vectors 295 bytes of monitor read-only memory (ROM) MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Memory Map 37
38 Memory Map $0000 $003F $000 $00FF $0100 $0FFF $1000 $13FF $100 $DFFF $E000 $FDFF I/O REGISTERS (6 BYTES) RAM (192 BYTES) UNIMPLEMENTED (3839 BYTES) FLASH BURN-IN ROM (102 BYTES) UNIMPLEMENTED (52,22 BYTES) USER FLASH MEMORY (7680 BYTES) Technical Data MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 $FE00 $FE01 $FE02 $FE03 $FE0 $FE05 $FE06 $FE07 $FE08 $FE09 $FE0A $FE0B $FE0C $FE0D $FE1F $FE20 $FF6 $FF7 $FF7D $FF7E $FF7F $FFDB $FFDC $FFFF Figure 2-1. Memory Map RESERVED SIM RESET STATUS REGISTER (SRSR) RESERVED RESERVED INTERRUPT STATUS REGISTER 1 (INT1) INTERRUPT STATUS REGISTER 2 (INT2) INTERRUPT STATUS REGISTER 3 (INT3) RESERVED FLASH CONTROL REGISTER (FLCR) BREAK ADDRESS REGISTER HIGH (BRKH) BREAK ADDRESS REGISTER LOW (BRKL) BREAK STATUS AND CONTROL REGISTER (BRKSCR) LVI STATUS REGISTER (LVISR) UNIMPLEMENTED (18 BYTES) MONITOR ROM (295 BYTES) UNIMPLEMENTED (57 BYTES) FLASH BLOCK PROTECT REGISTER (FLBPR) UNIMPLEMENTED (90 BYTES) FLASH VECTORS (36 BYTES) 38 Memory Map MOTOROLA
39 Memory Map I/O Registers 2.3 I/O Registers Most of the control, status, and data registers are in the zero-page area of $0000 $003F. Additional input/output (I/O) registers have the following addresses: $FE01 SIM reset status register, SRSR $FE0 Interrupt status register 1, INT1 $FE05 Interrupt status register 2, INT2 $FE06 Interrupt status register 3, INT3 $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 $FF7E FLASH block protect register, FLBPR in non-volatile FLASH memory $FFFF COP control register, COPCTL A summary of the registers available on the MC68HC908KX8 is provided in Figure 2-2. Table 2-1 is a list of vector locations. Addr. Register Name Bit Bit 0 $0000 $0001 Port A Data Register (PTA) See page 151. Port B Data Register (PTB) See page 155. $0002 Unimplemented Read: Write: Reset: Read: Write: Reset: PTA PTA3 PTA2 PTA1 PTA0 Unaffected by reset PTB7 PTB6 PTB5 PTB PTB3 PTB2 PTB1 PTB0 Unaffected by reset = Unimplemented R = Reserved U = Unaffected Figure 2-2. Control, Status, and Data Registers (Sheet 1 of 7) MC68HC908KX8 MC68HC908KX2 MC68HC08KX8 Rev. 1.0 Technical Data MOTOROLA Memory Map 39
MC68HC908GR8A 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 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 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 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 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 informationM68HC08. 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 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 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 informationMC68HC908QY4 MC68HC908QT4 MC68HC908QY2 MC68HC908QT2 MC68HC908QY1 MC68HC908QT1
MC68HC908QY MC68HC908QT MC68HC908QY MC68HC908QT MC68HC908QY1 MC68HC908QT1 Data Sheet M68HC08 Microcontrollers MC68HC908QY/D Rev. 6 0/010 freescale.com MC68HC908QY MC68HC908QT MC68HC908QY MC68HC908QT MC68HC908QY1
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 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 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 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 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 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-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 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 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 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 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 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 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 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 informationEB366. In-Circuit Programming of FLASH Memory Using the Monitor Mode for the MC68HC908GP32. Introduction
Order this document by /D REV 1 Semiconductor Products Sector Engineering Bulletin In-Circuit Programming of FLASH Memory Using the Monitor Mode for the MC68HC908GP32 By Timothy J. Airaudi Applications
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 informationeprom 1 Fri Oct 13 13:01:
eprom 1 Fri Oct 1 1:01: 1.1 Introduction SECTION EPROM/OTPROM (PROM) This section describes erasable programmable read-only memory/one-time programmable read-only memory (EPROM/OTPROM (PROM)) programming..
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 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 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 information3. The MC6802 MICROPROCESSOR
3. The MC6802 MICROPROCESSOR This chapter provides hardware detail on the Motorola MC6802 microprocessor to enable the reader to use of this microprocessor. It is important to learn the operation and interfacing
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 informationFreescale Semiconductor, I
nc. /D Rev. 1, 11/2001 Power-On, Clock Selection, and Noise Reduction Techniques for the Freescale MC68HC908GP32 By Yan-Tai Ng Applications Engineering Microcontroller Division Hong Kong Introduction This
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 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 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 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 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 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 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 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 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 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 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 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 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 informationPC3 PC4 PC5 PC6 PC7 VSS VPP1 PB0 PB1 PB2 PB3 PB4 PB5
OEM- Product Catalogue TECHNICAL DATA VRH PD4/AN4 VDD PD3/AN3 PD2/AN2 PD1/AN1 PD0/AN0 NC OSC1 OSC2 _RESET _IRQ PLMA VRL NC PD5/AN5 PD6/AN6 PD7/AN7 TCMP1 TCMp2 TDO SCLK RDI PC0 PC1 PC2/ECLK 7 52 47 8 1
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 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 informationS12VR Hardware Design. Guidelines. 1 Introduction. 2 Hardware Design. Guidelines. 2.1 Voltage regulator. Freescale Semiconductor
Freescale Semiconductor Document Number: AN4643 Application Note Rev 1, 10/2013 S12VR Hardware Design Guidelines by: Carlos Aceff 1 Introduction This document lists the required external components and
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 informationCN310 Microprocessor Systems Design
CN310 Microprocessor Systems Design Microcontroller Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor
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 informationOSC Ring Type Ring or Resonator type (optional) RESET Pin No Yes
General Description Features est Series is a series of 3 to 340 seconds single chip high quality voice synthesizer IC which contains one 4-bit Input port (provided for est005 and above); three 4-bit I/O
More informationAN1239. HC05 MCU Keypad Decoding Techniques Using the MC68HC705J1A. Introduction
Order this document by /D Rev. 1.0 HC05 MCU Keypad Decoding Techniques Using the MC68HC705J1A By David Yoder CSIC Applications Introduction This application note demonstrates the use of a matrix keypad
More informationThe Atmel ATmega328P Microcontroller
Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction
More informationChapter 14. Motorola MC68HC11 Family MCU Architecture
Chapter 14 Motorola MC68HC11 Family MCU Architecture Lesson 1 68HC11 MCU Architecture overview 2 Outline CPU Registers, MCU Architecture overview Address and Data Buses Execution Unit- ALU Ports 3 CPU
More informationWed. Aug 23 Announcements
Wed. Aug 23 Announcements Professor Office Hours 1:30 to 2:30 Wed/Fri EE 326A You should all be signed up for piazza Most labs done individually (if not called out in the doc) Make sure to register your
More informationZ8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals
Embedded Flash Solutions Z8 Encore! XP F1680 Series High-performance 8-bit Flash MCU F1680 advantage low power - 1.8 V highly integrated peripherals flexible memory options optimized cost/performance target
More informationM68HC11E/D REV 3.1 HC11M68HC 1M68HC11M. M68HC11E Family Technical Data. HCMOS Microcontroller Unit
M68HC11E/D REV 3.1 68HC11M6 HC11M68HC 1M68HC11M M68HC11E Family Technical Data HCMOS Microcontroller Unit blank MC68HC11E Family Technical Data Motorola reserves the right to make changes without further
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 informationIDB-HC08GZ Evaluation Board For Motorola MC68HC908GZ/GR
IDB-HC08GZ Evaluation Board For Motorola MC68HC908GZ/GR User s Manual. Introduction Overview The IDB-HC08GZ Evaluation Board demonstrates the capabilities of the -pin MC68HC908GZ/GR devices. The IDB-HC08GZ
More informationClock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar
Clock and Fuses Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Reference WHY YOU NEED A CLOCK SOURCE - COLIN O FLYNN avrfreaks.net http://en.wikibooks.org/wiki/atmel_avr
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 informatione-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text
e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text In this lecture the detailed architecture of 8051 controller, register bank,
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 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 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 informationThe Atmel ATmega168A Microcontroller
Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Atmel ATmega168A Microcontroller by Allan G. Weber 1 Introduction The Atmel ATmega168A is one member of
More informationChapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.
Chapter 1 Microprocessor architecture ECE 3130 Dr. Mohamed Mahmoud The slides are copyright protected. It is not permissible to use them without a permission from Dr Mahmoud http://www.cae.tntech.edu/~mmahmoud/
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 informationeip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications
Embedded TCP/IP 10/100-BaseT Network Module Features 16-bit Microcontroller with Enhanced Flash program memory and static RAM data memory On board 10/100Mbps Ethernet controller, and RJ45 jack for network
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 informationUSB-4303 Specifications
Specifications Document Revision 1.0, February, 2010 Copyright 2010, Measurement Computing Corporation Typical for 25 C unless otherwise specified. Specifications in italic text are guaranteed by design.
More informationnc. Factors which affect reset are: 1. External components attached to the RESET pin 2. Low-voltage reset (LVR) on chip 3. Power-on reset (POR) detect
nc. Order this document by /D Motorola Semiconductor Resetting MCUs By Ross Mitchell MCU Applications Motorola Ltd. East Kilbride, Scotland Introduction A simple function such as reset can cause many problems
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 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 informationDS1676 Total Elapsed Time Recorder, Erasable
www.dalsemi.com Preliminary DS1676 Total Elapsed Time Recorder, Erasable FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed
More informationLecture 1. Course Overview and The 8051 Architecture
Lecture 1 Course Overview and The 8051 Architecture MCUniversity Program Lectures 8051 architecture t System overview of C8051F020 8051 instruction set System clock, crossbar and GPIO Assembler directives
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 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 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 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 informationHCS12 Serial Communications Interface (SCI) Block Guide V02.06
DOCUMENT NUMBER S12SCIV2/D HCS12 Serial Communications Interface (SCI) Block Guide V02.06 Original Release Date: June 4, 1999 Revised: Oct 10, 2001 Motorola, Inc. Motorola reserves the right to make changes
More informationOPERATIONAL UP TO. 300 c. Microcontrollers Memories Logic
OPERATIONAL UP TO 300 c Microcontrollers Memories Logic Whether You Need an ASIC, Mixed Signal, Processor, or Peripheral, Tekmos is Your Source for High Temperature Electronics Using either a bulk silicon
More informationProduct Brief Supports all SKEA64 devices
Freescale Semiconductor Document Number:SKEA64PB Product Brief Rev 1.1, 02/2014 Product Brief Supports all SKEA64 devices 1 Kinetis EA series Kinetis EA series provide the highly scalable portfolio of
More informationMOXSYN. General Description. Features. Symbol
MOXSYN C68MX11 CPU General Description The C68MX11 CPU core is based on the Motorola M68HC11 microcontroller controller, but has an enhanced full 16 bit architecture, thus requiring less clock cycles for
More informationDS 1682 Total Elapsed Time Recorder with Alarm
DS 1682 Total Elapsed Time Recorder with Alarm www.dalsemi.com FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed Time Counter
More informationMicrocontrollers and Interfacing week 10 exercises
1 SERIAL PERIPHERAL INTERFACE (SPI) HARDWARE Microcontrollers and Interfacing week 10 exercises 1 Serial Peripheral Interface (SPI) hardware Complex devices (persistent memory and flash memory cards, D/A
More informationCourse Introduction. Content: 21 pages 4 questions. Learning Time: 35 minutes
Course Introduction Purpose: The intent of this course is to provide embedded control engineers with valuable implementation instructions on HCS08 port pins and the Keyboard Interrupt (KBI) module. Objectives:
More informationArduino Uno R3 INTRODUCTION
Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running
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 informationMICROCONTROLLER AND PLC LAB-436 SEMESTER-5
MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 Exp:1 STUDY OF MICROCONTROLLER 8051 To study the microcontroller and familiarize the 8051microcontroller kit Theory:- A Microcontroller consists of a powerful
More informationPC87435 Enhanced IPMI Baseboard Management Controller
April 2003 Revision 1.01 PC87435 Enhanced IPMI Baseboard Management Controller General Description The PC87435 is a highlyintegrated Enhanced IPMI Baseboard Management Controller (BMC), or satellite management
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 informationMicrocontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.
Syllabus: : Introduction to, 8051 Microcontroller Architecture and an example of Microcontroller based stepper motor control system (only Block Diagram approach). (5 Hours) Introduction to A microcontroller
More informationARDUINO MEGA INTRODUCTION
ARDUINO MEGA INTRODUCTION The Arduino MEGA 2560 is designed for projects that require more I/O llines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for
More informationSH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A
Application Note for SH69P55A EVB SH69P55A EVB The SH69P55A EVB is used to evaluate the SH69P55A chip's function for the development of application program. It contains of a SH69V55A chip to evaluate the
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 information