Datasheet
Features Benefits
> Programmable 16-bit timer/PWM
(TPM) module
> 2-ch. TPM; each channel can be used for
input capture, output compare, buffered
edge-aligned pulse width modulation (PWM)
or buffered center-aligned PWM
> 1 x 1-ch., 16-bit timer
> 1 x 2-ch., 16-bit timer
> One of the most cost-effective and flexible
timer modules; each channel is independently
programmable for input capture, output
compare or buffered edge-aligned PWM
or buffered center-aligned PWM
> Timer overflow interrupt can be enabled to
generate periodic interrupts for time-based
software loops
> Two separate time bases provide different
interrupt options
Two Timer Modules
> Watchdog computer operating properly
reset with option to run from dedicated
1 kHz internal clock source or bus clock
> Low-voltage detection with reset or interrupt
> Illegal opcode detection with reset
> Flexible flash block protection
> Security feature for flash and RAM
> Always-on power-on reset circuitry
> Resets device in instance of runaway or
corrupted code, and independent clock source
provides additional protection in case of loss
of clock
> Allows system to write/save important variables
before voltage drops too low
> Can hold device in reset until reliable voltage
levels are reapplied to the part
> Helps to secure code sections so that
they cannot be accidently corrupted by
runaway code.
> Option to protect various block sizes
> Option to put bootloader code in protected
space and clear flash for reprogramming
> Helps prevent unauthorized access to memory
to protect a customer’s software
System Protection
> 4-channel, 10-bit analog-to-digital converter
(ADC) with automatic compare function
> ADC channel connected to on-chip
temperature sensor
> Automatic compare function, software
p r ogrammable for greater-than, equal-to
o r less-than conditions
> Asynchronous clock source
> Temperature sensor
> Internal bandgap reference channel
> Hardware triggerable using the real-time
i n terrupt counter
> Low-power and high-speed options
> Can be used for single slope APC and
resistance-capacitance time
> Easy interface to analog inputs/sensors
> Used to set conversion complete and generate
interrupt only when result matches condition
> Can be used to run ADC when MCU clocks
are off, such as in STOP3 low-power mode
> Calculates temperature without any external
components and saves an ADC input channel
for other use
> Constant voltage source for calibrating ADC
results requires no external components
> Takes periodic measurements without CPU
involvement; can be used in STOP3 with
compare function to take measurement and
wake MCU from STOP3 only when compare
level is reached
> Flexible configuration to meet high
performance and low power requirements
Integrated Ana
log Peripherals
Flexible Clock Options
> Internal clock source module containing
a frequency-locked loop controlled by
internal reference
> Can eliminate cost of external clock
components, take little board space,
and help to increase system reliability.
Learn More: For more information about Freescale products, please visit www.freescale.com/QD4.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners.
The HC08 products incorporate SuperFlash
®
technology licensed from SST
.
© Freescale Semiconductor, Inc. 2006
Document Number: MC9S08QD4FS
REV 0
Cost-Effective Development T
ools
For more information on development tools,
please refer to the Freescale Development T
ool
Selector Guide (keyword search SG1011).
DEMO9S08QD4
US$59*
Cost-effective demonstration board
with potentimeter, LEDs, serial port and
built-in USB-BDM cable for debugging
and programming
CYCLONEPROE
US$499*
HC08/HCS08/HC12/HCS12 stand-alone
flash programmer or in circuit emulator,
debugger, flash programmer; USB, serial
or Ethernet interface options
USBMULTILINKBDME
US$99*
Universal HC08 in-circuit debugger and
flash programmer; USB-PC interface
CWX-HXX-SE
Complimentary**
CodeWarrior
®
Special Edition for
HC(S)08/RS08 MCUs includes integrated
development environment, linker, debugger,
unlimited assembler, Processor Expert™
auto-code generator, full-chip simulation
and 16 KB C compiler
*Prices indicated are MSRP
**Subject to license agreement and registration
Package Options
Part Number
Package
T
emp. Range
MC9S08QD4VSC 8-pin SOIC -40
°
C to +105
°
C
MC9S08QD4VPC 8-pin PDIP -40
°
C to +105
°
C
MC9S08QD4CSC 8-pin SOIC -40
°
C to +85
°
C
MC9S08QD4CPC
8-pin PDIP -40
°
C to +85
°
C
Data Sheets
MC9S08QD4 MC9S08QD4 Data Sheet