MC68HC705SR3 MOTOROLA [Motorola, Inc], MC68HC705SR3 Datasheet

no-image

MC68HC705SR3

Manufacturer Part Number
MC68HC705SR3
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller Units
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC705SR3CP
Manufacturer:
MOTOROLA
Quantity:
82
Part Number:
MC68HC705SR3CP
Manufacturer:
MOTCROLA
Quantity:
20 000
Part Number:
MC68HC705SR3CPE
Manufacturer:
FREESCALE
Quantity:
1 488
Part Number:
MC68HC705SR3CPE
Manufacturer:
FREESCA
Quantity:
100
Part Number:
MC68HC705SR3CPE
Manufacturer:
FREESCA
Quantity:
100
Part Number:
MC68HC705SR3CPE
Manufacturer:
FREESCA
Quantity:
100
Part Number:
MC68HC705SR3CPE
Manufacturer:
FREESCALE
Quantity:
20 000
Freescale Semiconductor, Inc.
MC68HC05SR3D/H
REV. 2
HC05
MC68HC05SR3
MC68HC705SR3
TECHNICAL
DATA
!MOTOROLA
For More Information On This Product,
Go to: www.freescale.com

Related parts for MC68HC705SR3

MC68HC705SR3 Summary of contents

Page 1

... Freescale Semiconductor, Inc. HC05 MC68HC05SR3 MC68HC705SR3 TECHNICAL DATA For More Information On This Product, !MOTOROLA Go to: www.freescale.com MC68HC05SR3D/H REV. 2 ...

Page 2

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

Page 3

... ANALOG TO DIGITAL CONVERTER CPU CORE AND INSTRUCTION SET ELECTRICAL SPECIFICATIONS MECHANICAL SPECIFICATIONS For More Information On This Product, Go to: www.freescale.com GENERAL DESCRIPTION PIN DESCRIPTIONS INPUT/OUTPUT PORTS MEMORY AND REGISTERS RESETS AND INTERRUPTS LOW POWER MODES OPERATING MODES MC68HC705SR3 TIMER ...

Page 4

... Freescale Semiconductor, Inc. 1 GENERAL DESCRIPTION 2 PIN DESCRIPTIONS 3 INPUT/OUTPUT PORTS 4 MEMORY AND REGISTERS 5 RESETS AND INTERRUPTS 6 TIMER 7 ANALOG TO DIGITAL CONVERTER 8 CPU CORE AND INSTRUCTION SET 9 LOW POWER MODES 10 OPERATING MODES 11 ELECTRICAL SPECIFICATIONS 12 MECHANICAL SPECIFICATIONS A MC68HC705SR3 For More Information On This Product, Go to: www.freescale.com TPG ...

Page 5

... Freescale Semiconductor, Inc. MC68HC05SR3 MC68HC705SR3 High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller Units All Trade Marks recognized. This document contains information on new products. Specifications and information herein are subject to change without notice. All products are sold on Motorola’s Terms & Conditions of Supply. In ordering a product covered by this document the Customer agrees to be bound by those Terms & ...

Page 6

Freescale Semiconductor, Inc. Conventions Register and bit mnemonics are defined in the paragraphs describing them. An overbar is used to designate an active-low signal, eg: RESET. Unless otherwise stated, blank cells in a register diagram indicate that the bit is ...

Page 7

... LOW POWER MODES SECTION 10 OPERATING MODES SECTION 11 ELECTRICAL SPECIFICATIONS SECTION 12 MECHANICAL SPECIFICATIONS APPENDIX A MC68HC705SR3 Comments: 6. Have you found any errors? If so, please comment: 7. From your point of view, is anything missing from the document? If so, please say what: For More Information On This Product, Go to: www.freescale.com ...

Page 8

Freescale Semiconductor, Inc. 8. How could we improve this document? 9. How would you rate Motorola’s documentation? – In general – Against other semiconductor suppliers 10. Which semiconductor manufacturer provides the best technical documentation? 11. Which company (in any field) ...

Page 9

