In order to Clone NXP Microprocessor P87LPC768 Eeprom Code, it is necessary to understand how is the oscillator operate, below we will introduce the oscillator features:
The P87LPC759 provides several user selectable oscillator options, allowing optimization for a range of needs from high precision to lowest possible cost. These are configured when the EPROM is programmed. Basic oscillator types that are supported include: low, medium, and high speed crystals, covering a range from 20 kHz to 20 MHz; ceramic resonators; and on-chip RC oscillator.
Medium Frequency Oscillator Option
This option supports an external crystal in the range of 100 kHz to 4 MHz. Ceramic resonators are also supported in this configuration.
High Frequency Oscillator Option
This option supports an external crystal in the range of 4 to 20 MHz. Ceramic resonators are also supported in this configuration.
On-Chip RC Oscillator Option
The on-chip RC oscillator option has a typical frequency of 6 MHz and can be divided down for slower operation through the use of the DIVM register. For on-chip oscillator tolerance see AC Electrical Characteristics table. A clock output on the X2/P2.0 pin may be enabled when the on-chip RC oscillator is used.
External Clock Input Option.
In this configuration, the processor clock is input from an external source driving the X1/P2.1 pin. The rate may be from 0 Hz up to 20 MHz when VDD is above 4.5 V and up to 10 MHz when VDD is below 4.5 V. When the external clock input mode is used to facilitate the process of Clone NXP Microprocessor P87L51FA Source Code, the X2/P2.0 pin may be used as a standard port pin. A clock output on the X2/P2.0 pin may be enabled when the external clock input is used before Clone NXP Microprocessor P87LPC768 Eeprom Code.
Low Frequency Oscillator Option
This option supports an external crystal in the range of 20 kHz to 100 kHz. Below Table shows capacitor values that may be used with a quartz crystal in this mode.
Clock Output
The P87LPC768 supports a clock output function when either the on-chip RC oscillator or external clock input options are selected by IC Breaking. This allows external devices to synchronize to the P87LPC768. When enabled, via the ENCLK bit in the P2M1 register, the clock output appears on the X2/CLKOUT pin whenever the on-chip oscillator is running, including in Idle mode.
The frequency of the clock output is 1/6 of the CPU clock rate. If the clock output is not needed in Idle mode, it may be turned off prior to entering Idle, saving additional power. The clock output may also be enabled when the external clock input option is selected.