I designed a PCB with PIC18F2520 and DS1307 communicating through I2C.
I have some problem with that communication. The pull up resistors are installed for each I2C line.
The distance of the pull up resistors is how considerable from the master or from slave?
Thanx in advance :)
Ttelmah Guest
Posted: Tue Feb 23, 2010 9:36 am
What matters is the bus capacitance, and the frequency you are running it.
What value have you used for the resistors?. How long is the bus?. What gap have you used the adjacent tracks (power plane?)?. What frequency are you running the bus?.
Best Wishes
kukac24
Joined: 15 Oct 2007 Posts: 3
Posted: Sun Feb 28, 2010 2:45 am
I tried the pull ups with 4k7 and 10k. The freq. was tried with FAST and SLOW as well.
The result is the same, when I send the time to LCD, there is only 45:85:85.
The quartz is 32kHz, without battery
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum