
Clocks, Reset, and Power (CRP)
PXN20 Microcontroller Reference Manual, Rev. 1
6-6
Freescale Semiconductor
6.2.2.2
RTC Control Register (CRP_RTCC)
The CRP_RTCC register contains:
•
RTC counter enable
•
RTC interrupt enable
•
RTC clock source select
•
RTC compare value
•
API enable
•
API interrupt enable
•
API compare value
EN128KIRC
Enable 128 kHz IRC Oscillator. The EN128KIRCbit enables the 128 kHz IRC oscillator.
0 128 kHz IRC disabled.
1 128 kHz IRC enabled.
Note: After enabling the128 kHz IRC, software needs to wait the required crystal startup/stabilization time
before making use of this oscillator.
EN32KOSC
Enable 32 kHz Oscillator. The EN32KOSC bit enables the 32 kHz XTAL oscillator.
0 32 kHz OSC disabled.
1 32 kHz OSC enabled.
Note: After enabling the 32 kHz OSC, software needs to wait the required crystal startup/stabilization time
before making use of this oscillator.
ENLPOSC
Enable Low Power External Oscillator. The ENLPOSC bit controls how the 4 – 40 MHz OSC behaves during
sleep if EN40MOSC is high. If EN40MOSC is low, then ENLPOSC has no effect.
0 4 – 40 MHz OSC clock disabled to save power, but connection to the external crystal is still active thus
supports faster recovery time for availability of 4 – 40 MHz OSC after sleep recovery. Supports full 4 – 40
MHz range of external crystals.
1 4 – 40 MHz OSC clock active and may be used as clock source for RTC/API. The external crystal
frequency is limited to
8 MHz.
EN40MOSC
Enable 4 – 40 MHz Oscillator Enable. The EN40MOSC bit enables the 4 – 40 MHz OSC external oscillator
for external crystal.
0 4 – 40 MHz OSC disabled.
1 4 – 40 MHz OSC enabled.
Note: During sleep mode with EN40MOSC = 1, the 4 – 40 MHz OSC still can actively drive an external
crystal and can be used to clock the RTC/API if the crystal frequency is
8 MHz.
TRIM128IRC
Trim Value for 128 kHz IRC. The TRIM128IRC bits are a 2’s complement trimming method, so the trimming
code increases from –16 to +15. The default trimming code is 0b11111 (–1, nearly in the middle of –16
and +15). As the code increases/decreases the frequency reduces/increases. TRIM128IRC can only be
updated if IRCTRIMEN is enabled.
TRIMIRC
Trim Value for 16 MHz IRC. The TRIM16IRC bits are a 2’s complement trimming method, so the trimming
code increases from –32 to +31. The default trimming code is 0b111111 (–1, nearly in the middle of –32
and +31). As the code increases/decreases the frequency reduces/increases. TRIM16IRC can only be
updated if IRCTRIMEN is enabled.
Table 6-2. CRP_CLKSRC Field Descriptions (continued)
Field
Description
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...