FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > VHDL

VHDL comp.lang.vhdl newsgroup / Usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2006, 12:40 AM
Guest
 
Posts: n/a
Default OpenCores.org's I2C: Clock Stretching Support

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

Reply With Quote
  #2 (permalink)  
Old 10-18-2006, 06:22 PM
Guest
 
Posts: n/a
Default Re: OpenCores.org's I2C: Clock Stretching Support

Clock stretching is done by the I2C slave.

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

GH

Reply With Quote
  #3 (permalink)  
Old 10-18-2006, 09:41 PM
Guest
 
Posts: n/a
Default Re: OpenCores.org's I2C: Clock Stretching Support

Found it. Thanks!

[email protected] wrote:
> Clock stretching is done by the I2C slave.
>
> Richard's code does handle it. Look for the signal 'slave_wait'.
>
> GH


Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCores.org's I2C: Clock Stretching Support markus FPGA 1 10-19-2006 01:25 AM
OpenCores.org's I2C: Clock Stretching Support [email protected] Verilog 0 10-18-2006 12:40 AM
I2C slave clock stretching [email protected] VHDL 1 06-14-2005 10:02 AM
I2C clock stretching(XILINX reference design) [email protected] FPGA 4 06-10-2005 11:03 PM
Do Synplify DSP and Accelchip support multiple clock domains? Dave FPGA 5 05-09-2005 10:09 PM


All times are GMT +1. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved