mc9s12vr48 Freescale Semiconductor, Inc, mc9s12vr48 Datasheet - Page 135

no-image

mc9s12vr48

Manufacturer Part Number
mc9s12vr48
Description
S12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor
OSCSEL1
PLLSEL
CSAD
PSTP
Field
COP
PRE
PCE
7
6
4
4
3
2
PLL Select Bit
This bit selects the PLLCLK as source of the System Clocks (Core Clock and Bus Clock).
PLLSEL can only be set to 0, if UPOSC=1.
UPOSC= 0 sets the PLLSEL bit.
Entering Full Stop Mode sets the PLLSEL bit.
0 System clocks are derived from OSCCLK if oscillator is up (UPOSC=1, f
1 System clocks are derived from PLLCLK, f
Pseudo Stop Bit
This bit controls the functionality of the oscillator during Stop Mode.
0 Oscillator is disabled in Stop Mode (Full Stop Mode).
1 Oscillator continues to run in Stop Mode (Pseudo Stop Mode), option to run RTI and COP.
Note: Pseudo Stop Mode allows for faster STOP recovery and reduces the mechanical stress and aging of the
Note: When starting up the external oscillator (either by programming OSCE bit to 1 or on exit from Full Stop
COP in Stop Mode ACLK Disable — This bit disables the ACLK for the COP in Stop Mode. Hence the COP is
static while in Stop Mode and continues to operate after exit from Stop Mode.
Due to clock domain crossing synchronization there is a latency time to enter and exit Stop Mode if COP clock
source is ACLK and this clock is stopped in Stop Mode. This maximum latency time is 4 ACLK cycles which must
be added to the Stop Mode recovery time tSTP_REC from exit of current Stop Mode to entry of next Stop Mode.
This latency time occurs no matter which Stop Mode (Full, Pseudo) is currently exited or entered next. After exit
from Stop Mode (Pseudo, Full) for 2 ACLK cycles no Stop Mode request (STOP instruction) should be generated
to make sure the COP counter increments at each Stop Mode exit.
This bit does not influence the ACLK for the API.
0 COP running in Stop Mode (ACLK for COP enabled in Stop Mode).
1
COP Clock Select 1 — COPOSCSEL0 and COPOSCSEL1 combined determine the clock source to the COP
(see also
If COPOSCSEL1 = 1, COPOSCSEL0 has no effect regarding clock select and changing the COPOSCSEL0 bit
does not re-start the COP time-out period.
COPOSCSEL1 selects the clock source to the COP to be either ACLK (derived from trimmable internal
RC-Oscillator) or clock selected via COPOSCSEL0 (IRCCLK or OSCCLK
Changing the COPOSCSEL1 bit re-starts the COP time-out period.
COPOSCSEL1 can be set independent from value of UPOSC.
UPOSC= 0 does not clear the COPOSCSEL1 bit.
0 COP clock source defined by COPOSCSEL0
1 COP clock source is ACLK derived from a trimmable internal RC-Oscillator
RTI Enable During Pseudo Stop Bit — PRE enables the RTI during Pseudo Stop Mode.
0 RTI stops running during Pseudo Stop Mode.
1 RTI continues running during Pseudo Stop Mode if RTIOSCSEL=1.
Note: If PRE=0 or RTIOSCSEL=0 then the RTI will go static while Stop Mode is active. The RTI counter will not
COP Enable During Pseudo Stop Bit — PCE enables the COP during Pseudo Stop Mode.
0 COP stops running during Pseudo Stop Mode
1 COP continues running during Pseudo Stop Mode if COPOSCSEL=1
Note: If PCE=0 or COPOSCSEL=0 then the COP will go static while Stop Mode is active. The COP counter will
COP stopped in Stop Mode (ACLK for COP disabled in Stop Mode)
resonator in case of frequent STOP conditions at the expense of a slightly increased power consumption.
Mode with OSCE bit already 1) the software must wait for a minimum time equivalent to the startup-time
of the external oscillator t
be reset.
not be reset.
Table
4-6).
MC9S12VR Family Reference Manual, Rev. 2.2
Preliminary - Subject to Change Without Notice
Table 4-5. CPMUCLKS Descriptions
UPOSC
before entering Pseudo Stop Mode.
bus
= f
Description
PLL
/ 2.
Clock, Reset and Power Management (S12CPMU_UHV)
)
.
bus
= f
osc
/ 2).
135

Related parts for mc9s12vr48