p89cv51rb2 NXP Semiconductors, p89cv51rb2 Datasheet - Page 73

no-image

p89cv51rb2

Manufacturer Part Number
p89cv51rb2
Description
P89cv51rb2/rc2/rd2 8-bit 80c51 5 V Low Power 64 Kb Flash Microcontroller With 1 Kb Ram, Spi, 6-clock Cpu With 6/12-clock Peripherals
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p89cv51rb2FA
Manufacturer:
KEC
Quantity:
10 000
Part Number:
p89cv51rb2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89cv51rb2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC557
Manufacturer:
NXP Semiconductors
Quantity:
135
NXP Semiconductors
15. Contents
1
2
2.1
2.2
2.3
3
3.1
4
5
5.1
5.2
6
6.1
6.2
6.2.1
6.2.2
6.2.3
6.3
6.3.1
6.3.2
6.3.3
6.3.4
6.3.5
6.3.6
6.3.7
6.3.8
6.4
6.4.1
6.4.2
6.4.3
6.4.4
6.5
6.5.1
6.5.2
6.5.3
6.5.4
6.5.5
6.6
6.6.1
6.6.2
6.6.3
6.6.4
6.6.5
6.6.6
6.6.7
6.6.8
6.6.9
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . 2
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning information . . . . . . . . . . . . . . . . . . . . . . 4
Functional description . . . . . . . . . . . . . . . . . . . 8
Principal features . . . . . . . . . . . . . . . . . . . . . . . 1
Additional features . . . . . . . . . . . . . . . . . . . . . . 1
Comparison to P89C51RB2/RC2/RD2 devices 2
Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 2
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
Special function registers . . . . . . . . . . . . . . . . . 8
Memory organization . . . . . . . . . . . . . . . . . . . 12
Expanded data RAM addressing . . . . . . . . . . 12
Dual data pointers. . . . . . . . . . . . . . . . . . . . . . 14
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Flash memory. . . . . . . . . . . . . . . . . . . . . . . . . 16
Flash organization . . . . . . . . . . . . . . . . . . . . . 16
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Boot block . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Power-on reset code execution. . . . . . . . . . . . 17
Hardware activation of the bootloader . . . . . . 17
ISP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Using ISP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
IAP method . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Timers/counters 0 and 1 . . . . . . . . . . . . . . . . . 24
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Timer 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Capture mode . . . . . . . . . . . . . . . . . . . . . . . . . 29
Auto-reload mode (up or down counter) . . . . . 30
Programmable clock-out . . . . . . . . . . . . . . . . . 32
Baud rate generator mode . . . . . . . . . . . . . . . 32
Summary of baud rate equations . . . . . . . . . . 33
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Framing error . . . . . . . . . . . . . . . . . . . . . . . . . 35
More about UART Mode 1 . . . . . . . . . . . . . . . 36
More about UART Modes 2 and 3 . . . . . . . . . 36
Multiprocessor communications . . . . . . . . . . . 36
Automatic address recognition . . . . . . . . . . . . 37
6.7
6.7.1
6.7.2
6.8
6.9
6.9.1
6.9.2
6.9.3
6.9.4
6.9.5
6.10
6.11
6.12
6.12.1
6.12.2
6.13
6.13.1
6.13.1.1
7
8
9
9.1
10
11
12
13
13.1
13.2
13.3
13.4
14
15
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
© NXP B.V. 2007.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
P89CV51RB2/RC2/RD2
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 56
Static characteristics . . . . . . . . . . . . . . . . . . . 56
Dynamic characteristics . . . . . . . . . . . . . . . . . 59
Package outline . . . . . . . . . . . . . . . . . . . . . . . . 68
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 70
Revision history . . . . . . . . . . . . . . . . . . . . . . . 71
Legal information . . . . . . . . . . . . . . . . . . . . . . 72
Contact information . . . . . . . . . . . . . . . . . . . . 72
Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Serial Peripheral Interface (SPI). . . . . . . . . . . 39
SPI features . . . . . . . . . . . . . . . . . . . . . . . . . . 39
SPI description . . . . . . . . . . . . . . . . . . . . . . . . 39
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 41
PCA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
PCA capture mode. . . . . . . . . . . . . . . . . . . . . 45
16-bit software timer mode. . . . . . . . . . . . . . . 46
High-speed output mode . . . . . . . . . . . . . . . . 47
Pulse width modulator mode . . . . . . . . . . . . . 48
PCA watchdog timer . . . . . . . . . . . . . . . . . . . 49
Security bits . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Interrupt priority and polling sequence . . . . . . 50
Power-saving modes . . . . . . . . . . . . . . . . . . . 53
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Power-down mode . . . . . . . . . . . . . . . . . . . . . 53
System clock and clock options . . . . . . . . . . . 54
Clock input options and recommended
capacitor values for oscillator . . . . . . . . . . . . . 54
Clock control register (CKCON) . . . . . . . . . . . 55
Explanation of symbols . . . . . . . . . . . . . . . . . 60
Data sheet status . . . . . . . . . . . . . . . . . . . . . . 72
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Document identifier: P89CV51RB2_RC2_RD2_1
80C51 with 1 kB RAM, SPI
Date of release: 5 October 2007
All rights reserved.

Related parts for p89cv51rb2