MC68HC908GR8CD Freescale Semiconductor, MC68HC908GR8CD Datasheet - Page 225

no-image

MC68HC908GR8CD

Manufacturer Part Number
MC68HC908GR8CD
Description
8-bit Microcontrollers - MCU 8 Bit 8MHz
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MC68HC908GR8CD

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
HC08
Data Bus Width
8 bit
Maximum Clock Frequency
8 MHz
Program Memory Size
64 KB
Data Ram Size
384 B
Operating Supply Voltage
3 V to 5 V
Package / Case
SOIC-28
Mounting Style
SMD/SMT
Data Rom Size
64 KB
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
21
Program Memory Type
Flash
Chapter 21
Timebase Module (TBM)
21.1 Introduction
This section describes the timebase module (TBM). The TBM will generate periodic interrupts at user
selectable rates using a counter clocked by the external crystal clock. This TBM version uses 15 divider
stages, eight of which are user selectable.
For further information regarding timers on M68HC08 family devices, please consult the HC08 Timer
Reference Manual, TIM08RM/AD.
21.2 Features
Features of the TBM module include:
21.3 Functional Description
This module can generate a periodic interrupt by dividing the crystal frequency, CGMXCLK. The counter
is initialized to all 0s when TBON bit is cleared. The counter, shown in
the TBON bit is set. When the counter overflows at the tap selected by TBR2:TBR0, the TBIF bit gets set.
If the TBIE bit is set, an interrupt request is sent to the CPU. The TBIF flag is cleared by writing a 1 to the
TACK bit. The first time the TBIF flag is set after enabling the timebase module, the interrupt is generated
at approximately half of the overflow period. Subsequent events occur at the exact period.
The timebase module may remain active after execution of the STOP instruction if the crystal oscillator
has been enabled to operate during stop mode through the OSCSTOPENB bit in the configuration
register. The timebase module can be used in this mode to generate periodic wakeup from stop mode.
21.4 Interrupts
The timebase module can periodically interrupt the CPU with a rate defined by TBR2:TBR0. When the
timebase counter chain rolls over, the TBIF flag is set. If the TBIE bit is set, enabling the timebase
interrupt, the counter chain overflow will generate a CPU interrupt request.
Freescale Semiconductor
Software programmable 1 Hz, 4 Hz, 16 Hz, 256 Hz, 512 Hz, 1024 Hz, 2048 Hz, and 4096 Hz
periodic interrupt using external 32.768 kHz crystal
User selectable oscillator clock source enable during stop mode to allow periodic wakeup from stop
This module is designed for a 32.768 kHz oscillator.
Interrupts must be acknowledged by writing a 1 to the TACK bit.
MC68HC908GR8 • MC68HC908GR4 Data Sheet, Rev. 7
NOTE
NOTE
Figure
21-1, starts counting when
225

Related parts for MC68HC908GR8CD