I2C Master Core Simulation Environment. I2C Master Core Requirements Coverage (*) Requirement I2C IP RS-906: The I2C IP shall define the period of time,

Slides:



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

VHDL Lecture 1 Megan Peck EECS 443 Spring 08.
LOGO Lab Supervisor – Dr. WH Lau EE3271 Design Laboratory.
Introduction to Avalon Interface Hardik Shah Robotics and Embedded Systems Department of Informatics Technische Universität München www6.in.tum.de 06 May.
Computer Science 210 Computer Organization Clocks and Memory Elements.
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.
Presented by: Omer Shaked Beeri Schreiber Serial Peripheral Interface Final Project Presentation Supervised by: Tal Yahav Leon Polishuk.
Pipeline transfer testing. The purpose of pipeline transfer increase the bandwidth for synchronous slave peripherals that require several cycles to return.
Introduction of Holtek HT-46 series MCU
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.
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.
EECS 470 Cache and Memory Systems Lecture 14 Coverage: Chapter 5.
I2CI2C CS-423 Dick Steflik. Inter-Integrated Circuit Developed and patented by Philips for connecting low speed peripherals to a motherboard, embedded.
Two Wire Interface Another popular serial peripheral interface bus -More flexible than SPI -Master and slave modes supported -7-bit slave address -400khz.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Lecture 27: LM3S9B96 Microcontroller – Inter- Integrated Circuit (I 2 C) Interface.
1 © Unitec New Zealand I2C Lecture 10 Date: - 2 Nov, 2011 Embedded Hardware ETEC 6416.
Computer Architecture Lecture 08 Fasih ur Rehman.
Advanced FPGA Based System Design Lecture-9 & 10 VHDL Sequential Code By: Dr Imtiaz Hussain 1.
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.
VERIFICATION OF I2C INTERFACE USING SPECMAN ELITE By H. Mugil Vannan Experts Mr. Rahul Hakhoo, Section Manager, CMG-MCD Mr. Umesh Srivastva, Project Leader.
Embedded Bus – i2c David E. Culler Lab 2 Feb 2, 2015
Flip Flop
ECE 493T9 Real Time Embedded System Tutorial Set 3 June 10, Spring 2008.
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
MICROPROCESSOR INPUT/OUTPUT
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
EXECUTION OF COMPLETE INSTRUCTION
Autonomous Helicopter James LydenEE 496Harris Okazaki.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
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)
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
22/11/2005A. Blas1 DSP Board data bus timing There are two types of data transfer within the DSP board: Lead by the DSP Lead by the VME master. A dedicated.
AT91 Memory Interface. 2 Features –Up to 8 programmable chip select lines –Remap Command allows dynamic exception vectors –Glue-less for both 8-bit and.
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.
Part A Final Dor Obstbaum Kami Elbaz Advisor: Moshe Porian August 2012 FPGA S ETTING U SING F LASH.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Embedded Communication Protocols Don Heer 10/18/10 1.
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
Computer Science 210 Computer Organization
LATCHES AND FLIP-FLOPS
LATCHED, FLIP-FLOPS,AND TIMERS
ISA System Architecture
Two Wire Interface Another popular serial peripheral interface bus
PCIe control interface for user logic.
Computer Architecture & Operations I
ECE 3130 – Digital Electronics and Design
Flip Flops.
Flip-flops Inputs are logically disconnected from the output in time.
SEABAS/EUTelescope Integration Idea
EE 107 Fall 2017 Lecture 7 Serial Buses – I2C Direct Memory Access
I2C PROTOCOL SPECIFICATION
Computer Science 210 Computer Organization
Communication Lines Fundamentals.
8259 Chip The Intel 8259 is a family of Programmable Interrupt Controllers (PIC) designed and developed for use with the Intel 8085 and Intel 8086 microprocessors.
Latches and Flip-flops
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
EEPROM Comparison – Parallel or Serial
8254 Timer and Counter (8254 IC).
الاسبوع الإرشادي.
Computer Science 210 Computer Organization
Elec 2607 Digital Switching Circuits
Lecture 18 Interrupt 동국대학교 홍유표.
I2C Protocol and RTC Interfacing
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
Flip Flops Unit-4.
14 Digital Systems.
Presentation transcript:

I2C Master Core Simulation Environment

I2C Master Core Requirements Coverage (*) Requirement I2C IP RS-906: The I2C IP shall define the period of time, in which the SDA or SCL lines are not active (except the situation when SDA is low), that will be called timeout situation. This period of time is 20 SCL clock periods. Counting for timeout is performed starting on the current byte of data on the SDA line. (*) Requirement I2C IP RS-907: The I2C IP shall implement internal HW reset to I2C bus signals, when a timeout situation occurs (see I2C IP RS-906). (*) Simulation Procedure for Coverage (example): 1.Initiate read request from i2c slave (slave address = 0x01; sub-address=0x03): 2.Wait for start of the i2c transaction (“sda” falling edge). 3.Wait for nine i2c clocks. 4.Force “low” logic state on “scl” signal. 5.Wait for 20 i2c clock cycles and verify the i2c_interupt signal is at high logic state value. [Covers: I2C IP RS-906] 6.Wait for one main clock cycle and verify the i2c_interupt signal is at low logic state value. [Covers: I2C IP RS-907] 7.Release “scl” signal. 8.Verify that the value of i2c outputs (“scl” and “sda”) is identical to their reset value.

(*) Simulation Procedure for Coverage (example): 1.Initiate read request 2.Wait for start of the i2c transaction (“sda” falling edge). 3.Wait for nine i2c clocks. 4.Force “low” logic state on “scl” signal. 5.Wait for 20 i2c clock cycles and verify the i2c_interupt signal is at high logic state value. 6.Wait for one main clock cycle and verify the i2c_interupt signal is at low logic state value. 7.Release “scl” signal. 8.Verify that the value of i2c outputs (“scl” and “sda”) is identical to their reset value. I2C Master - Simulation Procedure I2C read command Force model I2C Bus I2C Master (DUT) Register bus model Discrete model Wait on signal model 1 2,3 5,6,8 4,7

I2C Master - Simulation Waveform Read command initiation By writing via register bus. I2c_interrupt rises for one clock I2c transaction slave address (0x01) + read command = 0x03 sub-address=0x02