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 CCS Technical Support

I2C with 20MHz Processor

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







I2C with 20MHz Processor
PostPosted: Fri Mar 07, 2003 3:08 pm     Reply with quote

I've got a little problem with my I2C. On my prototype i've used an 16C76 clocked with 5MHz and an 24LC64. No Problem at all. After positiv tests, i increased the Osc-Frequency to 20MHz and compiled my c-Programm new, with the actual Freq. Result: No communication with my EEPROM. The EEPROM is ok, because if I decrease the frequency to 5MHz anything works well.
Has somebody expirience with I2C on 20MHz-prozessors?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12464
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: I2C with 20MHz Processor
PostPosted: Fri Mar 07, 2003 3:27 pm     Reply with quote

:=I've got a little problem with my I2C. On my prototype i've used an 16C76 clocked with 5MHz and an 24LC64. No Problem at all. After positiv tests, i increased the Osc-Frequency to 20MHz and compiled my c-Programm new, with the actual Freq. Result: No communication with my EEPROM. The EEPROM is ok, because if I decrease the frequency to 5MHz anything works well.
:=Has somebody expirience with I2C on 20MHz-prozessors?
------------------------------------------------------

1. Did you change the #use delay statement when you changed
the crystal ? Example:

#use Delay(clock=5000000)

#use Delay(clock=20000000)

2. Are you using software or hardware i2c ? I don't think
hardware i2c works properly on the 16C77. I think it
only works on PICs that have a "MSSP" (16F877), and not
a "BSSP" which the 16C77 has.

3. What version of the compiler are you using ?

4. Are you testing this on a real chip, or are you using
ICE or simulation ?
___________________________
This message was ported from CCS's old forum
Original Post ID: 12467
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