Electronic Components Datasheet Search
  English  ▼

X  

P87LPC778 Datasheet(PDF) 31 Page - NXP Semiconductors

Part # P87LPC778
Description  CMOS single-chip 8-bit 80C51 microcontroller 128-byte data RAM, 8 kB OTP
PDF  79 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PHILIPS [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo PHILIPS - NXP Semiconductors

P87LPC778 Datasheet(HTML) 31 Page - NXP Semiconductors

Back Button P87LPC778 Datasheet HTML 27Page - NXP Semiconductors P87LPC778 Datasheet HTML 28Page - NXP Semiconductors P87LPC778 Datasheet HTML 29Page - NXP Semiconductors P87LPC778 Datasheet HTML 30Page - NXP Semiconductors P87LPC778 Datasheet HTML 31Page - NXP Semiconductors P87LPC778 Datasheet HTML 32Page - NXP Semiconductors P87LPC778 Datasheet HTML 33Page - NXP Semiconductors P87LPC778 Datasheet HTML 34Page - NXP Semiconductors P87LPC778 Datasheet HTML 35Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 79 page
background image
Philips Semiconductors
P87LPC778
CMOS single-chip 8-bit microcontroller
Product data
Rev. 01 — 31 March 2004
31 of 79
9397 750 12378
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
Values to be used in the CT1 and CT0 bits are shown in Table 30. To allow the
I2C-bus to run at the maximum rate for a particular oscillator frequency, compare the
actual oscillator rate to the fosc max column in the table. The value for CT1 and CT0 is
found in the first line of the table where CPU clock max is greater than or equal to the
actual frequency. Table 30 also shows the machine cycle count for various settings of
CT1/CT0. This allows calculation of the actual minimum high and low times for SCL
as follows:
(5)
For instance, at an 8 MHz frequency, with CT1/CT0 set to 1 0, the minimum SCL high
and low times will be 5.25
µs. Table 30 also shows the Timer I timeout period (given
in machine cycles) for each CT1/CT0 combination. The timeout period varies
because of the way in which minimum SCL high and low times are measured. When
the I2C-bus interface is operating, Timer I is pre-loaded at every SCL transition with a
value dependent upon CT1/CT0. The pre-load value is chosen such that a minimum
SCL high or low time has elapsed when Timer I reaches a count of 008 (the actual
value pre-loaded into Timer I is 8 minus the machine cycle count).
Table 27:
I2CFG - I2C-bus configuration register (address C8h) bit allocation
Not bit addressable; Reset value: 00H
Bit
7
6
5
4
3
2
1
0
Symbol
SLAVEN
MASTRQ
CLRTI
TIRUN
-
-
CT1
CT0
Table 28:
I2CFG - I2C-bus configuration register (address C8h) bit description
Bit
Symbol
Description
7
SLAVEN
Slave Enable. Writing a ‘1’ this bit enables the slave functions of
the I2C-bus subsystem. If SLAVEN and MASTRQ are ‘0’, the
I2C-bus hardware is disabled. This bit is cleared to ‘0’ by reset and
by an I2C-bus time-out.
6
MASTRQ
Master Request. Writing a ‘1’ to this bit requests mastership of the
I2C-bus. If a transmission is in progress when this bit is changed
from ‘0’ to ‘1’, action is delayed until a stop condition is detected. A
start condition is sent and DRDY is set (thus making ATN = 1 and
generating an I2C-bus interrupt). When a master wishes to release
mastership status of the I2C-bus, it writes a ‘1’ to XSTP in I2CON.
MASTRQ is cleared by an I2C-bus time-out.
5
CLRTI
Writing a ‘1’ to this bit clears the Timer I overflow flag. This bit
position always reads as a ‘0’.
4
TIRUN
Writing a ‘1’ to this bit lets Timer I run; a ‘0’ stops and clears it.
Together with SLAVEN, MASTRQ, and MASTER, this bit
determines operational modes as shown in Table 29.
3, 2
-
Reserved for future use. Should not be set to ‘1’ by user programs.
1, 0
CT1, CT0
These two bits are programmed as a function of the CPU clock
rate, to optimize the MIN HI and LO time of SCL when this device
is a master on the I2C-bus. The time value determined by these
bits controls both of these parameters, and also the timing for stop
and start conditions.
SCL min high/low time (in microseconds)
6 * min time count
CPUclock (in MHz)
------------------------------------------------
=



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com