MC68HC908GT16CFB Freescale Semiconductor, MC68HC908GT16CFB Datasheet - Page 90

no-image

MC68HC908GT16CFB

Manufacturer Part Number
MC68HC908GT16CFB
Description
IC MCU 16K FLASH 8MHZ SPI 44PQFP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC68HC908GT16CFB

Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Connectivity
SCI, SPI
Peripherals
LVD, POR, PWM
Number Of I /o
36
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-QFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908GT16CFB
Quantity:
2 829
Part Number:
MC68HC908GT16CFB
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
MC68HC908GT16CFB
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC908GT16CFB
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
MC68HC908GT16CFBE
Manufacturer:
RENESAS
Quantity:
3 000
Company:
Part Number:
MC68HC908GT16CFBE
Quantity:
61
Internal Clock Generator (ICG) Module)
;* Clock Monitor Enable Code Example
;* This code turns on both clocks, selects the desired one,
;*
;*
CMEnable:
7.4.3 Using Clock Monitor Interrupts
The clock monitor circuit can be used to recover from perilous situations such as crystal loss. To use the
clock monitor effectively, these points should be observed:
7.4.4 Quantization Error in DCO Output
The digitally controlled oscillator (DCO) is comprised of three major sub-blocks:
Each of these blocks affects the clock period of the internal clock (ICLK). Since these blocks are controlled
by the digital loop filter (DLF) outputs DDIV and DSTG, the output of the DCO can change only in
90
1. Binary weighted divider
2. Variable-delay ring oscillator
3. Ring oscillator fine-adjust circuit
then turns on the Clock Monitor and CM Interrupt
ICG Clock Monitor Enable
Enable the clock monitor and clock monitor interrupts.
The first statement in the clock monitor interrupt service routine (CMISR) should be a read to the
ICG control register (ICGCR) to verify that the clock monitor flag (CMF) is set. This is also the first
step in clearing the CMF bit.
The second statement in the CMISR should be a write to the ICGCR to clear the CMF bit (write the
bit low). Writing the bit high will not affect it. This statement does not need to immediately follow
the first, but must be contained in the CMISR.
The third statement in the CMISR should be to clear the CMON bit. This is required to ensure
proper reconfiguration of the reference dividers. This statement also must be contained in the
CMISR.
Although the clock monitor can be enabled only when both clocks are stable (ICGS is set or ECGS
is set), it will remain set if one of the clocks goes unstable.
The clock monitor only works if the external slow (EXTSLOW) bit in the CONFIG2 register is set to
the correct value.
The internal and external clocks must both be enabled and running to use the clock monitor.
When the clock monitor detects inactivity, the inactive clock is automatically deselected and the
active clock selected as the source for CGMXCLK and TBMCLK. The CMISR can use the state of
the CS bit to check which clock is inactive.
When the clock monitor detects inactivity, the application may have been subjected to extreme
conditions which may have affected other circuits. The CMISR should take any appropriate
precautions.
bset
brclr
bset
bset
bset
MC68HC908GT16 • MC68HC908GT8 • MC68HC08GT16 Data Sheet, Rev. 5.0
Figure 7-10. Code Example for Enabling the Clock Monitor
ECGON,ICGCR
ECGS,ICGCR,*
CS,ICGCR
CMON,ICGCR
CMIE,ICGCR
; turn on external oscillator
;
; wait until external clock engaged
; select external clock for bus
; enable Clock Monitor
; enable CM interrupt
(assumes internal osc is on)
Freescale Semiconductor

Related parts for MC68HC908GT16CFB