OpenCores.org's I2C: Clock Stretching Support

Discussion in 'VHDL' started by markus_1401@yahoo.com, Oct 18, 2006.

  1. Guest

    Hi,

    I'm currently working with the I2C core supplied by OpenCores.org. I
    have successfully got the design to work in an FPGA.

    However, all of the slave device I used may not have the clock
    stretching feature implemented. As a result, I am not sure if this I2C
    core uses the included clock stretching feature correctly. I tried
    looking at the code, but could not find any code that implies clock
    stretching logic. The documentation for this core also lacks
    information regarding the clock stretching. Has anyone used this core
    with a slave that performed clock stretching?

    If you're familiar with this core, my control logic for this core
    simply sends the instructions that's required for read/write and waits
    for interrupts, ack/nack, and TIP logic to assert/deassert. Do I need
    to add logic to detect clock stretching?

    Thanks,
    -M
     
    , Oct 18, 2006
    #1
    1. Advertising

  2. Guest

    Clock stretching is done by the I2C slave.

    Richard's code does handle it. Look for the signal 'slave_wait'.

    GH
     
    , Oct 18, 2006
    #2
    1. Advertising

  3. Guest

    Found it. Thanks!

    wrote:
    > Clock stretching is done by the I2C slave.
    >
    > Richard's code does handle it. Look for the signal 'slave_wait'.
    >
    > GH
     
    , Oct 18, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Manfred Balik

    i2c-core from opencores.org

    Manfred Balik, Sep 8, 2004, in forum: VHDL
    Replies:
    2
    Views:
    2,977
    Phillip
    Feb 27, 2011
  2. Tomas

    i2c opencores

    Tomas, May 4, 2005, in forum: VHDL
    Replies:
    2
    Views:
    2,709
  3. Replies:
    1
    Views:
    1,329
  4. Replies:
    2
    Views:
    979
  5. kimberlinbw
    Replies:
    0
    Views:
    1,149
    kimberlinbw
    Jul 15, 2008
Loading...

Share This Page