IN5350 – CMOS Image Sensor Design

Slides:



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

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.
Lecture 8: Serial Interfaces
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
Lecture 27: LM3S9B96 Microcontroller – Inter- Integrated Circuit (I 2 C) Interface.
Serial Peripheral Interface (SPI) Bus. SPI Bus There is no official specification for the SPI bus. It is necessary to consult the data sheets of the devices.
Critical Design Review 27 February 2007 Black Box Car System (BBCS) ctrl + z: Benjamin Baker, Lisa Furnish, Chris Klepac, Benjamin Mauser, Zachary Miers.
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
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.
MODES OF Details of Pins Pin 1GND –Connected Ground Pins 2-16 AD14-AD0–acts as both input/output. Outputs address at the first part of the cycle.
8279 KEYBOARD AND DISPLAY INTERFACING
Design of a Novel Bridge to Interface High Speed Image Sensors In Embedded Systems Tareq Hasan Khan ID: ECE, U of S Term Project (EE 800)
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.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
APPLICATION OVER I2C Kıvanç ÖZBEK What is I2C? 2-wired communication interface Communication protocol used in small areas Defined in 1980’s.
PS/2 Mouse/Keyboard Port
Department of Electronic & Electrical Engineering Serial interfaces Serial Interfaces allow communication between devices sending one bit at a time. In.
Serial Peripheral Interface SPI I2C (i-squared cee)
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
میکرو کنترلرهای AVR Serial Interfaces, I2C and SPI
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
End OF Column Circuits – Design Review
EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing
Department of Computer Science and Engineering
Chapter 6 Input/Output Organization
Outline Analog to digital conversion (ADC) of NuMaker TRIO
Everybody.
The 8085 Microprocessor Architecture
16.317: Microprocessor System Design I
Serial Communication Buses: I2C and SPI
Resistors: Sheet resistances are process and material dependent. Typical values: - Gate poly-Si: Rsh= W/□ - High resistivity poly:
EE 107 Fall 2017 Lecture 5 Serial Buses – UART & SPI
Chapter 11: Inter-Integrated Circuit (I2C) Interface
Introduction to the processor and its pin configuration
I/O Memory Interface Topics:
The 8085 Microprocessor Architecture
(Inter-IC bus) By Tejaswini Gadicherla
EE 107 Fall 2017 Lecture 7 Serial Buses – I2C Direct Memory Access
DMA CONTROLLER 8257 Features: It is a 4-channel DMA.
8086/8088 Hardware Specifications
8085 Microprocessor Architecture
I2C PROTOCOL SPECIFICATION
Communication Lines Fundamentals.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
EEPROM Comparison – Parallel or Serial
Pulse Width Modulation (PWM)
Internet-of-Things (IoT)
8254 Timer and Counter (8254 IC).
Serial Communication Interface: Using 8251
Serial EEPROM (Atmel 24C-512)
Jeremy Reed ATMEL AT24C512 2-wire Serial EPROM Jeremy Reed
Architecture & Support Components
Programmable Interval timer 8253 / 8254
8085 Microprocessor Architecture
Programmable Interval timer 8253 / 8254
Digital Fundamentals Floyd Chapter 1 Tenth Edition
The 8085 Microprocessor Architecture
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
Presentation transcript:

IN5350 – CMOS Image Sensor Design Lecture 9 – CIS communication interfaces 25-October-2019

Project schedule ✅ ✅ ✅ ✅ ✅ Task/milestone Start Finish Chose topic/scope 16-Sep 20-Sep Create project plan (tasks, milestones, schedule) 27-Sep MS1 – project plan approved by Johannes 30-Sep Study literature on the topic 4-Oct Design/simulation 25-Oct Write prelim report (2-3pages, inc references, goals, design, prelim results) 29-Oct MS2 – submit preliminary report to Johannes 15-Nov Write up final report (incl references, design, results) 22-Nov MS3 – submit final report to Johannes & presentation MS4 – grading (pass/fail) by Johannes & Tohid Exam 28-Nov 2019 ✅ ✅ ✅ ✅ ✅ 26.10.2019

Goal for this lecture Learn how the image sensor chip communciates with host CPU using industry standard interfaces Learn how I2C is used to write commands to the CMOS image sensor and to read register contents Learn about pros and cons of outputing pixel data with parallel and serial interfaces 26/10/2019

Package types Ref: Harris et al, CMOS VLSI Design, 4th Ed. 26.10.2019

