DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

P87LPC779 Просмотр технического описания (PDF) - Philips Electronics

Номер в каталоге
Компоненты Описание
производитель
P87LPC779 Datasheet PDF : 74 Pages
First Prev 71 72 73 74
Philips Semiconductors
P87LPC779
CMOS single-chip 8-bit microcontroller
Contents
1
2
3
4
5
5.1
5.2
6
7
8
8.1
8.2
8.3
8.4
8.4.1
8.4.2
8.5
8.6
8.6.1
8.6.2
8.6.3
8.6.4
8.6.5
8.7
8.7.1
8.7.2
8.7.3
8.7.4
8.7.5
8.7.6
8.8
8.8.1
8.9
8.9.1
8.9.2
8.9.3
8.9.4
8.10
8.10.1
8.10.2
8.10.3
8.10.4
8.10.5
8.10.6
8.10.7
8.11
8.11.1
8.11.2
8.12
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Ordering information . . . . . . . . . . . . . . . . . . . . . 2
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning information . . . . . . . . . . . . . . . . . . . . . . 5
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
Logic symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Special function registers . . . . . . . . . . . . . . . . . 8
Functional description . . . . . . . . . . . . . . . . . . 12
Enhanced CPU . . . . . . . . . . . . . . . . . . . . . . . . 12
Analog functions . . . . . . . . . . . . . . . . . . . . . . . 12
Analog to digital converter . . . . . . . . . . . . . . . 12
A/D timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
The A/D in Power-down and Idle modes . . . . 15
Code examples for the A/D. . . . . . . . . . . . . . . 16
Digital to Analog Converter (DAC) outputs . . . 17
Analog comparators . . . . . . . . . . . . . . . . . . . . 17
Comparator configuration . . . . . . . . . . . . . . . . 18
Internal reference voltage . . . . . . . . . . . . . . . . 19
Comparator interrupt. . . . . . . . . . . . . . . . . . . . 20
Comparators and power reduction modes . . . 20
Comparator configuration example. . . . . . . . . 20
I2C-bus serial interface . . . . . . . . . . . . . . . . . . 20
I2C-bus interrupts . . . . . . . . . . . . . . . . . . . . . . 22
Reading I2CON . . . . . . . . . . . . . . . . . . . . . . . 23
Checking ATN and DRDY . . . . . . . . . . . . . . . . 23
Writing I2CON . . . . . . . . . . . . . . . . . . . . . . . . 24
Regarding Transmit Active . . . . . . . . . . . . . . . 24
Regarding software response time . . . . . . . . . 25
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
External interrupt inputs . . . . . . . . . . . . . . . . . 28
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Quasi-bidirectional output configuration . . . . . 29
Open drain output configuration . . . . . . . . . . . 30
Push-pull output configuration . . . . . . . . . . . . 31
Keyboard interrupt (KBI) . . . . . . . . . . . . . . . . . 33
Oscillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Low speed oscillator option . . . . . . . . . . . . . . 34
Medium speed oscillator option . . . . . . . . . . . 34
High speed oscillator option. . . . . . . . . . . . . . 34
On-chip RC oscillator option . . . . . . . . . . . . . . 35
External clock input option . . . . . . . . . . . . . . . 35
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 35
CPU clock modification: CLKR and DIVM . . . 36
Power monitoring functions. . . . . . . . . . . . . . . 37
Brownout detection . . . . . . . . . . . . . . . . . . . . . 37
Power-on detection . . . . . . . . . . . . . . . . . . . . . 38
Power reduction modes . . . . . . . . . . . . . . . . . 38
8.12.1
8.12.2
8.12.3
8.13
8.14
8.14.1
8.14.2
8.14.3
8.14.4
8.14.5
8.15
8.15.1
8.15.2
8.15.3
8.15.4
8.15.5
8.15.6
8.15.7
8.15.8
8.15.9
8.15.10
8.15.11
8.15.12
8.16
8.16.1
8.16.2
8.17
8.17.1
8.17.2
8.18
8.18.1
8.18.2
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Power-down mode . . . . . . . . . . . . . . . . . . . . . 38
Low voltage EPROM operation . . . . . . . . . . . 39
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Timer/counters . . . . . . . . . . . . . . . . . . . . . . . . 41
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Timer overflow toggle output . . . . . . . . . . . . . 45
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Serial port control register (SCON) . . . . . . . . 46
Baud rates . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Using Timer1 to generate baud rates. . . . . . . 48
More about UART Mode 0 . . . . . . . . . . . . . . . 49
More about UART Mode 1 . . . . . . . . . . . . . . . 50
More about UART Modes 2 and 3 . . . . . . . . . 51
Multiprocessor communications . . . . . . . . . . . 52
Automatic address recognition . . . . . . . . . . . . 52
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 58
Watchdog feed sequence. . . . . . . . . . . . . . . . 59
Watchdog reset . . . . . . . . . . . . . . . . . . . . . . . 59
Additional features . . . . . . . . . . . . . . . . . . . . . 60
Software reset . . . . . . . . . . . . . . . . . . . . . . . . 61
Dual data pointers . . . . . . . . . . . . . . . . . . . . . 61
EPROM characteristics . . . . . . . . . . . . . . . . . 61
System configuration bytes . . . . . . . . . . . . . . 62
Security bits . . . . . . . . . . . . . . . . . . . . . . . . . . 63
9
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 64
10
Static characteristics . . . . . . . . . . . . . . . . . . . 65
11
Dynamic characteristics . . . . . . . . . . . . . . . . . 69
12
Comparator electrical characteristics . . . . . . 70
13
D/A electrical characteristics . . . . . . . . . . . . . 70
14
Package outline . . . . . . . . . . . . . . . . . . . . . . . . 71
15
Revision history . . . . . . . . . . . . . . . . . . . . . . . 72
16
Data sheet status. . . . . . . . . . . . . . . . . . . . . . . 73
17
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
18
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
19
Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
© Koninklijke Philips Electronics N.V. 2004.
Printed in the U.S.A.
All rights are reserved. Reproduction in whole or in part is prohibited without the prior
written consent of the copyright owner.
The information presented in this document does not form part of any quotation or
contract, is believed to be accurate and reliable and may be changed without notice. No
liability will be accepted by the publisher for any consequence of its use. Publication
thereof does not convey nor imply any license under patent- or other industrial or
intellectual property rights.
Date of release: 03 May 2004
Document order number: 9397 750 13213

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]