Pull up resistor for 24LC256
Enrique
Posts: 90
Hi,
·
In a project I’m building I will be connecting a 24LC256 EEPROM to a PX32A-Q44 Propeller.
·
In the Propeller Datasheet there is a Propeller Demo Board schematic in which the SDA line of the EEPROM has a 10K pull up resistor, but in the schematic for the #3812 Proto Board both the SDA and SCL lines have pull up resistors. Are both needed?
·
·
Thanks,
·
Enrique
·
In a project I’m building I will be connecting a 24LC256 EEPROM to a PX32A-Q44 Propeller.
·
In the Propeller Datasheet there is a Propeller Demo Board schematic in which the SDA line of the EEPROM has a 10K pull up resistor, but in the schematic for the #3812 Proto Board both the SDA and SCL lines have pull up resistors. Are both needed?
·
·
Thanks,
·
Enrique
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Prop Tools under Development or Completed (Index)
· Emulators (Micros eg Altair, and Terminals eg VT100) - index
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz
I have not checked it so far, but I suspect that this is an I2C feature.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys
However the data line is bidirectional, and always needs a pull-up.
Here's the I2C spec.
The value of the pull-up depends on the number of devices on the bus. Refer to 16.1 "Maximum and minimum values of resistors Rp
and Rs for Standard-mode I2C-bus devices"
EDIT: Here is the latest I2C 3.0 spec from NXP (founded by Philips, the creators of I2C)..
Post Edited (Andrew E Mileski) : 1/28/2009 7:24:36 PM GMT
IMO, it's false economy to cut corners in a design just to save the cost of a resistor.
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Prop Tools under Development or Completed (Index)
· Emulators (Micros eg Altair, and Terminals eg VT100) - index
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz
True, it doesn't hurt to include a pullup on the SCL line but the reality is that there is not a single I2C device I have ever come across that can or will try to assert the SCL itself which a slave device if capable is allowed to do to pause the transfer. Multi-master I2C will need a pullup on the SCL line but I haven't seen an implementation of that either.
IMO however, to avoid confusion about this simple matter it might be wise if all schematics show a pullup on SCL.
SUMMARY: ALways include a pullup on the SDA and SCL liness but don't be confused if you don't see a pullup on SCL on other designs. The pullup is normally 10K for short connections but can safely be decreased to 2K2 or less.
*Peter*
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Prop Tools under Development or Completed (Index)
· Emulators (Micros eg Altair, and Terminals eg VT100) - index
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz