P89V51RD2FN NXP Semiconductors, P89V51RD2FN Datasheet - Page 45

no-image

P89V51RD2FN

Manufacturer Part Number
P89V51RD2FN
Description
MCU 8-Bit 89V 80C51 CISC 64KB Flash 5V 40-Pin PDIP Tube
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89V51RD2FN

Package
40PDIP
Device Core
80C51
Family Name
89V
Maximum Speed
40 MHz
Ram Size
1 KB
Program Memory Size
64 KB
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Program Memory Type
Flash
Number Of Programmable I/os
32
Interface Type
SPI/UART
Operating Temperature
-40 to 85 °C
Number Of Timers
3

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89V51RD2FN
Manufacturer:
NXP
Quantity:
1 000
Part Number:
P89V51RD2FN
Manufacturer:
NXP
Quantity:
1 237
Part Number:
P89V51RD2FN
Manufacturer:
NXP
0
Part Number:
P89V51RD2FN
Manufacturer:
NXP
0
Part Number:
P89V51RD2FN
Manufacturer:
NXP
Quantity:
200
Part Number:
P89V51RD2FN
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89V51RD2FN,112
Manufacturer:
NXP
Quantity:
12 000
NXP Semiconductors
P89V51RB2_RC2_RD2_5
Product data sheet
Fig 19. SPI transfer format with CPHA = 1
Fig 20. Block diagram of programmable WDT
S PICL K (CPOL = 0)
S PICL K (CPOL = 1)
6.8 Watchdog timer
S PICL K cycle #
external reset
CLK (XTAL1)
(for reference)
(from master)
SS (to slave)
(from slave)
The device offers a programmable Watchdog Timer (WDT) for fail safe protection against
software deadlock and automatic recovery.
To protect the system against software deadlock, the user software must refresh the WDT
within a user-defined time period. If the software fails to do this periodical refresh, an
internal hardware reset will be initiated if enabled (WDRE = 1). The software can be
designed such that the WDT times out if the program does not work properly.
The WDT in the device uses the system clock (XTAL1) as its time base. So strictly
speaking, it is a Watchdog counter rather than a WDT. The WDT register will increment
every 344064 crystal clocks. The upper 8-bits of the time base register (WDTD) are used
as the reload register of the WDT.
The WDTS flag bit is set by WDT overflow and is not changed by WDT reset. User
software can clear WDTS by writing ‘1' to it.
Figure 20
WDT operation. During Idle mode, WDT operation is temporarily suspended, and
resumes upon an interrupt exit from idle.
The time-out period of the WDT is calculated as follows:
where WDTD is the value loaded into the WDTD register and f
frequency.
Period = (255
MOSI
MISO
WDTC
provides a block diagram of the WDT. Two SFRs (WDTC and WDTD) control
COUNTER
MSB
MSB
1
WDTD)
Rev. 05 — 12 November 2009
2
6
6
344064
clks
344064
3
5
5
UPPER BYTE
4
WDTD
WDT
4
4
1 / f
5
3
3
CLK(XTAL1)
P89V51RB2/RC2/RD2
WDT reset
6
2
2
8-bit microcontrollers with 80C51 core
7
1
1
LSB
002aaa531
8
internal reset
LSB
osc
is the oscillator
002aaa530
© NXP B.V. 2009. All rights reserved.
45 of 80

Related parts for P89V51RD2FN