Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

P89V52X2FN Datasheet(PDF) 23 Page - NXP Semiconductors

Part # P89V52X2FN
Description  8-bit 80C51 low power 8 kB flash microcontroller with 256 B RAM, 192 B data EEPROM
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P89V52X2FN Datasheet(HTML) 23 Page - NXP Semiconductors

Back Button P89V52X2FN Datasheet HTML 19Page - NXP Semiconductors P89V52X2FN Datasheet HTML 20Page - NXP Semiconductors P89V52X2FN Datasheet HTML 21Page - NXP Semiconductors P89V52X2FN Datasheet HTML 22Page - NXP Semiconductors P89V52X2FN Datasheet HTML 23Page - NXP Semiconductors P89V52X2FN Datasheet HTML 24Page - NXP Semiconductors P89V52X2FN Datasheet HTML 25Page - NXP Semiconductors P89V52X2FN Datasheet HTML 26Page - NXP Semiconductors P89V52X2FN Datasheet HTML 27Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 56 page
background image
P89V52X2_1
© NXP B.V. 2007. All rights reserved.
Preliminary data sheet
Rev. 01 — 7 June 2007
23 of 56
NXP Semiconductors
P89V52X2
80C51 with 256 B RAM, 192 B data EEPROM
When a logic 0 is applied at pin T2EX this causes Timer 2 to count down. The timer will
underflow when TL2 and TH2 become equal to the value stored in RCAP2L and
RCAP2H. Timer 2 underflow sets the TF2 flag and causes 0FFFFH to be reloaded into the
timer registers TL2 and TH2. The external flag EXF2 toggles when Timer 2 underflows or
overflows. This EXF2 bit can be used as a 17th bit of resolution if needed.
6.9.3 Programmable clock-out
A 50 % duty cycle clock can be programmed to come out on pin T2 (P1.0). This pin,
besides being a regular I/O pin, has two additional functions. It can be programmed:
1. To input the external clock for Timer/Counter 2, or
2. To output a 50 % duty cycle clock ranging from 122 Hz to 8 MHz at a 16 MHz
operating frequency.
To configure the Timer/Counter 2 as a clock generator, bit C/T2 (in T2CON) must be
cleared and bit T2OE in T2MOD must be set. Bit TR2 (T2CON.2) also must be set to start
the timer.
The Clock-Out frequency depends on the oscillator frequency and the reload value of
Timer 2 capture registers (RCAP2H, RCAP2L) as shown in Equation 2:
(2)
Where (RCAP2H, RCAP2L) = the content of RCAP2H and RCAP2L taken as a 16-bit
unsigned integer.
In the Clock-Out mode Timer 2 rollovers will not generate an interrupt. This is similar to
when it is used as a baud rate generator.
6.9.4 Baud rate generator mode
Bits TCLK and/or RCLK in T2CON allow the UART transmit and receive baud rates to be
derived from either Timer 1 or Timer 2 (See Section 6.10 for details). When TCLK = 0,
Timer 1 is used as the UART transmit baud rate generator. When TCLK = 1, Timer 2 is
Fig 16. Timer 2 in Auto Reload mode (DCEN = 1)
002aaa525
TL2
(8-bits)
TH2
(8-bits)
TF2
EXF2
underflow
timer 2
interrupt
RCAP2L RCAP2H
FFH
FFH
overflow
(down-counting reload value)
(up-counting reload value)
count direction
1 = up
0 = down
T2EX pin
toggle
OSC
÷6
T2 pin
C/T2 = 0
C/T2 = 1
control
TR2
OscillatorFrequency
2
65536
RCAP2H RCAP2L
,
()
∠
()
×
-----------------------------------------------------------------------------------------



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com