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

Re: [oc] I2C noise filtering



ckh827@hotmail.com wrote:

>...
>And also, how can I filter out the noise from scl and sda lines?
>
Simple filter:
Sample them with, say, a 20MHz clock. When you get more than 3 out of 4
consecutive samples high, set your internal verson of the signal high. 
When you
get more than 3 out of 4 consecutive samples low, set your internal copy 
of the
signal low. These numbers are rough, but worked for the boards I've done.
Noise typically insinuates on slow rising edges of IIC.

Best of luck,
John

>
>I'm urgently need a working I2C slave model because I already worked 
>for more than 3 weeks but still not able to ping correctly.
>
>Any help is appreciated.
>
>Ken
>--
>To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml
>



--
To unsubscribe from cores mailing list please visit http://www.opencores.org/mailinglists.shtml