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*)

 

 

AN1746 Freescale Semiconductor, Inc. Migrating from MC68HC70


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



Order this document AN1746/D
AN1746
Freescale Semiconductor, Inc.
Migrating from MC68HC705K1 MC68HC705KJ1
Mark Glenewinkel Field Applications Engineering Consumer Systems Group Austin, Texas
Introduction
Motorola provides different parts migrate your current MC68HC705K1 (K1) application easily. Depending your design, system enhancements, cost, MC68HC705KJ1 (KJ1) MC68HC805K3 (K3) provide different migration paths. major differences between are: Price Pinout compatibility
same roughly cost Although same roughly cost This application note illustrates differences between KJ1. Using KJ1's additional features further enhance your system design. Consult databooks detailed design reference. References/Additional Reading this application note.
Motorola, Inc., 1998
AN1746
More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
information migrating your design consult application note titled Migrating from MC68HC705K1 MC68HC805K3, Motorola document order number AN1747/D.
MC68HC705KJ1 Features
1240 bytes user EPROM bytes low-power user 4-MHz maximum internal frequency volts 15-stage multifunction timer watchdog timer bidirectional input/output (I/O) pins, including: 10-mA sink capability pins 5.5-mA source capability 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 Resistor-capacitor (RC) oscillator (MC68HRC705KJ1) with without external resistor Low-speed kHz) crystal (MC68HLC705KJ1) External clock External interrupt mask acknowledge EPROM security bit1 locking access programmable EPROM 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.
AN1746 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC705KJ1
Migrating MC68HC705KJ1
Pinouts Package Types
different pinout from making layout changes necessary. Figure Figure descriptions. Both parts available either plastic SOIC packages.
Freescale Semiconductor, Inc.
RESET PB1/OSC3 IRQ/VPP
OSC1 OSC2
Figure MC68HC705K1 Pinout
RESET OSC1 OSC2
IRQ/VPP
Figure MC68HC705KJ1 Pinout
AN1746 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
Block Diagrams Throughout this application note, refer block diagrams Figure Figure
USER EPROM/OTPROM BYTES
MASK OPTION REGISTER (EPROM/OTPROM)
PERSONALITY EPROM/OTPROM- BITS
PA7* DATA DIRECTION REGISTER PA6* PA5* PORT PA4* PA3** PA2** PA1** PA0**
Freescale Semiconductor, Inc.
USER BYTES
IRQ/VPP
CONTROL
ARITHMETIC/LOGIC UNIT ACCUMULATOR
*8-mA-sink capability **External interrupt capability
RESET
RESET
M68HC05
INDEX REGISTER DATA DIRECTION REGISTER
PROGRAM COUNTER CONDITION CODE REGISTER
PORT
STACK POINTER
PB1/OSC3
WATCHDOG ILLEGAL ADDRESS DETECT
MULTIFUNCTION TIMER
CLOCK
OSC1 OSC2
LOW-VOLTAGE DETECT
INTERNAL OSCILLATOR
DIVIDE
Figure MC68HC705K1 Block Diagram
AN1746 More Information This Product, www.freescale.com MOTOROLA
TIMER CLOCK
Application Note Migrating MC68HC705KJ1
OSC1 OSC2
INTERNAL OSCILLATOR
DIVIDE
15-STAGE MULTIFUNCTION TIMER SYSTEM
WATCHDOG ILLEGAL ADDRESS DETECT
RESET IRQ/VPP
68HC05
DATA DIRECTION REGISTER
CONTROL
PB3(1) PORT
Freescale Semiconductor, Inc.
ACCUMULATOR REGISTERS INDEX REGISTER PROGRAM COUNTER
PB2(1)
DATA DIRECTION REGISTER
CONDITION CODE REGISTER
PORT PA3(1) PA2(1) PA1(1) PA0(1)
STATIC (SRAM) BYTES
USER EPROM 1240 BYTES
10-mA sink capability pins MASK OPTION REGISTER (EPROM) NOTES: 5.5-mA source capability External interrupt capability
Figure MC68HC705KJ1 Block Diagram
AN1746 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
Memory Maps Registers Figure Figure show memory maps registers KJ1. Modify your code reflect these changes: total bytes RAM. want utilize this additional memory KJ1, originate memory start $C0. total 1232 bytes EPROM code space. Originate EPROM memory start $300. Move register from location location $7F1 KJ1. Move location register from location $3F0 location $7F0 KJ1. Move start interrupt vectors from location $3F8 location $7F8 KJ1.
Freescale Semiconductor, Inc.
AN1746 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC705KJ1
$0000 $001F $0020 $00DF $00E0
REGISTERS BYTES UNUSED BYTES
SRAM BYTES
STACK 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
AN1746 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
$0000 $001F $0020 $00BF $00C0
REGISTERS BYTES UNUSED BYTES
SRAM BYTES
STACK SRAM BYTES
Freescale Semiconductor, Inc.
$00FF $0100 UNUSED BYTES $02FF $0300
USER EPROM 1232 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 Unused Unused Pulldown Register Pulldown Register Unused Unused Unused Unused Unused Unused EPROM Programming Register 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
$07CF $07D0 UNUSED BYTES $07ED $07EE $07EF $07F0 TEST BYTES REGISTERS VECTORS (EPROM) BYTES $07FF
Register Mask Option 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)
$07F0 $07F1 $07F8 $07F9 $07FA $07FB $07FC $07FD $07FE $07FF
Figure MC68HC705KJ1 Memory Register
AN1746 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC705KJ1
Ports
pins have expanded high current capabilities that allow them source sink current device. Depending current requirements, these pins used switch power other parts system, light LEDs, switch opto-coupled triacs without external transistors. Table shows maximum ratings pins. Table Maximum Current Ratings
Characteristic High source current PA7-PA4 pins PA3-PA0 pins PB3-PB2 pins High sink current PA7-PA0 pins PB3-PB2 pins Symbol Unit
Freescale Semiconductor, Inc.
Consult databook high-side low-side driver characteristics graphs. Port Port changes needed port bits port register bonded out. These bits Change your code mapping K1's port pins KJ1's port pins. This mapping also applies port data direction register port pulldown register. maps PB2. maps PB3.
AN1746 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
$0001 Read: Write: Reset:
Note
Note
Note
Note
Unaffected reset Unimplemented
PB5, PB4, PB1, should configured inputs times. These bits available read/write available externally. Configuring them inputs will ensure that pulldown devices enabled, thus properly terminating them.
Freescale Semiconductor, Inc.
Figure Port Data Register (PORTB)
$0005 Read: Write: Reset: Note Note DDRB3 DDRB2 Note Note
Unimplemented
PB5, PB4, PB1, should configured inputs times. These bits available read/write available externally. Configuring them inputs will ensure that pulldown devices enabled, thus properly terminating them.
Figure Port Data Direction Register (DDRB)
$0011 Read: Write: Reset: Note Note PDIB3 PDIB2 Note Note
Unimplemented
PB5, PB4, PB1, should configured inputs times. These bits available read/write available externally. Configuring them inputs will ensure that pulldown devices enabled, thus properly terminating them.
Figure Pulldown Register (PDRB)
AN1746 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC705KJ1
Clock
different clock circuitry than main difference clock option. available clocking options listed Table Table Clock Options
Clock Option Crystal oscillator Crystal oscillator kHz) Ceramic resonator oscillator External clock Comments Internal feedback resistor configured internal feedback resistor Internal feedback resistor configured Uses either external internal resistor Direct connection clock source Part Number MC68HC705KJ1 MC68HLC705KJ1 MC68HC705KJ1 MC68HRC705KJ1 MC68HC705KJ1
Freescale Semiconductor, Inc.
using crystal ceramic resonator want internal feedback resistor, OSCRES mask option register (MOR) must This enables feedback resistor. option using 32-kHz crystal. Consult databook about connect 32-kHz crystal properly. option quite different from oscillator options: more accurate clocks, external resistor between OSC1 OSC2 pins. turn internal feedback resistor. Make sure OSCRES maximum cost reduction, oscillator utilize internal resistor allow chip driven with external components. This also least accurate clock chip. this option, make sure that OSCRES
Like driven external clocking source also.
AN1746 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
applications that demand more performance, maximum internal clock frequency MHz. maximum internal clock frequency MHz.
Reset Circuitry
reset function additional features: RESET contains steering diode discharge voltage when power removed. RESET contains internal pullup resistor allow RESET left unconnected low-power applications. reset sources except low-voltage reset (LVR). These are: Power-on reset Logic RESET Computer operating properly (COP) Illegal address does have internal LVR. your design used LVR, external circuitry must added replace this function.
Freescale Semiconductor, Inc.
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
port interrupt option programmed writing PIRQ (bit location $17. KJ1, write PIRQ (bit location $7F1. external interrupt sensitivity programmed writing LEVEL (bit location $17. KJ1, write LEVEL (bit location $7F1.
AN1746 More Information This Product, www.freescale.com MOTOROLA
Application Note Migrating MC68HC705KJ1
Timer
timer identical changes needed software hardware.
enabled programming COPEN (bit location KJ1, program COPEN (bit location $7F1 timer cleared writing COPR (computer operating properly register) location $3F0. KJ1, clear writing COPR located $7F0. Just like timeout bits timer status control register. code changes needed.
Freescale Semiconductor, Inc.
Personality EPROM
provides user with bits personality EPROM. does have personality EPROM array. Consequently, personality EPROM select register personality EPROM status control register found KJ1. provide this functionality within KJ1, utilize some extra EPROM create eight bytes bits personality EPROM. This EPROM memory cannot programmed user's code. programmed only time entire EPROM array being programmed production.
gives designer additional options MOR. Table compares registers. Table Comparison
Part
SWPDI SOSCD
PIN3 EPMSEC
OSCRES
SWAIT SWAIT
LVRE SWPDI
PIRQ PIRQ
LEVEL LEVEL
COPEN COPEN
AN1746 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note
SWPDI software pulldown inhibit same functionality both parts found MOR. Since does have 3-pin oscillator option, this option found MOR. option used distinguish between using external network external crystal, ceramic resonator, clock source. configures oscillator with OSCRES bit. STOP conversion wait same functionality both parts. does have low-voltage reset function. This option found MOR. port enable same functionality both parts. external interrupt sensitivity same functionality both parts. enable same functionality both parts. short oscillator delay controls oscillator stabilization counter. normal stabilization delay following reset exit from stop mode 4064 cycles. Setting SOSCD enables 128-bus cycle stabilization delay. your oscillator design quick startup time, SOSCD will allow quicker recovery from oscillator startup. Setting enables short oscillator delay. protect your software investment, provides designer added functionality securing EPROM array. When this set, external access EPROM array denied.
PIN3
Freescale Semiconductor, Inc.
SWAIT
LVRE
PIRQ LEVEL
COPEN SOSCD
EPMSEC
AN1746 More Information This Product, www.freescale.com MOTOROLA
Application Note Ordering Information
OSCRES
OSCRES enables internal resistor oscillator circuit. When this internal resistor enabled.
NOTE:
Program OSCRES logic devices using low-speed crystal oscillators oscillators with external resistors.
Ordering Information
Freescale Semiconductor, Inc.
Table lists order numbers KJ1. parts specified temperature. Table Ordering Information
Package Type Plastic SOIC CERDIP Plastic SOIC CERDIP Plastic SOIC CERDIP Oscillator Type XTAL XTAL XTAL 32-kHz XTAL 32-kHz XTAL 32-kHz XTAL Order Number MC68HC705KJ1CP MC68HC705KJ1CDW MC68HC705KJ1CS MC68HRC705KJ1CP MC68HRC705KJ1CDW MC68HRC705KJ1CS MC68HLC705KJ1CP MC68HLC705KJ1CDW MC68HLC705KJ1CS
AN1746 MOTOROLA More Information This Product, www.freescale.com
Freescale Semiconductor, Inc. Application Note References/Additional Reading
MC68HC705K1 Technical Data, (MC68HC705K1/D), Motorola. MC68HC705KJ1 Technical Data, (MC68HC705KJ1/D), Motorola.
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
AN1746/D More Information This Product, www.freescale.com

Other recent searches


SBTC-2-15-75+ - SBTC-2-15-75+   SBTC-2-15-75+ Datasheet
SBTC-2-15-75L+ - SBTC-2-15-75L+   SBTC-2-15-75L+ Datasheet
QB-100-CA-01S - QB-100-CA-01S   QB-100-CA-01S Datasheet
PE83501 - PE83501   PE83501 Datasheet
MSM514800D - MSM514800D   MSM514800D Datasheet
LNJ314G8TRA - LNJ314G8TRA   LNJ314G8TRA Datasheet
KSK-1A04-1015 - KSK-1A04-1015   KSK-1A04-1015 Datasheet
GS881E18 - GS881E18   GS881E18 Datasheet
EN5360 - EN5360   EN5360 Datasheet
EN5360DC - EN5360DC   EN5360DC Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive