Clock Description
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
211
8.6
32 KHz OSC digital interface
8.6.1
Introduction
The OSC digital interface controls the external crystal oscillator (SXOSC). It holds control and status
registers that are accessible by software.
8.6.2
Main features
•
External crystal oscillator (SXOSC) digital interface
•
Oscillator power-down control and status
•
Oscillator clock available interrupt
•
Oscillator bypass mode
•
Output clock division factors ranging from 1,2,3....32
8.6.3
Functional description
The crystal oscillator circuit includes an internal oscillator driver and external crystal circuitry. It can be
used as a reference clock to specific modules depending on system needs.
The crystal oscillator is controlled by the OSC_CTL register. The OSCON bit controls the power-down
while the S_OSC bit provides the oscillator clock available status.
After system reset, the oscillator is put into power-down state and software has to start it up when required.
Whenever the crystal oscillator is switched on from an off state, the OSCCNT counter starts. When it
reaches the value of EOCV[7:0] × 512, the oscillator clock is made available to the system. Also, an
interrupt pending bit, I_OSC of the OSC_CTL register, is set. An interrupt is generated if the interrupt
mask bit M_OSC is set.
The oscillator circuit can be bypassed by setting the OSCBYP bit in the OSC_CTL register to 1. This bit
can only be set by the software. System reset is needed to reset this bit. In this bypass mode, the output
clock has the same polarity as external clock applied on EXTAL32 pin and the oscillator status is forced
to 1. The bypass configuration is independent of the power-down mode of the oscillator.
The table below shows the truth table of different configurations of the oscillator.
Table 8-16. Truth table of crystal oscillator
OSCON
OSCBYP
XTAL32
EXTAL32
CK_OSCM
OSC MODE
0
0
No crystal,
high Z
No crystal,
high Z
0
Power down, IDDQ
x
1
Ext clock
x
EXTAL32
Bypass, OSC disabled
1
0
Crystal
Crystal
EXTAL32
Normal, OSC enabled
Gnd
Ext clock
EXTAL32
Normal, OSC enabled
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...