Datenblatt-pdf.com


P89C52 Schematic ( PDF Datasheet ) - NXP Semiconductors

Teilenummer P89C52
Beschreibung 80C51 8-bit microcontroller family 4K/8K/16K/32K Flash
Hersteller NXP Semiconductors
Logo NXP Semiconductors Logo 




Gesamt 32 Seiten
P89C52 Datasheet, Funktion
INTEGRATED CIRCUITS
89C51/89C52/89C54/89C58
80C51 8-bit microcontroller family
4K/8K/16K/32K Flash
Product specification
1999 Oct 27
Replaces Datasheets 89C51 of 1999 Apr 01 and 89C52/89C54/89C58 of 1999 Apr 01
Philips
Semiconductors






P89C52 Datasheet, Funktion
Philips Semiconductors
80C51 8-bit microcontroller family
4K/8K/16K/32K Flash
Product specification
89C51/89C52/89C54/89C58
Table 1. 89C51/89C52/89C54/89C58 Special Function Registers
SYMBOL
DESCRIPTION
DIRECT
BIT ADDRESS, SYMBOL, OR ALTERNATIVE PORT FUNCTION
RESET
ADDRESS MSB
LSB VALUE
ACC*
Accumulator
E0H E7 E6 E5 E4 E3 E2 E1 E0 00H
AUXR# Auxiliary
8EH – – – – – – – AO xxxxxxx0B
AUXR1# Auxiliary 1
A2H –
– GF2 0
– DPS xxxx00x0B
B* B register
F0H F7 F6 F5 F4 F3 F2 F1 F0 00H
DPTR:
DPH
DPL
Data Pointer (2 bytes)
Data Pointer High
Data Pointer Low
83H
82H
00H
00H
AF AE AD AC AB AA A9 A8
IE* Interrupt Enable
A8H EA
– ET2 ES ET1 EX1 ET0 EX0 0x000000B
BF BE BD BC BB BA B9 B8
IP* Interrupt Priority
B8H –
– PT2 PS PT1 PX1 PT0 PX0 xx000000B
B7 B6 B5 B4 B3 B2 B1 B0
IPH#
Interrupt Priority High B7H
– PT2H PSH PT1H PX1H PT0H PX0H xx000000B
87 86 85 84 83 82 81 80
P0* Port 0
80H AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 FFH
97 96 95 94 93 92 91 90
P1* Port 1
90H – – – – – – T2EX T2 FFH
A7 A6 A5 A4 A3 A2 A1 A0
P2* Port 2
A0H AD15 AD14 AD13 AD12 AD11 AD10 AD9 AD8 FFH
B7 B6 B5 B4 B3 B2 B1 B0
P3* Port 3
B0H RD WR T1 T0 INT1 INT0 TxD RxD FFH
PCON#1 Power Control
87H SMOD1 SMOD0
POF2 GF1 GF0 PD
IDL 00xxx000B
D7 D6 D5 D4 D3 D2 D1 D0
PSW*
Program Status Word D0H
CY
AC
F0 RS1 RS0 OV
P 000000x0B
RACAP2H# Timer 2 Capture High
RACAP2L# Timer 2 Capture Low
CBH
CAH
00H
00H
SADDR# Slave Address
SADEN# Slave Address Mask
A9H
B9H
00H
00H
SBUF
Serial Data Buffer
99H
xxxxxxxxB
9F 9E 9D 9C 9B 9A 99 98
SCON* Serial Control
98H SM0/FE SM1 SM2 REN TB8 RB8 TI
RI 00H
SP Stack Pointer
81H
07H
8F 8E 8D 8C 8B 8A 89 88
TCON* Timer Control
88H TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 00H
CF CE CD CC CB CA C9 C8
T2CON* Timer 2 Control
C8H
TF2 EXF2 RCLK TCLK EXEN2 TR2 C/T2 CP/RL2 00H
T2MOD# Timer 2 Mode Control C9H
– T2OE DCEN xxxxxx00B
TH0 Timer High 0
8CH
00H
TH1 Timer High 1
8DH
00H
TH2#
Timer High 2
CDH
00H
TL0 Timer Low 0
8AH
00H
TL1 Timer Low 1
8BH
00H
TL2#
Timer Low 2
CCH
00H
TMOD
Timer Mode
89H GATE C/T M1 M0 GATE C/T M1 M0 00H
* SFRs are bit addressable.
# SFRs are modified from or added to the 80C51 SFRs.
– Reserved bits.
1. Reset value depends on reset source.
2. Bit will not be affected by reset.
1999 Oct 27
6

6 Page









