Philips Semiconductors I 2 C Handbook

Similar documents
The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

DS1307ZN. 64 x 8 Serial Real-Time Clock

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

DS1621 Digital Thermometer and Thermostat

INTEGRATED CIRCUITS PCA9530, PCA9531, PCA9532, PCA9533, PCA9550, PCA9551, PCA9552, PCA9553, SAA1064

DS1621 Digital Thermometer and Thermostat

DS Wire Digital Thermometer and Thermostat

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

PCA9564 Parallel bus to I 2 C-bus controller INTEGRATED CIRCUITS Sep 01. Product data sheet Supersedes data of 2004 Jun 25

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

UM I 2 C-bus specification and user manual. Document information

Microprocessor & Assembly Language

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

The I 2 C-bus and how to use it (including specifications)

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

THE I 2 C-BUS SPECIFICATION VERSION 2.1 JANUARY document order number:

Pmod peripheral modules are powered by the host via the interface s power and ground pins.

FM75 Low-Voltage Two-Wire Digital Temperature Sensor with Thermal Alarm

LTC Channel Analog Multiplexer with Serial Interface U DESCRIPTIO

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

8051 MICROCONTROLLER COURSE

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements.

RS-485 Protocol Manual

Computer Systems Structure Input/Output

PCA General description. 2. Features and benefits. 8-channel I 2 C-bus multiplexer with reset

Sierra Dual 24 Volt Brushless DC Motor Controller Product Specification

NB3H5150 I2C Programming Guide. I2C/SMBus Custom Configuration Application Note

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

AN460 Using the P82B96 for bus interface

Serial Communications

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Atmel Norway XMEGA Introduction

Serial port interface for microcontroller embedded into integrated power meter

Fairchild Solutions for 133MHz Buffered Memory Modules

UniPi technical documentation REV 1.1

PART B QUESTIONS AND ANSWERS UNIT I

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Lab Experiment 1: The LPC 2148 Education Board

Voice Dialer Speech Recognition Dialing IC

Chapter 13. PIC Family Microcontroller

LM75 Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface

AN111: Using 8-Bit MCUs in 5 Volt Systems

BL Interface Products White Goods Applications. BL-IP, BU-HPMS 2Q 2013 v1.0

LED light control using DMX512 control method

Intelligent RS-485 I/O expansion unit: RU-87Pn Series

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

Real Time Clock USB Evaluation Board V3.0

Table 1: Address Table

Features DISPLAY DECODING INPUT INTERFACING

MICROPROCESSOR AND MICROCOMPUTER BASICS

Thermostat Application Module Kit

MCP3426/7/8. 16-Bit, Multi-Channel ΔΣ Analog-to-Digital Converter with I 2 C Interface and On-Board Reference. Features.

ADQYF1A08. DDR2-1066G(CL6) 240-Pin O.C. U-DIMM 1GB (128M x 64-bits)

DS12885, DS12885Q, DS12885T. Real Time Clock FEATURES PIN ASSIGNMENT

Arbitration and Switching Between Bus Masters

Definitions and Documents

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

USING I2C WITH PICAXE

Chapter 2 Logic Gates and Introduction to Computer Architecture

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada

Test Driven Development of Embedded Systems Using Existing Software Test Infrastructure

Microtronics technologies Mobile:

2.0 Command and Data Handling Subsystem

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

HDMM01 V1.0. Dual-axis Magnetic Sensor Module With I 2 C Interface FEATURES. Signal Path X

Temperature Sensors. Resistance Temperature Detectors (RTDs) Thermistors IC Temperature Sensors

Designing VM2 Application Boards

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Application Note 83 Fundamentals of RS 232 Serial Communications

Eliminate Risk of Contention and Data Corruption in RS-485 Communications

AN736. An I 2 C TM Network Protocol for Environmental Monitoring THE I 2 C BUS SPECIFICATION INTRODUCTION

Automotive electronics CAN and LIN buses. Copyright 2006 Matrix Multimedia Limited

Single channel data transceiver module WIZ2-434

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

Web Site: Forums: forums.parallax.com Sales: Technical:

FUNCTIONAL BLOCK DIAGRAM SDA SCL SMBALERT. SMBus SERIAL BUS INTERFACE ADDRESS SELECTION PWM CONFIG AUTOMATIC FAN SPEED CONTROL REGISTERS

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

Power network telecommunication

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

INTEGRATED CIRCUITS DATA SHEET. SAA digit LED-driver with I 2 C-Bus interface. Product specification File under Integrated Circuits, IC01

IS31FL3731 AUDIO MODULATED MATRIX LED DRIVER. May 2013

DS1821 Programmable Digital Thermostat and Thermometer

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Application Note AN_209. AN_209 PDIUSBD12 to FT120 Migration Guide

Transcription:

