Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SPMCK16Z4MPV20 Datasheet(PDF) 453 Page - Freescale Semiconductor, Inc

Part # SPMCK16Z4MPV20
Description  M68HC16Z Series
PDF  500 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

SPMCK16Z4MPV20 Datasheet(HTML) 453 Page - Freescale Semiconductor, Inc

Back Button SPMCK16Z4MPV20 Datasheet HTML 449Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 450Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 451Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 452Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 453Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 454Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 455Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 456Page - Freescale Semiconductor, Inc SPMCK16Z4MPV20 Datasheet HTML 457Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 453 / 500 page
background image
M68HC16 Z SERIES
INITIALIZATION AND PROGRAMMING EXAMPLES
USER’S MANUAL
E-1
APPENDIX E
INITIALIZATION AND PROGRAMMING EXAMPLES
This section contains basic initialization programs and several programming exercises
using different M68HC16 Z-series modules. The purpose of these exercises is to pro-
vide the designer and programmer with a means to shorten design time. All of the pro-
grams were written to run on the M68HC16Z1EVB evaluation board. Refer to the
M68HC16Z1EVB Evaluation Board User’s Manual (M68HC16Z1EVB/D) for further in-
formation.
NOTE
These programs will also work on the Modular Evaluation Board
(MEVB) using a microcontroller personality board for the appropriate
Z-series derivative. See APPENDIX C DEVELOPMENT SUPPORT
for more information on the MEVB.
E.1 Initialization Programs
The following initialization routines accompany the programming examples used in
this manual. For information on assembler commands and directives, refer to the
M68HC16Z1EVB Evaluation Board User’s Manual (M68HC16Z1EVB/D).
•
EQUATES.ASM — This program lists of all the MC68HC16 registers equated to
their memory address. This allows programmers to use the register name in their
programs, and then the assembler selects the correct memory address for that
register.
•
ORG00000.ASM — This program consists of five lines of code that set the reset
vector information into the proper locations.
•
ORG00008.ASM — This program initializes the interrupt/exception vectors
($0008 – $01FE). If an interrupt occurs requiring the use of any of these vectors,
program flow continues at the label “BDM”. The programmer must add code at
the label location to put the program running on the EVB16 into background de-
bug mode or some other appropriate routine.
•
INITSYS.ASM — This program consists of ten to twelve lines of code that initial-
ize the system clock, set the extension registers, and chip-selects. It also turns off
the COP (software watchdog) that is set to “on” after reset.
•
INITRAM.ASM — This program initializes the 1-Kbyte internal SRAM at $10000,
and sets the stack inside it.
•
INITSCI.ASM — This program initializes the SCI to transmit and receive at 9600
baud.
NOTE
These programs and others can be obtained from the Freescale web
site at http://www.freescale.com
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com