Freescale Semiconductor, Inc. TABLE OF CONTENTS Paragraph Number 1.1 Features.................................................................................................................1-1 1.2 Mask Options.........................................................................................................1-2 2.1 Functional Pin Descriptions ...................................................................................2-1 2.2 OSC1 and OSC2 Connections ..............................................................................2-2 2.2.1 Crystal Oscillator..............................................................................................2-3 2.2.2 External Clock..................................................................................................2-3 2.2.3 RC Oscillator Option ........................................................................................2-4 2.3 Pin Assignments ....................................................................................................2-5 3.1 ...

Page 10

Freescale Semiconductor, Inc. Paragraph Number MEMORY AND REGISTERS 4.1 I/O Registers .........................................................................................................4-1 4.2 RAM ......................................................................................................................4-1 4.3 ROM ......................................................................................................................4-1 4.4 Memory Map .........................................................................................................4-2 4.5 I/O Registers Summary .........................................................................................4-3 RESETS AND INTERRUPTS 5.1 RESETS ................................................................................................................5-1 5.1.1 Power-On Reset (POR) ...................................................................................5-1 5.1.2 RESET ...

Page 11

Freescale Semiconductor, Inc. Paragraph Number CPU CORE AND INSTRUCTION SET 8.1 Registers ...............................................................................................................8-1 8.1.1 Accumulator (A) ...............................................................................................8-1 8.1.2 Index register (X)..............................................................................................8-2 8.1.3 Program counter (PC) ......................................................................................8-2 8.1.4 Stack pointer (SP) ............................................................................................8-2 8.1.5 Condition code register (CCR).........................................................................8-2 8.2 Instruction set ........................................................................................................8-3 ...

Page 12

... QFP Package (Case 824A-01) .................................................................12-3 A.1 Features ............................................................................................................... A-1 A.2 Modes of Operation .............................................................................................. A-2 A.3 User Mode ............................................................................................................ A-2 A.4 Bootstrap Mode .................................................................................................... A-2 A.4.1 EPROM Programming .................................................................................... A-3 A.4.2 Program Control Register (PCR) .................................................................... A-3 A.4.3 EPROM Programming Sequence ................................................................... A-3 A.5 Mask Option Register (MOR) ............................................................................... A-4 A.6 Pin Assignments................................................................................................... A-5 MOTOROLA For More Information On This Product, iv TITLE MC68HC705SR3 Go to: www.freescale.com Page Number TPG MC68HC05SR3 ...

Page 13

... Pin Assignment for 44-pin QFP ..............................................................................2-6 3-1 Port I/O Circuitry .....................................................................................................3-2 3-2 Typical IOL vs VOL @VDD=5V ..............................................................................3-3 3-3 Typical IOH vs VOH @VDD=5V.............................................................................3-4 3-4 Typical IOL vs VOL @VDD=3V ..............................................................................3-4 3-5 Typical IOL vs VOL @VDD=3V ..............................................................................3-5 4-1 MC68HC05SR3/MC68HC705SR3 Memory Map ...................................................4-2 5-1 Interrupt Stacking Order .........................................................................................5-3 5-2 Hardware Interrupt Processing Flowchart ..............................................................5-4 5-3 External Interrupt....................................................................................................5-6 5-4 Keyboard Interrupt Circuitry....................................................................................5-8 6-1 Timer Block Diagram ..............................................................................................6-2 7-1 ADC Converter Block Diagram ...

Page 14

Freescale Semiconductor, Inc. THIS PAGE LEFT BLANK INTENTIONALLY MOTOROLA For More Information On This Product to: www.freescale.com TPG MC68HC05SR3 ...

Page 15

... DC Electrical Characteristics for 5V Operation.....................................................11-2 11-2 DC Electrical Characteristics for 3V Operation.....................................................11-3 11-3 ADC Electrical Characteristics for 5V and 3V Operation......................................11-4 11-4 Control Timing for 5V Operation ...........................................................................11-5 11-5 Control Timing for 3V Operation ...........................................................................11-6 A-1 MC68HC705SR3 Operating Mode Entry Conditions ............................................ A-2 MC68HC05SR3 For More Information On This Product, Go to: www.freescale.com TITLE Page Number TPG MOTOROLA vii ...

