Electronic Components Datasheet Search
  English  ▼

X  

PIC14000 Datasheet(PDF) 41 Page - Microchip Technology

Part # PIC14000
Description  28-Pin Programmable Mixed Signal Controller
PDF  153 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC14000 Datasheet(HTML) 41 Page - Microchip Technology

Back Button PIC14000 Datasheet HTML 37Page - Microchip Technology PIC14000 Datasheet HTML 38Page - Microchip Technology PIC14000 Datasheet HTML 39Page - Microchip Technology PIC14000 Datasheet HTML 40Page - Microchip Technology PIC14000 Datasheet HTML 41Page - Microchip Technology PIC14000 Datasheet HTML 42Page - Microchip Technology PIC14000 Datasheet HTML 43Page - Microchip Technology PIC14000 Datasheet HTML 44Page - Microchip Technology PIC14000 Datasheet HTML 45Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 153 page
background image
© 1996 Microchip Technology Inc.
Preliminary
DS40122B-page 41
PIC14000
7.0
INTER-INTEGRATED CIRCUIT
SERIAL PORT (I2C
™)
The I2C module is a serial interface useful for
communicating with other peripheral or microcontroller
devices. These peripheral devices may be serial
EEPROMs,
shift
registers,
display
drivers,
A/D
converters, etc. The I2C module is compatible with the
following interface specifications:
• Inter-Integrated Circuit (I2C)
• System Management Bus (SMBus)
This section provides an overview of the Inter-IC(I2C)
bus. The I2C bus is a two-wire serial interface
developed by the Philips Corporation. The original
specification, or standard mode, was for data transfers
of up to 100 Kbps. An enhanced specification, or fast
mode, supports data transmission up to 400 Kbps.
Both standard mode and fast mode devices will
inter-operate if attached to the same bus.
The I2C interface employs a comprehensive protocol to
ensure reliable transmission and reception of data.
When transmitting data, one device is the “master”
(generates the clock) while the other device(s) acts as
the “slave”. All portions of the slave protocol are
implemented in the I2C module’s hardware, except
general call support, while portions of the master proto-
col will need to be addressed in the PIC14000 soft-
ware.
Table 7-1
defines
some
of
the
I2C
bus
terminology. For additional information on the I2C inter-
face specification, please refer to the Philips Corpora-
tion document
“The I 2C-bus and How to Use It”.
Note:
The I2C module on PIC14000 only
supports I2C mode. This is different from
the
standard
module
used
on
the
PIC16C7X family, which supports both
I2C and SPI modes. Caution should be
exercised to avoid enabling SPI mode on
the PIC14000.
In the I2C interface protocol each device has an
address. When a master wishes to initiate a data
transfer, it first transmits the address of the device that
it wishes to talk to. All devices “listen” to see if this is
their address. Within this address, a bit specifies if the
master wishes to read from or write to the slave device.
The master and slave are always in opposite modes
(transmitter/receiver) of operation during a data
transfer. They may operate in either of these two
states:
• Master-transmitter and Slave-receiver
• Slave-transmitter and Master-receiver
In both cases the master generates the clock signal.
The output stages of the clock (SCL) and data (SDA)
lines must have an open-drain or open-collector in
order to perform the wired-AND function of the bus.
External pull-up resistors are used to ensure a high
level when no device is pulling the line down. The
number of devices that may be attached to the I2C bus
is limited only by the maximum bus loading specifica-
tion of 400 pF.
7.1
Initiating and Terminating Data
Transfer
During times of no data transfer (idle time), both the
clock line (SCL) and the data line (SDA) are pulled high
through the external pull-up resistors. The START and
STOP
determine
the
start
and
stop
of
data
transmission. The START is defined as a high to low
transition of SDA when SCL is high. The STOP is
defined as a low to high transition of SDA when SCL is
high. Figure 7-1 shows the START and STOP. The
master generates these conditions for starting and ter-
minating data transfer. Due to the definition of the
START and STOP, when data is being transmitted the
SDA line can only change state when the SCL line is
low.
FIGURE 7-1:
I2C START AND STOP CONDITIONS
S
Start
Condition
Change
of Data
Allowed
Change
of Data
Allowed
Stop
Condition
P
SDA
SCL
This document was created with FrameMaker404



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 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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