Re: I2C "SCL" line problem
- From: "Brad Smallridge" <bradsmallridge@xxxxxxxxxxxxxx>
- Date: Sun, 4 Sep 2005 16:52:00 -0700
Well, the I2C interface has those funny START and STOP conditions
relating to data changing while on the clock is high state. Are you
aware of that and could that influence your circuit?
Brad Smallridge
b r a d @ a i v i s i o n . c o m
<praveen.kantharajapura@xxxxxxxxx> wrote in message
news:1125635260.092860.131020@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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
>
.
- References:
- I2C "SCL" line problem
- From: praveen . kantharajapura
- I2C "SCL" line problem
- Prev by Date: Re: Spartan 3 Ram Instantiation
- Next by Date: Quartus web edition simulation with off-chip logic?
- Previous by thread: Re: I2C "SCL" line problem
- Next by thread: OT: CPLD - SimuCAD S/W CD
- Index(es):
Relevant Pages
|
Loading