It'worth clarifying that with lower CPU clock on Slave, then the Slave may not be as fast.
The Master can go slower than max slave speed (down to Hz, near DC) but can never go faster than whatever speed is the max of the slave. Also longer or narrower wiring, number of masters & slaves sharing bus etc increases capacitance and thus reduces the speed. Correct value of pull up resistors too. If the pull-up resistors are higher value than is specified, the bus will still work at a slower speed. At slower speed and CAT5 pair (one wire ground of each pair), then two pairs can do 100m if the speed is low enough. Shielded CAT5 recommended :) For longer bus cables performance is improved by lowest value pull up resistors allowed at twice value, but at BOTH ends of bus. On Mar 13, 11:43 pm, mattschinkel <[email protected]> wrote: > Should this be noted in the library/sample? > > Matt. > > On Mar 13, 2:55 pm, "m...@watty" <[email protected]> wrote: > > > On Mar 13, 7:20 pm, mattschinkel <[email protected]> wrote: > > > > It's not working for me. I have compiled the I2C master/slave echo > > > samples. Master is 20mhz, slave is 10mhz. Master is set to 400khz I2C. > > > > I do not get the correct echo! > > > > If I change the master I2C rate to 100khz, it does work. > > > > Matt. > > > That makes sense. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