Page 16

Freescale Semiconductor, Inc. THIS PAGE LEFT BLANK INTENTIONALLY MOTOROLA For More Information On This Product, viii Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 17

... The low power advantage of CMOS is combined with the addition of I/O and port modifications which help eliminate external components in cost sensitive applications. The MC68HC705SR3 is an EPROM version of the MC68HC05SR3 available in windowed and OTP packages. All references to the MC68HC05SR3 apply equally to the MC68HC705SR3, unless otherwise stated. References specifi ...

Page 18

Freescale Semiconductor, Inc. 1 • Internal 100K pull-up resistors on IRQ and RESET pins • Four channel 8-bit Analog to Digital Converter • Low Voltage Reset • Available in 40-pin PDIP, 42-pin SDIP and 44-pin QFP packages 1.2 Mask Options ...

Page 19

... RESET RESET CONDITION CODE REGISTER LOW VOLTAGE RESET 7-BIT PRESCALER POWER VDD TIMER CONTROL VSS OSC1 OSC 2 OSC2 TIMER Figure 1-1 MC68HC05SR3/ MC68HC705SR3 Block Diagram MC68HC05SR3 For More Information On This Product, Go to: www.freescale.com KEYBOARD INTERRUPT 0 ACCUMULATOR 0 INDEX REGISTER STACK POINTER ...

Page 20

Freescale Semiconductor, Inc. 1 THIS PAGE LEFT BLANK INTENTIONALLY MOTOROLA 1-4 GENERAL DESCRIPTION For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 21

... This is the EPROM programming voltage input pin on the 8 13 MC68HC705SR3. On the MC68HC05SR3 part, this pin should be connected to VDD or VSS. IRQ is software programmable to provide two choices of interrupt triggering sensitivity. These options are: 1) negative-edge-sensitive triggering only both negative-edge-sensitive and level-sensitive triggering ...

Page 22

Freescale Semiconductor, Inc. 40-pin PDIP PIN NAME PIN No. 2 PA0-PA7 33-40 PB0-PB7 25-32 PC0-PC7 9-16 PD0-PD7 24-21, 20-17 AN0-AN3 24-21 IRQ2 18 VRH 19 VRL 20 2.2 OSC1 and OSC2 Connections The OSC1 and OSC2 pins are the connections ...

Page 23

Freescale Semiconductor, Inc. The external oscillator clock frequency, f frequency MCU OSC1 10M 25p (a) Crystal or ceramic resonator connections MCU OSC1 Unconnected (c) RC option 1 - external resistor 10% to 25% accurate Figure 2-1 Oscillator ...

Page 24

Freescale Semiconductor, Inc. 2.2.3 RC Oscillator Option 2 This configuration is intended to be the lowest cost option in applications where oscillator accuracy is not important. An internal constant current source and a capacitor have been integrated on-chip, connected between ...

Page 25

Freescale Semiconductor, Inc. 2.3 Pin Assignments RESET TIMER PD6/IRQ2 PD5/VRH PD4/VRL Figure 2-4 Pin Assignment for 40-pin PDIP MC68HC05SR3 For More Information On This Product, Go to: www.freescale.com VSS 1 40 PA7 2 39 PA6 IRQ 3 38 PA5 VDD ...

Page 26

