mc68hc05j1a Freescale Semiconductor, Inc, mc68hc05j1a Datasheet

no-image

mc68hc05j1a

Manufacturer Part Number
mc68hc05j1a
Description
M68hc05 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor, Inc.
MC68HC05J1A
MC68HCL05J1A
MC68HSC05J1A
Technical Data
M68HC05
Microcontrollers
MC68HC05J1A/D
Rev. 3, 4/2002
For More Information On This Product,
Go to: www.freescale.com

Related parts for mc68hc05j1a

mc68hc05j1a Summary of contents

Page 1

... Freescale Semiconductor, Inc. M68HC05 Microcontrollers For More Information On This Product, Go to: www.freescale.com MC68HC05J1A MC68HCL05J1A MC68HSC05J1A Technical Data MC68HC05J1A/D Rev. 3, 4/2002 ...

Page 2

... Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com ...

Page 3

... To verify you have the latest information available, refer to: http://www.motorola.com/semiconductors/ 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. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Go to: www.freescale.com Technical Data ...

Page 4

... July, 2001 2.0 Section 12. Ordering Information Order Numbers April, 2002 3.0 Update World Wide Web address Technical Data Revision History Description — In table under Thermal — Added for clarity For More Information On This Product, Go to: www.freescale.com Page Number(s) 97 Table 12-1. MC 111 112 MC68HC05J1A — Rev. 3.0 ...

Page 5