Camera HW examples Sensor eval board DSLR camera FPGA + USB board 26.10.2019

Sensor eval board example CIS chip 26.10.2019

Digital input pads (next slide) Ref: Harris et al, CMOS VLSI Design, 4th Ed. 26.10.2019

ESD protection Ref: Harris et al, CMOS VLSI Design, 4th Ed. 26.10.2019

Bidirectional pads Ref: Harris et al, CMOS VLSI Design, 4th Ed. 26.10.2019

VDDIO power dissipation Energy per transition (delivered by VDDIO): EIO = Cload x VDDIO2 Power delivered to output clock pin: PCLK = Cload x VDDIO2 x fCLK Power delivered to output pins: PIOpin = Cload x VDDIO2 x fCLK/2 Total power: PIO = Cload x VDDIO2 x fCLK x (1 + NDVP/2) Example: PIO=20pF (3.3V)2 100MHz (1+12/2) = 152mW(!) 26.10.2019

Noise concern when DVP data toggles Current in I/O pins during LOW to HIGH transition IVDDIO = Cload dVVDDIO/dT Typical pin load: Cload = 15pF HDTV (720p60) output clock frequency: fCLK = 74.25MHz (74.25Mpix/sec), i.e. Cycle time of 13.5ns Assume VDDIO=1.8V and rise time of ¼ cycle time IVDDIO = 15pF 1.8V/(13.5ns/4) = 8mA Assuming 0 to 1 transition on 12bit pixel value + clk 8mA/pin x (12+1)pins = 104mA (large current spikes on VDDIO!) 26.10.2019

Industry trend from parallel to serial output Driven by the megapixel raze E.g. 8MP 30fps => 240Mpix/sec CMOS DVP i/os limited to approx 100MHz Adding multiple DVPs could increase die size (cost) Driven by power and noise concerns Current spikes in I/Os inducing supply and gnd noise Driven by EMC requirements Reduced EM radiation from serial interfaces w/differential signalling 26.10.2019

Example EMC test of digital VDD supply 26.10.2019

Example EMC test of digital VDD supply 26.10.2019

Low Voltage Differential Signaling Ref: National Semiconductor, LVDS owners manual. 26.10.2019

LVDS remarks Data rate >5Gbps per lane (1Gbps is typical) Unaffected by common mode noise thanks to differential signalling At 2.5V supply voltage the power to drive 3.5 mA becomes 8.75 mW per lane Variations of LVDS for reduced power sub-LVDS (introduced by Nokia in 2004) uses 0.9V typical common mode voltage SLVS-400 specified in JEDEC where the power supply can be 800 mV and common mode voltage 400mV MIPI D-PHY uses 200mV differential signalling 26.10.2019

I2C Inter-Integrated Circuit VDDIO Master Slave Slave One device is Master, the others are Slaves (max 127) Only the Master drives the clock line (SCL) Pull-up resistors, Rp, typically 1.8kohms to 10kohms Speed grades: 100kHz, 400kHz, 1MHz, 3.3MHz 26.10.2019

Start and stop sequence and data transmission Data transmission: 8b data followed by 1b acknowledge from slave (i.e. SDA is pulled down by the slave device) 26.10.2019

Addresssing an I2C device 7-bit device address, i.e. max 127 devices can be connected to the bus R/W bit informs slave that master wants to Read (‘1’) or Write (‘0’) 26.10.2019

Write sequence Send a start sequence Send the I2C address of the slave with the R/W bit low (even address) Send the internal register number you want to write to Send the data byte [Optionally, send any further data bytes] Send the stop sequence. 26.10.2019

Read sequence Send a start sequence Send 0x<device address> Send 0x<register address> Send a start sequence again (repeated start) Read data byte from device Send the stop sequence 26.10.2019

Example read sequence NB. If slave is not ready for register read it can hold the SCL line low. This is called clock stretching. The master issues the first clock pulse of the read by making SCL high and then checks to see if it really has gone high. If its still low then it waits until it goes high before continuing. Example code: http://www.robot-electronics.co.uk/acatalog/I2C_Tutorial.html 26.10.2019

Key takeaways Digital I/O pads with level shifting and ESD protection Parallel outputs can be power hungry PIO = Cload x VDDIO2 x fCLK x (1 + NDVP/2) Industry trend from parallel to serial output (e.g. LVDS) due to higher datarates and lower EMC I2C: industry strandard protocol used to read/write 8b values to CMOS sensor (e.g. Integration time, gain, etc) 26.10.2019

Thanks! 26.10.2019