Philips Semiconductors I 2 C Handbook Quick Overview of general purpose I 2 C Logic Devices 2H 2004

I 2 C Bus Technical Overview The I 2 C (Inter-Integrated Circuit) Bus is a two-wire, low to medium speed, communication bus (a path for electronic signals) developed by Philips Semiconductors in the early 1980s. I 2 C was created to reduce the manufacturing costs of electronic products. It provides a low-cost, but powerful, chip-to-chip communication link within these products. Initial applications for I 2 C included volume and contrast control in radios and televisions. Over the past decade, I 2 C has expanded its communications role to include a wide range of applications. Today, I 2 C can be found in a wide variety of computer, industrial, entertainment, medical, and military systems, with almost unlimited growth potential. Industry Standard The I 2 C Bus Specification, published by Philips Semiconductor, provides a communication protocol definition of the signal activity on the I 2 C Bus. This specification helps instruct semiconductor device manufacturers, and electronic product developers, in the correct use of the technology. The specification is freely available on the Internet (www.semiconductors.philips.com/buses/i2c/). Low Cost Prior to I 2 C, chip-to-chip communications used many wires in a parallel interface, often requiring ICs (integrated circuits) to have 24, 28, or more pins. Many of these pins were used for inter-chip addressing, selection, control, and data transfers. In a parallel interface, 8 data bits are typically transferred from a sender IC to a receiver IC in a single operation. I 2 C performs chip-to-chip communications using only two wires in a serial interface, allowing ICs to communicate with fewer pins. The two wires in the I 2 C Bus are called Clock (SCL) and Data (SDA). These two wires carry addressing, selection, control, and data, one bit at a time. The SDA wire carries the data, while the SCL wire synchronizes the sender and receiver during the transfer. ICs that use the I 2 C Bus can perform the same function as their larger parallel interface counterparts, but with far fewer pins. This greatly reduces the size and cost of ICs based on the I 2 C Bus. A second savings from the two-wire I 2 C Bus design is in printed circuit board (PCB) size and costs. With ICs based on the I 2 C Bus needing far fewer wires (copper traces) for inter-chip communications, circuit boards using I 2 C ICs are greatly reduced in size, complexity, and cost. More Power Although cost savings alone would be enough to make the I 2 C Bus a success, its developers were also charged with creating a powerful communication link. I 2 C meets this challenge by supporting several powerful features. Courtesy of www.mcc-us.com

Master-Slave Hierarchy I 2 C devices are classified as master or slave. A device that initiates a message is called a master, while a device that responds to a message is called a slave. A device can be masteronly, slave-only, or switch between master and slave, as the application requires. Multiple Devices I 2 C can connect many ICs on just two-wires. Each I 2 C slave device has its own unique slave address. When a master sends a message, it includes the slave address at the beginning of the message. All devices on the bus hear the message, but only the slave that recognizes its own address participates in the transfer. Multi-Master Support I 2 C also supports multiple master devices on the bus at the same time, a powerful feature that optimizes bus use by keeping bus message traffic to a minimum. To support multiple masters, I 2 C must resolve signal conflicts, should two or more master devices try to talk on the bus at the same time. This feat, called bus arbitration loss detection, allows a master to detect when its bus signals are conflicting with those of another master. A master that detects arbitration loss terminates its use of the bus, allowing the message generated by another master to cross the bus unharmed. Summary The I 2 C Bus is a time-proven, industry standard, communication protocol used in a wide variety of electronic products. I 2 C is found in products we use every day, like cellular and conventional telephones, computers, and ATMs (automatic teller machines). Its low cost and powerful features make I 2 C ideal for low to medium speed chip-to-chip communications. I 2 C is supported by a large and growing number of semiconductor and system manufacturers. These companies offer a variety of electronic devices, including memories, input and output devices, sensors of many types, real-time clocks, displays, data entry devices, and much more. I 2 C is an effective technology that can lower product costs and increase product performance. Courtesy of www.mcc-us.com

Philips I 2 C Logic Products I²C Functions: A/D and D/A Conversion Bus Master 8-bit parallel to I 2 C protocol Bus repeater, hubs and expansion Jumper and DIP switch replacement Power, dim and blink LEDs General Purpose I/O expansion Bus isolation and extension Bus multiplexing Non-volatile storage -Serial EEPROMs System monitoring (temperature/voltage) Voltage Level Translations Advanced Family Features: 400 khz I²C operation 2.3 to 5.5 V operating supply voltage -40 to +85 ºC operating temperature I²C and SMBus compatibility Hardware address pins (A O, A 1, A 2 ) DIP, SO, SSOP, QSOP, TSSOP and HVQFN packages High volume process manufacturing www.semiconductors.philips.com/logic/i2c

