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

PIC18LF4525 as I2C slave and v4.071

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



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PIC18LF4525 as I2C slave and v4.071
PostPosted: Thu Apr 10, 2008 8:45 pm     Reply with quote

Colleagues,

I have an I2C code that worked, when it was compiled with PCWH 3.240. I was forced to upgrade to PCWH 4.071. (I waited as long as I could. The GUI looks nice, though. Overall v4 feels more useable, although Visual C++ is still better.) The big problem is that my I2C slave code hangs up the bus, when it’s compiled with PCWH 4.071. Hardware was PIC18LF4525 in both cases.

Are there any known problems with I2C slave on v4.071?

UPDATE: Writing to the slave started to work with NO_STRETCH option. I’ll be reading from it too. Preparation of the response to the master takes some time in my case, and I was using clock stretching.

- Nick
_________________
Read the label, before opening a can of worms.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 11, 2008 12:14 am     Reply with quote

The CCS versions page says this:
Quote:
4.070 I2C slave algorithms have been updated for some chips

If you're concerned about it, compile your program for both 3.240 and
4.071 and compare the .LST files. See if there is a significant change.
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