IIC Device Overview

I
2
C Device Overview
4Q 2002
Steve Blozis
I
2
C International Product Manager
Agenda
• I
2
C Technology Overview
• I
2
C Product Overview
• Typical Applications
• Resources
Philips I 2 C products are produced by several business lines including Logic Product Group - Specialty Logic Product Line,
Standard Analog and Mobile Display Driver
Semiconductors
2
Product Family Overview - Specialty Logic
I 2 C (PCA and PCF) GTL and GTLP Bus Switch (CBT)
Translators (PTN) Memory Interface Clocks (PCK)
Semiconductors
3
I
2
C Bus Basics - Address and Data
µcon-
troller
I/O A/D
D/A
LCD RTC
µcon-
troller II
Data is transmitted at speeds of 100 kHz, 400kHz or
3.4 MHz.
SCL
SDA
Each device is addressed individually by software with a unique address that can be modified by hardware pins.
Write data
1010A
2
A
1
A
0
R/W
A0
A1
A2
Master
S slave address W A data A data
A P
< n data bytes >
Read data transmitter
new function
New devices or functions can be easily ‘clipped on to an existing bus!
Slave receiver
S slave address R A data A data A P
Semiconductors receiver transmitter
< n data bytes > last data byte S = Start condition
R/W = read / write not
A = Acknowledge A = Not Acknowledge
P = Stop condition
4
Philips Semiconductor I
2
C Devices Overview
• TV Reception
• Radio Reception
• Audio Processing
• Infrared Control
• DTMF
• LCD display control
• Clocks/timers
• General Purpose I/O
• LED display control
• Bus Extension/Control
• A/D and D/A Converters
• EEPROM/RAM
• Hardware Monitors
• Microcontroller
I 2 C devices are broken down into 14 different categories
Philips offers over 400 different I
2
C devices
Semiconductors
5
EEPROM
RAM
Address pointer
256
Byte
RAM
Address pointer
POR
POR
I
2
C-bus
256
I
2
E 2 interface
PROM interface
Sub address decoder
Sub address decoder
Supply
SDA
SCL
Real-Time Clock / Calendar
Counters: s, min, h, day, month, year
Oscillator / prescaler
32kHz
Alarm-, Timer-
Registers
(240 Byte RAM 8583)
POR
I
2
C-bus interface
SDA
SCL
Interrupt
Sub address decoder
LCD Display Control
Display size:
2 line by 12 characters
+ 120 icons
DDRAM
CGRAM
CGROM
Control logic
Bias voltage generator
Voltage multiplier
Column driver
Semiconductors
SDA
SCL
Supply
Supply
SDA
SCL
General Purpose I/O
POR
Interrupt
≠
I
2
C-bus interface
Sub address decoder alternative analog input configurations
Supply
Analog to Digital Converter (ADC)
POR
Oscillator, intern / extern
SDA
SCL
I 2 C-bus interface
Data registers
-
+
Sub address decoder
Analog reference
-
+
-
+
-
+
-
+
-
+
LCD Segment Control
Control logic
SDA
SCL
RAM
Display sizes 1 x 24 … 2 x 40… single chip: 4 x 40 ... 16 x 24
Supply
Bias voltage generator
Segment drivers
6
I
2
C Applications and Segments
Appliances
TV reception
Radio reception
Audio Processing
Infrared control
LCD display control
LED display control
TV Radio Audio Telephony Industrial Consumer Automotive Telecom Server/PC
•
•
• •
• •
• •
• •
DTMF
General Purpose I/O
Hardware Monitors
Clocks/timers
• •
• •
Bus Extension/Control
• •
A/D and D/A converters
• •
• •
RAM
EEPROM
8-bit microprocessors
16-bit microprocessors
• •
• •
• •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
I 2 C devices can be used in many different applications and segments
Semiconductors
7
I
2
C Bus Features
• Only two bus lines are required: a serial data line (SDA) and a serial clock line (SCL)
• Each device connected to the bus is software addressable by a unique address and simple master/slave relationships exist at all times; masters can operate as master-transmitters or as masterreceivers
• It’s a true multi-master bus including collision detection and arbitration to prevent data corruption if two or more masters simultaneously initiate data transfer.
• Serial, 8-bit oriented, bi-directional data transfers can be made at up to 100 kbit/s in the Standard-mode, up to 400kbits/s in the Fast-mode, or up to 3.4 mbit/s in the High-speed mode.
• On-chip filtering (50 ns) rejects spikes on the bus data line to preserve data integrity.
• The number of ICs that can be connected to the same bus is limited only be a maximum bus capacitance of 400 pF.
Semiconductors
8
I
2
C Designer Benefits
• Functional blocks on the block diagram correspond with the actual ICs; designs proceed rapidly from block diagram to final schematic.
• No need to design bus interfaces because the I 2 C-bus interface is already integrated on-chip.
• Integrated addressing and data-transfer protocol allow systems to be completely software-defined.
• The same IC types can often be used in many different applications
• Design-time reduces as designers quickly become familiar with the frequency used functional blocks represented by I 2 C -bus compatible ICs
• ICs can be added to or removed from a system without affecting any other circuits on the bus
• Fault diagnosis and debugging are simple; malfunctions can be immediately traced
• Software development time can be reduced by assembling a library of reusable software modules.
Semiconductors
9
I
2
C Manufacturer Benefits
• The simple 2-wire serial I 2 C -bus minimized interconnections so ICs have fewer pins and there are not so many PCB tracks; result - smaller and less expensive PCBs
• The completely integrated I 2 C -bus protocol eliminates the need for address decoders and other ‘glue logic’
• The multi-master capability of the I 2 C -bus allows rapid testing/alignment of end-user equipment via external connections to an assembly-line
• Increases system design flexibility by allowing simple construction of equipment variants and easy upgrading to keep design up-to-date
• The I 2 C-bus is a de facto world standard that is implemented in over 1000 different ICs (Philips has > 400) and licensed to more than 70 companies
Semiconductors
10
I
2
C Product Characteristics
• Frequency Range
Typically 100 kHz operation with newer devices up to 400 kHz
• Operating Supply Voltage Range
Newer devices at 2.3 to 5.5 V or 3.0 to 3.6 V with 5 V tolerance
• Operating temperature range
Typically -40 to +85 ºC with some 0 to +70 ºC or 0 to +120 ºC
• Hardware address pins
Typically three (A
O
, A
1
, A
2
) are provided to allow up to eight of the identical device on the same I 2 C bus but sometimes due to pin limitations there are fewer
• Package Offerings
Typically DIP, SO, SSOP, QSOP or
TSSOP packages are offered with newer devices offered in SO,
TSSOP and HVQFN (24 pin shown)
Semiconductors
11
I
2
C Bus Basics - Bus Operation
I 2 C bus hardware configuration
Typical bus communication waveforms
The I
2
C specification and other useful application information can be found on Philips Semiconductors I 2 C web site at www.semiconductors.philips.com/i2c
Semiconductors
12
I
2
C Bus Vs SMBus
The SMBus specification can be found on SMBus web site at www.SMBus.org
Semiconductors
13
Philips Semiconductor I
2
C Devices Overview
• General Purpose I/O
• LED display control
• Bus Extension/Control
• A/D and D/A Converters
• EEPROM/RAM
• Hardware Monitors
• Microcontrollers
I 2 C devices are broken down into 14 different categories
Semiconductors
Focus on Digital Tone Multi Frequency
14
DTMF/Modem/Musical Tone Generators
In addition to the standard DTMF frequencies the device can also provide:
• Twelve standard frequencies used in simplex modem applications for data rates from 300 to 1200 bits per second
• Two octaves of musical scales n steps of semitones
Semiconductors
PCD3311C/12C FEATURES
• DTMF, modem and musical tone generation
• DTMF used for telephone tone dialing
• Low baud rate modem
• Stabilized output voltage level
• On-chip filtering assures a very low total harmonic distortion in accordance with CEPT recommendations
• Latched inputs for data bus applications
• I²C-bus compatible
• Selection of parallel or serial (I²Cbus) data input (PCD3311C)
15
Philips Semiconductor I
2
C Devices Overview
• General Purpose I/O
• LED display control
• Bus Extension/Control
• A/D and D/A Converters
• EEPROM/RAM
• Hardware Monitors
• Microcontrollers
I 2 C devices are broken down into 14 different categories
Focus on LCD and RTC categories
Semiconductors
16
I
2
C LCD Display and Segment Drivers
LCD Display Control
Display size:
2 line by 12 characters +
120 icons
Column driver
DDRAM
CGRAM
CGROM
Control logic
Bias voltage generator
Voltage multiplier
SDA
SCL
Supply
The LCD Display driver is a complex device and is an example of how "complete" a system an I
2
C chip can be – it generates the LCD voltages, adjusts the contrast, temperature compensates, stores the messages, has CGROM and
RAM etc etc.
Display sizes single chip:
1 x 24 … 2 x 40…
4 x 40 ... 16 x 24
The LCD Segment driver is a less complex LCD driver
(e.g., just a segment driver).
LCD Segment Control
Control logic
SDA
SCL
RAM
Supply
Bias voltage generator
Segment drivers
Semiconductors
17
I
2
C Real Time Clock/Calendar
Real-Time Clock / Calendar
Counters: s, min, h, day, month, year
Oscillator / prescaler
32kHz
Alarm-, Timer- Registers
(240 Byte RAM 8583)
POR
I
2
C-bus interface
Interrupt
Sub address decoder
SDA
SCL
Philips offers four Real
Time Clocks, they are
PCF8593, PCF8583,
PCF8573 and PCF8563.
The RTC is used to provide absolute timing to devices on the I 2 C Bus.
The latest RTC is the PCF8563, it has the lowest current consumption in the range. Additionally, the PCF8583 has 240 bytes 'scratchpad' RAM integrated with the RTC.
Semiconductors
18
LCD Graphic and Character Drivers, LCD
Segment Drivers & Real Time Clocks
TYPE OF FUNCTION IN DEVICE
Vcc RANGE (V)
FEATURES
F R EQ ( kHz )
TEMP
PACKAGES
Description
OM4085
PCF2103
PCF2104
PCF2105
PCF2113
PCF2116
PCF2119
PCF8531
PCF8533
PCF8535
PCF8548
PCF8549
PCF8558
PCF8563
PCF8566
PCF8573
PCF8576C
PCF8577C
PCF8578
PCF8579
PCF8583
PCF8593
PCF8811
PCF8813
PCF8814
PCF8820
PCF8831
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
96 segment LCD driver
24 character LCD controller/driver
48 character LCD controller/driver
48 character LCD controller/driver
24 character + 120 icon LCD controller/driver
48 character LCD controller/driver
32 character LCD controller/driver
34 x 128 graphic LCD controller/driver
320 segment LCD driver
(65 + icon row) x 133 graphic LCD controller/driver
65 x 102 graphic LCD controller/driver
65 x 102 graphic LCD controller/driver
40 x 101 graphic LCD controller/driver ultra low power real time clock/calendar
96 segment LCD driver real time clock/calendar with power fail detector
160 segment LCD driver
64 segment LCD driver
384+ segment LCD driver
384+ segment LCD driver real tme clock/calendar with 240 x 8 bit RAM low power real time clock/calendar
80 x 128 graphic LCD controller/driver
(67 + icon row) x 102 graphic LCD controller/driver
80 x 96 graphic LCD controller/driver
67 x 101 4 greyscale graphic LCD controller/driver
160 x 128RGB 256 colour STN controller/driver chipset
PCF8832
λ
160 x 128RGB 256 colour STN controller/driver chipset
4
4
4
4
4
2
1
4
16
2
2
16
4
16
4
2
2
2
2
16
2
1
2
2
2
16
2
2
1
1
1
λ
λ
λ
λ
λ
2
λ λ λ λ λ
λ λ λ λ λ λ λ
λ λ λ λ λ
λ λ λ λ λ λ
λ λ λ λ λ λ λ
λ λ λ λ λ
λ λ λ λ λ λ
λ λ λ λ λ λ λ
λ λ λ λ λ λ λ
λ λ λ λ
λ λ λ λ λ λ
λ λ λ λ λ λ λ
λ λ λ λ λ λ
λ λ λ λ λ λ λ λ
λ λ λ λ λ
1.1 λ
λ λ λ λ λ
λ λ λ λ λ
λ λ λ λ λ
λ λ λ λ λ
λ λ λ λ λ
λ λ λ λ λ λ λ
λ λ λ λ λ λ λ λ
λ 1.5 λ λ λ λ λ λ λ λ
λ λ λ λ λ λ λ λ λ
λ λ λ λ λ λ λ λ
λ λ λ λ λ λ λ
λ 1.5 λ λ λ λ λ λ λ
λ 1.5 λ λ λ λ λ λ λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
VSO40
8
16
λ
λ
λ
λ
λ
8
8
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ
λ λ
λ λ
LQFP100
P
P
VSO40
P
T
LQFP64/VSO56
VSO40
LQFP64/VSO56
LQFP64/VSO56
P T
P T
T
19
DP
Philips Semiconductor I
2
C Devices Overview
• TV Reception
• Radio Reception
• Audio Processing
• Infrared Control
• DTMF
• LCD display control
• Clocks/timers
I 2 C devices are broken down into 14 different categories
Semiconductors
Focus on general purpose categories
20
Supply
SDA
SCL
Quasi Output I
2
C I/O Expanders
General Purpose I/O
POR
I 2 C-bus interface
Sub address decoder
Interrupt
≠
alternative analog input configurations
KEY POINTS
-Transfers keyboard, ACPI Power switch, keypad, switch or other inputs to microcontroller via I 2 C bus
-Expand microcontroller via I 2 C bus where I/O can be located near the source or on various cards
-Use outputs to drive LEDs, sensors, fans, enable and other input pins, relays and timers
- Quasi outputs can be used as Input or Output without the use of a configuration register
-The PCA9501 has 6 address pins, allowing up to
64 devices to share the same I 2 C Bus.
-Application Note, AN469 GPIO Selection, discusses pros and cons of GPIOs
# of Outputs Interrupt
2Kbit
EEPROM
Interrupt and
2Kbit EEPROM
Quasi Output (20-25 ma sink and 100 uA source)
8
16
PCF8574/74A
PCF8575/75C
PCA9500
-
PCA9501
-
Semiconductors
21
Quasi Output I
2
C I/O Expanders - Registers
• To program the outputs
S Address W
OUTPUT
DATA
A
P
Multiple writes are possible during the same communication
• To read input values
S Address R
INPUT
DATA
A
P
Multiple reads are possible during the same communication
• Important to know
–
At power-up, all the I/O’s are HIGH; Only a current source to V
DD active is
– An additional strong pull-up resistors allows fast rising edges
– I/O’s should be HIGH before using them as Inputs
Semiconductors
22
True Output I
2
C I/O Expanders
Supply
SDA
SCL
General Purpose I/O
POR
Interrupt
≠
I
2
C-bus interface
Sub address decoder alternative analog input configurations
KEY POINTS
-Transfers keyboard, ACPI Power switch, keypad, switch or other inputs to microcontroller via I 2 C bus
-Use totem pole outputs to drive LEDs, sensors, fans, enable and other input pins, relays and timers
-Extra command byte needed for Input,
Output, Polarity and I/O Configuration
-Application Note, AN469 GPIO
Selection, discusses pros and cons of
GPIOs
Semiconductors
# of Outputs Reset Interrupt
2Kbit
EEPROM
True Output (20-25 ma sink and 10 mA source)
8 PCA9556/57 PCA9554/54A PCA9558
16 PCA9555 -
23
True Output I
2
C I/O Expanders - Registers
• To configure the device
S
S
Address W
Address W
03
H
02
H
CONFIG
DATA
POLARITY
DATA
A
P
No need to access
Configuration and
Polarity registers once programmed
• To program the outputs
S Address W
01
H
OUTPUT
DATA
A
P
Multiple writes are possible during the same communication
• To read input values
S Address W
S Address R
Semiconductors
00
H
INPUT
DATA
A
P
OUTPUT
DATA
Multiple reads are possible during the same communication
24
True Output I
2
C I/O Expanders - Example
Input
Reg#
Polarity
Reg#
Config
Reg#
Output
Reg#
Read
Semiconductors
Read/
Write
Read/
Write
Read/
Write
I/O’s
25
Low Power True Output I
2
C I/O Expanders
FEATURES
- Same true output structure and I
2
C address as the PCA9554/55 series
(0100AAA.)
- Metal mask change to disconnect the internal pull up resistors to reduce Istbl current to 1
µA maximum (from 750
µ A (8-bit) and
1.5 mA (16-bit)) for battery powered applications.
- 8-bit device in 16-pin package (SO,
TSSOP, HVQFN)
- 16-bit device in 24-pin package
(SO, TSSOP, HVQFN)
• PCA9534 8-Bit I
2 C and SMBus Low Power I/O port with Interrupt
• PCA9535 16-Bit I
2 C and SMBus Low Power I/O port with Interrupt
Semiconductors
Sampling Nov 02
26
I
2
C LED Blinkers
Supply
POR
SDA
SCL
I
2
C-bus interface
Sub address decoder
# of Outputs
2
4
8
16
Reset
≠
alternative analog input configurations
KEY POINTS
-I
2
C/SMBus is not tied up by sending repeated transmissions to turn LEDs on and then off to “blink” LEDs.
-Frees up the micro’s timer
-Continues to blink LEDs even when no longer connected to bus master
-Can be used to cycle relays and timers
Reset and POR
PCA9550
PCA9553
PCA9551
PCA9552
FEATURES
-25 mA open drain outputs
-Internal oscillator (+/- 10%)
-Two user definable blink rates and duty cycles adjustable between 40 Hz and 6.4 seconds in 256 steps
-Unused pins can be used for normal GPIO
-Hardware Reset pin and Power On Reset
(POR)
Semiconductors
Sampling, all will be released by end of 2002
27
PCA955x I
2
C LED Blinkers
)
)
)
)
0 0 0 0 0 0
256 - PWM0
256
ON = LED ON
OFF = LED OFF
ON
OFF
PSC0 + 1
40
256 - PWM1
256
ON
OFF
PSC1 + 1
40
Semiconductors
ON
ON
OFF
OFF ON
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0 0 0 0
ON , OFF, BR1
,
BR2
28
I
2
C LED Dimmers
Supply
POR
SDA
SCL
I
2
C-bus interface
Sub address decoder
# of Outputs
2
4
8
16
Reset
≠
alternative analog input configurations
KEY POINTS
-Higher frequency rate allows LEDs to be dimmed by varying the duty cycle for
Red/Green/Blue color mixing applications.
- State machine modified to default to highest frequency at power on and duty cycle goes from 0% (off) to 99.6% (almost always on) for better dimming control.
Reset and POR
PCA9530
PCA9533
PCA9531
PCA9532
FEATURES
-25 mA open drain outputs
-Internal oscillator (+/- 10%)
-Two user definable blink rates and duty cycles adjustable between 160 Hz and 1.6 seconds in 256 steps
-Unused pins can be used for normal GPIO
-Hardware Reset pin and Power On Reset
(POR)
Semiconductors
Sampling in Dec 02
29
PCA953x I
2
C LED Dimmers
)
)
)
)
0 0 0 0 0 0
PWM
256
0
ON = LED ON
OFF = LED OFF
ON
OFF
PSC
0
160
+ 1
PWM
1
256
ON
OFF
PSC
1
160
+ 1
Semiconductors
ON
ON
OFF
OFF ON
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0 0 0 0
ON , OFF, BR1
,
BR2
30
Semiconductors
4 Digit I
2
C LED Driver
FEATURES
-21 mA open drain outputs
- can drive 32 LEDs or 4 digits with decimal point (16 bits multiplexed twice)
- controls LED brightness in 7 steps of 3 mA.
- offered in SO and DIL package
- DIL dissipates 1 W, no series resistors are needed
- internal oscillator
- four different slave addresses
- V
CC range 4.5 V to 15 V
• SAA1064 4 Digit I
2
C LED Driver
31
I 2 C Bus
Hardware Input
Pins
MUX Select Pin
I
2
C Dip Switches
Non MUX Output Pin
Hardware Output
Pins
KEY POINTS
-Used for Speed Step™ notebook processor voltage changes when on AC/battery power or when in deep sleep mode
-Also used as replacement for jumpers or dip switches since there is no requirement to open the equipment cabinet to modify the jumpers/dip switch settings
FEATURES
-Non-volatile EEPROM retains values when the device is powered down
-Write or read EEPROM via I 2 C
-Use Mux select pin or I
2
C commands to select output values
PCA8550
PCA9559
PCA9560
PCA9561
Semiconductors
# of Non Volatile registers
2
4
1
1
# of register bits
6
6
5
6
# of hardware input pins
5
6
4
5
# of Muxed outputs
5
6
4
5
Non-muxed output
YES
YES
YES
NO
32
I
I
2
2 C
I
2
C DIP Switches
I
I
2
C INTERFACE /
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
Semiconductors
33
I
2
C Multiplexers
I 2 C Bus
Interrupt Out
I 2 C
Controller
OFF
I
2
C Bus 0
I
2
C Bus 1
Interrupt 0
Interrupt 1
FEATURES
-Fan out main I 2 C/SMBus to multiple channels
-Select off or individual downstream channel
-I
2
C/SMBus commands used to select channel
-Power On Reset (POR) opens all channels
-Interrupt logic provides flag to master for system monitoring.
KEY POINTS
-Many specialized devices have only one I
2
C address and sometimes many are needed in the same system.
-Multiplexers allow the master to communicate to one downstream channel at a time but don’t isolate the bus capacitance
-Other Applications include sub-branch isolation.
# of Channels POR Only Interrupt Logic and POR
2
4
PCA9540
-
PCA9542
PCA9544
Semiconductors
34
I
2
C Multiplexers: Address Deconflict
I 2 C device
1
I 2 C device
2
MASTER
Same I 2 C devices with same address
I
2
C device
1
I
2
C device
2
PCA9540 I
2
C MULTIPLEXER
MASTER
The multiplexer allows to address 1 device then the other one
Semiconductors
35
I
2
C Multiplexers: Multi-card Application
-
-
Cards are identical
-
-
One card is selected at a time
-
-
PCA9544 collects Interrupt
Card 4
Card 3
Card 2
Card 1
PCA
9544
I
2
C bus 4
I
2
C bus 3
I
2
C bus 2
I
2
C bus 1
Reset
Int
MASTER
INT INT0
INT1
INT2
INT3
PCA
9554
INT
Alarm
Int
Sub
System
Int
Semiconductors
36
I
2
C Switches
I
2
C Bus
Reset
Interrupt Out
OFF
I 2 C
Controller
OFF
I 2 C Bus 0
I 2 C Bus 1
Interrupt 0
Interrupt 1
FEATURES
-Fan out main I
2
C/SMBus to multiple channels
-Select off or individual downstream channels one at a time, all at once or in any combination.
-I 2 C/SMBus commands used to select channel
-Hardware Reset pin or POR opens all channels
-Interrupt logic provides flag to master
KEY POINTS
-Switches allow the master to communicate to one channel or multiple downstream channels at a time but don’t isolate the bus capacitance
-Other Applications include: sub-branch isolation and I
2
C/SMBus level shifting
(1.8, 2.5, 3.3 or 5.0 V)
# of Channels Reset & POR Interrupt Logic and Reset & POR
2
4
8
-
PCA9546
PCA9548
PCA9543
PCA9545
-
Semiconductors
37
I
2
C Switches: Voltage Level Shifting
I
2
C device
1
I
2
C device
2
I
2
C device
3
I
2
C device
4
I
2
C device
5
Devices supplied by 5V Devices supplied by 3.3V
MASTER
I
2
C device
1
I
2
C device
2
I
2
C device
3
MASTER
PCA9543
I
2
C
SWITCH
Semiconductors
I
2
C device
4
I
2
C device
5
5V bus
3.3V bus
38
I
2
C Bus Bi-Directional Voltage Level Translation
5 V
1.8 V
1.5 V
1.2 V
1.0 V
V
CORE
CPU I/O
GTL2002
GND
SREF
S1
S2
GREF
DREF
D1
D2
• Voltage translation between any voltage from 1.0 V to 5.0 V
• Bi-directional with no direction pin
• Reference voltage clamps the input voltage with low propagation delay
Semiconductors
V
CC
Chipset I/O
– GTL2000 22-Bit
– GTL2002 2-Bit
– GTL2010 10-Bit
39
PCA9515 and PCA9516 Applications
PCA9515 and PCA9516 were designed to isolate up to 400 pF on each segment and uses an offset V
OL to allow bi-directional signaling without use of a direction pin. They were not designed to operate on the same bus since a low signal is not passed through two devices.
Semiconductors
40
Semiconductors
PCA9518 Applications
The PCA9518 was design to allow expansion to an unlimited number of segments of 400 pF each.
41
P82B96 I
2
C Bus Buffer for many new applications !
Sy
SCL
Sx
SDA
Bi-directional data streams
Special logic levels
( I
2
C compatible)
P82B96
Ty
• Drive long cables/hot swap
- 100 m at 70 kHz
- 1 km at 30 kHz
Ry
Tx
Rx
• Multi-point applications
• Opto-isolate for safety
• Radio or IR links
• Send over other buses
- USB, CAN, RS485, RS232 etc.
through external device
Uni-directional data streams
• Increase noise immunity
Any data transmission paths and logic levels
Conventional CMOS logic levels (2-15V)
NO LIMIT to the number of connected devices !
P82B96
Re-combine to bi-directional I 2 C
Convert the logic signal levels back to I 2 C compatible
I 2 C currents (3mA) Higher current option, up to 30mA static sink
Semiconductors
42
Driving I
2
C bus signals long distances
Base Enclosure
Remote Control Enclosure
12V
3.3 -5V
12V
Long cables
SCL
3.3-5V
12V
SDA
P82B96
• Normal I2C logic levels (3.3 or 5 V)
• I
2
C currents (3mA)
Semiconductors
P82B96
• Conventional CMOS logic levels
(2-15V)
• Higher current option, up to
30mA static sink
• Normal I2C logic levels (3.3 or 5 V)
• I
2
C currents (3mA)
43
Changing I
2
C bus signals for multi-point applications!
3.3/5V
12V
12V
Twisted-pair telephone wires,
USB or flat ribbon cables
Up to 15V logic levels, Include V
CC
& GND
SCL
3.3/5
12V
NO LIMIT to the number of connected bus devices !
3.3V
SDA
P82B96
P82B96 P82B96
P82B96
SDA/SCL
SDA/SCL SDA/SCL
P82B96
SCL
SDA
Link parking meters and pay stations
Semiconductors
Link vending machines to save cell phone links
•--
•--
•--
•--
•--
•--
Warehouse pick/pack systems
• Factory automation
•Access/alarm systems
• Video, LCD & LED display signs
•Hotel/motel management systems
• Monitor emergency lighting/exit signs
44
Changing I
2
C bus signals for Opto-isolation
3.3/5V
Vcc 1 Vcc 2
SCL
SCL
3.3/5V
P82B96
SDA
SDA
• Low cost Optos can be
directly driven (10-30mA)
4N36 Optos for ~5kHz
6N137 for 100kHz
HCPL-060L for 400 kHz
Semiconductors
• Controlling equipment on phone lines
• AC Mains switches, lamp dimmers, power supplies
• Isolating medical or industrial equipment
45
SCL
SDA
P82B715 I
2
C Bus Extender allows more bus capacitance
( I 2 C spec limit is 400pF )
Vcc
Sy
Sx
P82B715
Bi-directional I2C
Normal logic voltage levels, exactly I
2
C
I 2 C currents (3mA)
Ly
Lx
• Drive long cables
- up to 50 m at 85 kHz
• Multi-point applications
• Up to 3500pF capacitance wiring
• Up to 100 bus ICs in one system
• Increases noise immunity
Bi-directional signals
No change to logic voltage levels
Higher current sink up to 30mA static
Ly
Lx
P82B715
Sy
Sx
Bi-directional I 2 C
Convert the logic signal impedance level back to I
2
C compatible (3mA)
Semiconductors
46
P82B715 I
2
C Bus Extender drives long cables
( But I
2
C system spec limit remains 400pF ! )
Vcc
Vcc
SCL
Sy
Ly
Vcc
Lx
Ly Sy
SCL
SDA
Sx
Lx
Sx
SDA
P82B715
Twisted-pair telephone wires
USB or flat ribbon cables
P82B715
I 2 C system capacitance load = long wiring capacitance divided by 10
Bi-directional I2C
Normal logic voltage levels, exactly I
2
C
I 2 C currents (3mA)
Bi-directional signals
No change to logic voltage levels
Higher current sink, up to 30mA static, reduces impedance to increase noise immunity
Bi-directional I 2 C
Converts the logic signal impedance level back to I
2
C compatible (3mA)
Semiconductors
47
I
2
C Bus Extender or I
2
C Bus Buffer ?
What’s the difference ?
Extender: P82B715
Buffer: PCA9515/16/18, P82B96
• Doesn’t change any logic voltage levels
-
Retains usual noise margins
-
Logic levels set only by I/Os, not by Vcc
- Only requirement is Vcc >= logic ‘hi’ level
• Uses special logic voltages on some I/Os
-
Necessary to prevent system latching
-
Input logic threshold fixed around 0.5 - 1V
- Outputs don’t pull right down to GND.
- These special I/Os have reduced noise margins
• No ‘isolation’ of connected devices
-
Sum of all the connected I
2
C bus capacitances normally remains at 400pF, can be exceptions
- Crashes buses if its Vcc is removed
• Fixed X10 current gain
-
Amplifies one direction only, and only when sinking
- Input ‘lo’ drive is 1/10 output sink current
- 3mA drive allows 30mA sink on extended bus
•
Always need at least two in a system
-
Normal I
2
C devices are not allowed on 30mA side
See AN255-02 for details
• Provides isolation of connected devices
- Bus loading is simply I/O pin capacitance, < 7pF
-
Will free all buses if its supply fails
•Current gain is essentially infinite (
=buffer !)
-
Input current < 1uA
- Adding external amplification to P82B96 is allowed so NO LIMIT to load (=devices) that can be driven
• Simple buffering needs only one chip
-
Using standard I 2 C bus impedances each side
• P82B96 offers X10 impedance conversion
-
Then use multiple buffers to convert back to I
2
C
Semiconductors
48
Parallel Bus to I
2
C Bus Controller
I 2 C Bus
Operation
Control
Control
Bus Buffer
Chip Enable
Write Strobe
Read Strobe
Reset
Address Inputs
Interrupt Request
Data (8-bits)
FEATURES
-Provides both master and slave functions.
-Controls all the I
2
C bus specific sequences, protocol, arbitration and timing
-Internal oscillator (PCA9564 only)
-Hardware Reset pin and Power On Reset
(POR)
KEY POINTS
-Serves as an interface between most standard parallel-bus microcontrollers/ microprocessors and the serial I
2
C bus.
-Allows the parallel bus system to communicate with the I
2
C bus
Max I
2
C freq
Voltage range
PCF8584 4.5 - 5.5V
PCA9564 2.3 - 3.6V w/5V tolerance
90 kHz
360 kHz
Clock source Parallel interface
External
Internal
Slow
33 MHz - Fast
Semiconductors
PCA9564 is sampling
49
Analog to Digital Converter
Supply
POR
Oscillator, intern / extern
SDA
SCL
I
2
C-bus interface
Data registers
-
+
Sub address decoder
Analog reference
-
+
-
+
-
+
-
+
-
+
KEY POINTS
-Converts signals from digital to analog and analog to digital
FEATURES
-4 channel A to D
-1 channel D to A
-Internal oscillator
-Hardware Reset pin and
Power On Reset (POR)
Voltage range
PCF8591 2.5 - 5.5V w/5V tolerance
Semiconductors
Max I
2
C freq
100 kHz
Resolution
8-bit
50
I
2
C Serial CMOS RAM/EEPROMs
EEPROM
Supply
RAM
Address pointer
POR
Address pointer
POR
I
2
C-bus interface
SDA
SCL
256 x 8-bit RAM
256 x 8-byte (2 kbit)
Also PCF85102C-2 and PCF85103C-2
256
Byte
RAM
256
2
Byte
E 2 interface
PROM
Sub address decoder
Sub address decoder
128 x 8-byte (1 kbit) 512 x 8-byte (4 kbit)
FEATURES
-Wide voltage range of 2.5 to 5.5V
-1,000,000 read and write cycles
-10 year data retention
1024 x 8-byte (8 kbit) 2048 x 8-byte (16 kbit)
KEY POINTS
-I²C bus is used to read and write information to and from the memory
-Wide voltage range minimizes the number of
EEPROMs that need to be in inventory
Semiconductors
51
Remote
Sensor
I
2
C Hardware Monitors
I
2
C Temperature Monitor
High Accuracy Temp Monitor
Digital Temperature
Sensor and Thermal
Watchdog™
FEATURES
–High temperature accuracy
–Open drain interrupt output
Semiconductors
I
2
C Temperature and Voltage
Monitor
KEY POINTS
–Sense temperature and/or monitor voltage via I²C
–Remote sensor can be internal to microprocessor
52
Integrated I
2
C ASICs
Like PCA9559
I
2
C Bus
MUX Select
Output
Input
Like PCA9557
Like PCF8582C-2
2K EEPROM
Input
LED
Output
• PCA9558
, 5-bit Multiplexed/1-bit Latched 6-bit I
2
C EEPROM and Octal SMBus
Registered Interface with Integrated 256 Byte EEPROM (shown above)
• PCA9504A
, 56-pin TSSOP Glue Chip 4 for Pentium® III & 4 motherboards
• PCA9500
, 8-bit I
2
C/SMBus I/O Port with 256 Byte EEPROM
• PCA9501
, 8-bit I 2 C/SMBus I/O Port with 256 Byte EEPROM & Interrupt
FEATURES
-Integration of many functions into one device to help reduce part count, cost and board space requirements
Semiconductors
KEY POINTS
-Customer input is welcome on other possible combination devices
53
I
2
C Bus Basics - Simple Bus Arrangement
C++
100 kHz and 400 kHz
Microprocessor
Reset Interrupt
3.3 V
EEPROM
Keyboard
Semiconductors
54
I
2
C Bus Basics - Complex Bus Arrangement
C
100 kHz
Reset
Microprocessor
C++
EEPROM
Multiplexer
100 kHz and 400 kHz
Microprocessor
Reset Interrupt
3.3 V
Outputs
Voltage
Regulator
Module
5 V
EEPROM Bus Controller
Repeater
Keyboard
Semiconductors
Disable
Temp
Sensor
1
Temp
Sensor
2
Temp
Sensor
3
Temp
Sensor
4
5 V
3.3 V
2.5 V
1.8 V
Switch
LED Blinker
55
Slot or Gaming Machine Setup
Processor
PCA8584
PCA9564
or
P82B96
12 V to 5V Reg
LED Blinker
LEDs
P82B96
P82B96
P82B96
12 V to 5V Reg
I/O Expander
Motor Controller
Distribution Hub
-12 V +
Semiconductors
4-wire USB cable
SCL & 12 V on one wire pair and
SDA & GND on the other wire pair
P82B96
12 V to 5V Reg
LCD Display Driver
LCD Display
56
I2C 2002-1 Evaluation Board Kit
FEATURES
- Converts Personal Computer parallel port to I
2
C bus master
- Simple to use graphical interface for I
2
C commands
- Win-I2CNT software compatible with Windows 95, 98, ME, NT, XP and 2000
- Order kits at www.demoboard.com
Semiconductors
57
PCA9551 LED Blinkers Win-I2CNT Interface Screen
Select
LEDs mode
Device address
CC for PCA9551
Select blinking options Registers information
Semiconductors
Write and Read
Registers
58
I
2
C Sample Kit
The I 2 C Sample Kit consists of eight different I 2 C devices in tape inserted into the I 2 C Sample Kit box with an informative insert.
Devices include three each of the
GTL2010PW, P82B96TD, PCA9551D,
PCA9545D, PCA9555D, PCA9557D,
PCA9515D and PCA9501D
Request the I 2 C Sample Kit or individual device samples from your Philips
Sales Representative or directly from [email protected]
Semiconductors
59
Technical Support Information
Application Notes
AN250 PCA8550 4-Bit Multiplexed/1-Bit Latched 5-Bit I 2 C E2PROM
AN255 I
2
C and SMBus Hubs, Buffers, and Repeaters
AN256 PCA9500/PCA9501 Provides Simple Card Maintenance and
Control Using I
2
C
AN444 P82B715 I 2 C Bus Buffer
AN469 I 2 C I/O Port Selection
AN460 Introducing the P82B96 I 2 C Bus Buffer
AN262 PCA954X Multiplexers and Switches
AN264 I 2 C Devices for LED Display Control
AN463 I
2
C slave routines for the 87LPC76X
AN464 Using the 87LPC76X microcontroller as an I
2
C bus master
AN465 Using the 87LPC76X in multi-master I
2
C applications
Download from > www.philipslogic.com/support/appnotes/
Semiconductors
60
I
2
C Product Flyers
Mobile Display Drivers
LM75A
NE1617A/18/19
PCA8550
PCA9500/01
PCA9504A
PCA9515/16
PCA9540/42/44
PCA954X
PCA9550/51/52
PCA9554/54A/55
PCA9556
PCA9558
PCA9559
PCA9560/61
PCF EEPROM
P82B715
P82B96
Order Number: 9397 750 09071
Order Number: None
Order Number: 9397 750 07609
Order Number: 9397 750 04323
Order Number: 9397 750 09897
Order Number: 9397 750 08562
Order Number: 9397 750 08205
Order Number: 9397 750 06542
Order Number: 9397 750 09222
Order Number: 9397 750 09208
Order Number: 9397 750 08924
Order Number: 9397 750 06812
Order Number: 9397 750 08211
Order Number: 9397 750 06813
Order Number: 9397 750 09206
Order Number: 9397 750 09209
Order Number: 9397 750 09XXX
Order Number: 9397 750 09084
Download from > www.philipslogic.com/products/collateral/i2c
Semiconductors
61
I
2
C Device Data Sheets, IBIS models
Application Notes and Other Information
Product family descriptions line cards cross reference data sheets
Link to app notes models user guides
PLL design software datasheets
Semiconductors
62
S e m i c o n d u c t o r s
I
2
C Bus Solutions
I
2
C Bus Basics
Purchase of Philips I 2 C components conveys a license under the Philips' patent to use the components in the I 2 C system provided the system conforms to the
I 2 C specification defined by Philips.
I
2
C Bus Solutions
I
2
C Product Summary
TYPE OF FUNCTION IN DEVICE
Vcc RANGE (V)
FEATURES
FREQ (kHz) TEMP ( o
C)
PACKAGES
Data sheets can be downloaded at www.philipslogic.com/i2c or www.semiconductors.philips.com/i2c
LM75A
NE1617A
NE1618
NE1619
OM4085
P82B715
P82B96
PCA8550
PCA8581C
PCA9500
PCA9501
PCA9511
PCA9515
PCA9516
PCA9518
PCA9540
PCA9542
PCA9543
PCA9544
PCA9545
PCA9546
PCA9548
PCA9550
PCA9551
PCA9552
PCA9553
PCA9534/54/54A
PCA9535/55
PCA9556
PCA9557
PCA9558
PCA9559
PCA9560
PCA9561
PCA9564
PCF2113
PCF85102C-2
PCF85103C-2
PCF85116-3
PCF8563
PCF8566
PCF8570
PCF8573
PCF8574/74A
PCF8575
PCF8576C
PCF8577C
PCF8578/79
PCF8582C-2
PCF8583
PCF8584
PCF8591
PCF8593
PCF8594C-2
PCF8598C-2
SAA1064
Printed in the U.S.A.
●
●
4-1-1
8
8
8
16
8
8
8
2
8
16
4
5-1-1
5-1-1
5-1-2
6-0-4
1-2
1-2
1-2
1-4
1-4
1-4
1-8
1-1
1-1
1-4
1-4
●
8
16
4 x 8
●
2 o
C
3 o
C
1 o
C
3 o
●
Date of release April 2002
1
2
2
2
2
2
16
●
2
●
4
8
2
2
●
●
8
9
2
8 0-1
9
96 16
NA
NA
1
8
2-8
2-64 8-1
NA
25-100
25-100
NA
NA
NA
8
2
1
8 2-1
4 2-1
●
8 4-1
4
8
8
2
8
4-1
●
●
●
●
●
●
8 8-1
8
8
8
2
16-1
4
4
4
128
0-1
●
24 ch 2
25-200
●
20-80
●
25-100
25-100
20-80
25-100
25-100
8
8
8
1 0-1
96
25-50
25-100
25-200
25-100
25-100
160
64
384
16
8
4
4
0-1
8 0-1
16
16
2
8
2 0-1
128 0-1
●
8
1 0-1
●
8
8
4
20-100
20-100
21 - mA
●
2
●
●
1.1
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
0 to 125
0 to 125
0 to 125
●
●
●
●
●
●
●
●
●
-25 to 85
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
16
20
8
8
16
20
20
20
20
20
100
24
16
16
28
8
8
8
8
20
16
24
8
16
24
8
16
8
14
14
20
56/64
40
56/64
8
8
20
16
8
8
8
24
40
8
16
16
24
8
16
16
16
40
8
8
16
8
D
PN TD
PN TD
D
PN TD
D
D
D
D
D
D
D
D
D
D
D
VSO40
D
D
D
D
D
D
D
D
D
DB
DB
DB
N
N
N
PN
D
D
D
PN
PN TD
PN
PN
PN
TD
VSO40
TD
TD
TDK
TSDB
VSO56/LQFP64
VSO40
VSO56/LQFP64
N
N
P
N D
PN TD
PN
PN
N
D
T
D
D
D
LQFP100
TD
TD
TD
D
DS
DS
DS
DP
PW
DP
PW BS
PW BS
DP
DP
PW
PW
DP
PW
PW
PW BS
PW BS
PW
PW
DP
BS
PW
PW
DP
PW
BS
BS
BS
BS PW
PW
PW
PW
BS
PW
PW
PW
PW BS
Print code XXXXXX/2pp/0402 9397 750 09894
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project