CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

I2C works with internal osc?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kukac24



Joined: 15 Oct 2007
Posts: 3

View user's profile Send private message

I2C works with internal osc?
PostPosted: Mon Jan 25, 2010 2:33 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Jan 25, 2010 3:02 pm     Reply with quote

It should work. Just try it.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Mon Jan 25, 2010 3:29 pm     Reply with quote

I2C is full asynchronous and not relying any kind of timing accuracy. Why it shouldn't work?
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Tue Jan 26, 2010 1:23 am     Reply with quote

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







PostPosted: Tue Jan 26, 2010 3:00 am     Reply with quote

Yes, he just got the 'a' in by mistake. Smile
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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group