P89LPC938FA NXP Semiconductors, P89LPC938FA Datasheet - Page 29

IC, MCU 8BIT 80C51 8K FLASH, PLCC28

P89LPC938FA

Manufacturer Part Number
P89LPC938FA
Description
IC, MCU 8BIT 80C51 8K FLASH, PLCC28
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89LPC938FA

Controller Family/series
(8051) 8052
Core Size
8bit
No. Of I/o's
26
Program Memory Size
8KB
Eeprom Memory Size
512Byte
Ram Memory Size
768Byte
Cpu Speed
18MHz
Oscillator Type
External,
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC938FA
Manufacturer:
ST
Quantity:
760
Part Number:
P89LPC938FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89LPC938FA,129
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P89LPC938FAЈ¬129
Manufacturer:
NXP
Quantity:
1 503
Philips Semiconductors
9397 750 14051
Product data sheet
7.19.1 CCU Clock (CCUCLK)
7.19.2 CCU clock prescaling
7.19.3 Basic timer operation
7.19.4 Output compare
7.19.5 Input capture
7.19 CCU
the CPU clock. If the XTAL oscillator is used as the CPU clock, then the RTC will use
CCLK as its clock source. Only power-on reset will reset the RTC and its associated SFRs
to the default state.
This unit features:
The CCU runs on the CCUCLK, which is either PCLK in basic timer mode, or the output of
a PLL. The PLL is designed to use a clock source between 0.5 MHz to 1 MHz that is
multiplied by 32 to produce a CCUCLK between 16 MHz and 32 MHz in PWM mode
(asymmetrical or symmetrical). The PLL contains a 4-bit divider to help divide PCLK into a
frequency between 0.5 MHz and 1 MHz.
This CCUCLK can further be divided down by a prescaler. The prescaler is implemented
as a 10-bit free-running counter with programmable reload at overflow.
The Timer is a free-running up/down counter with a direction control bit. If the timer
counting direction is changed while the counter is running, the count sequence will be
reversed. The timer can be written or read at any time.
When a reload occurs, the CCU Timer Overflow Interrupt Flag will be set, and an interrupt
generated if enabled. The 16-bit CCU Timer may also be used as an 8-bit up/down timer.
There are four output compare channels A, B, C and D. Each output compare channel
needs to be enabled in order to operate and the user will have to set the associated I/O
pin to the desired output mode to connect the pin. When the contents of the timer matches
that of a capture compare control register, the Timer Output Compare Interrupt Flag
(TOCFx) becomes set. An interrupt will occur if enabled.
Input capture is always enabled. Each time a capture event occurs on one of the two input
capture pins, the contents of the timer is transferred to the corresponding 16-bit input
capture register. The capture event can be programmed to be either rising or falling edge
triggered. A simple noise filter can be enabled on the input capture by enabling the Input
A 16-bit timer with 16-bit reload on overflow.
Selectable clock, with prescaler to divide clock source by any integral number
between 1 and 1024.
Four compare/PWM outputs with selectable polarity
Symmetrical/Asymmetrical PWM selection
Two capture inputs with event counter and digital noise rejection filter
Seven interrupts with common interrupt vector (one Overflow, two Capture,
four Compare)
Safe 16-bit read/write via shadow registers.
Rev. 01 — 25 February 2005
8-bit microcontroller with 10-bit A/D converter
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
P89LPC938
29 of 68

Related parts for P89LPC938FA