P89C52 pdf, datenblatt
Philips Semiconductors
80C51 8-bit microcontroller family
4K/8K/16K/32K Flash
Product specification
89C51/89C52/89C54/89C58
Timer 1
Overflow
OSC
NOTE: OSC. Freq. is divided by 2, not 12.
÷2
C/T2 = 0
T2 Pin
C/T2 = 1
Transition
Detector
Control
TR2
TL2
(8-bits)
TH2
(8-bits)
÷2
“0”
“1”
“1” “0”
SMOD
RCLK
RCAP2L
Reload
RCAP2H
“1” “0”
÷ 16
RX Clock
TCLK
÷ 16
TX Clock
T2EX Pin
EXF2
Timer 2
Interrupt
Control
EXEN2
Note availability of additional external interrupt.
Figure 6. Timer 2 in Baud Rate Generator Mode
SU00068
Table 4. Timer 2 Generated Commonly Used
Baud Rates
Baud Rate
Osc Freq
Timer 2
RCAP2H
RCAP2L
375 k
9.6 k
2.8 k
2.4 k
1.2 k
300
110
300
110
12 MHz
12 MHz
12 MHz
12 MHz
12 MHz
12 MHz
12 MHz
6 MHz
6 MHz
FF
FF
FF
FF
FE
FB
F2
FD
F9
FF
D9
B2
64
C8
1E
AF
8F
57
Baud Rate Generator Mode
Bits TCLK and/or RCLK in T2CON (Table 4) allow the serial port
transmit and receive baud rates to be derived from either Timer 1 or
Timer 2. When TCLK= 0, Timer 1 is used as the serial port transmit
baud rate generator. When TCLK= 1, Timer 2 is used as the serial
port transmit baud rate generator. RCLK has the same effect for the
serial port receive baud rate. With these two bits, the serial port can
have different receive and transmit baud rates – one generated by
Timer 1, the other by Timer 2.
Figure 6 shows the Timer 2 in baud rate generation mode. The baud
rate generation mode is like the auto-reload mode, in that a rollover in
TH2 causes the Timer 2 registers to be reloaded with the 16-bit value
in registers RCAP2H and RCAP2L, which are preset by software.
The baud rates in modes 1 and 3 are determined by Timer 2’s
overflow rate given below:
Modes
1
and
3
Baud Rates
+ Timer
2
Overflow
16
Rate
The timer can be configured for either “timer” or “counter” operation.
In many applications, it is configured for “timer” operation (C/T2*=0).
Timer operation is different for Timer 2 when it is being used as a
baud rate generator.
Usually, as a timer it would increment every machine cycle (i.e., 1/12
the oscillator frequency). As a baud rate generator, it increments
every state time (i.e., 1/2 the oscillator frequency). Thus the baud
rate formula is as follows:
Modes 1 and 3 Baud Rates =
Oscillator Frequency
[32 [65536 * (RCAP2H, RCAP2L)]]
Where: (RCAP2H, RCAP2L) = The content of RCAP2H and
RCAP2L taken as a 16-bit unsigned integer.
The Timer 2 as a baud rate generator mode shown in Figure 6, is
valid only if RCLK and/or TCLK = 1 in T2CON register. Note that a
rollover in TH2 does not set TF2, and will not generate an interrupt.
Thus, the Timer 2 interrupt does not have to be disabled when
Timer 2 is in the baud rate generator mode. Also if the EXEN2
(T2 external enable flag) is set, a 1-to-0 transition in T2EX
(Timer/counter 2 trigger input) will set EXF2 (T2 external flag) but
will not cause a reload from (RCAP2H, RCAP2L) to (TH2,TL2).
Therefore when Timer 2 is in use as a baud rate generator, T2EX
can be used as an additional external interrupt, if needed.
1999 Oct 27
12

12 Page





SeitenGesamt 32 Seiten
PDF Download[ P89C52 Schematic.PDF ]

Link teilen




Besondere Datenblatt

TeilenummerBeschreibungHersteller
P89C51RA28-bit Flash microcontrollerPhilips
Philips
P89C51RB28-bit Flash microcontrollerPhilips
Philips
P89C51RB2BA80C51 8-bit Flash microcontroller family 16KB/32KB/64KB ISP/IAP Flash with 512B/512B/1KB RAMNXP Semiconductors
NXP Semiconductors
P89C51RB2BB80C51 8-bit Flash microcontroller family 16KB/32KB/64KB ISP/IAP Flash with 512B/512B/1KB RAMNXP Semiconductors
NXP Semiconductors
P89C51RB2BP80C51 8-bit Flash microcontroller family 16KB/32KB/64KB ISP/IAP Flash with 512B/512B/1KB RAMNXP Semiconductors
NXP Semiconductors

TeilenummerBeschreibungHersteller
CD40175BC

Hex D-Type Flip-Flop / Quad D-Type Flip-Flop.

Fairchild Semiconductor
Fairchild Semiconductor
KTD1146

EPITAXIAL PLANAR NPN TRANSISTOR.

KEC
KEC


www.Datenblatt-PDF.com       |      2020       |      Kontakt     |      Suche