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 question

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



Joined: 27 Nov 2012
Posts: 1

View user's profile Send private message

i2c question
PostPosted: Tue Nov 27, 2012 10:36 pm     Reply with quote

Hi, all.
First, sorry my poor English.

I have a question about #use i2c.

CCS version is 3.249.
I use PIC (PIC18LF4520) as slave.
I'm working on i2c communication between master(INTEL device) to several slave devices including PIC.

The i2c communication freezes occasionally when there is "SLOW" in #use i2c.
When I remove clock rate, communication is good.
But the checksum of two programs are same.

Doesn't checksum change whether I will remove "SLOW" in #use i2c or not?
Does operation change depending on a setup?

Could anyone tell me?
Ttelmah



Joined: 11 Mar 2010
Posts: 19368

View user's profile Send private message

PostPosted: Wed Nov 28, 2012 2:24 am     Reply with quote

A _slave_ device, shouldn't have a speed at all.....
It is the master that controls the speed. Selecting a speed for a slave, can result in invalid configurations.

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