AN2616 Freescale Semiconductor / Motorola, AN2616 Datasheet - Page 4

no-image

AN2616

Manufacturer Part Number
AN2616
Description
Getting Started with HCS08 and CodeWarrior Using C
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2616
What is an HCS08?
4
NOTE:
In addition, the reader is provided with:
As the exercises are not intended to be a lesson in typing, the appropriate files
are included within the zip file AN2616SW.zip. The files main.c and
M68DEMO908GB60.h are contained in the relevant sub directory within the zip
file, and can simply be dragged from the zip file into the Sources directory of
the CodeWarrior project at the appropriate point. For example, the directory 2.4
within the zip file contains the correct files for section 2.4. Alternatively, the
code can be copied from an electronic copy (pdf) of the application note, and
pasted into the relevant file using the CodeWarrior editor.
The HCS08 is Motorola’s latest range of 8-bit low-power, high-performance
microcontrollers based on the HC08 core. The major differences from the
HC08 are as follows.
Instruction cycle timings have changed on some instructions/addressing
modes due to design requirements to enable higher frequency operation and
care should be exercised with time critical code that was used on an HC08.
Getting Started with HCS08 and CodeWarrior Using C
Freescale Semiconductor, Inc.
For More Information On This Product,
create a project using CodeWarrior
understand how to create and add files to a project
connect the hardware (demo or evaluation board) via monitor mode or
BDM
run the code in the hardware
add code to illuminate LED according to a switch and step through code
observing its operation
add interrupt handlers to a program
initialize and use the PWM to flash an LED with 25:75 duty cycle and
inverse depending upon a switch
configure the FLL and on-board crystal for maximum performance.
an explanation of how Metrowerks defines HCS08 devices and how the
device registers are used with C
answers to commonly asked questions
pointers and references to further information
exercises in creating code.
Core bus speed increased from 8 MHz to 20 MHz
Hardware Background Debug Controller (BDC) and On-chip Debug
Module (DBG), providing an additional two breakpoints in addition to the
single breakpoint capability of the HC08, for improved debug and
FLASH programming support
Additional addressing modes for improved stack usage resulting in
improved code density and performance
Go to: www.freescale.com
MOTOROLA

Related parts for AN2616