MC68HC908QY2CDW Freescale Semiconductor, MC68HC908QY2CDW Datasheet - Page 91

no-image

MC68HC908QY2CDW

Manufacturer Part Number
MC68HC908QY2CDW
Description
IC MCU 1.5K FLASH W/ADC 16-SOIC
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC68HC908QY2CDW

Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Peripherals
LVD, POR, PWM
Number Of I /o
13
Program Memory Size
1.5KB (1.5K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
16-SOIC (0.300", 7.5mm Width)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Connectivity
-
11.3.1.1 Internal Oscillator Trimming
The 8-bit trimming register, OSCTRIM, allows a clock period adjust of +127 and –128 steps. Increasing
OSCTRIM value increases the clock period. Trimming allows the internal clock frequency to be set to
12.8 MHz ± 5%.
All devices are factory programmed with trim values in reserved FLASH memory locations $FFC0 and
$FFC1. The trim value is not automatically loaded into the OSCTRIM register. User software must copy
the trim value from $FFC0 or $FFC1 into OSCTRIM if needed. The factory trim value provides the
accuracy required for communication using forced monitor mode. Some production programmers erase
the factory trim values, so confirm with your programmer vendor that the trim values at $FFC0 and $FFC1
are preserved, or are re-trimmed. Trimming the device in the user application board will provide the most
accurate trim value.
11.3.1.2 Internal to External Clock Switching
When external clock source (external OSC, RC, or XTAL) is desired, the user must perform the following
steps:
11.3.2 External Oscillator
The external clock option is designed for use when a clock signal is available in the application to provide
a clock source to the microcontroller. The OSC1 pin is enabled as an input by the oscillator module. The
clock signal is used directly to create BUSCLKX4 and also divided by two to create BUSCLKX2.
In this configuration, the OSC2 pin cannot output BUSCLKX4.So the OSC2EN bit in the port A pullup
enable register will be clear to enable PTA4 I/O functions on the pin
Freescale Semiconductor
1. For external crystal circuits only, OSCOPT[1:0] = 1:1: To help precharge an external crystal
2. Set CONFIG2 bits OSCOPT[1:0] according to . The oscillator module control logic will then set
3. Create a software delay to wait the stabilization time needed for the selected clock source (crystal,
4. After the manufacturer’s recommended delay has elapsed, the ECGON bit in the OSC status
5. After ECGON set is detected, the OSC module checks for oscillator activity by waiting two external
6. The OSC module then switches to the external clock. Logic provides a glitch free transition.
7. The OSC module first sets the ECGST bit in the OSCSTAT register and then stops the internal
oscillator, set PTA4 (OSC2) as an output and drive high for several cycles. This may help the
crystal circuit start more robustly.
OSC1 as an external clock input and, if the external crystal option is selected, OSC2 will also be
set as the clock output.
resonator, RC) as recommended by the component manufacturer. A good rule of thumb for crystal
oscillators is to wait 4096 cycles of the crystal frequency, i.e., for a 4-MHz crystal, wait
approximately 1 msec.
register (OSCSTAT) needs to be set by the user software.
clock rising edges.
oscillator.
Once transition to the external clock is done, the internal oscillator will only
be reactivated with reset. No post-switch clock monitor feature is
implemented (clock does not switch back to internal if external clock dies).
MC68HC908QY/QT Family Data Sheet, Rev. 6
NOTE
Functional Description
91

Related parts for MC68HC908QY2CDW