I2C "SCL" line problem
- From: praveen.kantharajapura@xxxxxxxxx
- Date: 1 Sep 2005 21:27:40 -0700
Hi all,
I faced the following problem with my I2C slave code(VHDL).
I was incrementing a counter on the negative edge of SCL(this clock is
coming from the processor's I2C port , 100 KHz frequency).
But what i observed on the CRO was that my bit counter which was
running on the "negative edge" of SCL , was incrementing on "positive
edge" also and this was not happening always.
The solution to this problem was i inverted the incomimg clock "SCL"
and used the rising edge to increment my counter now it was fine.
Can any I2C experts clarify what is the problem with working on
"negative edge of "SCL" clock.
Regards,
Prav
.
- Follow-Ups:
- Re: I2C "SCL" line problem
- From: Brad Smallridge
- Re: I2C "SCL" line problem
- From: alan
- Re: I2C "SCL" line problem
- Prev by Date: Re: bare die (non packaged) FPGA, CPLD, controllers ?
- Next by Date: Re: A strange behavior
- Previous by thread: Xilinx and Lattice tools on one machine?
- Next by thread: Re: I2C "SCL" line problem
- Index(es):
Relevant Pages
|
Loading