... Section 7. Parallel Input/Output (I/O Section 8. Multifunction Timer Section 9. Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . 77 Section 10. Electrical Specifications Section 11. Mechanical Specifications . . . . . . . . . . . . . 109 Section 12. Ordering Information . . . . . . . . . . . . . . . . . 111 Appendix A. MC68HCL05J1A 117 Appendix B. MC68HSC05J1A . . . . . . . . . . . . . . . . . . . . 123 MC68HC05J1A — Rev. 3.0 For More Information On This Product, List of Sections Go to: www.freescale.com List of Sections Technical Data ...

Page 6

... Freescale Semiconductor, Inc. List of Sections Technical Data List of Sections For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 7

... Technical Data — MC68HC05J1A 1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 1.6.2 1.6.2.1 1.6.2.2 1.6.2.3 1.6.2.4 1.6.3 1.6.4 1.6.5 1.6.6 2.1 2.2 2.3 2.4 2.5 2.6 MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 1. General Description Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Mask Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 MCU Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 V and OSC1 and OSC2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 Crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Ceramic Resonator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 RC Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 External Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 IRQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 PA7–PA0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 PB5–PB0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Section 2 ...

Page 8

... IRQ Status and Control Register . . . . . . . . . . . . . . . . . . . 45 Timer Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Timer Overflow Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . 46 Real-Time Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Interrupt Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 Section 5. Resets Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Reset Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 External Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Computer Operating Properly (COP) Reset . . . . . . . . . . . . . 51 Illegal Address Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Table of Contents For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 9

... MC68HC05J1A — Rev. 3.0 For More Information On This Product, Reset States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 I/O Port Registers Multifunction Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 COP Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Section 6. Low-Power Modes Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Wait Mode Halt Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Data-Retention Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Section 7. Parallel Input/Output (I/O) Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 I/O Port Function Port Port A Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Data Direction Register A ...

Page 10

... Indexed, 16-Bit Offset Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Instruction Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Register/Memory Instructions .82 Read-Modify-Write Instructions . . . . . . . . . . . . . . . . . . . . . . 83 Jump/Branch Instructions Bit Manipulation Instructions . . . . . . . . . . . . . . . . . . . . . . . .86 Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Opcode Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Section 10. Electrical Specifications Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Table of Contents For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 11

... MC68HC05J1A — Rev. 3.0 For More Information On This Product, Operating Temperature Range Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Power Considerations 5.0-Volt DC Electrical Characteristics .99 3.3-Volt DC Electrical Characteristics .100 5.0-Volt Control Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Section 11. Mechanical Specifications Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 20-Pin Plastic Dual In-Line Package (PDIP .110 20-Pin Small Outline Integrated Circuit Package (SOIC 110 Section 12 ...

Page 12

... Technical Data Appendix A. MC68HCL05J1A Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 118 MC Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Appendix B. MC68HSC05J1A Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 124 Control Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 MC Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Table of Contents For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 13

... MC68HC05J1A — Rev. 3.0 For More Information On This Product, Title MC68HC05J1A Block Diagram . . . . . . . . . . . . . . . . . . . . . . 20 Pin Assignments .21 Bypassing Layout Recommendation . . . . . . . . . . . . . . . . . . 22 Crystal Connections with Feedback Resistor Mask Option . . . . . . . . . . . . . . . 23 Crystal Connections without Feedback Resistor Mask Option Ceramic Resonator Connections with Feedback Resistor Mask Option . . . . . . . . . . . . . . . 24 Ceramic Resonator Connections without Feedback Resistor Mask Option ...

Page 14

... External Interrupt Timing . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Stop Mode Recovery Timing . . . . . . . . . . . . . . . . . . . . . . .107 Power-On Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 External Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Maximum Run Mode I DD Maximum Wait Mode I DD List of Figures For More Information On This Product, Go to: www.freescale.com versus Frequency . . . . . . . . . . . 120 versus Frequency . . . . . . . . . . . 121 MC68HC05J1A — Rev. 3.0 Page ...

Page 15

... A-1 A-2 A-3 A-4 A-5 B-1 B-2 B-3 B-4 MC68HC05J1A — Rev. 3.0 For More Information On This Product, Title Reset/Interrupt Vector Addresses . . . . . . . . . . . . . . . . . . . . . 47 Port A Pin Functions Port B Pin Functions Real-Time Interrupt Rate Selection . . . . . . . . . . . . . . . . . . . . 74 Register/Memory Instructions Read-Modify-Write Instructions . . . . . . . . . . . . . . . . . . . . . . . 83 Jump and Branch Instructions . . . . . . . . . . . . . . . . . . . . . . . .85 Bit Manipulation Instructions Control Instructions Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Opcode Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 MC Order Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 ...

Page 16

... Freescale Semiconductor, Inc. List of Tables Technical Data List of Tables For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 17

... Freescale Semiconductor, Inc. Technical Data — MC68HC05J1A 1.1 Contents 1.2 1.3 1.4 1.5 1.6 1.6.1 1.6.2 1.6.2.1 1.6.2.2 1.6.2.3 1.6.2.4 1.6.3 1.6.4 1.6.5 1.6.6 MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 1. General Description Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Mask Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 MCU Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 V and OSC1 and OSC2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 Crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Ceramic Resonator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 RC Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 External Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25 RESET ...

Page 18

... Freescale Semiconductor, Inc. General Description 1.2 Introduction The MC68HC05J1A is a member of the low-cost, high-performance M68HC05 Family of 8-bit microcontroller units (MCU). The M68HC05 Family is based on the customer-specified integrated circuit (CSIC) design strategy. All MCUs in the family use the popular M68HC05 central processor unit (CPU) and are available with a variety of subsystems, memory sizes and types, and package types ...

Page 19

... Freescale Semiconductor, Inc. • • • • • • • • 1.4 Mask Options Available MC68HC05J1A mask options are: • • • • • • • MC68HC05J1A — Rev. 3.0 For More Information On This Product, 15-bit multifunction timer Computer operating properly (COP) watchdog ...

Page 20

... DETECT V DD POWER V SS OSC1 INTERNAL OSCILLATOR OSC2 Figure 1-1. MC68HC05J1A Block Diagram Technical Data shows the structure of the MC68HC05J1A MCU. USER ROM — 1240 BYTES USER RAM — 64 BYTES ARITHMETIC/LOGIC UNIT ACCUMULATOR M68HC05 MCU INDEX REGISTER STACK POINTER PROGRAM COUNTER 0 0 CONDITION CODE REGISTER ...

Page 21

... MCU. Place bypass capacitors as close to the MCU as possible, as Figure 1-3 use in applications that require the port pins to source high current levels. MC68HC05J1A — Rev. 3.0 For More Information On This Product, shows the MC68HC05J1A pin assignments. OSC1 1 OSC2 2 PB5 3 ...

Page 22

... Figure 1-3. Bypassing Layout Recommendation Crystal Ceramic resonator Resistor-capacitor (RC) network External clock signal . OP Figure 1-5 show a typical crystal oscillator circuit for an AT-cut, General Description For More Information On This Product, Go to: www.freescale.com The MCU divides the OSC Figure 1-4 MC68HC05J1A — Rev. 3.0 ...

Page 23

... To minimize output distortion, mount the crystal and capacitors as close as possible to the pins. NOTE: Use an AT-cut crystal and not an AT-strip crystal. The MCU may overdrive an AT-strip crystal MC68HC05J1A — Rev. 3.0 For More Information On This Product MCU XTAL XTAL Figure 1-4 ...

Page 24

... Figure 1-7. Ceramic Resonator Connections without Feedback Resistor Mask Option General Description For More Information On This Product, Go to: www.freescale.com for a ceramic resonator and follow the OSC1 OSC2 OSC1 R OSC2 MC68HC05J1A — Rev. 3.0 ...

Page 25

... External Clock With the RC oscillator mask option, an external clock from another CMOS-compatible device can drive the OSC1 input. Leave the OSC2 pin unconnected, as MC68HC05J1A — Rev. 3.0 For More Information On This Product, Figure 1-8 to drive the on-chip oscillator. The MCU ...

Page 26

... PA7–PA0 are the pins of port A, a general-purpose, bidirectional I/O port. See 1.6.6 PB5–PB0 PB5–PB0 are the pins of port B, a general-purpose, bidirectional I/O port. See Technical Data 5.3.2 External Reset for more information. 4.3.2.1 IRQ Pin. 7.4 Port A. 7.5 Port B. General Description For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 27

... The random-access memory (RAM) portion of memory holds variable data. Input/output (I/O) registers are memory-mapped so that the CPU can access their locations in the same way that it accesses all other memory locations. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Memory Map Input/Output (I/O) Section ...

Page 28

... The ROM is located in two areas of the memory map: 1. Addresses $0300–$07CF contain 1232 bytes of user ROM. 2. Addresses $07F8–$07FF contain 16 bytes of ROM reserved for Technical Data Figure Figure 2-2 user vectors. Memory For More Information On This Product, Go to: www.freescale.com 2-2. is located outside the 32-byte I/O MC68HC05J1A — Rev. 3.0 ...

Page 29

... RESERVED FOR TEST (ROM) 8 BYTES $07F7 $07F8 USER VECTORS (ROM) 8 BYTES $07FF MC68HC05J1A — Rev. 3.0 For More Information On This Product, PORT A DATA REGISTER PORT B DATA REGISTER PORT A DATA DIRECTION REGISTER PORT B DATA DIRECTION REGISTER TIMER STATUS AND CONTROL REGISTER TIMER COUNTER REGISTER ...

Page 30

... DDRA3 DDRA2 DDRA1 DDRB3 DDRB2 DDRB1 RTIE RT1 TOFR RTIFR Bit 4 Bit 3 Bit 2 Bit IRQR Reserved U = Unaffected MC68HC05J1A — Rev. 3.0 Bit 0 PA0 PB0 DDRA0 0 DDRB0 0 RT0 1 Bit ...

Page 31

... Unimplemented $001E Unimplemented Read: Reserved $001F Write: Reset: Read: COP Register (COPR) $07F0 Write: See page 51. Reset: Figure 2-2. I/O Register Summary (Sheet MC68HC05J1A — Rev. 3.0 For More Information On This Product, Bit PDIA6 PDIA5 PDIA4 PDIB5 PDIB4 U U ...

Page 32

... Freescale Semiconductor, Inc. Memory Technical Data Memory For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 33

... Contents 3.2 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.4 3.2 Introduction This section describes the central processor unit (CPU) registers. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 CPU Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Accumulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Index Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Stack Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Program Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Condition Code Register . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Arithmetic/Logic Unit (ALU Central Processor Unit (CPU) Go to: www.freescale.com ...

Page 34

... Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com ACCUMULATOR ( INDEX REGISTER ( STACK SP POINTER (SP PROGRAM PCH COUNTER (PC CONDITION CODE REGISTER (CCR) MC68HC05J1A — Rev. 3.0 ...

Page 35

... See Offset, and indexed addressing. The 8-bit index register also can serve as a temporary data storage location. Read: Write: Reset: MC68HC05J1A — Rev. 3.0 For More Information On This Product, Figure 3-2 Bit Unaffected by reset Figure 3-2. Accumulator (A) Figure 3-3 to determine the conditional address of 9 ...

Page 36

... Technical Data Figure 3 Figure 3-4. Stack Pointer (SP) Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com is a 16-bit register that MC68HC05J1A — Rev. 3.0 Bit ...

Page 37

... Read Write: Reset MC68HC05J1A — Rev. 3.0 For More Information On This Product Loaded with vector from $07FE and $07FF Figure 3-5. Program Counter (PC) Central Processor Unit (CPU) Go to: www.freescale.com Central Processor Unit (CPU) CPU Registers ...

Page 38

... STOP, or WAIT instruction. Technical Data Bit Unimplemented Figure 3-6. Condition Code Register (CCR) Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com Figure 3 8-bit Unaffected MC68HC05J1A — Rev. 3.0 Bit ...

Page 39

... Multiplication is not performed as a discrete operation but as a chain of addition and shift operations within the ALU. The multiply instruction requires 11 internal clock cycles to complete this chain of operations. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Central Processor Unit (CPU) Go to: www.freescale.com ...

Page 40

... Freescale Semiconductor, Inc. Central Processor Unit (CPU) Technical Data Central Processor Unit (CPU) For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 41

... This section describes how interrupts temporarily change the normal processing sequence. 4.3 Interrupt Sources These sources can generate interrupt requests: • • • • MC68HC05J1A — Rev. 3.0 For More Information On This Product, Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Interrupt Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Software Interrupt External Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 IRQ Pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42 PA3–PA0 Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 IRQ Status and Control Register ...

Page 42

... As soon as the I bit is cleared during the return from interrupt, the CPU can recognize the new interrupt request. Figure 4-1 Technical Data IRQ pin PA3–PA0 pins (mask option) shows the external interrupt logic. Interrupts For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 43

... IRQ pin latches an external interrupt request. A subsequent external interrupt request can be latched only after the voltage level on the IRQ pin returns to logic 1 and then falls again to logic 0. MC68HC05J1A — Rev. 3.0 For More Information On This Product, LEVEL-SENSITIVE TRIGGER (MASK OPTION) ...

Page 44

... PA3–PA0 pin latches an external interrupt request. A subsequent external interrupt request can be latched only after the voltage level of the previous interrupt signal returns to logic 0 and then rises again to logic 1. Technical Data Interrupts For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 45

... The CPU clears the IRQ flag when fetching the interrupt vector. Writing to the IRQ flag has no effect. Clear the IRQ flag by writing a logic 1 to the IRQR bit. IRQR — Interrupt Request Reset Bit This write-only bit clears the IRQ flag. MC68HC05J1A — Rev. 3.0 For More Information On This Product, $000A Bit 7 6 ...

Page 46

... Loads the program counter with the contents of the appropriate interrupt vector locations: – $07FC and $07FD (software interrupt vector) – $07FA and $07FB (external interrupt vector) – $07F8 and $07F9 (timer interrupt vector) Interrupts For More Information On This Product, Go to: www.freescale.com Register. Register. Figure 4-3. MC68HC05J1A — Rev. 3.0 ...

Page 47

... Function Reset Software interrupt (SWI) External interrupt Timer interrupts 1. The COP watchdog is a mask option. 2. Port A external interrupt capability is a mask option. MC68HC05J1A — Rev. 3.0 For More Information On This Product, • UNSTACKING ORDER • • 1 CONDITION CODE REGISTER 2 ACCUMULATOR 3 INDEX REGISTER ...

Page 48

... YES SWI INSTRUCTION? NO YES RTI INSTRUCTION? NO Figure 4-4. Interrupt Flowchart Interrupts For More Information On This Product, Go to: www.freescale.com CLEAR IRQ LATCH STACK PCL, PCH CCR SET I BIT LOAD PC WITH INTERRUPT VECTOR UNSTACK CCR PCH, PCL EXECUTE INSTRUCTION MC68HC05J1A — Rev. 3.0 ...

Page 49

... Introduction This section describes the four reset sources and how they initialize the microcontroller unit (MCU). MC68HC05J1A — Rev. 3.0 For More Information On This Product, Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Reset Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Power-On Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 External Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Computer Operating Properly (COP) Reset . . . . . . . . . . . . . 51 Illegal Address Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Reset States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 CPU ...

Page 50

... COP WATCHDOG (MASK OPTION) V POWER-ON RESET DD ILLEGAL ADDRESS RESET INTERNAL ADDRESS BUS Figure 5-1. Reset Sources pin generates a power-on reset. The DD Resets For More Information On This Product, Go to: www.freescale.com R RST TO CPU RESET AND SUBSYSTEMS LATCH INTERNAL CLOCK MC68HC05J1A — Rev. 3.0 ...

Page 51

... Reset: COPC — COP Clear Bit COPC is a write-only bit. Periodically writing a logic 0 to COPC prevents the COP watchdog from resetting the MCU. MC68HC05J1A — Rev. 3.0 For More Information On This Product, (internal clock cycle) delay after the oscillator becomes CYC , the MCU remains in the reset condition until ...

Page 52

... Clears bits DDRB5–DDRB0 in data direction register B so that port B pins are inputs Clears bits PDIB5–PDIB0 in pulldown register B so that port B pulldown devices are enabled Has no effect on port A or port B data registers Resets For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 53

... A reset has these effects on the multifunction timer: • • 5.4.4 COP Watchdog A reset clears the COP watchdog, if the COP watchdog is enabled by mask option. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Clears the timer status and control register Clears the timer counter register Resets Go to: www.freescale.com ...

Page 54

... Freescale Semiconductor, Inc. Resets Technical Data Resets For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 55

... Stop Mode The STOP instruction puts the microcontroller unit (MCU) in its lowest power-consumption mode and has these effects on the MCU: • • • MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 6. Low-Power Modes Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Wait Mode Halt Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Data-Retention Mode ...

Page 56

... Sets the IRQE bit in the IRQ status and control register, enabling external interrupts Stops the central processor unit (CPU) clock, but allows the internal oscillator and timer clock to continue to run Low-Power Modes For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 57

... STOP instruction is selected, the COP watchdog cannot be inadvertently turned off by a STOP instruction. Figure 6-1 MC68HC05J1A — Rev. 3.0 For More Information On This Product, An external interrupt signal on the IRQ pin — A high-to-low transition on the IRQ pin loads the program counter with the contents of locations $07FA and $07FB ...

Page 58

... For More Information On This Product, Go to: www.freescale.com HALT WAIT CLEAR I BIT IN CCR SET IRQE BIT IN ISCR TURN OFF CPU CLOCK TIMER CLOCK ACTIVE YES EXTERNAL RESET YES EXTERNAL INTERRUPT YES TIMER INTERRUPT YES COP COP RESET MC68HC05J1A — Rev. 3.0 ...

Page 59

... Drive the RESET pin to logic 0. 2. Lower the V To take the MCU out of data-retention mode: 1. Return V 2. Return the RESET pin to logic 1. MC68HC05J1A — Rev. 3.0 For More Information On This Product, voltage. The RESET pin must remain low DD continuously during data-retention mode. ...

Page 60

... Freescale Semiconductor, Inc. Low-Power Modes Technical Data Low-Power Modes For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 61

... The 14 bidirectional I/O pins form two parallel I/O ports. Each I/O pin is programmable as an input or an output. The contents of the data direction registers determine the data direction of each I/O pin. All 14 I/O pins have mask-optional, software-programmable pulldown devices. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 7. Parallel Input/Output (I/O) Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 I/O Port Function Port A ...

Page 62

... External interrupt capability (mask option: pins PA3–PA0) $0000 Bit PA7 PA6 PA5 PA4 Unaffected by reset Figure 7-1. Port A Data Register (PORTA) Parallel Input/Output (I/O) For More Information On This Product, Go to: www.freescale.com PA3 PA2 PA1 MC68HC05J1A — Rev. 3.0 Bit 0 PA0 ...

Page 63

... DDRA7–DDRA0 — Port A Data Direction Bits These read/write bits control port A data direction. NOTE: Avoid glitches on port A pins by writing to the port A data register before changing DDRA bits from logic 0 to logic 1. MC68HC05J1A — Rev. 3.0 For More Information On This Product, $0004 Bit 7 6 ...

Page 64

... Unimplemented Figure 7-3. Pulldown Register A (PDRA Corresponding port A pin pulldown device turned off 0 = Corresponding port A pin pulldown device turned on Parallel Input/Output (I/O) For More Information On This Product, Go to: www.freescale.com Figure 7- PDIA3 PDIA2 PDIA1 MC68HC05J1A — Rev. 3.0 Bit 0 PDIA0 0 ...

Page 65

... Therefore, BIH and BIL cannot test the port A external interrupt pins. Figure 7-4 READ $0004 WRITE $0004 WRITE $0000 READ $0000 WRITE $0010 RESET MC68HC05J1A — Rev. 3.0 For More Information On This Product, shows the port A I/O logic. DATA DIRECTION REGISTER A BIT DDRAx PORT A DATA REGISTER ...

Page 66

... Parallel Input/Output (I/O) For More Information On This Product, Go to: www.freescale.com Table 7-1 summarizes the Accesses Accesses to DDRA to PORTA Read/Write Read Write Pin PA7–PA0 PA7–PA0 PA7–PA0 Pin PA7–PA0 PA7–PA0 Pin PA7–PA0 PA7–PA0 PA7–PA0 MC68HC05J1A — Rev. 3.0 ...

Page 67

... These read/write bits are software programmable. Data direction of each bit is under the control of the corresponding bit in the port B data direction register. Bits 7 and 6 — Not used Bits 7 and 6 always read as logic 0s. Writes to these bits have no effect. MC68HC05J1A — Rev. 3.0 For More Information On This Product, $0001 Bit ...

Page 68

... DDRB5 DDRB4 Unimplemented Figure 7-6. Data Direction Register B (DDRB Corresponding port B pin configured as output 0 = Corresponding port B pin configured as input Parallel Input/Output (I/O) For More Information On This Product, Go to: www.freescale.com DDRB3 DDRB2 DDRB1 MC68HC05J1A — Rev. 3.0 Bit 0 DDRB0 0 ...

Page 69

... When a port B pin is programmed as an input, reading the port bit reads the voltage level on the pin. The data latch can always be written, regardless of the state of its DDR bit. Table 7-2 MC68HC05J1A — Rev. 3.0 For More Information On This Product, $0011 Bit 7 ...

Page 70

... Output U PDIB7–PDIB0 DDRB7–DDRB0 PB7–PB0 PB7–PB0 Parallel Input/Output (I/O) For More Information On This Product, Go to: www.freescale.com PBx 100- A PULLDOWN DEVICE Accesses Accesses to DDRB to PORTB Read/Write Read Write Pin PB7–PB0 Pin PB7–PB0 Pin PB7–PB0 MC68HC05J1A — Rev. 3.0 ...

Page 71

... Introduction This section describes the operation of the multifunction timer and the computer operating properly (COP) watchdog. organization of the timer subsystem. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 8. Multifunction Timer Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Timer Status and Control Register . . . . . . . . . . . . . . . . . . . . . . 73 COP Watchdog Multifunction Timer Go to: www ...

Page 72

... TIMER STATUS/CONTROL REGISTER ($0008) RTI RATE SELECT MOST SIGNIFICANT 7 BITS OF 15-STAGE RIPPLE COUNTER Multifunction Timer For More Information On This Product, Go to: www.freescale.com INTERNAL CLOCK 4 (XTAL 2) INTERRUPT REQUEST POWER-ON RESET (POR COP WATCHDOG RESET MC68HC05J1A — Rev. 3.0 ...

Page 73

... RTIE is also set. Clear RTIF by writing a logic 1 to the RTIFR bit. Writing to RTIF has no effect. Reset clears RTIF. TOIE — Timer Overflow Interrupt Enable Bit This read/write bit enables timer overflow interrupts. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Timer interrupt enable bits Timer interrupt flags ...

Page 74

... Multifunction Timer For More Information On This Product, Go to: www.freescale.com Number COP Timeout of Cycles (1) Period to COP Reset 17 65 131,072 18 131 262,144 19 262 524,288 20 524 1,048,576 MC68HC05J1A — Rev. 3.0 (1) ...

Page 75

... After 4064 cycles, the power-on reset circuit is released, clearing the counter again and allowing the MCU to come out of reset. A timer overflow function at the eighth counter stage allows a timer interrupt every 1024 internal clock cycles. MC68HC05J1A — Rev. 3.0 For More Information On This Product, $0009 Bit 7 ...

Page 76

... COP watchdog, the STOP instruction can be disabled by a mask option. Technical Data $07F0 Bit Unimplemented Figure 8-4. COP Register (COPR) Multifunction Timer For More Information On This Product, Go to: www.freescale.com Figure 8-4 MC68HC05J1A — Rev. 3.0 Bit 0 COPC 0 ...

Page 77

... Contents 9.2 9.3 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.3.6 9.3.7 9.3.8 9.4 9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.5 9.6 MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 9. Instruction Set Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Inherent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Immediate Direct . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Extended . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Indexed, No Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Indexed, 8-Bit Offset Indexed, 16-Bit Offset Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Instruction Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Register/Memory Instructions .82 Read-Modify-Write Instructions . . . . . . . . . . . . . . . . . . . . . . 83 Jump/Branch Instructions Bit Manipulation Instructions . . . . . . . . . . . . . . . . . . . . . . . .86 Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Instruction Set Summary ...

Page 78

... The eight addressing modes are: • • • • • • • • Technical Data Inherent Immediate Direct Extended Indexed, no offset Indexed, 8-bit offset Indexed, 16-bit offset Relative Instruction Set For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 79

... When using the Motorola assembler, the programmer does not need to specify whether an instruction is direct or extended. The assembler automatically selects the shortest form of the instruction. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Instruction Set Go to: www.freescale.com ...

Page 80

... Indexed, 16-bit offset instructions are useful for selecting the kth element in an n-element table anywhere in memory. As with direct and extended addressing, the Motorola assembler determines the shortest form of indexed addressing. Technical Data Instruction Set For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 81

... Instruction Types The MCU instructions fall into five categories: • • • • • MC68HC05J1A — Rev. 3.0 For More Information On This Product, Register/memory instructions Read-modify-write instructions Jump/branch instructions Bit manipulation instructions Control instructions Instruction Set Go to: www ...

Page 82

... Store accumulator in memory Store index register in memory Subtract memory byte from accumulator Instruction Set For More Information On This Product, Go to: www.freescale.com Mnemonic ADC ADD AND BIT CMP CPX EOR LDA LDX MUL ORA SBC STA STX SUB MC68HC05J1A — Rev. 3.0 ...

Page 83

... These instructions read a memory location or a register, modify its contents, and write the modified value back to the memory location or to the register. NOTE: Do not use read-modify-write operations on write-only registers. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Table 9-2. Read-Modify-Write Instructions Instruction Arithmetic shift left (same as LSL) ...

Page 84

... The CPU also transfers the tested bit to the carry/borrow bit of the condition code register. Technical Data Instruction Set For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 85

... Freescale Semiconductor, Inc. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Table 9-3. Jump and Branch Instructions Instruction Branch if carry bit clear Branch if carry bit set Branch if equal Branch if half-carry bit clear Branch if half-carry bit set Branch if higher Branch if higher or same Branch if IRQ pin high ...

Page 86

... CPU can also test and branch based on the state of any bit in any of the first 256 memory locations. Technical Data Table 9-4. Bit Manipulation Instructions Instruction Bit clear Branch if bit clear Branch if bit set Bit set Instruction Set For More Information On This Product, Go to: www.freescale.com Mnemonic BCLR BRCLR BRSET BSET MC68HC05J1A — Rev. 3.0 ...

Page 87

... Freescale Semiconductor, Inc. 9.4.5 Control Instructions These instructions act on CPU registers and control CPU operation during program execution. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Table 9-5. Control Instructions Instruction Clear carry bit Clear interrupt mask No operation Reset stack pointer Return from interrupt ...

Page 88

... REL 27 — — — — — REL 28 — — — — — REL — — — — — REL 22 — — — — — REL 24 MC68HC05J1A — Rev. 3 ...

Page 89

... Branch Never BRSET n opr rel Branch if Bit n Set BSET n opr Set Bit n BSR rel Branch to Subroutine CLC Clear Carry Bit CLI Clear Interrupt Mask MC68HC05J1A — Rev. 3.0 For More Information On This Product, Description PC (PC rel ? IRQ = 1 PC (PC rel ? IRQ = 0 (A) (M) PC ...

Page 90

... IX2 D8 IX1 DIR 3C INH — — — INH 5C IX1 DIR BC EXT CC — — — — — IX2 DC IX1 MC68HC05J1A — Rev. 3 ...

Page 91

... Logical OR Accumulator with Memory ORA opr,X ORA opr,X ORA ,X ROL opr ROLA ROLX Rotate Byte Left through Carry Bit ROL opr,X ROL ,X MC68HC05J1A — Rev. 3.0 For More Information On This Product, Description PC (PC Push (PCL); SP (SP) – 1 Push (PCH); SP (SP) – ...

Page 92

... IX2 DF IX1 IMM A0 DIR B0 EXT — — IX2 D0 IX1 — 1 — — — INH 83 1 — — — — — INH 97 MC68HC05J1A — Rev. 3 ...

Page 93

... Indexed, no offset addressing mode IX1 Indexed, 8-bit offset addressing mode IX2 Indexed, 16-bit offset addressing mode M Memory location N Negative flag n Any bit 9.6 Opcode Map See Table MC68HC05J1A — Rev. 3.0 For More Information On This Product, Description (M) – $00 A (X) opr PC PCH PCL REL rel rr SP ...

Page 94

... Freescale Semiconductor, Inc. Instruction Set Technical Data Instruction Set For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 95

... Control Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 10.2 Introduction This section contains electrical and timing specifications. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 10. Electrical Specifications Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Operating Temperature Range Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Power Considerations 5.0-Volt DC Electrical Characteristics .99 3.3-Volt DC Electrical Characteristics .100 5.0-Volt Control Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Electrical Specifications Go to: www ...

Page 96

... 10.7 5.0-Volt DC Electrical Characteristics Electrical Specifications For More Information On This Product, Go to: www.freescale.com and V within the range Out Symbol Value V –0 –0 +0 –65 to +150 STG and for guaranteed operating MC68HC05J1A — Rev. 3.0 Unit ...

Page 97

... C = Extended temperature range (– + Automotive temperature range (– +105 C) 10.5 Thermal Characteristics Maximum junction temperature Thermal resistance MC68HC05J1AP MC68HC05J1ADW Plastic dual in-line package (PDIP Small outline integrated circuit (SOIC) MC68HC05J1A — Rev. 3.0 For More Information On This Product, Rating Symbol (1) ( (3) T ...

Page 98

... Using this value of K, the values Electrical Specifications For More Information On This Product, Go to: www.freescale.com , in C can be obtained from and can be neglected. and T is approximately (at equilibrium) for a D and T can be obtained MC68HC05J1A — Rev. 3.0 (1) (2) (3) ...

Page 99

... DD the timer active loads. Less than all outputs 0 – 0.2 V. OSC2 capacitance linearly affects wait Stop I measured with OSC1 = V DD MC68HC05J1A — Rev. 3.0 For More Information On This Product, Symbol ...

Page 100

... V V — 0.2 V — — 1.0 2.0 — 0.5 1.0 — 0.1 5 — — — 100 — — 1 — — 12 — — 8 1.0 2.0 3.0 = 2.0 MHz) with all inputs 0.2 V from rail – 0 MC68HC05J1A — Rev. 3.0 Unit ...

Page 101

... Freescale Semiconductor, Inc. MC68HC05J1A — Rev. 3.0 For More Information On This Product, 4.20 4.30 4.40 4.50 4.60 4.70 4.80 4.90 5.00 0.00 –1.00 –2.00 I (mA) OH Figure 10-1. Typical 2.55 2.65 2.75 2.85 2.95 3.05 3.15 3.25 3.35 0.00 –1.00 –2.00 I (mA) OH Figure 10-2. Typical Electrical Specifications Go to: www.freescale.com Electrical Specifications 3.3-Volt DC Electrical Characteristics –40 C –3.00 –4.00 –5. 5 – ...

Page 102

... Figure 10-3. Typical V 800 700 600 500 400 300 200 100 0 0.00 2.00 4.00 Figure 10-4. Typical V Electrical Specifications For More Information On This Product, Go to: www.freescale.com –40 C 6.00 8.00 10.00 I (mA 5 –40 C 6.00 8.00 10.00 I (mA 3 MC68HC05J1A — Rev. 3.0 ...

Page 103

... Figure 10-5. Typical Operating I 2.500 2.000 1.500 1.000 0.500 0.000 0.00 1.00 Figure 10-6. Typical Wait Mode I MC68HC05J1A — Rev. 3.0 For More Information On This Product, 1.00 1.50 2.00 2.50 BUS FREQUENCY (MHz) 2.00 3.00 4.00 5.00 BUS FREQUENCY (MHz) Electrical Specifications Go to: www.freescale.com Electrical Specifications 3.3-Volt DC Electrical Characteristics 5 ...

Page 104

... Freescale Semiconductor, Inc. Electrical Specifications 10.0 1.0 1.8 V 0.1 2.4 V 3.0 V 3.6 V 4.5 V 5.0 V 5.5 V 0.01 10 Figure 10-7. Typical Internal Operating Frequency for Various V Technical Data 100 RESISTANCE ( — RC Option Only DD Electrical Specifications For More Information On This Product, Go to: www.freescale.com 1000 MC68HC05J1A — Rev. 3.0 ...

Page 105

... The 2-bit timer prescaler is the limiting factor in determining timer resolution. 4. The minimum period should not be less than the number of cycles required to execute the interrupt service ILIL IHIH t routine plus 19 . cyc MC68HC05J1A — Rev. 3.0 For More Information On This Product, (1) Symbol (2) f OSC ...

Page 106

... Electrical Specifications For More Information On This Product, Go to: www.freescale.com Min Max — 2.0 dc 2.0 — 2.0 — 1.0 — 1.0 dc 1.0 — 1.0 1000 — 1.5 — 4.0 — 250 — (4) — 250 — (4) — 400 — OL MC68HC05J1A — Rev. 3.0 Unit MHz MHz ns t cyc t cyc ns t cyc ns t cyc ns ...

Page 107

... INTERNAL ADDRESS BUS Notes: 1. Internal clocking from OSC1 pin 2. Edge-triggered external interrupt mask option 3. Edge- and level-triggered external interrupt mask option 4. Reset vector shown as example Figure 10-9. Stop Mode Recovery Timing MC68HC05J1A — Rev. 3.0 For More Information On This Product, t ILIL t ILIH t ILIH ...

Page 108

... NEW PCH t RL Figure 10-11. External Reset Timing Electrical Specifications For More Information On This Product, Go to: www.freescale.com 1FFE 1FFE 1FFE 1FFF NEW NEW PCH PCL 1FFF NEW PC NEW PC NEW OP DUMMY PCL CODE MC68HC05J1A — Rev. 3.0 ...

Page 109

... Freescale Semiconductor, Inc. Technical Data — MC68HC05J1A 11.1 Contents 11.2 11.3 11.4 11.2 Introduction Package dimensions for the MC68HC05J1A are provided in this section. The packages are: • • MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 11. Mechanical Specifications Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 20-Pin Plastic Dual In-Line Package (PDIP .110 20-Pin Small Outline Integrated Circuit Package (SOIC) ...

Page 110

... 0.020 0.040 0.51 1.01 MILLIMETERS INCHES DIM MIN MAX MIN MAX A 10.15 10.45 0.400 0.411 B 7.40 7.60 0.292 0.299 C 2.35 2.65 0.093 0.104 D 0.35 0.49 0.014 0.019 F 0.50 0.90 0.020 0.035 G 1.27 BSC 0.050 BSC J 0.25 0.32 0.010 0.012 K 0.10 0.25 0.004 0.009 10.05 10.55 0.395 0.415 R 0.25 0.75 0.010 0.029 MC68HC05J1A — Rev. 3.0 ...

Page 111

... Freescale Semiconductor, Inc. Technical Data — MC68HC05J1A 12.1 Contents 12.2 12.3 12.4 12.5 12.6 12.7 12.8 12.9 12.2 Introduction This section contains instructions for ordering custom-masked read-only memory (ROM) microcontroller units (MCU). 12.3 MC Order Numbers 20-pin dual in-line package 20-pin small outline integrated circuit (SOIC) MC68HC05J1A — Rev. 3.0 For More Information On This Product, Section 12 ...

Page 112

... MS-DOS® or PC-DOS® 5 1/4-inch diskette (double-sided double-density 360 Kbytes or double-sided high-density 1.2 Mbytes) Erasable, programmable read-only memory(s) (EPROM) 2716, 2732, 2764, 27128, 27256, or 27512 (depending on the size of the memory map of the MCU) Ordering Information For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 113

... Motorola keeps this code confidential and uses it only to expedite ROM pattern generation in case of any difficulty with the object code. Label the diskette with the filename of the source code. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Customer name Customer part number ...

Page 114

... Motorola sends the customer a computer printout of the listing verify file along with a listing verify form. 1. Styrofoam is a registered trademark of The Dow Chemical Company. Technical Data Customer name Customer part number Checksum Project or product name Date 1 . Ordering Information For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 115

... ROM pattern was properly implemented. The ten RVUs are free of charge with the minimum order quantity but are not production parts. RVUs are not guaranteed by Motorola Quality Assurance. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Ordering Information Go to: www.freescale.com ...

Page 116

... Freescale Semiconductor, Inc. Ordering Information Technical Data Ordering Information For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 117

... Technical Data — MC68HC05J1A A.1 Contents A.2 A.3 A.4 A.2 Introduction This appendix introduces the MC68HCL05J1A, a low-power version of the MC68HC05J1A. All of the information in this document applies to the MC68HCL05J1A with the exceptions given in this appendix. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Appendix A. MC68HCL05J1A Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 118 MC Ordering Information ...

Page 118

... For More Information On This Product, Go to: www.freescale.com and applies to the Table A-1, Table = 1.8–2.4 Vdc) DD Min Typ Max V –0.3 — — DD — — 0.3 — — 0.3 = 2.5–3.6 Vdc) DD Min Typ Max V –0.3 — — DD — — 0.3 — — 0.3 MC68HC05J1A — Rev. 3.0 A-2, Unit V V Unit V V ...

Page 119

... V from rail loads. Less than all outputs OSC2. All ports configured as inputs capacitance linearly affects WAIT I 4. Stop I measured with OSC1 = V DD MC68HC05J1A — Rev. 3.0 For More Information On This Product, Symbol = 2.1 MHz 1.0 MHz) op ...

Page 120

... 1.0 MHz 500 kHz 500 kHz 2.4 V 0.2 0.3 0.4 0.5 0.6 INTERNAL CLOCK FREQUENCY (MHz) versus Frequency DD MC68HCL05J1A For More Information On This Product, Go to: www.freescale.com (1) Min Max Unit Typ 50 100 200 100 0.7 0.8 0.9 1.0 MC68HC05J1A — Rev. 3.0 ...

Page 121

... Figure A-2. Maximum Wait Mode I A.4 MC Ordering Information Table A-5 20-pin dual in-line package (DIP) 20-pin small outline integrated circuit (SOIC) MC68HC05J1A — Rev. 3.0 For More Information On This Product 2.4 V 0.2 0.3 0.4 0.5 0.6 INTERNAL CLOCK FREQUENCY (MHz) versus Frequency DD gives order numbers for the available package types. ...

Page 122

... Freescale Semiconductor, Inc. MC68HCL05J1A Technical Data MC68HCL05J1A For More Information On This Product, Go to: www.freescale.com MC68HC05J1A — Rev. 3.0 ...

Page 123

... B.1 Contents B.2 B.3 B.4 B.5 B.2 Introduction This appendix introduces the MC68HSC05J1A, a high-speed version of the MC68HC05J1A. All of the information in this document applies to the MC68HSC05J1A with the exceptions given in this appendix. MC68HC05J1A — Rev. 3.0 For More Information On This Product, Appendix B. MC68HSC05J1A Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 124 Control Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 MC Ordering Information ...

Page 124

... All ports configured as inputs 0 MC68HSC05J1A For More Information On This Product, Go to: www.freescale.com and 10.8 applies to the MC68HSC05J1A B-1. (1) Min Max Typ — 4.5 6.0 — 2.5 3.25 — 0.2 10 — 2.0 20 — 2.0 4.0 — 1.0 2.0 — 0.1 5.0 — 1 –0.2 V. OSC2 capacitance –0 MC68HC05J1A — Rev. 3.0 Unit ...

Page 125

... Cycle time ( IRQ pulse width low (edge-triggered) PA3–PA0 interrupt pulse width (edge-triggered) OSC1 pulse width 1. Use only AT-cut crystals. MC68HC05J1A — Rev. 3.0 For More Information On This Product, 10.9 5.0-Volt Control Timing applies to the MC68HSC05J1A with the exceptions given in and Table B-3. ...

Page 126

... Technical Data gives order numbers for the available package types. Table B-4. MC Order Numbers Package Type MC68HSC05J1A For More Information On This Product, Go to: www.freescale.com Temperature Order Range Number MC68HSC05J1AP MC68HSC05J1ADW MC68HC05J1A — Rev. 3.0 ...

Page 127

... Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com ...

Page 128

... Freescale Semiconductor was negligent regarding the design or manufacture of the part. MC68HC05J1A/D ...

Related keywords