English
Language : 

PXD20RM Datasheet, PDF (229/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
Table 8-19. Truth table of crystal oscillator
ENABLE
0
x
1
BYP
0
1
0
XTAL32 EXTAL32 CK_OSCM
OSC MODE
No crystal,
High Z
Ext clock
Crystal
Gnd
No crystal,
High Z
x
Crystal
Ext clock
0
EXTAL32
EXTAL32
EXTAL32
Power down, IDDQ
Bypass, OSC Disabled
Normal, OSC Enabled
Normal, OSC Enabled
The crystal oscillator clock can be further divided by a configurable factor in the range 1 to 32 to generate
the divided clock to match system requirements. This division factor is specified by the OSCDIV[4:0] bits
of OSC_CTL register.
8.4.2.3 Register description
Address offset: 0x0000
Reset value: 0b00000000_10000000_00000000_00000000
0
OSCB
YP
rs
16
M_OS
C
1
2
17
18
reserved
3
4
5
6
reserved
r
19
20
21
22
OSCDIV
7
8
9
23
24
25
I_OSC
Base Address: 0xC3FE0040
10
11
12
13
14
15
EOCV
rw
26
27
28
reserved
29
30
31
S_OSC
OSCO
N
rw
r
rw
rc
r
r
rw
Table 8-20. SXOSC Crystal Oscillator Control Register (OSC_CTL)
Note: OSC32 is by default always ON, but can be configured OFF in standby by writing OSCON bit.
Table 8-21. OSC_CTL field descriptions
Field
Bit 0
Bits 1-7
Bits 8-15
Description
OSCBYP: Crystal Oscillator bypass
This bit specifies whether the oscillator should be bypassed or not. Software can only set this bit.
System reset is needed to reset this bit.
0: Oscillator output is used as root clock.
1: EXTAL32 is used as root clock.
Reserved
EOCV[7:0]: End of Count Value
These bits specify the end of count value to be used for comparison by the oscillator stabilization
counter OSCCNT after reset or whenever it is switched on from the off state. This counting period
ensures that external oscillator clock signal is stable before it can be selected by the system. When
oscillator counter reaches the value EOCV[7:0]*512, oscillator available interrupt request is
generated. The reset value of this field depends on the device specification. The OSCCNT counter
will be kept under reset if oscillator bypass mode is selected.
Freescale Semiconductor
PXD20 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
8-33