Freescale Semiconductor, Inc. 2 VSS(EXT) MOTOROLA 2-6 VSS(INT VSS(EXT RESET 3 40 IRQ 4 39 VDD 5 38 OSC1 6 37 OSC2 7 36 VPP 8 35 TIMER 9 34 PC0 10 33 PC1 11 32 ...

Page 27

Freescale Semiconductor, Inc. INPUT/OUTPUT PORTS The MC68HC05SR3 has 32 bidirectional I/O lines, arranged as four 8-bit I/O ports (Port and D). The individual bits in these ports are programmable as either inputs or outputs under software control ...

Page 28

Freescale Semiconductor, Inc. 3 INTERNAL LATCHED OUTPUT MC68HC05 CONNECTIONS 3.1.2 Port Data Direction Registers Each port pin may be programmed as an input by clearing the corresponding bit in the DDR, or programmed as an output by setting the corresponding ...

Page 29

Freescale Semiconductor, Inc. 3.4 PD6 — IRQ2 The port pin PD6 is configured as IRQ2 by setting the IRQ2E bit in the MCR. The external interrupt IRQ2 behaves similar to IRQ except it is edge-triggered only. See Section 5.2.2.2 for ...

Page 30

Freescale Semiconductor, Inc. 0 –1 3 –2 –3 –4 –5 –6 –7 –8 –9 –10 –11 –12 –13 –14 –15 MOTOROLA 3-4 V (volts worst case typical best case PB5-PB7 in low current mode worst case ...

Page 31

Freescale Semiconductor, Inc. Figure 3-5 Typical I 3.6 Programmable Pull-Up Devices Ports B, C, and D have 20K pull-up resistors, which can be connected or disconnected, by setting appropriate bits in the Port Option Register (at $0A). 3.6.1 Port Option ...

Page 32

Freescale Semiconductor, Inc. PCP — Port C Pull-up 1 (set) – The internal 20K pull-up resistors are connected to the inputs of Port C. 0 (clear) – No pull-up resistor is connected to the inputs of Port C. 3 PBP ...

Page 33

... ROM The user ROM consists of 3840 bytes of memory, from $1000 to $1EFF. Twelve bytes of user vectors are also available, from $1FF4 to $1FFF. On the MC68HC705SR3, this ROM is replaced by EPROM. Note: Using the stack area for data storage or temporary work locations requires care to prevent the data from being overwritten due to stacking from an interrupt or subroutine call ...

Page 34

... Freescale Semiconductor, Inc. 4.4 Memory Map Figure 4-1 shows the memory map for MC68HC05SR3/ MC68HC705SR3 device. $0000 I/O 16 Bytes $000F $0010 4 User RAM 128 Bytes $008F $0090 Unused $00BF $00C0 Stack 64 Bytes $00FF $0100 Unused $0FFF $1000 User ROM/ EPROM 3840 Bytes $1EFF $1F00 ...

Page 35

... Freescale Semiconductor, Inc. 4.5 I/O Registers Summary Table 4-1 shows a summary of I/O registers for MC68HC05SR3/ MC68HC705SR3 device. Table 4-1 MC68HC05SR3/ MC68HC705SR3 I/O Registers Register Name Address Port A Data $00 Port B Data $01 Port C Data $02 Port D Data $03 Port A Data Direction $04 Port B Data Direction $05 Port C Data Direction $06 Port D Data Direction $07 Timer Data (TDR) ...

Page 36

Freescale Semiconductor, Inc. 4 THIS PAGE LEFT BLANK INTENTIONALLY MOTOROLA 4-4 MEMORY AND REGISTERS For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 37

Freescale Semiconductor, Inc. RESETS AND INTERRUPTS This section describes the reset and interrupt functions on the MCU. 5.1 RESETS The MC68HC05SR3 can be reset in three ways: • by initial power-on reset function, (POR), • active low input ...

Page 38

Freescale Semiconductor, Inc. 5.1.3 Low Voltage Reset (LVR) When the LVR function is enabled, an internal reset is generated if the supply voltage, V below V . (See Section 11 for value of V LVR This LVR function is enabled ...

Page 39

Freescale Semiconductor, Inc. UNSTACKING ORDER STACKING ORDER Figure 5-1 Interrupt Stacking Order Table 5-1 Reset/Interrupt Vector Addresses Register Flag Name — — — — — — — — External Interrupt ...

Page 40

Freescale Semiconductor, Inc Figure 5-2 Hardware Interrupt Processing Flowchart MOTOROLA 5-4 From RESET Is I-bit Set IRQ External External Interrupt Interrupt ? Request Latch N Y IRQ2 External Interrupt ? N Y Timer Interrupt ...

Page 41

Freescale Semiconductor, Inc. 5.2.2 Maskable Hardware Interrupts If the interrupt mask bit (I-bit) of the CCR is set, all maskable interrupts are masked. Clearing the I-bit allows interrupt processing to occur. Note: The internal interrupt latch is cleared in the ...

Page 42

Freescale Semiconductor, Inc. INTO BIT 100K IRQ 5 IRQ Wired ORed Interrupt signals IRQ MOTOROLA 5-6 DD & & (a) Interrupt Function Diagram t ILIH t ILIL t ILIH (b) Interrupt ...

Page 43

Freescale Semiconductor, Inc. 5.2.2.2 External Interrupt 2 (IRQ2) The port pin PD6 is configured as IRQ2 by setting the IRQ2E bit in the MCR. The external interrupt IRQ2 behaves similar to IRQ except it is edge-triggered only. Address bit 7 ...

Page 44

Freescale Semiconductor, Inc. TIF — Timer Interrupt Flag 1 (set) – A timer interrupt (timer overflow) has occurred. 0 (clear) – A timer interrupt (timer overflow) has not occurred. The I-bit in the CCR must be cleared in order for ...

Page 45

Freescale Semiconductor, Inc. The KBIE bit in the Miscellaneous Control Register controls the master enable for the keyboard interrupts. Address bit 7 Miscellaneous Control Register $0C KBIE — KeyBoard Interrupt Enable 1 (set) – Keyboard interrupts master enabled. 0 (clear) ...

Page 46

Freescale Semiconductor, Inc. 5 THIS PAGE LEFT BLANK INTENTIONALLY MOTOROLA 5-10 RESETS AND INTERRUPTS For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 47

Freescale Semiconductor, Inc. This section describes the operation of the 8-bit count-down timer in the MC68HC05SR3. 6.1 Timer Overview The MC68HC05SR3 timer block diagram is shown in Figure 6-1. The timer contains a single 8-bit software programmable count-down counter with ...

Page 48

Freescale Semiconductor, Inc MOTOROLA 6-2 Timer Data Register ($08) 8 8-bit count-down timer counter 7-bit prescaler counter RST 8 Prescaler Overflow Detect ( MUX) Circuit Interrupt Circuit 8 TIF TIM TCEX TINE PRER PR2 Timer Control ...

Page 49

Freescale Semiconductor, Inc. 6.2 Timer Control Register (TCR) The TCR enables the software to control the operation of the timer. Address bit 7 bit 6 $09 TIF TIM TIF — Timer Interrupt Flag 1 (set) – The timer has reached ...

Page 50

Freescale Semiconductor, Inc. PR2:PR0 These three bits enable the program to select the division ratio of the prescaler. On reset, these three bits are set to “100”, which corresponds to a division ratio of 16. 6 6.3 Timer Data Register ...

Page 51

Freescale Semiconductor, Inc. ANALOG TO DIGITAL CONVERTER The analog to digital converter system consists of a single 8-bit successive approximation converter and an 8-channel analog multiplexer. Four of the channels are available for analog inputs, and the other four channels ...

Page 52

Freescale Semiconductor, Inc. 7.1 ADC Operation As shown in Figure 7-1, the ADC consists of an analog multiplexer, an 8-bit digital to analog capacitor array, a comparator and a successive approximation register (SAR). There are eight options that can be ...

Page 53

Freescale Semiconductor, Inc. 7.2 ADC Status and Control Register (ADSCR) The ADSCR is a read/write register containing status and control bits for the ADC. Address bit 7 bit 6 $0E COCO ADRC ADON COCO — COnversion COmplete 1 (set) – ...

Page 54

Freescale Semiconductor, Inc. CH2 CH1 Using a port D pin as both an analog and digital input simultaneously is prohibited. When the ADC is ...

Page 55

Freescale Semiconductor, Inc. CPU CORE AND INSTRUCTION SET This section provides a description of the CPU core registers, the instruction set and the addressing modes of the MC68HC05SR3. 8.1 Registers The MCU contains five registers, as shown in the programming ...

Page 56

Freescale Semiconductor, Inc. Increasing memory address Unstack 8.1.2 Index register (X) The index register is an 8-bit register, which can contain the indexed addressing value used to create an effective address. The index register may also be used as a ...

Page 57

Freescale Semiconductor, Inc. Interrupt (I) When this bit is set, all maskable interrupts are masked interrupt occurs while this bit is set, the interrupt is latched and remains pending until the interrupt bit is cleared. Negative (N) When ...

Page 58

Freescale Semiconductor, Inc. 8.2.1 Register/memory Instructions Most of these instructions use two operands. The first operand is either the accumulator or the index register. The second operand is obtained from memory using one of the addressing modes. The jump unconditional ...

Page 59

Freescale Semiconductor, Inc. Operation Description Condition codes Source Form Table 8-2 Register/memory instructions Function Load A from memory LDA A6 Load X from memory LDX AE Store A in memory STA Store X in memory STX Add memory to A ...

Page 60

Freescale Semiconductor, Inc. Branch always Branch never Branch if higher Branch if lower or same Branch if carry clear (Branch if higher or same) Branch if carry set (Branch if lower) Branch if not equal Branch if equal Branch if ...

Page 61

Freescale Semiconductor, Inc. Table 8-5 Read/modify/write instructions Function Increment INC Decrement DEC Clear CLR Complement COM Negate (two’s complement) NEG Rotate left through carry ROL Rotate right through carry ROR Logical shift left LSL Logical shift right LSR Arithmetic shift ...

Page 62

Freescale Semiconductor, Inc. Mnemonic INH ADC ADD AND ASL ASR BCC BCLR BCS BEQ BHCC BHCS BHI BHS BIH BIL BIT BLO BLS 8 BMC BMI BMS BNE BPL BRA BRN BRCLR BRSET BSET BSR CLC CLI CLR CMP Address ...

Page 63

Freescale Semiconductor, Inc. Table 8-7 Instruction set (Continued) Mnemonic INH IMM DIR COM CPX DEC EOR INC JMP JSR LDA LDX LSL LSR MUL NEG NOP ORA ROL ROR RSP RTI RTS SBC SEC SEI STA STOP STX SUB SWI ...

Page 64

Freescale Semiconductor, Inc. 8 MOTOROLA 8-10 Table 8-8 M68HC05 opcode map CPU CORE AND INSTRUCTION SET For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 65

Freescale Semiconductor, Inc. 8.3 Addressing modes Ten different addressing modes provide programmers with the flexibility to optimize their code for all situations. The various indexed addressing modes make it possible to locate data tables, code conversion tables and scaling tables ...

Page 66

Freescale Semiconductor, Inc. 8.3.4 Extended In the extended addressing mode, the effective address of the argument is contained in the two bytes following the opcode byte. Instructions with extended addressing mode are capable of referencing arguments anywhere in memory with ...

Page 67

Freescale Semiconductor, Inc. 8.3.8 Relative The relative addressing mode is only used in branch instructions. In relative addressing, the contents of the 8-bit signed byte (the offset) following the opcode are added to the PC if, and only if, the ...

Page 68

Freescale Semiconductor, Inc. THIS PAGE LEFT BLANK INTENTIONALLY 8 MOTOROLA 8-14 CPU CORE AND INSTRUCTION SET For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 69

Freescale Semiconductor, Inc. LOW POWER MODES The MC68HC05SR3 has three low-power operating modes. The WAIT and STOP instructions provide two modes that reduce the power required for the MCU by stopping various internal clocks and/or the on-chip oscillator. The flow ...

Page 70

Freescale Semiconductor, Inc. STOP Stop External Oscillator, Stop Internal Timer Clock, and Reset Start-Up Delay Stop Internal Processor Clock, Clear I-Bit in CCR External RESET External Hardware Interrupt? 9 MOTOROLA 9 Reset External Oscillator, and Stabilization ...

Page 71

Freescale Semiconductor, Inc. 9.3 SLOW Mode The SLOW mode function is controlled by the SM bit in the Miscellaneous Control Register. When the SM bit is set, the internal bus clock is divided by 16, resulting to a frequency equal ...

Page 72

Freescale Semiconductor, Inc. THIS PAGE LEFT BLANK INTENTIONALLY 9 MOTOROLA 9-4 LOW POWER MODES For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 73

... TST DD 10.1 User Mode The normal operating mode of the MC68HC05SR3/ MC68HC705SR3 is the User mode. This mode is entered on the rising edge of RESET when the 10.2 Self-Check Mode The Self-check mode is provided on the MC68HC05SR3 for the user to check device functions with an on-chip self-check program masked at location $1F00 to $1FEF under minimum hardware support ...

Page 74

Freescale Semiconductor, Inc. +5V 4K7 RESET + 1 F +5V 330 330 10 330 330 MOTOROLA 10-2 MC68HC05SR3 4MHz OSC1 OUT OSC2 Crystal OSC RESET +5V 10K PB0 D1 PB4 PB1 D2 PB5 PB2 D3 PB6 PB3 D4 PB7 Figure ...

Page 75

... Bootstrap Mode The Bootstrap mode is provided in the EPROM part (MC68HC705SR3 mean of self-programming its EPROM with minimal circuitry. Bootstrap mode will be entered on the rising edge of RESET when the V pin mode, PB1 can then be used for other purposes. After entering the bootstrap mode, CPU branches to the bootstrap program and carries out the EPROM programming routine ...

Page 76

Freescale Semiconductor, Inc. THIS PAGE LEFT BLANK INTENTIONALLY 10 MOTOROLA 10-4 OPERATING MODES For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 77

Freescale Semiconductor, Inc. ELECTRICAL SPECIFICATIONS This section contains the electrical specifications for MC68HC05SR3. 11.1 Maximum Ratings (Voltages referenced RATINGS Supply Voltage Input Voltage V Pin PP Current Drain per pin excluding V DD Operating Temperature Standard ...

Page 78

Freescale Semiconductor, Inc. 11.3 DC Electrical Characteristics Table 11-1 DC Electrical Characteristics for 5V Operation (V =5.0Vdc 10 CHARACTERISTICS Output voltage I = –10 A LOAD I = +10 A LOAD Output high voltage (I All Ports Output ...

Page 79

Freescale Semiconductor, Inc. Table 11-2 DC Electrical Characteristics for 3V Operation (V =3.0Vdc 10%, V =0Vdc, temperature range CHARACTERISTICS Output voltage I = –10 A LOAD I = +10 A LOAD Output high voltage (I ...

Page 80

Freescale Semiconductor, Inc. 11.4 ADC Electrical Characteristics Table 11-3 ADC Electrical Characteristics for 5V and 3V Operation CHARACTERISTICS Resolution Absolute accuracy Conversion range Power-up time Conversion time Monotonicity Zero-input reading Full-scale reading Sample acquisition time Input ...

Page 81

Freescale Semiconductor, Inc. 11.5 Control Timing Table 11-4 Control Timing for 5V Operation (V =5.0Vdc 10%, V =0Vdc, temperature range CHARACTERISTICS Frequency of operation RC oscillator Option Crystal option External clock option Internal operating frequency ...

Page 82

Freescale Semiconductor, Inc. (V =3.0Vdc 10 CHARACTERISTICS Frequency of operation RC oscillator Option Crystal option External clock option Internal operating frequency (f RC oscillator Crystal External clock Processor cycle time (1/f RC oscillator stabilization time Crystal oscillator start-up ...

Page 83

Freescale Semiconductor, Inc. MECHANICAL SPECIFICATIONS This section provides the mechanical dimensions for the 40-pin DIP, 42-pin SDIP and 44-pin QFP packages for the MC68HC05SR3. MC68HC05SR3 MECHANICAL SPECIFICATIONS For More Information On This Product, Go to: www.freescale.com 12 12 TPG MOTOROLA ...

Page 84

Freescale Semiconductor, Inc. 12.1 40-Pin DIP Package (Case 711-03 12.2 42-Pin SDIP Package (Case 858-01 MOTOROLA 12 ...

Page 85

Freescale Semiconductor, Inc. 12.3 44-pin QFP Package (Case 824A-01 -A- L DETAIL - - - DETAIL C Figure 12-3 44-pin QFP Package MC68HC05SR3 MECHANICAL SPECIFICATIONS For ...

Page 86

Freescale Semiconductor, Inc. THIS PAGE LEFT BLANK INTENTIONALLY 12 MOTOROLA 12-4 MECHANICAL SPECIFICATIONS For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 87

... MC68HC705SR3 This appendix summarizes the differences between the MC68HC05SR3 and MC68HC705SR3. The same information can also be found in appropriate sections of the book. The MC68HC705SR3 is an EPROM version of the MC68HC05SR3. The 3840 bytes of user ROM in the MC68HC05SR3 are replaced by 3840 bytes of user EPROM. A.1 Features • ...

Page 88

... DD A.3 User Mode The normal operating mode of the MC68HC705SR3 is the user mode. User mode will be entered on the rising edge of RESET when the V Warning: In the MC68HC705SR3, all vectors are fetched from EPROM in user mode; therefore, the EPROM must be programmed (via the bootstrap mode) before the device is powered up in user mode ...

Page 89

... PGM = 0. 0 (clear) – Programming power disconnected from the EPROM array. A.4.3 EPROM Programming Sequence Programming the EPROM of the MC68HC705SR3 is as follows: 1) Set the ELAT bit. 2) Write the data to be programmed to the address to be programmed. 3) Set the PGM bit. 4) Delay for 1ms. ...

Page 90

... MC68HC705SR3 For More Information On This Product, Go to: www.freescale.com bit 4 bit 3 bit 2 bit 1 bit 0 on reset SEC TMR2 TMR1 TMR0 RC unaffected 256 512 1024 2048 4096 8192 16384 32768 MC68HC05SR3 State ...

Page 91

... Freescale Semiconductor, Inc. RC — Crystal Oscillator Option 1 (set) – Resistor option selected. 0 (clear) – Crystal option selected. A.6 Pin Assignments See Section 2.3 for pin assignments for the available packages. MC68HC05SR3 For More Information On This Product, Go to: www.freescale.com MC68HC705SR3 A TPG MOTOROLA A-5 ...

Page 92

... Freescale Semiconductor, Inc. THIS PAGE LEFT BLANK INTENTIONALLY A MOTOROLA A-6 MC68HC705SR3 For More Information On This Product, Go to: www.freescale.com TPG MC68HC05SR3 ...

Page 93

... ANALOG TO DIGITAL CONVERTER CPU CORE AND INSTRUCTION SET ELECTRICAL SPECIFICATIONS MECHANICAL SPECIFICATIONS For More Information On This Product, Go to: www.freescale.com GENERAL DESCRIPTION PIN DESCRIPTIONS INPUT/OUTPUT PORTS MEMORY AND REGISTERS RESETS AND INTERRUPTS LOW POWER MODES OPERATING MODES MC68HC705SR3 TIMER ...

Page 94

... Freescale Semiconductor, Inc. 1 GENERAL DESCRIPTION 2 PIN DESCRIPTIONS 3 INPUT/OUTPUT PORTS 4 MEMORY AND REGISTERS 5 RESETS AND INTERRUPTS 6 TIMER 7 ANALOG TO DIGITAL CONVERTER 8 CPU CORE AND INSTRUCTION SET 9 LOW POWER MODES 10 OPERATING MODES 11 ELECTRICAL SPECIFICATIONS 12 MECHANICAL SPECIFICATIONS A MC68HC705SR3 For More Information On This Product, Go to: www.freescale.com TPG ...

Page 95

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

Page 96

Freescale Semiconductor, Inc How to reach us: MFAX: RMFAX0@email.sps.mot.com – TOUCHTONE (602) 244-6609 INTERNET: http://Design-NET.com 13 USA/EUROPE/Locations Not Listed: Motorola Literature Distribution; P.O. Box 20912; Phoenix, Arizona 85036. ...

Related keywords