I 2 C Analog to Digital Converter Supply POR Oscillator, intern / extern + - + - SDA SCL I 2 C-bus interface Sub address decoder Data registers Analog reference + - - + - + + - -Converts signals from digital to analog and analog to digital -4 channel Analog to Digital converter -1 channel Digital to Analog converter -Internal oscillator -Power On Reset (POR) PCF8591, 100 khz 4 channel 8 bit ADC

Parallel Bus to I 2 C Bus Controller I 2 C Bus I 2 C Interface Operation Control Control Bus Buffer Chip Enable Write Strobe Read Strobe Reset Address Inputs Interrupt Request microcontroller Data (8-bits) Serves as an interface between most standard 8-bit parallel-bus microcontrollers/microprocessors and the serial I 2 C bus. Allows the parallel bus system to communicate bi-directionally with the I 2 C bus. Provides both master and slave functions. Communication with the I 2 C bus is carried out on a byte-wise basis using interrupt or polled handshake. Controls all the I 2 C bus specific sequences, protocol, arbitration and timing. Internal oscillator (PCA9564) PCA9564, 400 khz Parallel Bus to I 2 C Bus Controller PCF8584, 100 khz Parallel Bus to I 2 C Bus Controller

I 2 C Bus Repeater, Hub and Extenders I 2 C Bus SCL SCL I 2 C Bus 400 pf 400 pf SDA SDA Enable -Bi-directional I 2 C drivers, enable designers to isolate the I 2 C bus capacitance, accommodating more I 2 C devices or a longer bus length. -400 pf load allowed on each segment. -Different voltages (3.3 V or 5.0 V) allowed on each segment. -Devices transparent to bus arbitration and contention protocols in a multi-master environment. -P82B96 allows twisted pair, differential transmission or Opto-Electrical isolation of the I 2 C Bus PCA9510/11/12/13/14, I 2 C Hot Swap Bus Buffer PCA9515/15A/17, I 2 C Bus Repeater PCA9516/16A, 5-Channel I 2 C Hub PCA9518, Expandable 5-Channel I 2 C Hub P82B96, Dual Bi-Directional Bus Buffer P82B715, I 2 C Bus Extender

I 2 C EEPROM based DIP Switches MUX Select Default Output I 2 C Bus EEPROM Mux -Replacement for jumpers or dip switches. -I²C controlled integrated EEPROM and Multiplexer eliminates need to open equipment to modify jumpers/dip switches by hand. -Multiplex between the default values or the setting stored in the onboard I 2 C EEPROM register and programmed from the I 2 C bus. -The non-volatile I²C EEPROM register values stay resident even when the device is powered down PCA8550, 4-bit Multiplexed/1-bit Latched 5-bit EEPROM PCA9559, 5-bit Multiplexed/1-bit Latched 6-bit EEPROM PCA9560, Dual 5-bit Multiplexed/1-bit Latched EEPROM PCA9561, Quad 6-bit Multiplexed EEPROM

I 2 C LED Dimmers/Blinkers I 2 C Bus Reset Oscillator LED LED LED LED -Used for general-purpose LED dimming and blinking. -Internal oscillator, no external components required. -Two user definable blink rates and duty cycles. -Single transmission to turn LEDs on, off, or blink at one of the two programmable blink rates. -I 2 C/SMBus not tied up by sending repeated transmissions to blink LEDs. -Hardware Reset pin. -High current open drain outputs. -PCA953x Dimmers vary between 160 Hz and 1.6 seconds -PCA955x Blinkers vary between 40 Hz and 6.4 seconds PCA9530/50, 2-Bit I²C/SMBus LED Controller PCA9533/53, 4-bit I 2 C/SMBus LED Controller PCA9531/51, 8-bit I 2 C/SMBus LED Controller PCA9532/52, 16-bit I 2 C/SMBus LED Controller

I 2 C General Purpose Quasi I/O I 2 C Bus Interrupt Input LED Output -Used for general-purpose input and output (GPIO) extension from the I 2 C/SMBus. -Connect parallel I/O to the serial I 2 C/SMBus and provide expansion capability for the I/O controller Hub (South Bridge). -One registers for Quasi Output (upper transistor on for one/half clock cycle): -Input or Output (value) -Devices may have Interrupt output pin. PCA9500, 8-bit GPIO w/ 2kbit EEPROM PCA9501, 8-bit GPIO w/2kbit EEPROM & Interrupt PCA9558, 8-bit GPIO w/5-bit DIP Switch & 2kbit EEPROM PCF8574/74A, 8-bit I 2 C I/O Port with Interrupt PCF8575/75C, 16-bit I 2 C I/O Port with Interrupt

