Watchdog Oscillator Option; External Clock Input Option - P89Lpc901; On-Chip Rc Oscillator Trim Register - Philips P89LPC902 User Manual

8-bit microcontrollers with accelerated two-clock 80c51 core 1kb 3v low-power byte-eraseable flash with 128 byte ram
Table of Contents

Advertisement

Philips Semiconductors
CLOCKS
If CCLK is 8MHz or slower, the CLKLP SFR bit (AUXR1.7) can be set to '1' to reduce power consumption. On reset, CLKLP is
'0' allowing highest performance access. This bit can then be set in software if CCLK is running at 8MHz or slower.
TRIM
Address: 96h
Not bit addressable
Reset Source(s): Power-up only
Reset Value: On power-up reset, ENCLK = 0, and TRIM.5-0 are loaded with the factory programmed value.
BIT
SYMBOL
TRIM.7
-
TRIM.6
ENCLK
TRIM.5-0
Note: on reset, the TRIM SFR is initialized with a factory preprogrammed value. When setting or clearing either the ENCLK
or RCCLK bits, the user should retain the contents of bits 5:0 of the TRIM register. This can be done by reading the contents
of the TRIM register (into the ACC for example), modifying bits 6 or 7, and writing this result back into the TRIM register.
Alternatively, the "ANL direct" or "ORL direct" instructions can be used to clear or set bit 6 or 7of the TRIM register.

Watchdog Oscillator Option

The watchdog has a separate oscillator which has a nominal frequency of 400KHz. This oscillator can be used to save power
when a high clock frequency is not needed.

External Clock Input Option - P89LPC901

In this configuration, the processor clock is derived from an external source driving the XTAL1 / P3.1 pin. The rate may be from
0 Hz up to 12 MHz. The XTAL2 / P3.0 pin may be used as a standard port pin or a clock output.
2003 Dec 8
7
6
-
ENCLK
TRIM.5
FUNCTION
Reserved.
When ENCLK =1, CCLK/ 2 is output on the XTAL2 pin (P3.0) provided that the crystal
oscillator is not being used. When ENCLK=0, no clock output is enabled.(P89LPC901).
Trim value.
Figure 2-2: On-Chip RC Oscillator TRIM Register
5
4
3
TRIM.4
TRIM.3
29
User's Manual - Preliminary -
P89LPC901/902/903
2
1
0
TRIM.2
TRIM.1
TRIM.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

P89lpc903P89lpc901

Table of Contents