- This topic has 4 replies, 5 voices, and was last updated 11 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › pullup resistor value for I2C
Hai….
I have a problem while reading the eeprom. while reading it i got some garbage values which i was not stored in eeprom. i think it may be because of pullup resistor.
Can anyone please suggest me the pull up resistor value for I2C.
Am using 89c52 and AT24c64.
Thanks in advance…..
hai jenifer
In 8051 I2C u must put pull up register value between 2k-10k ,please 2k i think its enough for practical use
Hi,
Try to confirm whether the issue is due to the pull-up resistors. You can use 10K resistors.
there must be problem is addressing or your protocol. it can be problem of pull up resistors. if you are getting something and its garbage then possibly your program code is wrong
hi jenifer…
u have to check following things..
1> declaration of variables that u have declared for I2C operations
becuase if u r doing operations like shifting then there will be problem in declaration type of variable i.e int, char, unsigned int etc. etc
2> for 5 volt application i think 4.7k pull resistor is ok.