View previous topic :: View next topic |
Author |
Message |
kukac24
Joined: 15 Oct 2007 Posts: 3
|
I2C works with internal osc? |
Posted: Mon Jan 25, 2010 2:33 pm |
|
|
Hello,
Could somebody tell me, that the HW I2C works with internal oscillator?
I try it with 18f4520 and 18f2520 and a DS1307. Pull ups are on the each lines, everything is ok by the HW side.
Thank you in advance! |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Jan 25, 2010 3:02 pm |
|
|
It should work. Just try it. |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Mon Jan 25, 2010 3:29 pm |
|
|
I2C is full asynchronous and not relying any kind of timing accuracy. Why it shouldn't work? |
|
|
bkamen
Joined: 07 Jan 2004 Posts: 1615 Location: Central Illinois, USA
|
|
Posted: Tue Jan 26, 2010 1:23 am |
|
|
FvM wrote: | I2C is full asynchronous and not relying any kind of timing accuracy. Why it shouldn't work? |
Async??
What's SCL for then?
:D _________________ Dazed and confused? I don't think so. Just "plain lost" will do. :D |
|
|
Ttelmah Guest
|
|
Posted: Tue Jan 26, 2010 3:00 am |
|
|
Yes, he just got the 'a' in by mistake.
I2C, is technically a 'data/strobe synchronous' transfer. It is timed by the SCL line, and couldn't at heart 'give a hoot' about the stability of the clock (within some limits set by individual devices).
It'll run quite happily off chips using basic RC oscillators far worse than the internal RC oscllator.
Best Wishes |
|
|
|