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 Slave not functioning on newer version of CCS

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



Joined: 23 Oct 2006
Posts: 33
Location: South Africa

View user's profile Send private message Visit poster's website

I2C Slave not functioning on newer version of CCS
PostPosted: Fri Aug 08, 2008 1:42 am     Reply with quote

I have implemented I2C slave code very simular to the example. It works perfect if compiled with version 4.064 but if I compile with version 4.077 or 4.076 it causes the master to "hang" look like disabling all interupts on the master. I have posted to CCS support to tell me what changed because they state that :

"4.077 Some problems with slave I2C have been fixed, see the newest EX_SLAVE.C"

Did not get an answer yet.

Does anyone on the forum know what was "fixed" I saw something about clock streaching is now the default for chips that support it. I added the option of "NO_STRETCH" to the I2C definition with no effect. The slave compiled with the newest version still have an effect on the master.

For now I am using the older version of the compiler but I don't like the effect of upgrading causing previous working code not to work.

Johan
_________________
Johan Pretorius
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