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 working

 
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 working
PostPosted: Fri Aug 08, 2008 3:00 am     Reply with quote

Hi All,

Maybe you guys can help me. Tried to get some answers from CCS Support with no answers as yet. I had a fully functional I2C slave code running using version 4.064 but the latest version 4.077 and 4.076 causes the master to "Hang" Look like the interupts on the master stop working. On the Change Log CCS indicated that they fixed I2C slave problems:

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

I asked them what was fixed so that I can try and identify how the fix influenced my code. maybe someone on the forum can help.

If I compile the I2C slave with version 4.077 it does not work. With version 4.064 it works. No changes at all.

I saw a change of clock streaching being the default for chips that support it. So I added the option of NO_STRETCH to the I2c definition. But that aslo don't help?

Maybe someone can give me some pointer on finding the problem?

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