The Great I2C Mystery Act 2. The facts Occasionally, when accessing sequentially components on the I2C bus (LLD, DCU etc.), the APVs are found not to.

Slides:



Advertisements
Similar presentations
The Bus Architecture of Embedded System ESE 566 Report 1 LeTian Gu.
Advertisements

EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Power e Lab PowerELab Limitedwww.powerelab.com 1 An Active EMI reduction IC WT6001 POWERELAB LIMITED A Power Converter Technology Provider.
ELEC 256 / Saif Zahir UBC / 2000 Timing Methodology Overview Set of rules for interconnecting components and clocks When followed, guarantee proper operation.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 12 Basic (NAND) S – R Latch “Cross-Coupling” two NAND gates gives the S -R Latch:
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
1 CS 151: Digital Design Chapter 5: Sequential Circuits 5-3: Flip-Flops I.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Gigabit Ethernet Group 1 Harsh Sopory Kaushik Narayanan Nafeez Bin Taher.
1 LHCb CALO commissioning meeting Anatoli Konoplyannikov /ITEP/ Proposal of the ECAL CW base modification + Anatoli, Michail ( Michail Soldatov.
Introduction to CMOS VLSI Design Lecture 19: Design for Skew David Harris Harvey Mudd College Spring 2004.
CSE477 L19 Timing Issues; Datapaths.1Irwin&Vijay, PSU, 2002 CSE477 VLSI Digital Circuits Fall 2002 Lecture 19: Timing Issues; Introduction to Datapath.
Clock Design Adopted from David Harris of Harvey Mudd College.
14 June 2005C. Campagnari (UCSB)1 Status of Rod Production at UCSB This report covers the last week Reporting for: Dan Callahan Susanne Kyre Stephen Jaditz.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 6 –Selected Design Topics Part 3 – Asynchronous.
Endcap Muon meeting: UC Davis, Feb , 2005 J. Hauser UCLA 1 TMB and RAT Status Report Outline: Current status of TMB and RAT boards Noise measurements.
1 Chapter Six - Errors, Error Detection, and Error Control Chapter Six.
The Great I2C Mystery Act 2. The facts Occasionally, when accessing sequentially components on the I2C bus (LLD, DCU etc.), the APVs are found not to.
EELE 461/561 – Digital System Design Module #6 Page 1 EELE 461/561 – Digital System Design Module #6 – Differential Signaling Topics 1.Differential and.
Juan Valls 1 TOB System Test Status Report  DS ROD System Test Setup  DAQ Software  DS ROD Characterization PLL, FED Timing Scans OPTO Scans  Noise.
The Great I2C Mystery. The mystery Occasionally, when accessing the I2C bus, the APVs are found not to respond correctly to I2C commands, actually they.
ECE C03 Lecture 61 Lecture 6 Delays and Timing in Multilevel Logic Synthesis Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
I2C Signal propagation on TOB cards Where do we stand A. Marchioro 13/7/2003 v.2.
6/23/2005 Claudio Campagnari, weekly US rod meeting 1 New Development: Tentative Plan for Rod Production As relayed to me by Joe, following the discussion.
28 June 2005C. Campagnari (UCSB)1 Status of Rod Production at UCSB This report covers the last week Reporting for: Dan Callahan Susanne Kyre Stephen Jaditz.
Building a Typical Electronic Project in Senior Design Peter Wihl (former Guest Lecturer)
Clock Noise in Sampled Data Systems Sampled Data System.
Practical Aspects of Logic Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
AZIZ112/MAPLD2004 Printed Circuit Board Simulation: A Look at Next Generation Simulation Tools and Their Correlation to Laboratory Measurements Shahana.
Digital System Bus A bus in a digital system is a collection of (usually unbroken) signal lines that carry module-to-module communications. The signals.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Oct, 2000CMS Tracker Electronics1 APV25s1 STATUS Testing started beginning September 1 wafer cut, others left for probing 10 chips mounted on test boards.
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
Linac Marx Modulator Update Trevor Butler 10/29/2014.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
Practical Digital Design Considerations Part 1 Last Mod: January 2008 ©Paul R. Godin.
Kris Blair Nathan Edwards Jonathan Lindsay Daniel Moberly Jacob Rosenthal CUbiC Advisors: Sreekar Krishna and Troy McDaniel Wireless Haptic Belt Preliminary.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
EECS 498 Advanced Embedded Systems Lecture 8: Topic Groups, RTOS Review & Power Introduction.
October 31st, 2005CSICS Presentation1 A 1-Tap 40-Gbps Decision Feedback Equalizer in a  m SiGe BiCMOS Technology Adesh Garg, Anthony Chan Carusone.
CS1Q Computer Systems Lecture 11 Simon Gay. Lecture 11CS1Q Computer Systems - Simon Gay2 The D FlipFlop A 1-bit register is called a D flipflop. When.
Chapter 07 Electronic Analysis of CMOS Logic Gates
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
High-Level Interconnect Architectures for FPGAs Nick Barrow-Williams.
A.A. Grillo SCIPP-UCSC ATLAS 10-Nov Thoughts on Data Transmission US-ATLAS Upgrade R&D Meeting UCSC 10-Nov-2005 A. A. Grillo SCIPP – UCSC.
CS 151: Digital Design Chapter 5: Sequential Circuits 5-3: Flip-Flops II.
Waclaw Karpinski General meeting CMS TRACKER SYSTEM TEST Outer Barrel –TOB Inner Barrel –TIB End cap –TEC TIB TOB TEC Different Geometries One.
I2C Master Core Simulation Environment. I2C Master Core Requirements Coverage (*) Requirement I2C IP RS-906: The I2C IP shall define the period of time,
W. Karpinski, Nov CMS Electronics week CMS Microstrip Tracker grounding & shielding of the CMS Tracker R. Hammarstrom (CERN EP/CMT) & W. Karpinski.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
ECE 551 Fall /6/2001 ECE Digital System Design & Synthesis Lecture 2 - Pragmatic Design Issues Overview  Classification of Issues oThree-State.
FED RAL: Greg Iles5 March The 96 Channel FED Tester What needs to be tested ? Requirements for 96 channel tester ? Baseline design Functionality.
11/22/2004EE 42 fall 2004 lecture 351 Lecture #35: data transfer Last lecture: –Communications synchronous / asynchronous –Buses This lecture –Transmission.
Modern VLSI Design 3e: Chapter 7 Copyright  1998, 2002 Prentice Hall PTR Topics n Power/ground routing. n Clock routing. n Floorplanning tips. n Off-chip.
July, 2001CMS Tracker Electronics1 I 2 C investigations - some reported problems from some APV users - sensitivity to “termination” resistance and power.
Electronics: Junction Cards, Adapter Card, Purple Card, …. Ron Sidwell, K. Harder, T. Sobering, R. Taylor, E. VonToerne, Kansas State U.
EECS 713 Project Instructor: Prof. Allen Presented by: Chen Jia.
AFE Meeting June 5, 2001 SIFT UPGRADE Marvin Johnson.
Compilation of Dis-/Advantages of DC-DC Conversion Schemes Power Task Force Meeting December 16 th, 2008 Katja Klein 1. Physikalisches Institut B RWTH.
Monostable Multivibrator
ECE 171 Digital Circuits Chapter 9 Hazards Herbert G. Mayer, PSU Status 2/21/2016 Copied with Permission from prof. Mark PSU ECE.
1 9 December 2002A.P.Kashchuk (LNF/INFN), Frascati) New approach to CPC design.
Juan Valls - LECC03 Amsterdam 1 Recent System Test Results from the CMS TOB Detector  Introduction  ROD System Test Setup  ROD Electrical and Optical.
1 Back-Of-Crate : BOC Status Oct, 2002 BOC is the optical fibre interface for the ROD Receives module control data from ROD, performs clock-data encoding,
Tracker Timing Margin MRB R.P. Johnson U.C. Santa Cruz October 15, 2004.
TERMINATIONS Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology.
Development of a Marx-Generator for the drive beam electron gun
Calibration On pixel calibration capacitor; 20fF
Compilation of Dis-/Advantages of DC-DC Conversion Schemes
Presentation transcript:

