The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

AN1747 Freescale Semiconductor, Inc. Migrating from MC68HC70


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



Order this document AN1747/D
AN1747
Freescale Semiconductor, Inc.
Migrating from MC68HC705K1 MC68HC805K3
Mark Glenewinkel Field Applications Engineering Consumer Systems Group Austin, Texas
Introduction
Motorola provides different parts easily migrate your current MC68HC705K1 (K1) application. Depending your design, system enhancements, cost, MC68HC805K3 (K3) MC68HC705KJ1 (KJ1) provide different migration paths. major differences between are: Price Pinout compatibility
same roughly cost Although same roughly cost This application note illustrates differences between Note that additional features they used your system discussed further enhance your system design. Consult data books detailed design reference. information migrating your design KJ1, consult application note Migrating from MC68HC705K1 MC68HC705KJ1, Motorola document order number AN1746/D.
Motorola, Inc., 1998
AN1747
More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
MC68HC805K3 Features bytes user EEPROM (electrically erasable programmable read-only memory) bytes low-power user (read-access memory) bits personality EEPROM (PEEPROM), memory mapped, programmed using user software during user EEPROM programming 2-MHz internal frequency volts On-chip charge pump in-circuit programming PEEPROM volts 8-bit free-running timer with real-time interrupt (computer operating properly) watchdog timer bidirectional input/output (I/O) pins, including: 8-mA sink capability four pins Software programmable pulldowns pins Keyboard scan with selectable interrupt four pins Selectable sensitivity external interrupt (edge- levelsensitive edge-sensitive only) On-chip oscillator with options for: Crystal ceramic resonator with internal resistor 2-pin 3-pin resistor-capacitor (RC) oscillator External clock External interrupt mask acknowledge EEPROM security bit1 locking access programmable EEPROM array Selectable STOP conversion HALT option fast restart power-on reset Internal steering diode pullup device RESET
Freescale Semiconductor, Inc.
security feature absolutely secure. However, Motorola's strategy make reading copying EPROM/OTPROM difficult unauthorized users.
AN1747 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC805K3
Migrating MC68HC805K3
Pinouts Package Types
exact pinout Figure pinout diagram. Both parts available either plastic SOIC packages.
Freescale Semiconductor, Inc.
RESET PB1/OSC3 IRQ/VPP
OSC1 OSC2
Figure MC68HC705K1 MC68HC805K3 Pinout Block Diagrams Throughout this application note, refer block diagram Figure Figure
AN1747 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
USER EPROM/OTPROM BYTES
MASK OPTION REGISTER (EPROM/OTPROM)
PERSONALITY EPROM/OTPROM BITS
DATA DIRECTION REGISTER
PA7* PA6* PA5* PORT PA4* PA3** PA2** PA1** PA0**
USER BYTES
Freescale Semiconductor, Inc.
IRQ/VPP
CONTROL
ARITHMETIC/LOGIC UNIT ACCUMULATOR
*8-mA SINK CAPABILITY **EXTERNAL INTERRUPT CAPABILITY
INDEX REGISTER
PROGRAM COUNTER CONDITION CODE REGISTER
PORT
STACK POINTER
DATA DIRECTION REGISTER
RESET
RESET
M68HC05
PB1/OSC3
WATCHDOG ILLEGAL ADDRESS DETECT
MULTIFUNCTION TIMER
CLOCK
OSC1 OSC2
LOW-VOLTAGE DETECT
INTERNAL OSCILLATOR
DIVIDE
Figure MC68HC705K1 Block Diagram
TIMER CLOCK
AN1747 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC805K3
ON-CHIP CHARGE PUMP
USER EEPROM BYTES MASK OPTION REGISTER (MOR) BITS
PERSONALITY EEPROM BITS
DATA DIRECTION REGISTER
PA7* PA6* PA5* PORT PA4* PA3** PA2** PA1** PA0**
USER BYTES
Freescale Semiconductor, Inc.
IRQ/VPP
CONTROL
ARITHMETIC/LOGIC UNIT ACCUMULATOR
*8-mA SINK CAPABILITY **EXTERNAL INTERRUPT CAPABILITY
INDEX REGISTER
PROGRAM COUNTER CONDITION CODE REGISTER
PORT
STACK POINTER
DATA DIRECTION REGISTER
RESET
RESET
M68HC05
PB1/OSC3
WATCHDOG ILLEGAL ADDRESS DETECT
MULTIFUNCTION TIMER
CLOCK
OSC1 OSC2 INTERNAL OSCILLATOR
DIVIDE
Figure MC68HC805K3 Block Diagram
AN1747 MOTOROLA More Information This Product, www.freescale.com
TIMER CLOCK
Freescale Semiconductor, Inc. Application Note
Memory Maps Registers Figure Figure show memory maps registers Modify your code reflect these points: utilize expanded move start from $E0. EEPROM split into different areas. Originate EEPROM memory start $100. start other EEPROM array $20. registers MOR. These located $13.
Freescale Semiconductor, Inc.
AN1747 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC805K3
$0000 $001F $0020 $00DF $00E0
REGISTERS BYTES UNUSED BYTES
SRAM BYTES
SRAM BYTES
Freescale Semiconductor, Inc.
$00FF $0100 UNUSED BYTES $01FF $0200
USER EPROM BYTES
Port Data Register Port Data Register Unused Unused Port Data Direction Register Port Data Direction Register Unused Unused Timer Status Control Register Timer Counter Register Status Control Register Unused Unused Unused PEPROM Select Register PEPROM Status Control Register Pulldown Register Pulldown Register Unused Unused Unused Unused Unused Mask Option Register EPROM Programming Register Unused Unused Unused Unused Unused Unused Test
$0000 $0001 $0002 $0003 $0004 $0005 $0006 $0007 $0008 $0009 $000A $000B $000C $000D $000E $000F $0010 $0011 $0012 $0013 $0014 $0015 $0016 $0017 $0018 $0019 $001A $001B $001C $001D $001E $001F
Register RESERVED BYTES TEST REGISTER BYTES $03F7 $03F8 USER VECTORS (EPROM) BYTES $03FF Timer Interrupt Vector (MSB) Timer Interrupt Vector (LSB) External Interrupt Vector (MSB) External IInterrupt Vector (LSB) Software Interrupt Vector (MSB) Software Interrupt Vector (LSB) Reset Vector (MSB) Reset Vector (LSB)
$03F0 $03F8 $03F9 $03FA $03FB $03FC $03FD $03FE $03FF
$03EF $03F0
Figure MC68HC705K1 Memory Register
AN1747 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
$0000 $001F $0020 $00BF $00C0
REGISTERS BYTES USER EEPROM BYTES
SRAM BYTES
Freescale Semiconductor, Inc.
$00FF $0100
SRAM BYTES
USER EEPROM BYTES
Port Data Register Port Data Register Unused Unused Port Data Direction Register Port Data Direction Register Unused Unused Timer Status Control Register Timer Counter Register Status Control Register Unused Unused Unused PEEPROM Select Register PEEPROM Status Control Register Pulldown Register Pulldown Register Register Register Reserved Unused Unused Unused Unused Unused Unused Unused Unused Unused Unused Reserved
$0000 $0001 $0002 $0003 $0004 $0005 $0006 $0007 $0008 $0009 $000A $000B $000C $000D $000E $000F $0010 $0011 $0012 $0013 $0014 $0015 $0016 $0017 $0018 $0019 $001A $001B $001C $001D $001E $001F
Register RESERVED BYTES Timer Interrupt Vector (MSB) Timer Interrupt Vector (LSB) External Interrupt Vector (MSB) External IInterrupt Vector (LSB) Software Interrupt Vector (MSB) Software Interrupt Vector (LSB) Reset Vector (MSB) Reset Vector (LSB)
$03F0 $03F8 $03F9 $03FA $03FB $03FC $03FD $03FE $03FF
$03EF $03F0 REGISTERS VECTORS (EPROM) BYTES $03FF
Figure MC68HC805K3 Memory Register
Port
changes needed port Like sink current pins PA7-PA4.
Port
changes needed port
AN1747
More Information This Product, www.freescale.com
MOTOROLA
Application Note Migrating MC68HC805K3
Clock
internal clock circuitry identical that Configuring oscillator depends settings PIN3 bits (mask option register). These bits programmed location $12.
Reset Circuitry
reset function some additional features. These are: RESET contains steering diode discharge voltage when power removed. RESET contains internal pullup resistor allow RESET left unconnected low-power applications.
Freescale Semiconductor, Inc.
reset sources except low-voltage reset (LVR). These are: Power-on reset Logic RESET Computer operating properly (COP) Illegal address
does have internal LVR. External circuitry should added ensure system integrity.
Interrupts
Like same interrupt sources functionality. These are: Software interrupt Logic applied IRQ/VPP Logic applied PA3-PA0 pins Timer overflow interrupt Real-time interrupt
interrupt status control register identical that register
AN1747 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
bits MOR, location $12, define interrupt functionality. They PIRQ LEVIRQ bit. They function like PIRQ LEVEL bits
Timer
timers identical. Consequently, changes needed software hardware.
Freescale Semiconductor, Inc.
enabled programming COPEN (bit location program COPEN (bit location timer cleared writing COPR (computer operating properly register) location $3F0. This does change Just like timeout bits timer status control register. code changes needed.
Personality EEPROM
Like provides memory store variables, constants, system information. Instead EPROM, uses bits personality EEPROM (PEEPROM). These bits provided simple EEPROM array control logic that requires serial reading data. PEEPROM accessed software programmed into user through registers that directly interface with PEEPROM array. actual implementation software varies, depending customer requirements. PEEPROM array arranged bytes (rows) with separate column select each (column) byte. column select connects single sense amplifier shown block diagram PEEPROM module Figure on-chip charge pump provided allow programming erasure personality EEPROM supply voltage least Vdc.
NOTE:
Programming erasure PEEPROM performed only Vdc.
AN1747
More Information This Product, www.freescale.com
MOTOROLA
Application Note Migrating MC68HC805K3
HC05 DATA CPCLK
CLOCK (PH2) ON-CHIP CHARGE PUMP INTERNAL RING OSCILLATOR
PERSONALITY EEPROM STATUS/CONTROL REGISTER
CPEN
PEPCZF PEDATA SINGLE SENSE
Freescale Semiconductor, Inc.
PEPGM/PEBYTE/PEBULK
SWITCH
SWITCH
PERSONALITY EEPROM SELECT REGISTER
8-TO-1 DECODE EACH BYTE
16-TO-1 DECODE
EEPROM ARRAY
Figure Block Diagram PEEPROM Consult manual detailed description PEEPROM configuration registers, PEBSR PESCR. programming routines, consult Motorola application note Programming 68HC(8)05K3's Personality EEPROM MMDS MMEVS, Motorola document order number AN1288/D.
AN1747 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
gives users additional options MOR. Table compares MORs parts. Table Comparison
Part Addr. SWPDI RCSTD PIN3 PIN3 SWAIT HALT LVRE SWPDI PIRQ PIRQ LEVEL LEVIRQ SBIT1 COPEN COPEN SBIT0
Freescale Semiconductor, Inc.
SWPDI
software pulldown inhibit same functionality both parts found location $12. PIN3 same functionality both parts. same functionality both parts. STOP conversion-to-wait same functionality named HALT. found location $12. does have low-voltage reset function. This option found registers. port enable same functionality both parts. external interrupt sensitivity same functionality named LEVIRQ. found location $12. enable same functionality both parts. oscillator startup delay controls oscillator stabilization counter. normal stabilization delay following reset exit from stop mode 4064 cycles. Setting RCSTD enables 16-bus cycle stabilization. your oscillator design quick startup time,
PIN3 SWAIT
LVRE
PIRQ LEVEL
COPEN RCSTD
AN1747 More Information This Product, www.freescale.com MOTOROLA
Application Note Ordering Information
RCSTD will allow quicker recovery from oscillator startup. Setting enables shorter oscillator delay.
EPMSEC
provides added functionality securing EEPROM array. SBIT1 SBIT0 bits location define security options Table Setting EEPROM Security
SBIT1 SBIT0 EEPROM Personality EEPROM Security Enabled Enabled Enabled Disabled
Freescale Semiconductor, Inc.
Ordering Information
Table shows order numbers Table Ordering Information MC68HC805K3
Package Type Plastic SOIC Plastic SOIC Temperature Order Number MC68HC805K3P MC68HC805K3CP MC68HC805K3DW MC68HC805K3CDW
AN1747 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note References/Additional Reading
MC68HC805K3 General Release Specification, document order number HC805K3GRS/D, Motorola, 1996. MC68HC705K1 Technical Data Book, document order number MC68HC705K1/D, Motorola, 1996. M68HC05 Applications Guide, document order number M68HC05AG/AD, Motorola, 1996.
Freescale Semiconductor, Inc.
AN1747 More Information This Product, www.freescale.com MOTOROLA
Application Note References/Additional Reading
Freescale Semiconductor, Inc.
AN1747 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
Freescale Semiconductor, Inc.
Motorola reserves right make changes without further notice products herein. Motorola makes warranty, representation guarantee regarding suitability products particular purpose, does Motorola assume liability arising application product circuit, specifically disclaims liability, including without limitation consequential incidental damages. "Typical" parameters which provided Motorola data sheets and/or specifications vary different applications actual performance vary over time. operating parameters, including "Typicals" must validated each customer application customer's technical experts. Motorola does convey license under patent rights rights others. Motorola products designed, intended, authorized components systems intended surgical implant into body, other applications intended support sustain life, other application which failure Motorola product could create situation where personal injury death occur. Should Buyer purchase Motorola products such unintended unauthorized application, Buyer shall indemnify hold Motorola officers, employees, subsidiaries, affiliates, distributors harmless against claims, costs, damages, expenses, reasonable attorney fees arising directly indirectly, claim personal injury death associated with such unintended unauthorized use, even such claim alleges that Motorola negligent regarding design manufacture part. Motorola registered trademarks Motorola, Inc. Motorola, Inc. Equal Opportunity/Affirmative Action Employer.
reach USA/EUROPE/Locations Listed: Motorola Literature Distribution, P.O. 5405, Denver, Colorado 80217, 1-800-441-2447 1-303-675-2140. Customer Focus Center, 1-800-521-6274 JAPAN: Nippon Motorola Ltd.: SPD, Strategic Planning Office, 141, 4-32-1 Nishi-Gotanda, Shinagawa-ku, Tokyo, Japan. 03-5487-8488 ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd., Ping Industrial Park, Ting Road, N.T., Hong Kong. 852-26629298 MfaxTM, Motorola Back System: RMFAX0@email.sps.mot.com; http://sps.motorola.com/mfax/; TOUCHTONE, 1-602-244-6609; Canada ONLY, 1-800-774-1848 HOME PAGE: http://motorola.com/sps/
Mfax trademark Motorola, Inc. Motorola, Inc., 1998
AN1747/D More Information This Product, www.freescale.com

Other recent searches


SAC-5P-M12MS - SAC-5P-M12MS   SAC-5P-M12MS Datasheet
RFMA2124-1W - RFMA2124-1W   RFMA2124-1W Datasheet
PCL805 - PCL805   PCL805 Datasheet
NM1LUR12D23 - NM1LUR12D23   NM1LUR12D23 Datasheet
74ALVT16260 - 74ALVT16260   74ALVT16260 Datasheet
2SK3934 - 2SK3934   2SK3934 Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive