I2C and 16C73
Barry King email (remove spam text)
> Where can I get resources for implement the slave (hardware) and the master
> (software) for the 16C73 specifically.
I'm using the library routines that came with my C compiler. I have
heard others using the AN554 code.
> Did anybody tried the code in the AN554 successfully? I am trying to
> use it but unsuccessfully...
What is the problem, specifically?
> What is the value the pull up resistors should be?
Smaller pull ups can pull the bus lines high faster when there high
parasitic capacitance (like from long wires). But they use more
I recommend starting with a guess on bus capacitance, choose
the pull ups for your bus speed and supply voltage, then checking the
rise times with an oscilloscope to make sure the rise times are OK.
A typical example: for standard mode (100 kbps), 5V levels, and
100pF bus capacitance, you'll need 8 kOhms maximum. Faster speed
or more parasitic capacitance will require smaller pullups.
Barry King, KA1NLH
NRG Systems "Measuring the Wind's Energy"
Hinesburg, Vermont, USA
"The witty saying has been deleted due to limited EPROM space"
In reply to: <003a01be8fee$0f200e20$6437a8c0@rougier>
See also: www.piclist.com/techref/i2cs.htm?key=i2c
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the