The Great I2C Mystery Act 2

The facts Occasionally, when accessing sequentially components on the I2C bus (LLD, DCU etc.), the APVs are found not to respond correctly to I2C commands, actually they are stuck –This can data pattern dependent (as the last bit of the data sequence is the one most often misinterpreted) The lock-up can only be cleared by Resetting the APV

The theoretical waveforms SCL SDA D1 D0 Ack Cycle Example for an I2C write cycle SDA Driven by master Driven by slave SDA ↓ must occur after SCL ↓ SCL Driven always by master

The actual waveforms SCL SDA D1 D0 Ack Cycle Driven by master Driven by slave SCL ↓ before SDA ↓ by a few ns

… on scope SCL on FE-Hybrid SDA

What we believe the APV believes SCL (large RC) SDA (small RC) D1 D0 Ack Cycle Driven by master Driven by slave ARRRGGGHHHH!!!!!

Present Electrical circuit AOH FE-Hybrid SCL SDA 82  Parasitic on FE Hybrid C H Parasitic on AOH C A C H > C A

Why were resistors added? PSU CNTRL CCUM PSU FE Hybrid FE Hybrid CCU APV

Why are resistors added ? (2) CCU To CNTRL PSU To FE PSU, but Floating at Power-Up Any logic line between control and FE

“Simple” Circuit equalization AOH FE-Hybrid SCL SDA 82  > 3 K 

Possible solutions 1.Remove all protection resistors as to avoid different RC constants on ROD traces and introduce strict powering sequences 2.Use Wacek’s ~2 nF bypass capacitor on resistors as to speed-up slow RCs edges 3.Tune Rs on different I2C traces as to guarantee correct SCL arrival time 4.Remove all resistors and introduce active protection to avoid short circuiting the CCUs to the FE during power-up 5.Remove resistors (same as 1.) and use only one power supply for CCUMs and FE hybrids 6.Short circuit I2C (SCL and SDA) lines after protection resistors, thus “equalizing” delay paths to AOH and APVs