I 2 C General Purpose True I/O I 2 C Bus Interrupt or Reset Input LED Output -Used for general-purpose input and output (GPIO) extension from the I 2 C/SMBus. -Connect parallel I/O to the serial I 2 C/SMBus and provide expansion capability for the I/O controller Hub. Four sets of registers for true outputs (push-pull outputs): -Configuration (Input or Output) -Input (Read I/O value) -Output (Force output value) -Polarity (active high or low) PCA9534/54/54A, 8-bit I 2 C and SMBus I/O Port with Int PCA9535/55, 16-bit I 2 C and SMBus I/O Port with Interrupt PCA9536, 4-bit I 2 C and SMBus I/O Port PCA9537, 4-bit I 2 C and SMBus I/O Port with Int & Reset PCA9538, 8-bit I 2 C and SMBus I/O Port with Int & Reset PCA9539, 16-bit I 2 C and SMBus I/O Port with Int & Reset PCA9557, 8-bit I 2 C and SMBus I/O Port with Reset

I 2 C Multiplexers I 2 C Bus OFF I 2 C Bus 0 I 2 C Bus 1 Interrupt Out I 2 C Controller Interrupt 0 Interrupt 1 -The SCL/SDA upstream channel fans out to multiple SCx/SDx channels that are selected by the programmable control register. -The Multiplexers can select none or only one SCx/SDx channels at a time. -Applications include: -Address conflict resolution (e.g., SPD EEPROMs on DIMMs). -I 2 C sub-branch isolation -I 2 C bus level shifting (e.g., individual SCx/SDx channels at 5.0 V, 3.3 V, 2.5 V or 1.8 V). -Interrupt logic provides flag to master PCA9540B, 1 to 2-Channel Multiplexer PCA9541, 2 to 1 Master Selector with Int Logic & Reset PCA9542A, 1 to 2-Channel Multiplexer with Interrupt Logic PCA9544A, 1 to 4-Channel Multiplexer with Interrupt Logic PCA9547, 1 to 8-Channel Multiplexer with Reset

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 -The SCL/SDA upstream channel fans out to multiple SCx/SDx channels that are selected by the programmable control register. -The Switches can select individual SCx/SDx channels one at a time, all at once or in any combination through I 2 C commands. -Applications include: -Address conflict resolution (e.g., SPD EEPROMs on DIMMs). -I 2 C sub-branch isolation -I 2 C bus level shifting (e.g., individual SCx/SDx channels at 5.0 V, 3.3 V, 2.5 V or 1.8 V). -Hardware Reset provides a means of resetting the bus should it hang up, without rebooting the entire system. PCA9543A, 1 to 2-Channel Switch with Int Logic and Reset PCA9545A, 1 to 4-Channel Switch with Int Logic and Reset PCA9546A, 1 to 4-Channel Switch with Reset PCA9548A, 1 to 8-Channel Switch with Reset

I 2 C Serial EEPROM Address pointer POR 256 I 2 C-bus Byte Sub interface address decoder E 2 PROM Sub address POR I 2 C-bus interface Sub address decoder Supply SDA SCL -Wide voltage range decoder minimizes the number of EEPROMs that need to be in inventory -I²C bus is used to read and write information to and from the memory -Wide voltage range of 2.5 to 5.5V -1,000,000 read and write cycles -10 year data retention PCA24S08, 1024 x 8-bit EEPROM with security PCF8581(C), 128 x 8-bit CMOS EEPROM PCF8582C-2, 256 x 8-bit CMOS EEPROM PCF8594C-2, 512 x 8-bit CMOS EEPROM PCF8598C-2, 1024 x 8-bit CMOS EEPROM PCF85102C-2, 256 x 8-bit CMOS EEPROM PCF85103C-2, 256 x 8-bit CMOS EEPROM PCF85116-3, 2048 x 8-bit CMOS EEPROM

I 2 C Temperature and Voltage Sensors -Hardware monitors use the I²C bus to report temperature and/or voltage. -Some of the temperature monitors include analog input or external sense pins that allow external transistors/diodes to be located in external components (e.g., processors) that sense the temperature much more accurately than if the sensor was mounted externally on the package. NE1617A, I 2 C Temperature Monitor NE1618, High Accuracy I 2 C Temperature Monitor NE1619, I 2 C Temperature and Voltage Monitor LM75A, ± 2 C Digital Temp Sensor and Thermal Watchdog SA56004-X, ±1 C Accurate, Remote/Local Digital Temperature Sensor with Over Temperature Alarms SE95, ± 1 C Digital Temp Sensor and Thermal Watchdog

I 2 C Voltage Level Translator Voltage translation between any voltage from 1.0 V to 5.0 V Open drain on both sides with no drive Bi-directional with no direction pin Reference voltage clamps the input voltage with low propagation delay Used for bi-directional translation of I 2 C buses at 3.3V and/or 5 V to the processor I 2 C port at 1.2 V or 1.5 V or any voltage in-between BiCMOS process provides excellent ESD performance GTL2000, 20-bit Bi-directional Level Translator GTL2002, 2-bit Bi-directional Level Translator GTL2010, 10-bit Bi-directional Level Translator