![](http://datasheet.mmic.net.cn/30000/MC908GR16CFJE_datasheet_2372087/MC908GR16CFJE_20.png)
General Description
MC68HC908GR16 Data Sheet, Rev. 4.0
20
Freescale Semiconductor
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
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 timer interface modules (2-channel TIM1 and 2-channel TIM2) with selectable input
capture, output compare, and pulse-width modulation (PWM) capability on each channel
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
5 mA maximum current injection on all port pins to maintain input protection
Available packages:
–
32-pin LQFP
–
48-pin low-profile quad flag pack (LQFP)
Specific features of the MC68HC908GR16 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
–
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 MC68HC908GR16 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
–
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