[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [oc] I2C slave model



     Hey my slave's address is 4A, and i thought by changing the
parameter in your slave module to 4A, it will give the behaviour of
required slave. If your slave does not do so, then what is the use of
having the address as parameter then ? Please respond at the earliest.

       One of the signals i think st0 in your module checks for
posedge of sda, then depending on the value of scl, it is initialised
to some value. That is why if i permenently tie sda and scl to 'H',
that even and further triggering will not happen. That is why i
initially made it 'X', then changed it to 'H'.
Thanks for your time and response,
regards,
Vikas

----- Original Message ----- 
From: Richard Herveille <richard@a... > 
To: cores@o...  
Date: Thu, 28 Mar 2002 08:21:49 +0700 
Subject: Re: [oc] I2C slave model 

> 
> 
> 
> >Hey, thanks for the response. But if the slave address is 4A, 
> for that 
> >matter any address whose msb is '0', the slave module will not 
> >respond. 
> 
> Of course not. The slave will only respond to it's own slave 
> address. 
> This is the intended behaviour. 
> 
> >  It will not produce any acknowledgement. One more bug is 
> >that, sda and scl should initially be 'x' and then pulled up to 
> 'H', 
> >then only the module will respond. 
> 
> SCL and SDA are weakly pulled-up signals. Initially their state is 
> a 'H', 
> not an 'x'. But for simulation this shouldn't matter that much. 
> 
> >Can you please go through your module and let me know if the 
> slave 
> >works for address say 4A. Thanking you in advance, 
> >regards, 
> >Vikas Akalwadi 
> >e-mail: vikasakalwadi@r...  
> > 
> > 
> >----- Original Message ----- 
> >From: Richard Herveille <richard@a... > 
> >To: cores@o... 
> >Date: Thu, 14 Mar 2002 06:06:49 +0100 
> >Subject: Re: [oc] I2C slave model 
> > 
--
To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml