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

ds1307 + int_rda

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



Joined: 05 Jan 2006
Posts: 105

View user's profile Send private message

ds1307 + int_rda
PostPosted: Sat Aug 11, 2007 5:10 pm     Reply with quote

hi
when i use ds1307(real time driver) may this affect rs232 intterupt (rda) work?i mean is any one of them disable the other???
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Aug 11, 2007 10:06 pm     Reply with quote

At least one of the ds1307 drivers that is posted on this forum does
disable global interrupts during the i2c operations, so yes, it would
affect the #int_rda.
hadeelqasaimeh



Joined: 05 Jan 2006
Posts: 105

View user's profile Send private message

PostPosted: Sun Aug 12, 2007 7:05 am     Reply with quote

hi PCM programmer
i use the driver in the following link:
http://www.sixca.com/micro/pic/ds1307/

i must receive time serial from pc such as
hr
min
hr
min
.
.
.
and so on

pic take these times and write them to internal eeprom,i try to do code and it work for one time.then stop

what can i do??
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Aug 12, 2007 1:59 pm     Reply with quote

Quote:
I use the driver in the following link:

That driver doesn't disable global interrupts. So that's not the problem.

Quote:

Imust receive time serial from pc such as
hr
min
hr
min

pic take these times and write them to internal eeprom, i try to do code
and it work for one time. then stop

Add the ERRORS parameter to your #use rs232() statement.
hadeelqasaimeh



Joined: 05 Jan 2006
Posts: 105

View user's profile Send private message

PostPosted: Sun Aug 12, 2007 2:04 pm     Reply with quote

thank you very much Smile
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