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

P87LPC778 データシートの表示(PDF) - Philips Electronics

部品番号
コンポーネント説明
メーカー
P87LPC778 Datasheet PDF : 79 Pages
First Prev 71 72 73 74 75 76 77 78 79
Philips Semiconductors
P87LPC778
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.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.6
8.6.1
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
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
Analog comparators . . . . . . . . . . . . . . . . . . . . 17
Comparator configuration . . . . . . . . . . . . . . . . 17
Internal reference voltage . . . . . . . . . . . . . . . . 19
Comparator interrupt. . . . . . . . . . . . . . . . . . . . 19
Comparators and power reduction modes . . . 19
Comparator configuration example. . . . . . . . . 20
Pulse width modulator . . . . . . . . . . . . . . . . . . 20
PWM brake function . . . . . . . . . . . . . . . . . . . . 25
I2C-bus serial interface . . . . . . . . . . . . . . . . . . 26
I2C-bus interrupts . . . . . . . . . . . . . . . . . . . . . . 27
Reading I2CON . . . . . . . . . . . . . . . . . . . . . . . 28
Checking ATN and DRDY . . . . . . . . . . . . . . . . 28
Writing I2CON . . . . . . . . . . . . . . . . . . . . . . . . 29
Regarding Transmit Active . . . . . . . . . . . . . . . 29
Regarding software response time . . . . . . . . . 30
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
External interrupt inputs . . . . . . . . . . . . . . . . . 33
I/O ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Quasi-bidirectional output configuration . . . . . 34
Open drain output configuration . . . . . . . . . . . 35
Push-pull output configuration . . . . . . . . . . . . 36
Keyboard interrupt (KBI) . . . . . . . . . . . . . . . . . 38
Oscillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Low speed oscillator option . . . . . . . . . . . . . . 39
Medium speed oscillator option . . . . . . . . . . . 39
High speed oscillator option. . . . . . . . . . . . . . 39
On-chip RC oscillator option . . . . . . . . . . . . . . 40
External clock input option . . . . . . . . . . . . . . . 40
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 40
CPU clock modification: CLKR and DIVM . . . 41
Power monitoring functions. . . . . . . . . . . . . . . 42
Brownout detection . . . . . . . . . . . . . . . . . . . . . 42
Power-on detection . . . . . . . . . . . . . . . . . . . . . 43
8.12
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
Power reduction modes . . . . . . . . . . . . . . . . . 43
Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Power-down mode . . . . . . . . . . . . . . . . . . . . . 43
Low voltage EPROM operation . . . . . . . . . . . 44
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Timer/counters . . . . . . . . . . . . . . . . . . . . . . . . 46
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Timer overflow toggle output . . . . . . . . . . . . . 50
UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Mode 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Mode 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Serial port control register (SCON) . . . . . . . . 51
Baud rates . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Using Timer1 to generate baud rates. . . . . . . 53
More about UART Mode 0 . . . . . . . . . . . . . . . 54
More about UART Mode 1 . . . . . . . . . . . . . . . 55
More about UART Modes 2 and 3 . . . . . . . . . 56
Multiprocessor communications . . . . . . . . . . . 57
Automatic address recognition . . . . . . . . . . . . 57
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . 63
Watchdog feed sequence. . . . . . . . . . . . . . . . 64
Watchdog reset . . . . . . . . . . . . . . . . . . . . . . . 64
Additional features . . . . . . . . . . . . . . . . . . . . . 65
Software reset . . . . . . . . . . . . . . . . . . . . . . . . 66
Dual data pointers . . . . . . . . . . . . . . . . . . . . . 66
EPROM characteristics . . . . . . . . . . . . . . . . . 66
System configuration bytes . . . . . . . . . . . . . . 67
Security bits . . . . . . . . . . . . . . . . . . . . . . . . . . 68
9
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 69
10
Static characteristics . . . . . . . . . . . . . . . . . . . 70
11
Dynamic characteristics . . . . . . . . . . . . . . . . . 74
12
Comparator electrical characteristics . . . . . . 75
13
Package outline . . . . . . . . . . . . . . . . . . . . . . . . 76
14
Revision history . . . . . . . . . . . . . . . . . . . . . . . 77
15
Data sheet status. . . . . . . . . . . . . . . . . . . . . . . 78
16
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
17
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
18
Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
© 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: 31 March 2004
Document order number: 9397 750 12378

Share Link: 

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