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 clock speed shift at +2.5V

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



Joined: 07 May 2004
Posts: 3

View user's profile Send private message

I2C clock speed shift at +2.5V
PostPosted: Fri May 07, 2004 4:47 pm     Reply with quote

I am using the PIC16L873 in a battery operated circuit, The supply runs about +2.5V +/- 0.2V which is where the I2C clock is specified to switch from 400KHz to 100kHz. Would a speed shift occur during a bus operation and trash it? I am seeing some rare data corruption in the 24AA32A low voltage eeprom.
Can I somehow assert the slow clock and not worry about it?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri May 07, 2004 5:56 pm     Reply with quote

Quote:

I am using the PIC16L873 in a battery operated circuit, The supply runs
about +2.5V +/- 0.2V which is where the I2C clock is specified to switch
from 400KHz to 100kHz. Would a speed shift occur during a bus
operation and trash it?


Not sure what you mean. Are you thinking that the
PIC speed or the i2c clock speed somehow changes
automatically if you change the Vdd voltage on the PIC ?
Charlie U



Joined: 09 Sep 2003
Posts: 183
Location: Somewhere under water in the Great Lakes

View user's profile Send private message

PostPosted: Fri May 07, 2004 8:58 pm     Reply with quote

If I read the spec for the 24AA32A correctly, it is specified to operate at high speed, 400kHz, from 2.5V to 5.5V, and low speed 100kHz from 1.8V to 2.5V. While in general, you may have parts that will operate at high speed with Vdd at or below 2.5V, it is not guaranteed. If your operating voltage can fall below 2.5V, to be certain that you will not have problems, I would operate in slow mode only. This can be set by including the SLOW parameter in your #use I2C() preprocessor command.
johnpclaude



Joined: 07 May 2004
Posts: 3

View user's profile Send private message

PostPosted: Fri May 07, 2004 10:16 pm     Reply with quote

Thanks for the preprocessor command. I never saw it in the manual. I added it to the #use command and it complied fine. I hope it will work.
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