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

Search found 8 matches
CCS Forum Index
Author Message
  Topic: interfacing pic16f877a with eeprom 25lc640
hansimg

Replies: 9
Views: 22778

PostForum: General CCS C Discussion   Posted: Mon May 31, 2010 11:29 am   Subject: interfacing pic16f877a with eeprom 25lc640
CCS 4.057
  Topic: interfacing pic16f877a with eeprom 25lc640
hansimg

Replies: 9
Views: 22778

PostForum: General CCS C Discussion   Posted: Mon May 31, 2010 10:49 am   Subject: interfacing pic16f877a with eeprom 25lc640
I'm trying write a memory 25lc640 and use this code to the pic:
#include <16F877.H>
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock=4000000)
#use rs232(baud=96 ...
  Topic: I2C slave transmitting data
hansimg

Replies: 47
Views: 93311

PostForum: General CCS C Discussion   Posted: Tue May 25, 2010 9:58 am   Subject: I2C slave transmitting data
Very Happy Very Happy Very Happy Very Happy

I install proteus 7.6 and problem solved.

Thank you so much!!
  Topic: I2C slave transmitting data
hansimg

Replies: 47
Views: 93311

PostForum: General CCS C Discussion   Posted: Mon May 24, 2010 3:40 pm   Subject: I2C slave transmitting data
I add force_hw to the master, then the problem was change, now the scl don't go to slow, and the program run until the end, but it's not writing on the slave and neither read.

I receive it on therm ...
  Topic: I2C slave transmitting data
hansimg

Replies: 47
Views: 93311

PostForum: General CCS C Discussion   Posted: Mon May 24, 2010 3:00 pm   Subject: I2C slave transmitting data
I Change my schematic to this:
http://a.yfrog.com/img241/1730/eskemaproteus2.jpg

But it's still don't works... =/
X1 -> 4mhz and X2->20mhz
  Topic: I2C slave transmitting data
hansimg

Replies: 47
Views: 93311

PostForum: General CCS C Discussion   Posted: Mon May 24, 2010 2:17 pm   Subject: I2C slave transmitting data
PCM_PROGRAMMER thanx for your attention, this is my schematic
http://a.yfrog.com/img715/8774/eskemaproteus.jpg
  Topic: I2C slave transmitting data
hansimg

Replies: 47
Views: 93311

PostForum: General CCS C Discussion   Posted: Mon May 24, 2010 1:51 pm   Subject: I2C slave transmitting data
I already do it. =/
  Topic: I2C slave transmitting data
hansimg

Replies: 47
Views: 93311

PostForum: General CCS C Discussion   Posted: Mon May 24, 2010 1:31 pm   Subject: I2C slave transmitting data
Hey guys, I'm trying to communicate 2 pics 16f877, so I found this topic, and do exactly like you said. But it didn't work. When I try to simulate it in Proteus, the SCL line is kept in 0 and the prog ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group