I 2 C-bus Protocol & Applications SASE, March 2010 Alix Maldonado -Technical Marketing Manager Product Line System Management Business Line Interface Products
Agenda I 2 C-bus Protocol Applications Support resources Questions 2
I 2 C-bus Protocol 3
I 2 C - Protocol IIC - Inter-Integrated Circuit Logic I 2 C-bus This means: Decreased number of wires (reduced PCB area) Reduced number of chip ppins Remove glue logic Clip many devices on to the bus Modular design: Time-to-Market V CC Invented by NXP! (Philips Semiconductors) I 2 C-bus developed in the late 1970 s for Philips consumer products (e.g. TVs) Worldwide industry standard and used by all major IC manufacturers 4
I 2 C - Protocol Hardware architecture V DD Pull up resistors SDA SCL Clock out Data out Clock out Data out Clock in Data in Clock in Data in Device 1 Device 2 2 wire bus: SDA: SerialData Line SCL: Serial Clock Line Open-drain or open-collector output stages: wired-and function 5
I 2 C - Protocol Hardware architecture (2) Master2 Slave2 V DD SDA SCL Master1 Slave1 Multiple master Multiple slave Bi-directional Master-transmitter Master-receiver Slave-transmitter Slave-receiver Data collision is taken care off 6
I 2 C - Protocol Addressing / device selection Each device is addressed individually by software New devices or functions can be easily clipped" on to an existing bus! 112 different addresses max with the 7-bit format (others reserved); additional 1024 with 10-bit format Address allocation coordinated by the I 2 C-bus committee Programmable pins means that several of the same devices can share the same bus Unique address per device: fully fixed or with a programmable part through hardware pin's) 10-bit format use a 2 byte message: 1111 0A 9 A 8 R/W + A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 SDA SCL V DD Master1 Slave1 Address register A6 A5 A4 A3 A2 A1 A0 V DD 0 0 1 1 1 0 0 Fixed Hardware Programmable 7
I 2 C - Protocol Communication Master Communication must start with: START condition Start bit is always followed by slave address Slave address is followed by a READ or NOT-WRITE bit Slave Master or Slave The receiving device (either master or slave) must send an ACKNOWLEDGE bit Communication must start with: STOP condition START SLAVE ADDRESS[7] R/W ACK DATA[8] ACK STOP Example: Transmit (0 = Write) START SLAVE ADDRESS[7] 0 ACK DATA[8] ACK DATA[8] ACK STOP Receive (1 = Read) START SLAVE ADDRESS[7] 1 ACK DATA[8] ACK DATA[8] ACK STOP 8
I 2 C - Protocol START & STOP conditions Start condition - a HIGH to LOW transition on the SDA line while SCL is HIGH Stop condition - a LOW to HIGH transition on the SDA line while SCL is HIGH 9
I 2 C - Protocol Bit transfer During data transfer, SDA must be stable when SCL is High 10
I 2 C - Protocol Data transfer Each byte has to be followed by an acknowledge bit Number of data bytes transmitted per transfer is unrestricted If a slave can t receive or transmit another complete byte of data, it can hold the clock line SCL LOW (clock stretching) to force the master into a wait state 11
I 2 C - Protocol Acknowledge / NOT-Acknowledge I 2 C specification: Data transfer with acknowledge is obligatory. The receiver must pull down the SDA line during the acknowledge clock pulse so that it remains stable LOW during the HIGH period of this clock pulse. Scenarios with a NOT-acknowledge (NACK) (SDA staying HIGH): 1. A receiver with the address is not present in the I 2 C bus. 2. The receiver is performing real-time tasks and it cannot process the received I 2 C information. 3. The receiver is the master and wants to take control of SDA line again in order to generate a STOP command. The slave transmitter MUST then release the SDA line when it sees the NACK so the master can send the STOP command. 12
I 2 C - Protocol Arbitration procedure p SDA DATA1 V DD DATA2 Two or more masters may generate a START condition at the same time Arbitration is done on SDA while SCL is HIGH - Slaves are not involved SDA SDA Master 1 Master 2 Summary: The master that first sends a 1 while the other sends a 0 loses control (arbitration) 13
I 2 C - Protocol Clock synchronization during the arbitration procedure SCL V DD Internal counters of masters count the LOW and HIGH times (T L1, T H1 ) and (T L2, T H2 ) CLK1 CLK2 SCL Master 1 SCL Master 2 T L1 T H1 Wired-AND SCL connection: T L = longest T L = max (T L1, T L2,T Ln ) T H = shortest T H = min (T H1, T H2,T Hn ) T L2 T H2 T L T H 14
I 2 C - Protocol Modes Standard Mode Fast Mode Fast Mode Plus (FM+) High Speed Mode Bitrate (kbit/s) 0 100 0 400 0 1000 0 1700 0 3400 Address (bits) 7 (10) 7 (10) 7 (10) 7 (10) 7 (10) Capacitive Bus Load (pf) 400 400 550 400 100 Sink current (ma) 3 3 20 3 3 Fast mode Plus (FM+): Increased bandwidth Increased transmission distance (at reduced bandwidth: >> 550 pf bus load) 15
I 2 C - Protocol Modes: Electrical specification Standard Mode Fast Mode Fast Mode Plus (FM+) High Speed Mode Bitrate (kbit/s) 0 100 0 400 0 1000 0 1700 0 3400 Address (bits) 7 (10) 7 (10) 7 (10) 7 (10) 7 (10) Capacitive Bus Load (pf) 400 400 4000 400 100 Sink current (ma) 3 3 20 3 3 Trise: Rise time (ns) 1000 300 120 160 80 t rise V cc V IH 0.7 * V DD V bus (V) V IL 03* 0.3 V DD V OL gnd t 1 t 2 0.4 V @ 3 ma sink current t (s) 0.4 V @ 20 ma sink current (FM+) 16
I 2 C - Protocol Electrical: V DD / How to calculate the pull-up resistor values DD p p V DD voltage can be chosen freely Pull-up resistor value: Minimum i resistor value: Determined by the I²C spec limit of 3 ma sinking current R = (V DDmax V olmax )/ 0.003A Example: using a V DD = 5 ± 0.5 V: R pull-up up = (5.5 V 0.4 V) / 0.003 A = 1.7 kω Maximum resistor value: Determined by the I²C-bus rise time requirements: V(t 1 ) = 0.3 * V DD = V DD (1 1/e t1/rc ); then t 1 = 0.3566749 * RC V(t = * = t2/rc 2 ) 0.7 V DD V DD (1 1/e ); then t 2 = 1.2039729 * RC t = t 2 t 1 = 0.8472979 * RC For standard-mode I²C-bus: t rise = 1000 ns (1 µs) so RC = 1180.2 ns Example: at a bus load of 400 pf: R max = 295kΩ 2.95 For Fast-Mode: I²C-bus rise time = 300 ns @ 400 pf: R max = 885 Ω 17
I 2 C - Protocol Summary START STOP DATA ACKNOWLEDGE CLOCK ARBITRATION HIGH to LOW transition on SDA while SCL is HIGH LOW to HIGH transition on SDA while SCL is HIGH 8-bit word, MSB first (Address, Control, Data): - Must be stable when SCL is HIGH - Can change only when SCL is LOW - Number of bytes transmitted is unrestricted - Done on each 9th clock pulse during the HIGH period - The transmitter releases the bus - SDA goes HIGH - The receiver pulls DOWN the bus line - SDA goes LOW - Generated by the Master(s) - Maximum speed: (100, 400, 1000, 3400 khz) but NO min - A receiver can hold SCL low when performing another function (transmitter in a Wait state) - A master can slow down the clock for slow devices - Master can start a transfer only if the bus is free - Several masters can start a transfer at the same time - Abit Arbitration ti is done on SDAli line - Master that lost the arbitration must stop sending data 18
I 2 C-bus Applications 19
I 2 C-bus Building Blocks AD/DA Converter I/O `Expander` LED Blinker/ Dimmer Color Mixing LED Driver DIP Switch Other Slave V CC4 V CC0 Bus Buffer, Voltage Translator, Extender V CC5 Multiplexer & Switch I 2 C V CC3 V CC2 Master Selector EEPROM VCC1 LCD Driver I²C in hardware or software emulation Bus Controller Real Time Clock / Calendar 8 µc µc Temperature Sensor Bridge Functions with I 2 C I 2 C Bus Architecture Devices Custom I 2 C hardware or software emulated Other hardware SPI UART 20
Market Application Segments Computing Communication Industrial Mobile Gaming/LED Sign Subject / Department / Author - February 24, 2010 21
Application: Computing Server/IPMI Storage Server BMC Fan Control Power Supply Voltage Translation 22
PCA9534/35 PCA9554/55 PCA9536/7/8/9 PCA9698 PCA9506 PCA9557 PCF8574/75 Server/IPMI Power Supply Temp Sensor SA56004 LM75A SE95/98 Power3 Power2 Power1 GPIO I 2 C BUFFER PCA9510A PCA9514A IPMB PCA9508 PMB BUFFER PCA9519 : SC18IS600/601 SC18IM700 Bus Controller PWM Temp Sensor BMC Clock CPU GTL2006 SB PCI PCI-X PCI Express PX1011A / 1012A CBTU0808 GbE 8-bit Parallel Memory Bus Switch NB PCA9509/17 BUFFER I 2 C Bus GbE SC16IS650B/652B SC16C750B/752B MODEM PCA9540 PCA9542-9548 DIMM I 2 C Mux/Switch Memory Interface I 2 C Bus PCA9510A PCA9514A PCA9508 SC16IS740/750/760 SC16IS752/762 IR receiver LED Blinkers PCA9633/4/5 PCA9530/31/32/33 PCA9550/51/52/53 External SCSI Disk Disk Disk I 2 C BUFFR Disk Disk Disk I 2 C BUFFER GPIO Disk RAID GPIO Disk Internal SCSI RAID Remote control Warning LED control 23
Storage Server Block Diagram PCA9519 performs level translation for BMC s I 2 C ports PCA9552 collects hard drive interrupts and turns on/off LEDs 24
Redundant BMC Implementation BMC Primary = NXP I 2 C Solution PCA9508 BMC Backup PCA9508 PCA9541 SCL SDA INT PMB IPMB PCA9541 Master Selector SCL SDA INT PCA9541 selects between a primary and redundant BMC masters PCA9508 is hot-swap bus buffer without offset on A-side, enables each BMC card to hot-swap without data corruption INT PMB IPMB Buffer s B-side Buffer s A-side 25
Temperature and Fan Control in IPMI NXP I 2 C Solution PCA9540B PCA9511A-14A PCA9508 NEW Board NEW 1.1 V 3.3 V I 2 C PCA9519 SCL SDA MUX SCL SDA Hot-swap Buffer Fan trays with Identical I 2 C address IPMI Management Control 4x4 Voltage Translator PMB SCL SDA Hot-swap Buffer EEPROM I 2 C IPMB SCL SDA GPIO INT PCA8574/PCF8574 PCA953x, PCA955x LM75A SE98 SA56004 NE1617A NE1619 26
Internal Power Supply Problem: Power supply requires 1.5 kv isolation on PMBus Solution: Opto-coupler is required and P82B96 or PCA9600, bus extender converts opto-coupler electrical transmit/receive signals to I 2 C and PMBUS NEW PCA9600 is 1 MHz With improved voltage threshold on Sx/Sy side over P82B96 PCF8591 27
Hot-Swap External Power Supply = NXP I 2 C Solution Backplane I 2 C External Power Supply NEW 3.3 V 2kbit EEPROM 5 V PCA9508 I 2 C LM75A Power Supply Unit Hot-swap Buffer PCA9508 PCA9512A I/O Expander PCA8574/PCF8574 PCA953x PCA955x 1k Ohm Digital POT PCF8574 Temp Sensor LM75A SE97 SA56004 NE1617A 28
I 2 C-busVoltage Translator 27V 2.7V 55V 5.5 09V 0.9 55V 5.5 Features Capacitance/noise isolation Voltage Translation A-side: 0.9 V to 5.5 V B-side: 2.7 V to 5.5 V TTL compatible I/O High drive offset free A-side (6mA) Applications Telecom Storage Computing Switching Power Supply Master (PCA9665) Master (PCA9665) VCCB SCLB SDAB EN VCCB SCLB SDAB PCA9517A GND Hot-swap VCCA SCLA SDAA 2.7V 5.5 V 0.9 V 5.5 V EN VCCA SCLA S PCA9508 SDAA GND Slave Backplane 29
Voltage Translation for Low Voltage Master or Slave 1. Low Voltage Master VA = 1.1 V up to (VB 1 V) 3.0V 5.5 V Master A PCA9509 B Slave Static Level Offset Normal I/O Level 2. Low Voltage Slave 2.7V 5.5 V 0.9 V 5.5 V Master B PCA9517 A Slave Static Level Offset Normal I/O Level 30
Application: Communications Networking Line Card GPON Router AdvancedTCA 31
Networking Line Card Status Monitor Memory Module DUART RS232 Module 1 Module 0 Switch Fiber Translator I 2 C MUX Buffer Ethernet Transceiver Alarm Interface Glue Logic Serial Transmit Clock Distribution Level Shifter Main Clock System Clock 32
GigE over Passive Optical Network (GPON) PCA9543A allows easy plug-in for 2 line cards having the same I2C address without address conflict. 33
I 2 C Buffer for Box-to-Box Communication Problem: Box-to-box uses more expensive connectivity solution Solution: I 2 C buffer, PCA9517A, is a cost effective solution and operate up to 400kHz PCA9517A A-side 2 meter cable = NXP I 2 C Solution Redundant Power Supply (RPS) PCA9517A PCA9517A PCA9517A PCA9517A PCA9517A A-side PCA9517A : PCA9517A PCA9517A 34
Advanced TCA Basic PICMG: PCI Industrial Computer Manufacturers Group Specifications body (700+ members) www.picmg.org AdvancedTCA is the name for PICMG 3.x standards and programs ZONE 3 ZONE 2 ZONE 1 I 2 C is used for Management in Zone 1 35
ATCA Shelf Manager: IPMB-0 ½ LVC4066 or 2G66 ½ LVC4066 or 2G66 IPMB-A IPMB-B processor ½ LVC4066 or 2G66 Hot-swap Buffer Sx P82B715 Lx 2G66 etc. Hot-swap Buffer Sx P82B715 Lx 2G66 etc. I2C bus lines SCL and SDA ½ LVC4066 or 2G66 Hot-swap Buffer: PCA9511A: Drop-in replacement for LT4300 PCA9508: Over 25% improvement for noise margin over LT4300 buffer ½ LVC4066 or 2G66 ½ LVC4066 or 2G66 Buffered I2C bus signals SCL and SDA renamed LCL and LDA because large capacitance is allowed on them Lx P82B715 Sx Repeat for up to 24 lines Lx P82B715 S Repeat for up to 24 lines Lx P82B715 Lx P82B715 Lx Lx Lx Lx P82B715 P82B715 P82B715 P82B715 Sx Sx Sx Sx Sx Sx Sx Backplane connector I2C bus lines SCL and SDA Hot-swap Buffer IPMB-B IPMB-A Hot-swap Buffer Note: Sx means SDA and SCL Lx means LDA and LCL IPMB-0 ONE plug-in card 36
Voltage Translator with Hot-Swap for Modular Systems with I 2 C at Card Edge PCA9512A integrated rise time accelerator PCA9508A No rise time accelerator and no offset Features Integrated IDLE/STOP for hotswap support Integrated rise time accelerator Voltage translation support (PCA9512A) New Product: PCA9508 2.7V 5.5 V 0.9 09V 5.5 55V Master (PCA9665) VCCB SCLB SDAB EN Hot-swap Voltage Translator GND VCCA SCLA SDAA Backplane 37
Hot-swap for Modular Systems with I 2 C at Card Edge PCA9511A 0.6 V threshold PCA9514A 0.8 V threshold Features Integrated IDLE/STOP for hotswap support Integrated rise time accelerator 2.7V 5.5 V 0.9 V 5.5 V Master (PCA9665) VCCB SCLB SDAB EN PCA9511A GND VCCA SCLA SDAA Backplane 38
Application: Industrial Bus Buffers Bridges GPIO 39
Industrial Application using I 2 C bus Extender 3.3/5V SCL 33/5 3.3/5 12V 12V 12V Twisted-pair telephone wires, USB or flat ribbon cables Up to 15V logic levels, Include V CC & GND NO LIMIT to the number of connected bus devices! 3.3V SDA P82B96 P82B96 P82B96 P82B96 P82B96 SDA/SCL SDA/SCL SDA/SCL SCL SDA Link parking meters and pay stations 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 40
Long Distance I 2 C Communication in Noisy Environment Single-ended I 2 C Capacitance/noise isolation TTL compatible I/O 12 V high drive offset free on T/R-side Seamless interface to opto-coupler Master New: PCA9601 3.3 V 5.5 V (Sampling) 3.3 V 12 V VCC Sx Sy PCA9601 GND Tx Ty Rx Ry Cable Differential I 2 C Convert single-ended I 2 C to Differential I 2 C Low common mode noise voltage Master 3.3 V 5.5 V VCCA SCL SDA EN New: Sample Sept/10 VCC DSCLP P82B485 DSCLM GND DSDAP DSDAM 5.5 V Cable Termination resistors are not shown 41
Bridge Application example SPI CPU interface with the I2C devices BRIDGE I2C CPU #1 SPI Master SPI Bus SC18IS600/601 SPI I 2 C Slave Master GPIO I 2 C Slave Devices I 2 C EEPROM (PCF85116) 2 I 2 C LED Dimmer (PCA9531) I 2 C GPIO (PCA9554A) Peripherals LEDs, Swicthes CPU #2 I2C Master I 2 C Bus 42
Bridge Application example I2C CPU interface with Modem and IrDA Bridge UART SC16IS752/762 RXA Phone Jack UART TXA /CTSA /RTSA CPU Modem CHA I2C SDA SCL A1 I2C A0 INT TXB RXB RXB TXB CHB IrDA TRANSCEIVER 43
Bridge Application example SPI CPU interface with the I2C devices BRIDGE I2C CPU #1 SPI Master SPI Bus SC18IS600/601 SPI I 2 C Slave Master GPIO I 2 C Slave Devices I 2 C EEPROM (PCF85116) 2 I 2 C LED Dimmer (PCA9531) I 2 C GPIO (PCA9554A) Peripherals LEDs, Swicthes CPU #2 I2C Master I 2 C Bus 44
Bus Buffering for Complex Systems & Out of the Box Short Cable (5m) Connectivity Problem: For redundant server, system management through the use of other kind of connectivity is more costly and often unnecessary Solution: I 2 C-bus is a cost effective solution and allows bidirectional communication from 100kHz to 400 khz and with PCA9517A bus buffer, it is cheap and reliable 2.7V 5.5 V 0.9 V 5.5 V 0.9 V 5.5 V 2.7V 5.5 V Master (PCA9665) VCCB SCLB SDAB EN PCA9517A GND VCCA SCLA SDAA VCCA SCLA SDAA PCA9517A GND VCCB SCLB SDAB EN Master (PCA9665) I 2 C 45
Bus Buffering for Complex Systems & Out of the Box Long Cable (> 1 km) Connectivity Problem: Driving > 1 km typically requires very expensive discrete components Solution: I 2 C-bus is a reliable, cost effective solution that allows bidirectional communication up to 100kHz P82B96, PCA9600, PCA9601 3.3 V 5.5 V 3.3 V 12 V 3.3 V 12 V 3.3 V 5.5 V Master Sx Sy P82B96 GND VCC Tx Ty Rx Ry VCC Tx Ty Rx Ry P82B96 GND Sx Sy Master Or Slave I 2 C 46
I 2 C-bus GPIO Advantages Resolves I 2 C address conflicts Processor pin savings Improved board routing Reduced board space Applications I 2 C bus isolation LED control Temperature sensing Fan control 47
I 2 C - GPIOs: General Purpose I/O Expanders 1. LED driver V DD 2. Read interrupts I 2 C Bus µc 3. Give subsystem resets 4. Control devices 5. Drive alarm pins 7. Read out keys position 6. Make even LED displays 48
Application: Mobile GPIO LED control 49
Ultra Low-Voltage GPIOs Make Design Easier New Dual Rail Level Shifting PCA9575/74 Status & Control LCD or Camera control signals: /RESET & /INT Keypad Control Benefits: - Easy to add I/O (x8, x16) via I 2 C - Combat Feature Creep by expanding I/O port - Avoid Costly Congested PCB Integrated Functionality: - Programmable On/Off Control - Monitor Input State Change - Blinking - Dimming -Voltage Translation (1.1-3.6V) -Seamless migration to newer Baseband ICs GPIO 2-wire GPIO Optimized for Mobile: -Low Power Consumption -Low Vcc and bus voltage 1.1V-3.6V - Hardware / RESET pin - Programmable Pull-up/Pull Down - Bus Hold Feature - Small & Thin HWQFN package (3x3x0.8mm) Zoom-in view 50
PCA953x/5x for key pad control Can be placed anywhere, only 2-wires pass through h congested routing area I2C INT output Lid open Enable/Disable Shutdown Standby Reset INT1 PCA9 953x/5x x INT2 INT3 51
LED Controls via I 2 C Old Design New Design, new problems I²C Solves the problem Simple LCD w/backlight Too many wires through hinge! Aux Keypad LED Array Only two wires for control! Aux Keypad LED Array I²C LED Blinker Add I²C I²C µcontroller µcontroller µcontroller 52
LED Control and IO Expansion via I 2 C PCA9633, PCA9634, PCA9635 PWM Control and Color Mixing i for LCD Backlighting IO Expanders: PCA9537, PCA9534, PCA9535 PCA9530-33 LED Dimmers PCA9550-53 PCA9901 PCA9901 (1-Wire) LED Blinkers 53
Application: Gaming/LED Sign LED Controllers 54
LED Controllers For Architectural And Accent Lighting 55
LED Controllers For Architectural And Accent Lighting Features Needed Drive Medium to High Power Multiple Color LEDs Provide Flexible PWM Control Provide Simple Interface To Master Controller / Micro Provide Simple Command Sequences To Control Brightness And Color Mixing Offload Micro For Repetitive Sequences/Patterns Reduce Micro Firmware Overhead Provide Solution To Drive LEDs on Long Cables 56
I 2 C - LED Drivers, Blinkers and Dimmers Using PWM for color mixing in RGB LED Voltage on RED LED driver ON red <I blue > LED Driver Voltage (V) ON green Voltage on GREEN LED driver + <I blue > Voltage on BLUE LED driver ON blue <I blue > + To perform color mixing: t(s) = Frequency > 80.. 100 Hz Frequency high enough so the human eye does not see the ON/OFF phases Brightness for each primary color (desired amount of each primary color) is controlled with the duty cycle Human eye sees the sum of primary colors average brightness: X% Red + Y% Green + Z% Blue 57
I 2 C Color Mixing LED PCA9633 Individual + Global PWM PCA9633 VDD PWM 1 PWM 2 Global R 1 MHz : PWM 3 PWM G I²C Bus PWM 4 B A uc Osc OE Sub1 addr Sub2 addr. HW Addr pin addr Sub3 addr Group addr. 58
LED Architectural Lighting 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 PCA9600 PCA9600 PCA9600 PCA9600 PCA9600 SDA/SCL PCA9626 SDA/SCL PCA9626 SDA/SCL PCA9626 SDA/SCL SCL PCA9626 SDA 5V PCA9665 Bus Controller ASIC/FPGA PCA9626 PCA9626 PCA9626 PCA9626 PCA9626 PCA9626 PCA9626 59
LED Controllers For Signage And Large Displays Gaming 60
LED Controllers For Signage And Large Displays Features Needed Drive Low To Medium Power Color LEDs Constant tcurrent tdi Drive For Predictable Bi Brightness Serial Shift Data Mode LED Output Error Detection 61
PCA9922 Serial Interface LED Controller Constant Current Output LED Driver for large LED signs Features 25 MHz serial interface 3.3 V to 5.5 V operation 8 LED low side constant current outputs Global control for the 8 LED outputs variable between 15 ma to 60 ma 5 ma to 60 ma maximum current for all 8 output channels set by an external resistor Constant current matching at 25 C, V DD = 5.0 V Bit-to-bit: ±6 % Chip-to-chip: ±10 % Gradual turn-on/turn-off output to limit EMI Error detection mode for line open, output short to ground, LED open and LED short -40 C to +85 C operation Usage 5V The PCA9922 is a pin-to-pin functionally equivalent 5 V alternative for the ST2221A and STP08CDC596. 62
LED Controllers Example Applications Subject / Department / Author - February 24, 2010 63
LED Application Mobile LED Blinking, Dimming, Fun lighting Color mixing Part Type: PCA9632
Flash LED Success Story in Mobile (SSL3250A) 65
LED Application Consumer Mouse & Pointing Devices Part Type: PCA9633, 4, 5
LED Controller Success Story in JVC Application: JVC LCD Backlight for Car Audio Part Type: PCA9624PW Description: 8-channel LED controller (40 V / 100 ma) EAU: 1 M pcs 67
LED Controller PCA9633 Application: Mouse, Headset, Keyboard
LED Application Automotive Backlight Application: PCA9626 Based Single Chip Automotive Cluster Lighting Customer: Continental EAU: +12V 3 LEDs in series per color: R,G,B, Current limiting series resistors 3 Output Channels used for each dotted line PCA9626 24 Channel LED Controller I 2 C Control
LED Controller PCA962x Application: Pachinko and Slot Machines Party Type: PCA9622DR/S900 PCA9624DR/S900 PCA9626DR/S900 Description: 40 V /100 mv 8-, 16-, and 24- channel LED controllers LED MATRIX
Which tools to help you win?
I 2 C Demoboards Demo and Evaluation Boards 72
Evaluation/Demo Board List OM# OM6270 OM6271 OM6272 OM6273 OM6274 OM6275 OM6276 OM6277 OM6278 OM6279 OM6281 Description SPI/I 2 C to UART Bridge Demoboard (SC16IS750) SPI to I 2 C Master Bridge Demoboard (SC18IS600) UART to I 2 C Master Bridge Demoboard (SC18IM700) SPI/I 2 C to Dual UART/IRDA/GPIO Demoboard (SC16IS752) I 2 C to SPI Master Bridge Demoboard (SC18IS602) I 2 C 2005-1 Demo Board (15 I 2 C devices w/usb control & GUI) PCA9633 Demo Board (Four Color PWM LED Control with Microcontroller) PCA9564 Eval Board (I 2 C Master) I 2 C 2002-1A Eval Board (11 I 2 C devices w/printer port control & GUI) LED Dimmer Demo Board PCA9698 Demo Board (Advanced 40-bit GPIO with PCA9530 LED blinker) OM6276 OM6285 OM6290 PCA9633 Demo Board (Four Color PWM LED Control) I 2 C 2002-1A Eval Board (without/printer port control & GUI) I 2 C bus LCD driver evaluation board OM10088 PCF8562 LCD Segment Display More information: www.ics.nxp.com/support/tools/interface com/support/tools/interface
NXP Bridge IC Demo Board Kits I2C/SPI slave to UART UART to I2C master SPI to I2C master I2C to SPI master SC16IS7xx SC18IM700 SC18IS600 SC18IS602 Kits include Kits include Kits include Kits include Sample code: RS232, RS485, and IrDA User Manual Sample code: RS232 and NXP I2C devices User Manual Sample code: SPI and NXP I2C devices User Manual Sample code: I2C and NXP SPI devices User Manual Key Benefit Easy interface to UART host and various I2C and GPIO devices. On- board I2C EEPROM and I2C LED Dimmer Key Benefit Easy interface to SPI host and various I2C and GPIO devices. On-board I2C EEPROM and I2C LED Dimmer Key Benefit Easy interface to I2C/SPI host and IrDA, RS232/RS485, and GPIO devices. Selectable I2C or SPI- bus interface Up to 5Mbps! Key Benefit Easy interface to I2C host and SPI and GPIO devices. Up to 4 SPI chip selects OM6270 SC16IS750 OM6273 SC16IS752 OM6271 OM6272 OM6274
Experience the variety of I²C peripherals with the latest I²C Training Board g Fifteen different I²C devices on one board allows easy experimentation and training. (PCA9531, PCA9536, PCA9538, PCA9540B, PCA9541, PCA9543A, PCA9551, PCF8563, PCF8574, PCF85116-3, SA56004, SE98) Add Extra I/O Ports, Temperature Sensors, LED Drivers, Real-time Clock, I²C Bus Switching USB Connection to trial version (only devices on board and that fixed address is operational) Graphics Interface for Windows PC/Laptop www.ics.nxp.com/support/boards/i2c20051/ pp Target Board & USB based GUI (400 khz) #OM6275
Get the color right with the single chip four color LED driver (R G B?) Individual and Global PWM to set your perfect color and brightness or blink I²C interface for easy connection to Micro or Baseband IC Demo board with on board micro (LPC900) and FETs #OM6276 Stand alone demo Board #OM6282 www.ics.nxp.com/support/boards/pca9633/
Blink an LED without bit banging Dim and LED without burning a PWM on the MCU Two PWMs to map across 2,4,8,16 outputs 25 ma per pin I²C interface for easy connection to Micro or Baseband IC Demo Board with on board micro #OM6279 PCA9533, PCA9531 On-board NXP MCU demonstrates capabilities www.ics.nxp.com/support/boards/leddemo
Easily Test and Demonstrate the PCA9698 40-Bit GPIO Demonstrates a wide range of functions 1MHz Fast-mode Plus I 2 C-bus serial interface with 30mA drive 2.3 to 5.5V operation with 5.5V-tolerant I/O 40 configurable I/O pins that default to inputs at power-up Designed for live insertion in PICMG applications Onboard PCA9530 LED dimmer/blinker for LED applications Low standby current Demo board #OM6281 www.ics.nxp.com/support/boards/pca9698/
Train on many I²C peripherals using parallel printer port to PC Eleven different I²C devices on one board allows easy experimentation and training (LM75A, P82B96/PCA9600, PCA9501, PCA9515, PCA9543, PCA9550, PCA9551, PCA9554, PCA9555, PCA9561, PCF8582C-2) Add Extra I/O Ports, Temperature Sensors, LED Drivers, I²C Bus Switching I²C Bus adapter uses parallel printer port for connection to full version (all devices and addresses operational) of Graphics Interface for Windows PC/Laptop www.ics.nxp.com/support/boards/i2c20021/ Target Board plus parallel printer port control (100 khz) & GUI #OM6278 Target Board only #OM6285
NXP I 2 C-bus LCD driver evaluation board (OM6290) The NXP I 2 C-bus LCD has three displays each controlled by an I 2 C-bus LCD driver. The segment display has a backlight driven by LED driver PCA9633. The board includes an NXP ARM7 microcontroller LPC2148 Demo board #OM6290
Easily drive a LCD Segment Display with a very small MCU and PCF8562 Good for a User Interface at the front panel of a system Scalable to match the complexity of the LCD display Simple code using industry-standard 8051 core Easily reprogram micro via USB adapter (#OM10083) http://www.teamfdi.com/products/lcddemo/lcddemo.shtml Demo Board with on board micro #OM10088 MCU IC I²C PCF 8562 LCD Driver LCD Glass COG is an option
Easy Access to I 2 C Technical Help Three easy ways to ask technical questions and obtain answers Access I 2 C Discussion Forum from > www.nxp.com/i2c CONTACT link on every Product Information Page www.nxp.com/support Send e-mail directly to I2C.Support@nxp.com p 82
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 www.nxp.com/i2c or www.nxp.com/i2clogic 83
Interface Products Internet Support General: http://www.nxp.com/support I 2 C Control: http://www.nxp.com/i2c I2C.Support@nxp.com (E-mail Support) http://forums.nxp.com/forums (Forum) All other Interface Products http://www.ics.nxp.com/interface/ Interface.Support@nxp.com 84
Questions? 85