
Motorola => Freescale
General Description
Introduction
The MC68HC908GZ16 is a member of the low-cost, high-performance M68HC08 Family of 8-bit microcontroller units (MCUs). All MCUs in the family use the enhanced M68HC08 central processor unit (CPU08) and are available with a variety of modules, memory sizes and types, and package types.
FEATUREs
For convenience, features have been organized to reflect:
• Standard features
• Features of the CPU08
Standard Features
Features include:
• High-performance M68HC08 architecture optimized for C-compilers
• Fully upward-compatible object code with M6805, M146805, and M68HC05 Families
• 8-MHz internal bus frequency
• Clock generation module supporting 1-MHz to 8-MHz crystals
• MSCAN08 (implementing 2.0b protocol as defined in BOSCH specification dated September 1991)
• FLASH program memory security(1)
• On-chip programming firmware for use with host personal computer which does not require high voltage for entry
• In-system programming (ISP)
• System protection features:
– Optional computer operating properly (COP) reset
– Low-voltage detection with optional reset and selectable trip points for 3.3-V and 5.0-V operation
– Illegal opcode detection with reset
– Illegal address detection with reset
• Low-power design; fully static with stop and wait modes
• Standard low-power modes of operation:
– Wait mode
– Stop mode
• Master reset pin and power-on reset (POR)
• On-chip FLASH memory:
– MC68HC908GZ16 — 16 Kbytes
– MC68HC908GZ8 — 8 Kbytes
• 1 Kbyte of on-chip random-access memory (RAM)
• 406 bytes of FLASH programming routines read-only memory (ROM)
• Serial peripheral interface (SPI) module
• Enhanced serial communications interface (ESCI) module
• Fine adjust baud rate prescalers for precise control of baud rate
• Arbiter module:
– Measurement of received bit timings for baud rate recovery without use of external timer
– Bitwise arbitration for arbitrated UART communications
• LIN specific enhanced features:
– Generation of LIN 1.2 break symbols without extra software steps on each message
– Break detection filtering to prevent false interrupts
• Two 16-bit, 2-channel timer interface modules (TIM1 and TIM2) with selectable input capture, output compare, and pulse-width modulation (PWM) capability on each channel. One 2-channel timer and one 1-channel timer on the 32-pin package.
• Up to 8-channel, 10-bit successive approximation analog-to-digital converter (ADC) depending on package choice
• BREAK (BRK) module to allow single breakpoint setting during in-circuit debugging
• Internal pullups on IRQ and RST to reduce customer system cost
• Up to 37 general-purpose input/output (I/O) pins, including:
– 28 shared-function I/O pins
– Up to nine dedicated I/O pins, depending on package choice
• Selectable pullups on inputs only on ports A, C, and D. Selection is on an individual port bit basis. During output mode, pullups are disengaged.
• High current 10-mA sink/source capability on all port pins
• Higher current 20-mA sink/source capability on PTC0–PTC4
• Timebase module (TBM) with clock prescaler circuitry for eight user selectable periodic real-time interrupts with optional active clock source during stop mode for periodic wakeup from stop using an external crystal
• User selection of having the oscillator enabled or disabled during stop mode
• Up to 8-bit keyboard wakeup port depending on package choice
• 2 mA maximum current injection on all port pins to maintain input protection
• Available packages:
– 32-pin quad flat pack (LQFP)
– 48-pin quad flat pack (LQFP)
• Specific features of the MC68HC908GZ16 in 32-pin LQFP are:
– Port A is only 4 bits: PTA0–PTA3; 4-pin keyboard interrupt (KBI) module
– Port B is only 6 bits: PTB0–PTB5; 6-channel ADC module
– Port C is only 2 bits: PTC0–PTC1; shared with MSCAN08 module
– Port D is only 7 bits: PTD0–PTD6; shared with SPI, TIM1, and TIM2 modules
– Port E is only 2 bits: PTE0–PTE1; shared with ESCI module
• Specific features of the MC68HC908GZ16 in 48-pin LQFP are:
– Port A is 8 bits: PTA0–PTA7; 8-pin KBI module
– Port B is 8 bits: PTB0–PTB7; 8-channel ADC module
– Port C is only 7 bits: PTC0–PTC6; shared with MSCAN08 module
– Port D is 8 bits: PTD0–PTD7; shared with SPI, TIM1, and TIM2 modules
– Port E is only 6 bits: PTE0–PTE5; shared with ESCI module