Code Warrior

Páginas: 255 (63688 palabras) Publicado: 23 de octubre de 2011
MC9S08QG8 MC9S08QG4
Data Sheet

HCS08 Microcontrollers

MC9S08QG8 Rev. 4 2/2008

freescale.com

MC9S08QG8/4 Features
8-Bit HCS08 Central Processor Unit (CPU)
• • • • 20-MHz HCS08 CPU (central processor unit) HC08 instruction set with added BGND instruction Background debugging system Breakpoint capability to allow single breakpoint setting during in-circuit debugging (plus two morebreakpoints in on-chip debug module) Debug module containing two comparators and nine trigger modes. Eight deep FIFO for storing change-of-flow addresses and event-only data Debug module supports both tag and force breakpoints Support for up to 32 interrupt/reset sources

Peripherals
• ADC — 8-channel, 10-bit analog-to-digital converter with automatic compare function, asynchronous clock source,temperature sensor, and internal bandgap reference channel; ADC is hardware triggerable using the RTI counter ACMP — Analog comparator module with option to compare to internal reference; output can be optionally routed to TPM module SCI — Serial communications interface module with option for 13-bit break capabilities SPI — Serial peripheral interface module IIC — Inter-integrated circuit busmodule TPM— 2-channel timer/pulse-width modulator; each channel can be used for input capture, output compare, buffered edge-aligned PWM, or buffered center-aligned PWM MTIM — 8-bit modulo timer module with 8-bit prescaler KBI — 8-pin keyboard interrupt module with software selectable polarity on edge or edge/level modes





• • • •



Memory Options
• • FLASH read/program/erase overfull operating voltage and temperature MC9S08QG8 — 8 Kbytes FLASH, 512 bytes RAM MC9S08QG4 — 4 Kbytes FLASH, 256 bytes RAM

• •

Power-Saving Modes
• Wait plus three stops

Input/Output
• 12 general-purpose input/output (I/O) pins, one input-only pin and one output-only pin; outputs 10 mA each, 60 mA max for package Software selectable pullups on ports when used as input Software selectableslew rate control and drive strength on ports when used as output Internal pullup on RESET and IRQ pins to reduce customer system cost

Clock Source Options
• ICS — Internal clock source module containing a frequency-locked-loop (FLL) controlled by internal or external reference; precision trimming of internal reference allows 0.2% resolution and 2% deviation over temperature and voltage;supports bus frequencies from 1 MHz to 10 MHz XOSC — Low-power oscillator module with software selectable crystal or ceramic resonator range, 31.25 kHz to 38.4 kHz or 1 MHz to 16 MHz, and supports external clock source input up to 20 MHz

• • •



Development Support
• • Single-wire background debug interface On-chip, in-circuit emulation (ICE) with real-time bus capture

System Protection• Watchdog computer operating properly (COP) 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 Illegal address detection with reset FLASH block protect

Package Options
• • • • • • • 24-pin quad flat no lead (QFN) package 16-pin plastic dual in-line package (PDIP) — MC9S08QG8 only16-pin quad flat no lead (QFN) package 16-pin thin shrink small outline package (TSSOP) 8-pin dual flat no lead (DFN) package 8-pin PDIP — MC9S08QG4 only 8-pin narrow body small outline integrated circuit (SOIC) package

• • • •

MC9S08QG8 Data Sheet
Covers MC9S08QG8 MC9S08QG4

MC9S08QG8 Rev. 4 2/2008

Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. ©Freescale Semiconductor, Inc., 2007-2008. All rights reserved.

Revision History

To provide the most up-to-date information, the revision of our documents on the World Wide Web will be the most current. Your printed copy may be an earlier revision. To verify you have the latest information available, refer to: http://freescale.com/

The following revision history table summarizes changes...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Warrior
  • CODO
  • Coda
  • code
  • Code
  • Codes
  • code
  • codes

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS