your complete choice for i2c-bus peripherals · 12/13/2007 · pca9532 16-bit led dimmer pca9533...
TRANSCRIPT
Our invention, your solution to everyday design challenges
Your complete choice for I2C-bus peripherals
2 I2C-bus logic selection guide
Broad-based solutions from the inventor of the technology
NXPSemiconductorsistheworld’sleadingsupplierofI2C-busproducts.Weinventedthetechnologymorethan20yearsagoandneverlookedback.Sincethen,we’vetakenperformancetonewlevels,introducedawidevarietyofvitalfunctions,andcontinuetoofferthemostflexibleoptionsforthemostimportantapplications.
Weoffertheindustry’sbroadestportfolioofI2C-buslogic,providingessentialcomponentslikeGPIO,LEDblinkers/dimmers,HotSwapbusbuffers,busexpanders,bushubs/repeaters,DIPswitches,muxesandswitches,EEPROMs,dataconverters,LCDsegmentdrives,andmore.
Tomeettheneedsoftoday’shigh-performancesystems,ourFast-modePlus(Fm+)devicesoperateatupto1MHzanddriveupto30mA,sotheyworkwithlongbusesandsupportapplicationsofupto1,500pF.TheyalsousetheFast-modesoftwareprotocol(400kHz),soyoucanupgradespeedwithouthavingtochangeyourdesignsoftware.
Toovercomethelimitsofinterfacingahostbustoitsperipheral,we’veintroducedanewseriesofbridgeICsthatmanagetheconnectionbetweentheI2C-busandotherprotocols.ThebridgesmakeitpossibleforlegacyI2C-busstructurestoconnecttonewsystems,too,soyoucanretainyouroriginaldesigninvestmentwhileextendingthelifespanofolderI2C-bussystems.
Benefi ts of the I2C-bus}Defactoworldstandard}Fasttime-to-market}Proven,robustperformance}Verywiderangeoffunctions}Easytodesignin}Simpletodebug}Fasttotestandassemble}Reducesoverallcost
SDA
µControllerI
µControllerII
GPIO A/DD/A
LCDDrivers
RTC
SCL
I2C-bus structure
3I2C-bus logic selection guide
Broad-based solutions from the inventor of the technology
µC
GPIO LEDblinkers DIP switch Data
converter
EEPROM LCDsegment
RTC & calendar
8
Temp sensor
Bus expander, hub or
repeater
port or port emulation
µCParallel-to-
PCA9541 demux
Mux & switch
VCC0
VCC2
VCC1
VCC3
VCC4
SPIUART
VCC5
I²C-bus slave
I²C-bus hardware
I²C-busbridge
I²C-bus bridge
GTLP
2500
655
400
35
10
10 0 10 100 1000
1
0.1
BTLETL
General-purpose logic
1394.a
RS-232
RS-422
RS-423
LVDS=RS-644ECL/PECL/LVPECL
RS-485
I2C
I2C-bus slave data can be transmittedlonger distances using bus
buffers like the P82B96
New Fast-mode Plus devices operate at
1 MHz with higher drive
Backplane length (meters) Cable length (meters)
Dat
a tr
ansm
issi
on ra
te (M
bps)
CML
3.4 MHz
100 kHz
400 kHz
Online support for the I2C-bus I2C-bushomepage :www.nxp.com/i2cI2C-buslogichomepage :www.nxp.com/i2clogicBoardsandsamples :[email protected]
By supporting a range of performance levels, our I2C-bus devices deliver
maximum design fl exibility
We offer the widest range I2C-bus logic
Performance, simplicity, and ease of use
ThereareplentyofreasonswhytheI2C-bushasenduredformorethantwodecades.First,there’sperformance.Thetechnologyhascontinuedtoevolveandtodaysupportsseveralspeedgrades.Buscapacitancehasalsoincreased,withhubs,busrepeaters,bidirectionalswitches,andmultiplexersthatsupportmoredevicesoverlongerdistances–offthecard,outofthecabinet,orevenacrosstheroom.
Beyondperformance,though,there’seaseofuse.AllittakesittwosimplelinestoconnecteveryICinthesystem.AnyI2C-busdevicecanbeattachedtoacommonI2C-bus,andanymasterdevicecanexchangeinformationwithanyslavedevice.Thesoftware-controlledaddressingschemeeliminatesaddress-decodinghardware,andthere’snoneedtodesign
anddebugexternalcontrollogicbecauseit’salreadyprovidedbytheI2C-busprotocol.Thatmeansyoucanmovequicklyfromblockdiagramtofinalhardware,simplyclippingnewdevicesandfunctionstoanexistingbus.
TheI2C-busalsosavesspaceandlowersoverallcost.Thetwo-linestructuremeansfewertracelines,sothePCBcanbethatmuchsmaller.Havingfewertracelinessimplifiesdebugandtest,too,sincetherearefewerlinestocheckandfewerinformationsourcestoverify.What’smore,asthesystemevolvesoverseveralgenerations,newI2C-busdevicescanbeaddedorremovedeasily,withoutimpactingtherestofthesystem.
4 I2C-bus logic selection guide
Taking I2C-bus to the next level
Our I2C Demonstration Board 2005-1 makes it easy to demo I2C-bus devicesand learn about the I2C-bus
5I2C-bus logic selection guide
Taking I2C-bus to the next level
Old design New design needs more control lines
I2C-bus solves the problem
Simple LCD with backlight
Aux keypad
LED array
Aux keypad
LED array
microcontroller microcontroller
I2C-bus LED blinker
I2C-bus
microcontroller
Connectors
SCL
SDA
Transceivers
I2C-bus master or slave devices
Hot Swap Bus Buffer
S-Video 4:2:2/4:4:4
16 bit/24 bit YCcCr/RGB
4:2:2/4:4:4
16 bit/24 bit YCcCr/RGB
CVBS1
CVBS2
RF
Video decoder
Video decoder
Tuner
Display chip LCDpanel
Audio
Powersupply
100/133 MHz
SDRAM
50 MHz MCU
DIP switch
Mode Select Data ROM
EEPROM
DDC
Relay
Keypad
Expander or switchGPIO
100/400kHz
LEDblinker
LED control
Buscontrol
Digital RGB
Hsync, Vsync
Main
PIP
I2C-bus
PCA9517
Processor
or
PCA9665
12-V DC
P82B96
PCA9698
PCA9698
PCA9698
Motor controller
I/O expander
LCD display driver
LCD display
PCA9633
P82B96
I2C-bus
I2C-bus
I2C-bus
I2C-busI2C-bus
8-bit I/O
Distribution hub
• Four-wire distribution cables• SCL and 12-V lines on one wire pair, SDA and GND on the other• Easily scalable (only distribution hub to be modified)• Fast-mode Plus PCA96xx devices have 10x the normal I²C-bus drive and don't require a bus buffer to operate on buses up to 4,000 pF.
Portable device applications LCD TV
Modular and medical applications and gamingHot Swap applications including cPCI, VME, and advanced TCA
� I2C-bus logic selection guide
PORSupply
SDA
OSC
SCL
A2
A1
A0
Internal / externaloscillator
Dataregisters
Analogreference
I2C-businterface
Sub addressdecoder
Chip enable
Operationcontrol
Control
SDA
SCL
Bus buffer Microcontrollerdata
I 2C-bus interface
Write strobe Read strobe ResetAddress inputs Interrupt request
/8
SDA SDA
SCL SCL
Enable
I2C-bus analog-to-digital converters
} Convertsignalsfromdigitaltoanalog,analogtodigital
} Internaloscillator
} PowerOnReset(POR)
Parallel-bus-to-I2C-bus controllers
} Interfacemost8-bitparallel-busmicrocontrollersandmicroprocessorstoI²C-bus
} ParallelbussystemcommunicatesbidirectionallywithI²C-bus
} Providesmasterandslavefunctions
} I²C-buscommunicationscarriedoutonbyte-wisebasis,usinginterrupt
orpolledhandshakes
} Multi-mastercapable
}68-bytebuffer(PCA9665)
} Seepage10forSPIorUARTtoI2C-busbridges
} BidirectionalI²C-busdriversisolate
I²C-buscapacitance,accommodating
moreI²C-busdevicesandlonger
buslength
} Upto400-pFloadoneachsegment,
4000-pFforP82Bdevices
andPCA9600
PCA9691 Fm+1-MHz4-channel8-bitA/DandD/Aconverter
PCF8591 100-kHz4-channel8-bitA/DandD/Aconverter
TDA8444 8-channel6-bitD/Aconverter
P82B715 I²C-busextender
P82B96 DualbidirectionalI²C-busbuffer
P82B485 DifferentaildualbidirectionalI2C-busbuffer
P82B486 DifferentialtriplebidirectionalI2C-busbuffer
PCA9507 I2C-busrepeaterwithrisetimeaccellerator
PCA9508 LeveltranslatingI2C-busrepeaterforcableapplications
PCA9509 Low-voltageI²C-busrepeater
PCA9510A/11A/12A/13A/14A I²C-busHotSwapbusbuffers
PCA9515/15A I²C-busrepeater
PCA9516/16A 5-channelI²C-bushub
PCA9517/17A Low-voltageI²C-busrepeater
PCA9518A Expandable5-channelI²C-bushub
PCA9519 4-channellow-voltageI²C-busrepeater
PCA9600 Fm+dualbidirectionalI2C-busbuffer
PCA9564 400-kHz2.3-to-3.6-VI²C-buscontroller
PCA9665 Fm+2.3-to-3.6-VI²Cbuscontroller
PCF8584 100-kHz4.5-to-5.5-VI²C-buscontroller
I2C-bus product families
} Differentvoltages(3.3or5V)oneach
segment
} Devicestransparenttobusarbitration
andcontentionprotocolsin
multi-masterenvironment
} Twisted-pairdifferentialtransmission
oropto-electricalisolationofI²C-bus
(P82B96orPCA9600)
I2C-bus repeaters, hubs, and extenders
�I2C-bus logic selection guide
Mux select
SDA
SCL
Mux
EEPRO
M
Output
Default
Supply
Reset POR
I2C-businterface
Latches Input/outputstages
Sub-addressdecoder
Oscillator
SDA
SCL
A2
A1
A0
I2C-bus general-purpose I/O (GPIO) expanders
Supply Interrupt
Reset POR
I2C-businterface
Latches Input/outputstages
Sub-addressdecoder
Interrupt
SDA
SCL
A2
A1
A0
I2C-bus EEPROM-based DIP switches
} ReplacejumpersandDIPswitches}Hands-freemanipulationviaintegrated,I²C-bus-controlled
EEPROMandmultiplexer} ProgramandstoresettingsinI²C-bus-controlledEEPROMregister}Multiplexbetweendefaultvaluesandstoredsettings}Non-volatilememoryretainsregistervalues,evenonpower-down
} ConnectparallelI/OtoserialI2C-busor
SMBusandprovideI/Oexpansion
} Quasioutput:uppertransistorison
forhalfaclockcycleandthenheldup
byaweakcurrentsource(25-mAsink)
} ExtendGPIOfromI²C-busorSMBus
} TrueOutput:configurableasinputor
outputwithpolarityinversion
(push/pullwith25-mAsinkand
10-mAsource)
I2C-bus LED dimmers/blinkers
} General-purposeI/OandLEDcontrol
} Noexternalcomponentsrequired:
internaloscillatorprovidestwo
(256-step,user-definable)
frequencyanddutycycles
} Twoprogrammableblinkrates
} On/off/blinkordimLED
} LEDbrightnesscontrolledbysetting
frequencyto152Hzandchangingduty
cycletovaryLED’saveragecurrent
} Extrapinscanbeusedasinputs
oroutputs
} Hardwareresetpinforstatemachine
} Open-drainoutputscapableof
25-mAsink
PCA8550 4-bitmultiplexed/1-bitlatched5-bitI²C-busEEPROM
PCA9559 5-bitmultiplexed/1-bitlatched6-bitI²C-busEEPROM
PCA9560 Dual5-bitmultiplexed/1-bitlatchedI²C-busEEPROM
PCA9561 Quad6-bitmultiplexedI²C-busEEPROM
Quasi output (weak current source)
PCA8574/74A 8-bitwithinterrupt
PCA8575 16-bitwithinterrupt
PCA9500 8-bitwith2-kbitEEPROM
PCA9501 8-bitwith2-kbitEEPROM,interrupt
PCA9558 8-bitw/5-bitDIP,2-kbitEEPROM
PCA9670 Fm+8-bitwithreset
PCA9671 Fm+16-bitwithreset
PCA9672 Fm+8-bitwithinterrupt,reset
PCA9673 Fm+16-bitwithinterrupt,reset
PCA9674/74A Fm+8-bitwithinterrupt
PCA9675 Fm+16-bitwithinterrupt
PCF8574/74A 8-bitwithinterrupt
PCF8575/75C 16-bitwithinterrupt
LED dimmers (Freq. range: 152 Hz to 1.69 sec.)
PCA9530 2-bitLEDdimmer
PCA9531 8-bitLEDdimmer
PCA9532 16-bitLEDdimmer
PCA9533 4-bitLEDdimmer
PCA9632/33 Fm+4-bit5-PWMLEDcontroller
PCA9634 Fm+8-bit9-PWMLEDcontroller
PCA9635 Fm+16-bit17-PWMLEDcontroller
PCA9685 Fm+16-bit4KstepLEDcontroller
LED blinkers (Freq. range: 152 Hz to 1.69 sec.)
PCA9550 2-bitLEDblinker
PCA9551 8-bitLEDblinker
PCA9552 16-bitLEDblinker
PCA9553 4-bitLEDblinker
PCA9625 Fm+LEDcontroller(24V,100mA)
SAA1064 4x7I2C-busLEDdriverwithdecimal
True output (configur able push/pull)
PCA9502 8-bitSPI/I2Cwithinterrupt,reset
PCA9505/06 40-bitwithinterrupt,reset,OE
PCA9534/54/54A 8-bitwithinterrupt
PCA9535/35C/55 16-bitwithinterrupt
PCA9536 4-bit
PCA9537 4-bitwithinterrupt,reset
PCA9538 8-bitwithinterrupt,reset
PCA9539 16-bitwithinterrupt,reset
PCA9557 8-bitwithreset
PCA9698 Fm+40-bitwithinterrupt,
reset,OE
� I2C-bus logic selection guide
SCLSDA
I2C-buscontroller
I2C-bus 0
I2C-bus 1
Interrupt 0
OFF
Interrupt 1
Interrupt
Reset
Supply
32 kHz
SDA
SCL
A0
Counters:year, month, day,
hour, minute, second
(240-byte RAM 8583)
Alarm and timer registers
I2C-businterface
Interrupt
Oscillator/prescaler
POR
Sub-addressDecoder
Interrupt
SDA
SCLControl logic
RAM Sequencer
Segment(column)
driver
Bias voltagegenerator
Backplane(row)driver
Power supplies
I2C-bus multiplexers and switches
} FansI²C-busouttomultiple
I²C-buses
} BusesselectedviaI²C-buscommands
frommaster
} Multiplexersandswitchesselectone
downstreamI²C-busatatime
} Switchescan,inbroadcastmode,
turnonallchannelssimultaneously
} Interruptsarecollectedandsent
tomaster
} Resetpindeselectsallchannels,
somastercanregaincontrolifbus
hangsup
} Designedforaddressconflict
resolution,I²C-bussub-branch
isolation,I²C-buslevelshifting,etc.
I2C-bus real-time clocks
} 32.768-kHzquartzoscillator
} Year,month,day,hour,minute,second(1/100-secresolution)
} Alarmandtimerfunctions
} Wideoperatingsupplyvoltagerange(1.0to5.5V)
} Opendraininterruptpin
} Lowback-upcurrent(0.25µAat3V)
} Low-voltagedetection
} Temperaturecompensation,integratedquartz
I2C-bus LCD drivers
} Lowpower
} On-chipbias
} Temperaturecompensation
} Blinking
} Noexternalpartsrequired
PCA8565 High-temperature(125°C)I²C-busreal-timeclock
PCF8563 Low-powerI²C-busreal-timeclock
PCF8583 I²Creal-timeclockwith240-byteRAM
PCF8593 I²Creal-timeclockwith1/100-secondresolution
PCF2128 RTCwithintegratedtemperaturecompensatedquartzoscillator
PCF2113/2116/2119 I²C-busLCDcharacterdisplay
PCF8531/8535/8811 I²C-busLCDgraphicdrivers
PCF8533 80-to-320segmentI2C-busLCDsegmentdriver
PCF8534A 60-to-240segmentI2C-busLCDsegmentdriver
PCF8562 32-to-128segmentI²C-busLCDsegmentdriver
PCF8566 24-to-96segmentI²C-busLCDsegmentdriver
PCF8576D 40-to-160segmentI²C-busLCDsegmentdriver
PCF8577C 32-to-64segmentI²C-busLCDsegmentdriver
PCF8578/79 >384segmentI²C-busLCDsegment/dotdriver
PCA9540B 1-to-2multiplexer
PCA9541 2-to-1masterselectw/int,reset
PCA9542A 1-to-2multiplexerwithinterrupt
PCA9543A/B/C
1-to-2switchw/interrupt,reset
PCA9544A 1-to-4multiplexerw/interrupt
PCA9545A/B/C
1-to-4switchw/interrupt,reset
PCA9546A 1-to-8switchwithreset
PCA9547 1-to-8multiplexerwithreset
PCA9548A 1-to-8switchwithreset
PCA9549 8-bitbusswitchwithreset
I2C-bus product families
9I2C-bus logic selection guide
Addresspointer
256-byteEEPROM
PORSupply
SDA
SCL
A2
A1
A0
I2C-businterface
Sub-addressdecoder
LM75A
SupplyPOR
I2C-businterface
Sub-addressdecoder
Interrupt
Thresholdhysteresis
ADC
INT
SDA
SCL
A2
A1
A0
1.8 V
1.5 V
5 V
200 K
356
356
1.2 V
1.0 V
VCORE VCC
CPU I/O
GND
SREF
S1
S2Chipset I/O
GREF
DREF
D1
D2
GTL2002
I2C-bus Serial EEPROMs
} Widevoltagerangeminimizes
EEPROMinventory
} I²C-busreads/writesinformation
to/frommemory
} Widevoltagerange(2.5to5.5V)
} 1,000,000read/writecycles
} 10-yeardataretention
I2C-bus temperature and voltage sensors
} HardwaremonitorsuseI²C-bustoreporttemperatureand/orvoltage
} Remotesensorismoreaccuratethanpackage-mountedsensors
(analoginputpinsletexternaltransistorsanddiodes–inaprocessor,
forexample–performveryprecisetemperaturesensing)
} SE97/98perJEDECspecificationforRDIMMandSO-DIMMapplications
I2C-bus voltage-level translators
} Voltagetranslationbetweenanyvoltagefrom1.0to5.0V
} Opendrainonbothsideswithnodrive
} Bidirectionalvoltagetranslationwithnodirectionpin
} Referencevoltageclampsinputvoltagewithlowpropagationdelay
} Supportsbidirectionaltranslationofnormal3.3-and/or5.0-VI²C-bussignals
tolow-voltageI²C-busprocessorports
} BiCMOSprocessforexcellentESDperformance(exceptPCA9306)
LM75A/B ±2°ClocalI2C-bustemperaturesensorandthermalwatchdog™
NE1617A ±2°Clocal/remoteI2C-bustemperaturemonitor
NE1619 ±2°Clocal/remoteI2C-bustemperatureandvoltagemonitor
SA56004 ±1°Clocal/remotedigitaltempsensorwithover-tempalarms
SE95 ±1°ChighaccuracylocalI2C-bustemperaturesensorandthermalWatchdog
SE97 ±1°ClocalI2C-bustemperaturesensorwith2-KbitEEPROMSPD
SE98 ±1°ClocalI2C-bustemperaturesensor
GTL2000 22-bitbidirectionalI2C-busvoltage-leveltranslator
GTL2002 2-bitbidirectionalI2C-busvoltage-leveltranslator
GTL2003 8-bitbidirectionalI2C-busvoltage-leveltranslator
GTL2010 10-bitbidirectionalI2C-busvoltage-leveltranslator
PCA9306 BidirectionalI2C-busandSMBusvoltage-leveltranslator
PCA24S08 1024x8-bit(8-kbit)I2C-busserialEEPROMwithsecurityfeatures
PCF8570 256x8-bit(2-kbit)I2C-busstaticlow-voltageRAM
PCF8581(C) 128x8-bit(1-kbit)I2C-busserialEEPROM
PCF8582C-2 256x8-bit(2-kbit)I2C-busserialEEPROM
PCF8594C-2 512x8-bit(4-kbit)I2C-busserialEEPROM
PCF8598C-2 1024x8-bit(8-kbit)I2C-busserialEEPROM
PCF85102C-2 256x8-bit(2-kbit)I2C-busserialEEPROM
PCF85103C-2 256x8-bit(2-kbit)I2C-busserialEEPROMwithalternateI2Caddress
PCF85116-3 2048x8-bit(16-kbit)I2C-busserialEEPROM
10 I2C-bus logic selection guide
I2C-bus product familiesHigh-speed I2C-bus / SPI-slave bridge to UART / IrDA / GPIO
} CommunicationbetweenSPI/
I²C-busslaveandhigh-speedUART
} Lowpower,lowvoltage
} Minimalhostconnection
} BroadbandUART(5Mbps)
} Enablecommunicationbetween
I²C-busorSPIandRS232orRS485
} IrDAinterfaceforwirelesslinks
} ConfigurableGPIO
} SPIspeed:4to15Mbps
} I²C-busspeed:400kbps
} Highdatathroughputandintegrity
SPI-slave bridge to I2C-bus master / GPIO
System
Hostprocessor
I2C/SPImaster
I2C-bus/SPI I2C/SPIslave
GPIO
Transceiver(optional)
RS232/485Remote systems
Modem
Handheld cradle
Remote control PDA
Cell phone
Fan control Keypad
Leds
SC161S752/762bridge
UART/lrDA
UART/lrDA
SC16is7 xx usage scenarios
CPU 1
SPImaster
CPU 2
SPIslave
I2C-busmaster
I2C-bus
I2Cmaster
I2C-bus slave devices
I2C-bus EEPROM(PCF85116)
I2C-bus LED dimmer(PCA9531)
I2C-bus GPIO(PCA9554A)
5GPIO
Peripherals
LEDs, switches
SPIbus
SC18IS600
UART bridge to I2C-bus master with GPIO
} ControlconnectionbetweenUARThostandI²C-bus
} Lowpower,lowvoltage
} Fast-mode400kHzI²C-busdeviceinterface
} ProgrammableGPIOandbaudrate
} EnablesUARTconnectivitytotheI2C-bus
} Highdatathroughputandintegrity
} Multimastercapable
} Controlconnectionbetween
SPIhostandI²C-bus
} Lowpower,lowvoltage
} Full-duplexhigh-speedSPIinterface
} SPIspeed:1to3Mbps
} FastI²C-busdeviceinterface
} Enablescommunicationbetween
SPIandI²C-bus
} ProgrammableGPIO
} Highdatathroughputandintegrity
SC16IS750 I²C-bus/SPI-slavebridgetosingleUARTwith64-byteFIFOs,115.2-kbpsIrDASIR,8GPIO
SC16IS752 I²C-bus/SPI-slavebridgetodualUARTswith64-byteFIFOs,115.2-kbpsIrDASIR,8GPIO
SC16IS760 I²C-bus/SPI-slavebridgetosingleUARTwith64-byteFIFOs,1.152-MbpsIrDASIR,8GPIO
SC16IS762 I²C-bus/SPI-slavebridgetodualUARTswith64-byteFIFOs,1.152-MbpsIrDASIR,8GPIO
SC16IS740 I2C-bus/SPI-slavebridgetosingleUARTwith64-byteFIFOs,115.2-kbpsIrDASIR
SC16IS850 I2C-bus/SPI-slavebridgetosingleUARTwith128-byteFIFOs,115.2-kbpsIrDASIR
SC16IS852 I2C-bus/SPI-slavebridgetodualUARTwith64-byteFIFOs,115.2-kbpsIrDASIR
SC18IM700 UARTbridgetoI²C-busmasterwithGPIO
SC18IS600 SPI-slavebridgetoI²CmasterwithGPIO,internalclock
SC18IS601 SPI-slavebridgetoI2CmasterwithGPIO,externalclock
SC18IS602 I2C-bus-slavebridgetoSPImasterwithGPIO,externalclock
SC16is7xx usage scenarios
Hostprocessor
UART UART I2C-busmaster
I2CBUS
I2C-BUS slave devices
I2C-bus EEPROM(PCF85116) AE
I2C-bus LED dimmer(PCA9531) CE
I2C-bus GPIO(PCA9554A)
6GPIO
Peripherals
LEDs, switches
RS232
SC18IM700bus
Development kits for bridge ICs
I²C-bus/SPItoUART(SC16IS7xx)
EasyinterfacebetweenanI²C-bus/SPIhostandIrDA,RS232/RS485,andGPIOdevices.Thebusinterfaceisselectablefor
I²C-busorSPI.Kitincludessamplecodewithdeviceinitialization(UART,RS485)andIrDAcommunications,plususermanual.
UARTtoI²C-bus(SC18IM700)
EasyinterfacebetweenaUARThostandvariousI²C-busandGPIOdevices.KitincludessamplecodewithSC18IM700UART
messagesandcommandsforNXPI²C-busslavedevices,plususermanual.
SPItoI²C-bus(SC18IS60x)
EasyinterfacebetweenanSPIhostandvariousI²C-busandGPIOdevices.TheboardalsoincludesanI²C-busEEPROMandanLEDdimmer.KitincludessamplecodewithSC18IS80xSPImessagesandcommandsforNXPI2C-busslave,plususermanual.
11I2C-bus logic selection guide
Problem Solution Suggested parts
Puttingtoomanyofthesamedevicesonthebuscausesanaddressconflict.
Useamultiplexertobreakaddressspaceintosub-branches.Masterselectswhichsub-branchtoaddressunderI²C-BUScontrol.Twotoeightsub-branchesareavailablepermultiplexer.
PCA9540B,41,42A,43A/B/C,44A,45A/B/C,46A,47,48A,49
Ineedmoredevicesthanthe400-pFleadallows.
Useamultiplexertobreakupthecapacitancebysub-branch.Sub-branchesareaddressedindividually.
Usearepeaterorhubtoaddressalldevicesatthesametime(becarefulofaddressconflicts).
UseFast-modePlusdevices.
PCA9540B,41,42A,43A/B/C,44A,45A/B/C,46A,47,48A,49
PCA9507,08,09,15,15A,16,16A,17,17A18A,19
PCA9632,33,34,35,70,71,72,73,74,74A,75,98,withPCA9600frommasterorPCA9665
IhavetosendI2C-bussignalsthroughareallylongcable.
UseanI²C-busextendertoaddhighdrivetoanyI²C-bus.Guidelines(80pFpermeter)for400kHzareatleast20mandfor30kHzareatleast1000m.
P82B715,P82B96,andPCA9600with30-mAdrivePCA9507,08,17,17Awith6-mAdrive
Ihaveamixed-voltageenvironmentthatcausesconflictsontheopen-drainI2C-bus.
Useaswitchtodynamicallysplitthebusbypullingdownstreamchannelstodifferentvoltages.
PCA9543A/B/C,45A/B/C,46A,48AGTL2002,2010,2000,PCA9306PCA9507,08,09,12A,17,17A,19
Ihaveslow(100-kHz)andfast(400-kHz)partsonthesamebus.HowcanIisolatethemtogetthemostperformancefromthe400-kHzdevices?
Useabusrepeaterandhavethemasterdisablethe100-kHzsegmentduring400-kHzcommunication.
PCA9508,15,15A,16,16A,17,17A,18A
PCA9540B,42A,43A/B/C
Ihavetwomastersinmyfault-tolerantsystem,oneactiveatatime.HowdoIselectonemasterovertheother?
UseanI²C-busmasterselectortoswitchfromafailingmastertoitsbackup.Theselectoralsoprovidesisolation.
PCA9541
IsupportHotSwapinmyfault-tolerantsystem.HowcanIkeepI²C-bustrafficundisturbedduringaswap?
UseanI²C-busHotSwapbusbuffertodetectbus-idlecondition,isolatecapacitance,andpreventbusglitches.
PCA9510A,11A,12A,13A,14APCA9508
IneedtoaddanewI²C-busporttoahost. UseabuscontrollertocreateanewI²C-busport.Youmaynotneedanewport.Amultiplexeroraswitchmaygiveyouthefeaturesyouneed.
PCA9564,PCF8584,PCA9665PCA954x
TheI²C-busis“multi-drop”andanydevicecanhangthebus.HowcanImakethisbusmorefault-tolerant?
Breakthebusintodifferentbranchestocreatea“star”configuration.Multi-castisallowed.ThemastersetstheconfigurationviaI²C-bus.
PCA9543A/B/C,45A/B/C,46A,48ASimplediscretecircuitrywithanybuffercandetectandisolatefailedsections.
I2C-bus FAQs
12 I2C-bus logic selection guide
I2C-bus product summary
Type of function in device Features
Vcc range (V) Freq (kHz) Temp(°C) Packages
I/O
exp
and
er(b
its)
LED
blin
ker
(bit
s)
MU
X/l
atch
/EE
PRO
M(b
its-
lahe
db
its-
reg
iste
r)
MU
X/s
wit
ch(in
/out
cha
nnel
s)
Rep
eate
rhu
b(in
/out
seg
men
t)
Bus
co
ntro
ller
Tem
per
atur
ese
nso
r
Volt
age
mea
sum
ent
RA
M/E
EPR
OM
(kb
its)
Rea
ltim
ecl
ock
/cal
end
er
Ana
log
/dig
ital
co
nver
ter
LCD
dri
ver
Num
ber
ofa
dd
ress
es
Inte
rrup
t(I/
O)
Har
dw
are
rese
t
Cur
rent
(per
bit
/to
tal
mA
)
1.0
1.8
2.5
3.3
5 5-V
to
lera
nt
100
400
100
0
0to
70
-40
to8
5
-55
to1
25
Pin
coun
t
DIP
SO(n
arro
w)
SO(
wid
e)
SSO
P
QSO
P
TSSO
P
HV
QFN
GTL2000 NA • • • • • • • • • • 48 DL DGG
GTL2002 NA • • • • • • • • • • 8 DP DC/GM
GTL2010 NA • • • • • • • • • • 24 D PW BS
LM75A/B 2°C 8 0/1 2.8 • • • • • • 8 D DP
NE1617A 2°C 9 0/1 • • • • 0to125 16 DS
NE1619 2°C • 2 • • • • • 0to125 16 DS
P82B485 1-1 • • • • • • • 10 DP
P82B486 1-1 • • • • • • • 14/16 D PW
P82B715 1-1 NA • • • • • 8 PN TD
P82B96 1-1 NA • • • • • • -40to125 8 PN TD DP
PCA24S08 8 1 • • • • • 8 D DP
PCA8550 4-1-1 1 • • • • • 16 D DB PW
PCA8565 • 1 0/1 • • • • • • • • -40to125 8 DP
PCA8574 8 8 0/1 25-200 • • • • • • • • 16 D TS PW
PCA8575 16 8 0/1 25-400 • • • • • • • • 24 D DB DK PW BS/BQ
PCA8581/81C 1 8 • • • • • -25to85 8 PN TD
PCA9306 NA • • • • • • • • • • 8 D DP DC/GM
PCA9500 8 2 2-8 25-100 • • • • • 16 D PW BS
PCA9501 8 2 2-64 0/1 25-100 • • • • • 20 D PW BS
PCA9502 8 8 0/1 • 10-80 • • • • • 16 BS
PCA9505/06 40 8 0/1 • 15-600 • • • • • • • 56 DGG BS
PCA9507 1-1 • • • • • • • 8 D DP
PCA9508 1-1 NA • • • • • • • • • 8 D DP
PCA9509 1-1 NA • • • • • • • • • 8 D DP
PCA9510A,11A,12A,13A,14A 1-1 NA • • • • 8 D DP
PCA9515/15A 1-1 NA • • • • • • 8 D DP
PCA9516/16A 1-4 NA • • • • • • 16 D DP
PCA9517/17A 1-1 NA • • • • • • • 8 D DP
PCA9518A 1-4 NA • • • • • • 20 D PW
PCA9519 4-4 NA • • • • • • • • • 20/24 PW BS
PCA9530 2 2 • 25-50 • • • • • • • 8 D DP
PCA9531 8 8 • 25-100 • • • • • • • 16 D PW BS/BS3
PCA9532 16 8 • 25-200 • • • • • • • 24 D PW BS
PCA9533 4 2 25-100 • • • • • • • 8 D DP
PCA9534 8 8 0/1 25-100 • • • • • • • 16 D PW BS/BS3
PCA9535/35C 16 8 0/1 25-200 • • • • • • • 24 D PW BS
PCA9536 4 1 25-50 • • • • • • • 8 D DP
PCA9537 4 1 0/1 • 25-50 • • • • • • • 10 DP
PCA9538 8 4 0/1 • 25-100 • • • • • • • 16 D PW BS
PCA9539 16 4 0/1 • 25-200 • • • • • • • 24 D PW BS
PCA9540B 1-2 1 • • • • • • • 8 D DP
PCA9541 2-1 16 1/2 • • • • • • • • 16 D PW BS
PCA9542A 1-2 8 2/1 • • • • • • • 14 D PW
PCA9543A/B/C 1-2 4 2/1 • • • • • • • • 14 D PW
PCA9544A 1-4 8 4/1 • • • • • • • 20 D PW BS
PCA9545A/B/C 1-4 4 4/1 • • • • • • • • 20 D PW BS
PCA9546A 1-4 8 • • • • • • • • 16 D PW BS
PCA9547/48A/49 1-8 8 • • • • • • • • 24 D PW BS
PCA9550 2 2 • 25-50 • • • • • • • 8 D DP
PCA9551 8 8 • 25-100 • • • • • • • 16 D PW BS/BS3
PCA9552 16 8 • 25-200 • • • • • • • 24 D PW BS
PCA9553 4 2 25-100 • • • • • • • 8 D DP TK
PCA9554/54A 8 8 0/1 25-100 • • • • • • • 16 N D TS PW BS/BS3
PCA9555 16 8 0/1 25-200 • • • • • • • 24 N D DB PW BS
PCA9557 8 8 • 25-100 • • • • • • • 16 D PW BS
PCA9558 8 5-1-1 2 2 25-100 • • • • • 28 PW
PCA9559 5-1-1 4 20-80 • • • • • 20 PW
PCA9560 5-1-2 4 25-100 • • • • • 20 D PW
PCA9561 6-0-4 4 25-100 • • • • • 20 D PW
PCA9564 • 128 0/1 • • • • • • • 20 N D PW BS
13I2C-bus logic selection guide
Type of function in device Features
Vcc range (V) Freq (kHz) Temp(°C) Packages
I/O
exp
and
er(b
its)
LED
blin
ker
(bit
s)
MU
X/l
atch
/EE
PRO
M(b
its-
lahe
db
its-
reg
iste
r)
MU
X/s
wit
ch(in
/out
cha
nnel
s)
Rep
eate
rhu
b(in
/out
seg
men
t)
Bus
co
ntro
ller
Tem
per
atur
ese
nso
r
Volt
age
mea
sum
ent
RA
M/E
EPR
OM
(kb
its)
Rea
ltim
ecl
ock
/cal
end
er
Ana
log
/dig
ital
co
nver
ter
LCD
dri
ver
Num
ber
ofa
dd
ress
es
Inte
rrup
t(I/
O)
Har
dw
are
rese
t
Cur
rent
(per
bit
/to
tal
mA
)
1.0
1.8
2.5
3.3
5 5-V
to
lera
nt
100
400
100
0
0to
70
-40
to8
5
-55
to1
25
Pin
coun
t
DIP
SO(n
arro
w)
SO(
wid
e)
SSO
P
QSO
P
TSSO
P
HV
QFN
PCA9600 1-1 • • • • • • • 8 D DP
PCA9625 16 126 100-1600 • • • • • • • • 32 D PW
PCA9632/33 4 126 25-100 • • • • • • • • 8/10/16 D DP/PW TK/BS
PCA9634 8 126 25-200 • • • • • • • • 20 D PW BS
PCA9635 16 126 25-400 • • • • • • • • 28 D PW BS
PCA9665 • 128 0/1 • • • • • • • • 20 N D PW BS
PCA9670 8 64 • 25-200 • • • • • • • • 16 D PW BS
PCA9671 16 64 • 25-400 • • • • • • • • 24 D DB DK PW BS/BQ
PCA9672 8 64 0/1 • 25-200 • • • • • • • • 16 D PW BS
PCA9673 16 64 0/1 • 25-400 • • • • • • • • 24 D DB DK PW BS/BQ
PCA9674/74A 8 64 0/1 25-200 • • • • • • • 16/20 D TS PW BS
PCA9675 16 64 0/1 25-400 • • • • • • • 24 D DB DK PW BS/BQ
PCA9685 16 126 24-400 • • • • • • • 28 PW BS
PCA9691 8 64 • • • • • • • • 16 PN TD BS
PCA9698 40 64 0/1 • 25-1000 • • • • • • • 56 DGG BS
PCF2113 24ch 2 • • • • • • • 100 LQFP100
PCF2116 48-ch 2 • • • • • • DIEPCF2119 32ch 2 • • • • • • • DIE
PCF2128 • 2 1 • • • • • • • • 20 TD
PCF85116-3 16 1 • • • • • 8 N D
PCF8531 graphic 8 • • • • • • • • DIE
PCF8533 graphic 8 • • • • • • • • DIE
PCF8534A 320 8 • • • • • • • • LQFP80
PCF8535 240 4 • • • • • • DIE
PCF8562 128 3 • • • • • • 48 LQFP48
PCF8563 • 1 0/1 • • • • • • • • • 8 PN TD DP
PCF8566 96 16 • • • • • • 40 PN VSO40
PCF8570 2 8 • • • • • • 8 PN TD
PCF8574/74A 8 4 0/1 20-100 • • • • • • 16 PN TD TS
PCF8575/75C 16 8 0/1 20-100 • • • • • • • 24 TSDB
PCF8576C/D 160 16 • • • • • • • 56/64 VSO56/LQFP64
PCF8577C 64 16 • • • • • • 40 PN VSO40
PCF8578/79 2 384+ 2 • • • • • • 56/64 VSO56/LQFP64
PCF8582C-2/102C-2/103C-2 2 8 • • • • • • 8 N D
PCF8583 • 2 0/1 • • • • • • • • 8 PN TD
PCF8584 • 128 0/1 • • • • • 20 PN TD
PCF8591 8 8 • • • • • • 16 PN TD
PCF8593 • 1 0/1 • • • • • • • • • 8 N TD
PCF8594C-2 4 4 • • • • • • 8 N D
PCF8598C-2 8 2 • • • • • • 8 N D
PCF8811 G 4 • • • • • • DIE
SA56004 1°C 8 0/2 • • • • -40to125 24 D DP
SAA1064 4x8 4 21-mA • • • • 24 P T
SC16IS750 8 1 • 10-80 • • • • • • • 28/32 PW BS
SC16IS752 8 1 • 10-80 • • • • • • • 24 PW BS
SC16IS760 8 1 • 10-80 • • • • • • • 28/32 PW BS
SC16IS762 8 1 • 10-80 • • • • • • • 24 PW BS
SC18IM700 • 1 0/1 • • • • • • • • 16 PW
SC18IS600 5 1 • 10-50 • • • • • • • 16 PW
SC18IS601 5 • 10-50 • • • • • • • 16 PW
SCIBIS602 5 • 10-50 • • • • • • • • 16 PW
SE95 1°C 8 0/1 2.8 • • • • • 8 D DP
SE97 1°C 2 8 0/1 • • • • • -20to125 8 PW TK/TL
SE98 1°C 8 0/1 • • • -20to125 8 PW TK
TDA8444 6 8 12V • • -20to70 16 P T
Data sheets can be downloaded at www.nxp.com/i2clogic or www.nxp.com/i2c
14 I2C-bus logic selection guide
I2C-bus terminology
AlltheICsalonganI²C-busareeithermastersorslaves.AmasterisanICthatinitiatesadatatransfer,providestheserialclocksignal(SCL)duringthetransfer,andthenterminatesthetransfer.Therecanbemorethanonemasteronthebusatatime–theI²Csoftwareprotocolusesarbitrationandsynchronizationtopreventcollisionsanddataloss.Aslaveisanydeviceaddressedbythemaster.
Whilethemasterorslaveissendingdataovertheserialdataline(SDA),itisreferredtoasatransmitter.WhileacceptingdatafromtheSDAdataline,it’scalledareceiver.AmastertransmittercanputdataontotheSDAdatalineatanytime;aslavetransmittercandosoonlybyrequest.
Device addresses
EachdevicealongtheI²C-bushasaunique,7-bitI²C-busaddress.Thefirstfourbitsintheaddressaretypicallyfixed,indicatingdevicecategory(e.g.1010isassignedtoEEPROMs).Thelastthreebits(A2,A1,A0)aresetbyhardwareaddresspinsontheICpackage.Inthiscase,thereareuptoeightdifferentaddresscombinationsavailableforeachdevice,souptoeightidenticaldevicescanoperateonthesameI²C-bus.Theaddresspinsareheldhigh(1)toVccorheldlow(0)toGND.
R/W
1010100 R/W
1010A2A1A0
VDD
SCL
SDA
EEPROM
How the I2C-bus works
Transmitter Receiver
SDA
SCL
Master Slave
Master Slave
Receiver Transmitter
SDA
SCL
F S Slave address A Data A Data A P FW
Write data
< n data bytes > last data byte
F S Slave address A Data A Data A P FR
Read data
< n data bytes > last data byte
S = Start conditionF = FreeP = Stop condition
A = AcknowledgeR = Read (active high)A = Not AcknowledgeW = Write (active low)
I2C vs. SMBus
DevelopedbyIntelinthemid-1990s,theSystemManagementBus,alsoastheSMBus,isapopularderivativeoftheI²C-busthatis,inmostcases,compatiblewithI²C-bus.Bothbusesuseatwo-wirecommunicationschemeandhaveaddressableslaves.TheSMBusislimitedtoamaximumdatatransferrateofonly100kbps,requiringspecialhandlinginsystemsthatalsousethehighertransferratesavailablewithI²C-bus.Otherdifferencesincludetimeoutandminimumclockspeed,voltagelevels,pull-upresistorvalues,andcurrentlevels.
The data-transfer bitstream
“F”indicatesthebusisFree,oravailableforuse.DuringtheFreestatetheserialdataline(SDA)istransferringnodataandboththeSDAdatalineandtheSCLclocklinearehigh.
Totakecontrolofthebusandinitiateatransaction,themastersendsoutaStart(S)condition.Ifthemasteralreadycontrolsthebusandwantstoinitiateanadditionaltransaction,itsendsoutaRepeatStart(Sr)condition.Forthestartcondition,theSDAdatalinegoesfromhightolowwhiletheSCLclockremainshigh.
TheStartconditionisfollowedbythedesiredslaveaddressandtheinstructiontowrite(W)orread(R)data.TheslaverespondstothemasterbysendinganAcknowledge(A)bitandthetransferbegins.Duringdatatransfer,theSCLclocklineisbroughtandheldlow;theSDAdatalinecanbeeitherhighorlow.TheSDAdatalineonlychangesstatewhentheSCLclocklineislow.
Aftereachbyteissent,thereceiverwillAcknowledge(A)thetransmitter.Whenthemasteristhereceiver,itwillNotAcknowledge(A)thelastbytesoitcanregaincontrolofthebustoterminatethecommunication.Whenthemasterhascompletedthetransmission,itsendstheStop(P)conditiontofreethebus.FortheStopcondition,theSDAdatalinegoesfromlowtohighwhiletheSCLclocklineremainshigh.
Withthedatatransfercomplete,thebusreturnstotheFreestate,withbothlineshigh.
15I2C-bus logic selection guide
VisittheI²C-bushomepageatwww.nxp.com/i2clogicOrderevaluationkits,gettechnicalinformation,[email protected]
www.nxp.com
© 2007 NXP B.V.
All rights 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: December 2007
Document order number: 9397 750 15669
Printed in the Netherlands