Solution 1 AOH FE-Hybrid SCL SDA Parasitic on FE Hybrid C H Parasitic on AOH C A PSU Control PSU FE Simult.

Solution 2 AOH FE-Hybrid SCL SDA 82  Parasitic on FE Hybrid C H Parasitic on AOH C A PSU Control PSU FE before

Solution 3 AOH FE-Hybrid SCL SDA R1 R2 Parasitic on FE Hybrid C H Parasitic on AOH C A R 2 > R 1

Solution 4 AOH FE-Hybrid SCL SDA Parasitic on FE Hybrid C H Parasitic on AOH C A PSU Control PSU FE before

Solution 5 AOH FE-Hybrid SCL SDA Parasitic on FE Hybrid C H Parasitic on AOH C A PSU Control PSU FE

Solution 6 AOH FE-Hybrid SCL SDA 82  Parasitic on FE Hybrid C H Parasitic on AOH C A PSU Control PSU FE before

Comparison ProCon 1 - Works fine, no cumbersome tuning required- Power sequence could be critical (potentially dangerous if power-up sequence control is lost) -Requires mod of all interconnect cards 2 - Well proved in Aachen- Requires mod of all interconnect cards 3 - Seems to work-Requires mod of all interconnect cards -Not obviously scalable, may require individual tuning of Rs 4 - Safe and robust- Requires redesign and replacement of 700 CCUMs - Requires mod of all interconnect cards 5 - Works fine, no cumbersome tuning required - Saves money of control PSUs - Careful about introducing digital noise - Requires minor mod to CCUM cabling - Possibly applicable only to TOB (DOHM cabling?) - Requires mod of all interconnect cards 6 (- This is how it should have been designed from the beginning) - It would probably be best to eliminate the “T” altogether and have just one protection resistor - Requires mod of all interconnect cards

Act 3 ’ Marvin Johnson Guido Magazzu’ Sandro Marchioro Mark Raymond Slawek Tkaczyk

Summary of Status The test systems in FNAL and S.Barbara have shown that (rarely) the I2C between CCUM and FEH and/or AOH can generate errors This was traced back to a timing problem occurring under certain conditions on the I2C bus The two signals on the bus (SCLK (i.e. clock) and SDA (i.e. data) are not properly propagated electrically along the TOB control chain: CCUM->ICC->Hybrid

Situation as from last week A number of potential fixes (actually 6) have been proposed –All of them have good and bad features, there is no single fix that offers at the same time : Robustness (i.e. large operating margin) Simplicity (i.e. some work is always required) Low cost Small impact on TOB construction

Summary of possible Fixes 1.Remove all protection resistors as to avoid different RC constants on ROD traces and introduce strict powering sequences 2.Use Wacek’s ~2 nF bypass capacitor on resistors as to speed-up slow RCs edges 3.Tune Rs on different I2C traces as to guarantee correct SCL arrival time 4.Remove all resistors and introduce active protection to avoid short circuiting the CCUs to the FE during power-up 5.Remove resistors (same as 1.) and use only one power supply for CCUMs and FE hybrids 6.Short circuit I2C (SCL and SDA) lines after protection resistors, thus “equalizing” delay paths to AOH and APVs 7.To be introduced today

What are we fighting SCL on FE-Hybrid SDA

How does the problem arise Through a combination of: –Minor weaknesses in implementation of I2C protocol –Unfortunate choice of layout in interconnect card (“T” line layout instead of linear transmission line) –High capacitance of FE hybrid –Improper choice of inductive signal transmission in Kapton pig-tail on FE hybrid It results in: –Unsafe timing margin between SCL and SDA line as seen on FEH and/or AOH, to make things worse this is (I2C) data dependent

Safety Margin SDA on FE-Hybrid SCL from Buffer Unbuffered SCL after 41 ohm

Option 7 AOH FE-Hybrid SCL SDA 100 pF Parasitic on AOH C A PSU Control PSU FE ICC Line driver 10   pF  pF 330  LLD DCU/APV

Plan for action Complete construction of RODs using the previously proposed solution “6” (i.e. short the SCL line on the ICC card after protection resistor) Instrument a sector of the TOB with these RODs and proceed as speedily as possible with the verification of all the other aspects of operating a reasonably large number of RODs (e.g. cross-talk, grounding, etc.) In parallel, and to strengthen understanding of system, a better ICC has to be built: –Redesign complete/partial lot of ICC to support the more robust solution 7 I2C behavior on TEC and TIB should be verified with the same level of accuracy

Plan for implementation of solution 7 A new proto series of ICC is absolutely necessary to study and digest in details several not yet completely understood effects –Measurements of GHz effects on small cards, with flying wires, with small chips and no test point are difficult and error-prone New layout of 4 different card types (but with priority on the single type of card that has actually given problems in module 6 and 4) Fabrication of films Assembly of Prototypes: –Series of some 10 cards each –Mounting of 10 cards Entire Lot: –Acquire components (critical are the NAIS connectors) –Testing

Schedule

Cost The cost of the previous fabrication lot of ICC cards was ~ 108 KCHF Some money can be saved out of experience Some money must be added to speed out handling of “urgent” lot