PCA9557: REMOTE 8-BIT I 2 C AND SMBus LOW- POWER I/O EXPANDER.

Slides:



Advertisements
Similar presentations
I2C bus Inter Integrated Circuits bus by Philips Semiconductors
Advertisements

INPUT-OUTPUT ORGANIZATION
PROGRAMMABLE PERIPHERAL INTERFACE -8255
The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
Microprocessor and Microcontroller
SHIFT REGISTERS: CONVERTING BETWEEN SERIAL AND PARALLEL DATA Mark Neil - Microprocessor Course 1 Serial versus Parallel Data Transfers.
Embedded Systems I2CI2C. Feature 3 wire GND SCL(clock) SDA(data) All devices share the same bus wire Using wire and, each device gain access to bus (become.
Serial Interfaces, Part Deux -I 2 C and SPI December 4, 2002 Presented by Eugene Ho.
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
Refer to Chapter 6, 9 in the reference book
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
I2CI2C CS-423 Dick Steflik. Inter-Integrated Circuit Developed and patented by Philips for connecting low speed peripherals to a motherboard, embedded.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Lecture 27: LM3S9B96 Microcontroller – Inter- Integrated Circuit (I 2 C) Interface.
INPUT-OUTPUT ORGANIZATION
Embedded Systems Design
Microprocessor Block Diagram
CS-280 Dr. Mark L. Hornick 1 Parts of a GP Computer (Microcomputer) Contains separate Microprocessor chip Memory/Memory controller MB control chips Peripheral.
1 EKT 225 MICROCONTROLLER I CHAPTER 3 I/O PORT PROGRAMMING.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
1 ECE243 I/O Hardware. 2 ECE243 Basic Components.
Input/Output mechanisms
Lecture 29: LM3S9B96 Microcontroller – Pulse Width Modulator (PWM)
7/23 Inter-chip Serial Communication: SPI and I 2 C Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee.
Multiplexed External Bus Interface-MEBIV3 By: Prof. Mahendra B. Salunke Asst. Prof., Department of Computer Engg., SITS, Pune-41
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
MOBILE OPERATING ROBOT ON EMBEDDED SYSTEM
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Input/Output 2 What is I/O? How we get the CPU to communicate with devices From the computer’s point of view, it’s just 1’s and 0’s Gets interpreted.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
1 Synchronous Serial IO Send a separate clock line with data –SPI (serial peripheral interface) protocol –I 2 C (or I2C) protocol Encode a clock with data.
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Chris Wallau ECE5330 November 17, 2008 Remote Thermometer and Display.
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
Refer to Chapter 15 in the reference book
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
PPI-8255.
PS/2 Mouse/Keyboard Port
S4525A Peripherals & Enhanced FLASH 1 © 1999 Microchip Technology Incorporated. All Rights Reserved. S4525A Peripherals & Enhanced FLASH 1 Peripherals.
Programmable Interrupt Controller (PIC)
Essentials of Communication This simple model requires many guarantees. Sender Receiver Communication Link Data.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
KyungHee Univ. 1-0 Parallel Input/Output Controller (PIO)
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
SHIFT REGISTERS: CONVERTING BETWEEN SERIAL AND PARALLEL DATA Mark Neil - Microprocessor Course 1 Serial versus Parallel Data Transfers.
BIRLA VISHVAKARMA MAHAVIDYALAY SUBJECT: SPI PROTOCOL & MAX7221 DISPLAY INTERFACING SUBMITTED BY: KISHAN AVASTHI( ) MANSI CHANDEGARA( )
میکرو کنترلرهای AVR Serial Interfaces, I2C and SPI
Outline Analog to digital conversion (ADC) of NuMaker TRIO
Introduction An interrupt is an event which informs the CPU that its service (action) is needed. Sources of interrupts: Internal fault (e.g.. divide by.
Chapter 11: Inter-Integrated Circuit (I2C) Interface
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Dr. Michael Nasief Lecture 2
I2C PROTOCOL SPECIFICATION
Communication Lines Fundamentals.
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
Interfacing Memory Interfacing.
8255.
Serial EEPROM (Atmel 24C-512)
Parallel communication interface 8255
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
CHAPTER HARDWARE CONNECTION.
Programmable Interrupt Controller (PIC)
Presentation transcript:

PCA9557: REMOTE 8-BIT I 2 C AND SMBus LOW- POWER I/O EXPANDER

Reference Books  REMOTE 8-BIT I2C AND SMBus LOW-POWER I/O EXPANDER WITH RESET AND CONFIGURATION REGISTERS

Chip Description and Key Features z8-bit I/O expander for I 2 C bus zI 2 C to parallel port expander z400-kHz fast I 2 C bus z3 hardware address pins allow for use of up to 8 devices on I 2 C zNoise filter on SCL/SDA inputs zGeneral-purpose remote I/O expansion for most microcontroller families zAt power on, the I/Os are configured as inputs zThe I/Os can be programmed by I 2 C master to be as either inputs or outputs zLatched outputs with high current drive maximum capability for directly driving LEDs zData for each input or output is kept in the corresponding input or output register zThe polarity of the input port register can be inverted with the polarity inversion register

Package & Pins Top-side marking: PD557

Logic Diagram

I 2 C Protocol Review zTwo lines: the serial clock (SCL) and serial data (SDA) zConnected to a positive supply through a pull-up resistor zCommunication is initiated by a master sending a start condition zA high-to-low transition on the SDA & the SCL input is high zAfter the start condition, the device address byte is sent zMost-significant bit (MSB) first zFollowed by the data direction bit (R/W) zAfter receiving the valid address byte, the device having this address responds with an ACK zA low on the SDA during the high of the ACK-related clock pulse

I 2 C Protocol Review Cont. zData transfer begins zOnly one data bit is transferred during each clock pulse zAny number of data bytes can be transferred from the transmitter to the receiver zEach byte of eight bits is followed by one ACK bit zThe transmitter must release the SDA line zThe receiver must pull down the SDA line during the ACK clock pulse zMaster will stop the transmission by issuing a stop condition zA low-to-high transition on the SDA & the SCL input is high

Device Address zThe address of the PCA9557 is shown as follows R/~W: a high (1) indicates a read operation, while a low (0) selects a write operation.

Control Register & Command Byte zAfter the successful ACK of the address type, the bus master sends a command byte that is stored in the control register in the PCA9557 zCommand bytes are used to specify the operation and the internal registers that will be affected

Input Port Register zReflects the incoming logic levels of the pins zAll pins no matter whether a pin is an input or an output zThe default value is determined by the externally applied logic level

Output Port Register zShows the outgoing logic levels of the pins defined as outputs zBit values in this register have no effect on pins defined as inputs zreads from this register reflect the value that is in the flip-flop controlling the output selection, not the actual pin value

Polarity Inversion Register zInverts the polarity of input pins zIf a bit in this register is set, the corresponding port pin's polarity is inverted zIf a bit in this register is cleared, the corresponding port pin's original polarity is retained

Configuration Register zConfigures the directions of the I/O pins zIf a bit in this register is set to 1, the corresponding port pin is enabled as an input zIf a bit in this register is cleared, the corresponding port pin is enabled as an output

Write Operation

Read Operation

I 2 C on S700

Digital LED Tubes on S700